Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 7 txns
 Latest 7 txns

TxHash Age From To Value [TxFee]
0x7f511008fd4d30a89552b5bd332a9cd82194f0139fe480b50d31a37f5ce3df1447 days 18 hrs ago0x4af013afbadb22d8a88c92d68fc96b033b9ebb8a  IN   0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b0 Ether0.00211469
0x4d3038f94a73086759416372cefcf6998e97e3f7b9ce0729b2f1e9b4ab3fc80075 days 22 hrs ago0xdc36f3db296c6c8e29ed356bb97c16aa9adfbd62  IN   0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b0 Ether0.02535468
0xa9d5cfc4069c476a5cb2dc5e558543f7e7d8e4a549ef042ebfc043d8140bcff181 days 22 hrs ago0xdcb7f4d8a06a3d6f6c2e5563faccdbca75c69b9b  IN   0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b0 Ether0.000845428
0xfaba822714ac242004972e85b227f5b0df75beefed10978eb88045290086a566126 days 22 hrs ago0x1e5ac6a2663f1501eeef5c28b7f49bb06f2a0951  IN   0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b0 Ether0.00211249
0x450074b97fc4f622513967bbd9af73570526742ac73d04c64ba4e317819ad480130 days 21 hrs ago0x4af013afbadb22d8a88c92d68fc96b033b9ebb8a  IN   0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b0 Ether0.005069976
0xbb918a546a87b6d11de5811134af18f904214b923c18d1ada5dc98a2174c4aff131 days 15 hrs ago0x6efba8fb2ac5b6730729a972ec224426a287c3ad  IN   0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b0 Ether0.0065979
0xc6adc883f32328e17d1b2ee41569d7ff56aa8e195e673bbeab19fde1891fe8af131 days 15 hrs ago0x6efba8fb2ac5b6730729a972ec224426a287c3ad  IN    Contract Creation0 Ether0.2069265
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click Here To View More View All
ParentTxHash Block Age From To Value
0x7bb38ebd25936b4067b9117fd7b30924f374091b7f97be0ed0080262a953abc4633232338 days 10 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0x8d6e4c53912d10a11b8310bcc852efbd55e201cb91349dc84a623fc9f99854ad633206638 days 11 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0xba4e2cd8a1936e8953355f193bd425c98f00f067b7453da5fb008641697fe7fe633180438 days 12 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0x619a8cb498f5ec7ad7747204959d8c573ab5855d72ccc180867363f63cb551fb633180438 days 12 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0xb4488c02e49d02dbd6b2812e502ca59115868e1c0ce7083b7028c245071a4f88633131338 days 14 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0xe5ad4c8c51fea0078440595e6a617340295ab8d2bc4147efc599334fd57ce970633131338 days 14 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0xe65f9df90adcd15478243faf8daeb597ffa078125c906b9387b8b285acf2cd97633108338 days 15 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0xcd569f767e310206713a4cfbb9002f1e4f11603c29f78b78a8fea2d85e9fb41e633081038 days 16 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0x8b7f94e87feb2d253b2f088dd0aa9effbc7fab51f1cfbdab574e89672cb5a44d631548341 days 5 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0xa3ce1ac25b6a4cb4b3a8f1cfa6214daa11dbe53fd22681993642954307d42066631522841 days 6 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0x9b69718583a449eaeaa3a8c23aa0513ce9d967352a3182b75b6577f89b11ef0c631496941 days 7 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0xafef6533b7eb5521130d26c32b3465b2cc4113528485a7f3625fe4e228d30454631471041 days 8 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0xb6bc8ce43dd850dbec169489e80834f89b177096af62b4e241d6d2869723d9bf631444941 days 9 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0x86fca1344ea5c8c13607334aba86bfe585e620eca253843fe42a713cb7dba9af631444841 days 9 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0xe1a4c32cdf8982e554337b445a16955b928ae69deda8a7c4ec5b48ceabe179f5631420141 days 10 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0x28658263971353c32e95ed92c53bff6ddad419af38f8f52801e3bdb7e04b5c14631367841 days 12 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0x9adb223235de49c2dea5fab49e7620fee609a845e061d1b0849bd35adbbcc136631341341 days 13 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0xf28ab6c5dd65eeae24889b5fd0982c5bbab8455fc969662159768414fc77a4fb631341141 days 13 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0x91d7bc1124c7d513758c6013de1fa3279fd604067b860d346365d746e944a0b9631315341 days 14 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0xef3bf07f6746465aa5a752c0dbb08e795197d92c1132c1686da7cd922a5a06bf631289041 days 15 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0x8740d10d966482f4010e5a52f14e0c31d57d77088f5d07473433a46796483a7c631289041 days 15 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0x2512bacb78a5be6f40fbec70dea1031311f9bfff7a50d4078af07b8aa6530c9e631264741 days 16 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0x561dd388e97ef20130c5f01311db70ae73b887b6d1887c4e43d3b0c4222fd170631242741 days 17 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0x2caa256fa57260557547f8600ea44be397f7cf143e5f38545e82405708fdadc0631218841 days 18 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
0xc00644ec8b961321d3aab46824649e23d2fb34bcb5ecdfcf9d07566ea03b9ed0631218841 days 18 hrs ago0x44cfbcb1ca0d3df0925dda3354e955d38d78ad6b  Contract Creation0 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: LiabilityFactory
Compiler Text: v0.4.24+commit.e67f0147
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.24;

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address public owner;


  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() public {
    owner = msg.sender;
  }

  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }

  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) public onlyOwner {
    require(newOwner != address(0));
    emit OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }

}

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
    if (a == 0) {
      return 0;
    }
    c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    // uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return a / b;
  }

  /**
  * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
    c = a + b;
    assert(c >= a);
    return c;
  }
}

/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/179
 */
contract ERC20Basic {
  function totalSupply() public view returns (uint256);
  function balanceOf(address who) public view returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) public view returns (uint256);
  function transferFrom(address from, address to, uint256 value) public returns (bool);
  function approve(address spender, uint256 value) public returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

/**
 * @title Basic token
 * @dev Basic version of StandardToken, with no allowances.
 */
contract BasicToken is ERC20Basic {
  using SafeMath for uint256;

  mapping(address => uint256) balances;

  uint256 totalSupply_;

  /**
  * @dev total number of tokens in existence
  */
  function totalSupply() public view returns (uint256) {
    return totalSupply_;
  }

  /**
  * @dev transfer token for a specified address
  * @param _to The address to transfer to.
  * @param _value The amount to be transferred.
  */
  function transfer(address _to, uint256 _value) public returns (bool) {
    require(_to != address(0));
    require(_value <= balances[msg.sender]);

    balances[msg.sender] = balances[msg.sender].sub(_value);
    balances[_to] = balances[_to].add(_value);
    emit Transfer(msg.sender, _to, _value);
    return true;
  }

  /**
  * @dev Gets the balance of the specified address.
  * @param _owner The address to query the the balance of.
  * @return An uint256 representing the amount owned by the passed address.
  */
  function balanceOf(address _owner) public view returns (uint256) {
    return balances[_owner];
  }

}

/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * @dev https://github.com/ethereum/EIPs/issues/20
 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract StandardToken is ERC20, BasicToken {

  mapping (address => mapping (address => uint256)) internal allowed;


  /**
   * @dev Transfer tokens from one address to another
   * @param _from address The address which you want to send tokens from
   * @param _to address The address which you want to transfer to
   * @param _value uint256 the amount of tokens to be transferred
   */
  function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
    require(_to != address(0));
    require(_value <= balances[_from]);
    require(_value <= allowed[_from][msg.sender]);

    balances[_from] = balances[_from].sub(_value);
    balances[_to] = balances[_to].add(_value);
    allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
    emit Transfer(_from, _to, _value);
    return true;
  }

  /**
   * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
   *
   * Beware that changing an allowance with this method brings the risk that someone may use both the old
   * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
   * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
   * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
   * @param _spender The address which will spend the funds.
   * @param _value The amount of tokens to be spent.
   */
  function approve(address _spender, uint256 _value) public returns (bool) {
    allowed[msg.sender][_spender] = _value;
    emit Approval(msg.sender, _spender, _value);
    return true;
  }

  /**
   * @dev Function to check the amount of tokens that an owner allowed to a spender.
   * @param _owner address The address which owns the funds.
   * @param _spender address The address which will spend the funds.
   * @return A uint256 specifying the amount of tokens still available for the spender.
   */
  function allowance(address _owner, address _spender) public view returns (uint256) {
    return allowed[_owner][_spender];
  }

  /**
   * @dev Increase the amount of tokens that an owner allowed to a spender.
   *
   * approve should be called when allowed[_spender] == 0. To increment
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _addedValue The amount of tokens to increase the allowance by.
   */
  function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
    allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
    emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

  /**
   * @dev Decrease the amount of tokens that an owner allowed to a spender.
   *
   * approve should be called when allowed[_spender] == 0. To decrement
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _subtractedValue The amount of tokens to decrease the allowance by.
   */
  function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {
    uint oldValue = allowed[msg.sender][_spender];
    if (_subtractedValue > oldValue) {
      allowed[msg.sender][_spender] = 0;
    } else {
      allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
    }
    emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

}

/**
 * @title Mintable token
 * @dev Simple ERC20 Token example, with mintable token creation
 * @dev Issue: * https://github.com/OpenZeppelin/openzeppelin-solidity/issues/120
 * Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol
 */
contract MintableToken is StandardToken, Ownable {
  event Mint(address indexed to, uint256 amount);
  event MintFinished();

  bool public mintingFinished = false;


  modifier canMint() {
    require(!mintingFinished);
    _;
  }

  /**
   * @dev Function to mint tokens
   * @param _to The address that will receive the minted tokens.
   * @param _amount The amount of tokens to mint.
   * @return A boolean that indicates if the operation was successful.
   */
  function mint(address _to, uint256 _amount) onlyOwner canMint public returns (bool) {
    totalSupply_ = totalSupply_.add(_amount);
    balances[_to] = balances[_to].add(_amount);
    emit Mint(_to, _amount);
    emit Transfer(address(0), _to, _amount);
    return true;
  }

  /**
   * @dev Function to stop minting new tokens.
   * @return True if the operation was successful.
   */
  function finishMinting() onlyOwner canMint public returns (bool) {
    mintingFinished = true;
    emit MintFinished();
    return true;
  }
}

/**
 * @title Burnable Token
 * @dev Token that can be irreversibly burned (destroyed).
 */
contract BurnableToken is BasicToken {

  event Burn(address indexed burner, uint256 value);

  /**
   * @dev Burns a specific amount of tokens.
   * @param _value The amount of token to be burned.
   */
  function burn(uint256 _value) public {
    _burn(msg.sender, _value);
  }

  function _burn(address _who, uint256 _value) internal {
    require(_value <= balances[_who]);
    // no need to require value <= totalSupply, since that would imply the
    // sender's balance is greater than the totalSupply, which *should* be an assertion failure

    balances[_who] = balances[_who].sub(_value);
    totalSupply_ = totalSupply_.sub(_value);
    emit Burn(_who, _value);
    emit Transfer(_who, address(0), _value);
  }
}

contract XRT is MintableToken, BurnableToken {
    string public constant name     = "Robonomics Alpha";
    string public constant symbol   = "XRT";
    uint   public constant decimals = 9;

    uint256 public constant INITIAL_SUPPLY = 5 * (10 ** uint256(decimals));

    constructor() public {
        totalSupply_ = INITIAL_SUPPLY;
        balances[msg.sender] = INITIAL_SUPPLY;
        emit Transfer(0x0, msg.sender, INITIAL_SUPPLY);
    }
}

contract LightContract {
    /**
     * @dev Shared code smart contract 
     */
    address lib;

    constructor(address _library) public {
        lib = _library;
    }

    function() public {
        require(lib.delegatecall(msg.data));
    }
}

contract LighthouseAPI {
    address[] public members;
    mapping(address => uint256) indexOf;

    mapping(address => uint256) public balances;

    uint256 public minimalFreeze;
    uint256 public timeoutBlocks;

    LiabilityFactory public factory;
    XRT              public xrt;

    uint256 public keepaliveBlock = 0;
    uint256 public marker = 0;
    uint256 public quota = 0;

    function quotaOf(address _member) public view returns (uint256)
    { return balances[_member] / minimalFreeze; }
}

contract Lighthouse is LighthouseAPI, LightContract {
    constructor(
        address _lib,
        uint256 _minimalFreeze,
        uint256 _timeoutBlocks
    ) 
        public
        LightContract(_lib)
    {
        minimalFreeze = _minimalFreeze;
        timeoutBlocks = _timeoutBlocks;
        factory = LiabilityFactory(msg.sender);
        xrt = factory.xrt();
    }
}

contract RobotLiabilityAPI {
    bytes   public model;
    bytes   public objective;
    bytes   public result;

    XRT        public xrt;
    ERC20   public token;

    uint256 public cost;
    uint256 public lighthouseFee;
    uint256 public validatorFee;

    bytes32 public askHash;
    bytes32 public bidHash;

    address public promisor;
    address public promisee;
    address public validator;

    bool    public isConfirmed;
    bool    public isFinalized;

    LiabilityFactory public factory;
}

contract RobotLiability is RobotLiabilityAPI, LightContract {
    constructor(address _lib) public LightContract(_lib)
    { factory = LiabilityFactory(msg.sender); }
}

interface ENS {

    // Logged when the owner of a node assigns a new owner to a subnode.
    event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner);

    // Logged when the owner of a node transfers ownership to a new account.
    event Transfer(bytes32 indexed node, address owner);

    // Logged when the resolver for a node changes.
    event NewResolver(bytes32 indexed node, address resolver);

    // Logged when the TTL of a node changes
    event NewTTL(bytes32 indexed node, uint64 ttl);


    function setSubnodeOwner(bytes32 node, bytes32 label, address owner) public;
    function setResolver(bytes32 node, address resolver) public;
    function setOwner(bytes32 node, address owner) public;
    function setTTL(bytes32 node, uint64 ttl) public;
    function owner(bytes32 node) public view returns (address);
    function resolver(bytes32 node) public view returns (address);
    function ttl(bytes32 node) public view returns (uint64);

}

/**
 * A simple resolver anyone can use; only allows the owner of a node to set its
 * address.
 */
contract PublicResolver {

    bytes4 constant INTERFACE_META_ID = 0x01ffc9a7;
    bytes4 constant ADDR_INTERFACE_ID = 0x3b3b57de;
    bytes4 constant CONTENT_INTERFACE_ID = 0xd8389dc5;
    bytes4 constant NAME_INTERFACE_ID = 0x691f3431;
    bytes4 constant ABI_INTERFACE_ID = 0x2203ab56;
    bytes4 constant PUBKEY_INTERFACE_ID = 0xc8690233;
    bytes4 constant TEXT_INTERFACE_ID = 0x59d1d43c;
    bytes4 constant MULTIHASH_INTERFACE_ID = 0xe89401a1;

    event AddrChanged(bytes32 indexed node, address a);
    event ContentChanged(bytes32 indexed node, bytes32 hash);
    event NameChanged(bytes32 indexed node, string name);
    event ABIChanged(bytes32 indexed node, uint256 indexed contentType);
    event PubkeyChanged(bytes32 indexed node, bytes32 x, bytes32 y);
    event TextChanged(bytes32 indexed node, string indexedKey, string key);
    event MultihashChanged(bytes32 indexed node, bytes hash);

    struct PublicKey {
        bytes32 x;
        bytes32 y;
    }

    struct Record {
        address addr;
        bytes32 content;
        string name;
        PublicKey pubkey;
        mapping(string=>string) text;
        mapping(uint256=>bytes) abis;
        bytes multihash;
    }

    ENS ens;

    mapping (bytes32 => Record) records;

    modifier only_owner(bytes32 node) {
        require(ens.owner(node) == msg.sender);
        _;
    }

    /**
     * Constructor.
     * @param ensAddr The ENS registrar contract.
     */
    function PublicResolver(ENS ensAddr) public {
        ens = ensAddr;
    }

    /**
     * Sets the address associated with an ENS node.
     * May only be called by the owner of that node in the ENS registry.
     * @param node The node to update.
     * @param addr The address to set.
     */
    function setAddr(bytes32 node, address addr) public only_owner(node) {
        records[node].addr = addr;
        AddrChanged(node, addr);
    }

    /**
     * Sets the content hash associated with an ENS node.
     * May only be called by the owner of that node in the ENS registry.
     * Note that this resource type is not standardized, and will likely change
     * in future to a resource type based on multihash.
     * @param node The node to update.
     * @param hash The content hash to set
     */
    function setContent(bytes32 node, bytes32 hash) public only_owner(node) {
        records[node].content = hash;
        ContentChanged(node, hash);
    }

    /**
     * Sets the multihash associated with an ENS node.
     * May only be called by the owner of that node in the ENS registry.
     * @param node The node to update.
     * @param hash The multihash to set
     */
    function setMultihash(bytes32 node, bytes hash) public only_owner(node) {
        records[node].multihash = hash;
        MultihashChanged(node, hash);
    }
    
    /**
     * Sets the name associated with an ENS node, for reverse records.
     * May only be called by the owner of that node in the ENS registry.
     * @param node The node to update.
     * @param name The name to set.
     */
    function setName(bytes32 node, string name) public only_owner(node) {
        records[node].name = name;
        NameChanged(node, name);
    }

    /**
     * Sets the ABI associated with an ENS node.
     * Nodes may have one ABI of each content type. To remove an ABI, set it to
     * the empty string.
     * @param node The node to update.
     * @param contentType The content type of the ABI
     * @param data The ABI data.
     */
    function setABI(bytes32 node, uint256 contentType, bytes data) public only_owner(node) {
        // Content types must be powers of 2
        require(((contentType - 1) & contentType) == 0);
        
        records[node].abis[contentType] = data;
        ABIChanged(node, contentType);
    }
    
    /**
     * Sets the SECP256k1 public key associated with an ENS node.
     * @param node The ENS node to query
     * @param x the X coordinate of the curve point for the public key.
     * @param y the Y coordinate of the curve point for the public key.
     */
    function setPubkey(bytes32 node, bytes32 x, bytes32 y) public only_owner(node) {
        records[node].pubkey = PublicKey(x, y);
        PubkeyChanged(node, x, y);
    }

    /**
     * Sets the text data associated with an ENS node and key.
     * May only be called by the owner of that node in the ENS registry.
     * @param node The node to update.
     * @param key The key to set.
     * @param value The text data value to set.
     */
    function setText(bytes32 node, string key, string value) public only_owner(node) {
        records[node].text[key] = value;
        TextChanged(node, key, key);
    }

    /**
     * Returns the text data associated with an ENS node and key.
     * @param node The ENS node to query.
     * @param key The text data key to query.
     * @return The associated text data.
     */
    function text(bytes32 node, string key) public view returns (string) {
        return records[node].text[key];
    }

    /**
     * Returns the SECP256k1 public key associated with an ENS node.
     * Defined in EIP 619.
     * @param node The ENS node to query
     * @return x, y the X and Y coordinates of the curve point for the public key.
     */
    function pubkey(bytes32 node) public view returns (bytes32 x, bytes32 y) {
        return (records[node].pubkey.x, records[node].pubkey.y);
    }

    /**
     * Returns the ABI associated with an ENS node.
     * Defined in EIP205.
     * @param node The ENS node to query
     * @param contentTypes A bitwise OR of the ABI formats accepted by the caller.
     * @return contentType The content type of the return value
     * @return data The ABI data
     */
    function ABI(bytes32 node, uint256 contentTypes) public view returns (uint256 contentType, bytes data) {
        Record storage record = records[node];
        for (contentType = 1; contentType <= contentTypes; contentType <<= 1) {
            if ((contentType & contentTypes) != 0 && record.abis[contentType].length > 0) {
                data = record.abis[contentType];
                return;
            }
        }
        contentType = 0;
    }

    /**
     * Returns the name associated with an ENS node, for reverse records.
     * Defined in EIP181.
     * @param node The ENS node to query.
     * @return The associated name.
     */
    function name(bytes32 node) public view returns (string) {
        return records[node].name;
    }

    /**
     * Returns the content hash associated with an ENS node.
     * Note that this resource type is not standardized, and will likely change
     * in future to a resource type based on multihash.
     * @param node The ENS node to query.
     * @return The associated content hash.
     */
    function content(bytes32 node) public view returns (bytes32) {
        return records[node].content;
    }

    /**
     * Returns the multihash associated with an ENS node.
     * @param node The ENS node to query.
     * @return The associated multihash.
     */
    function multihash(bytes32 node) public view returns (bytes) {
        return records[node].multihash;
    }

    /**
     * Returns the address associated with an ENS node.
     * @param node The ENS node to query.
     * @return The associated address.
     */
    function addr(bytes32 node) public view returns (address) {
        return records[node].addr;
    }

    /**
     * Returns true if the resolver implements the interface specified by the provided hash.
     * @param interfaceID The ID of the interface to check for.
     * @return True if the contract implements the requested interface.
     */
    function supportsInterface(bytes4 interfaceID) public pure returns (bool) {
        return interfaceID == ADDR_INTERFACE_ID ||
        interfaceID == CONTENT_INTERFACE_ID ||
        interfaceID == NAME_INTERFACE_ID ||
        interfaceID == ABI_INTERFACE_ID ||
        interfaceID == PUBKEY_INTERFACE_ID ||
        interfaceID == TEXT_INTERFACE_ID ||
        interfaceID == MULTIHASH_INTERFACE_ID ||
        interfaceID == INTERFACE_META_ID;
    }
}

contract LiabilityFactory {
    constructor(
        address _robot_liability_lib,
        address _lighthouse_lib,
        XRT _xrt
    ) public {
        robotLiabilityLib = _robot_liability_lib;
        lighthouseLib = _lighthouse_lib;
        xrt = _xrt;
    }

    /**
     * @dev New liability created 
     */
    event NewLiability(address indexed liability);

    /**
     * @dev New lighthouse created
     */
    event NewLighthouse(address indexed lighthouse, string name);

    /**
     * @dev Robonomics network protocol token
     */
    XRT public xrt;

    /**
     * @dev Ethereum name system
     */
    ENS public ens;

    /**
     * @dev Robonomics ENS resolver
     */
    PublicResolver public resolver;

    bytes32 constant lighthouseNode
        // lighthouse.0.robonomics.eth
        = 0x1e42a8e8e1e8cf36e83d096dcc74af801d0a194a14b897f9c8dfd403b4eebeda;

    /**
     *  @dev Set ENS registry contract address
     */
    function setENS(ENS _ens) public {
      require(address(ens) == 0);
      ens = _ens;
      resolver = PublicResolver(ens.resolver(lighthouseNode));
    }

    /**
     * @dev Total GAS utilized by Robonomics network
     */
    uint256 public totalGasUtilizing = 0;

    /**
     * @dev GAS utilized by liability contracts
     */
    mapping(address => uint256) public gasUtilizing;


    /**
     * @dev Used market orders accounting
     */
    mapping(bytes32 => bool) public usedHash;

    /**
     * @dev Lighthouse accounting
     */
    mapping(address => bool) public isLighthouse;

    /**
     * @dev Robot liability shared code smart contract
     */
    address public robotLiabilityLib;

    /**
     * @dev Lightouse shared code smart contract
     */
    address public lighthouseLib;

    /**
     * @dev XRT emission value for utilized gas
     */
    function winnerFromGas(uint256 _gas) public view returns (uint256) {
        // Basic equal formula
        uint256 wn = _gas;

        /* Additional emission table
        if (totalGasUtilizing < 347 * (10 ** 10)) {
            wn *= 6;
        } else if (totalGasUtilizing < 2 * 347 * (10 ** 10)) {
            wn *= 4;
        } else if (totalGasUtilizing < 3 * 347 * (10 ** 10)) {
            wn = wn * 2667 / 1000;
        } else if (totalGasUtilizing < 4 * 347 * (10 ** 10)) {
            wn = wn * 1778 / 1000;
        } else if (totalGasUtilizing < 5 * 347 * (10 ** 10)) {
            wn = wn * 1185 / 1000;
        } */

        return wn ;
    }

    /**
     * @dev Only lighthouse guard
     */
    modifier onlyLighthouse {
        require(isLighthouse[msg.sender]);
        _;
    }

    /**
     * @dev Parameter can be used only once
     * @param _hash Single usage hash
     */
    function usedHashGuard(bytes32 _hash) internal {
        require(!usedHash[_hash]);
        usedHash[_hash] = true;
    }

    /**
     * @dev Create robot liability smart contract
     * @param _ask ABI-encoded ASK order message 
     * @param _bid ABI-encoded BID order message 
     */
    function createLiability(
        bytes _ask,
        bytes _bid
    )
        external 
        onlyLighthouse
        returns (RobotLiability liability)
    {
        // Store in memory available gas
        uint256 gasinit = gasleft();

        // Create liability
        liability = new RobotLiability(robotLiabilityLib);
        emit NewLiability(liability);

        // Parse messages
        require(liability.call(abi.encodePacked(bytes4(0x82fbaa25), _ask))); // liability.ask(...)
        usedHashGuard(liability.askHash());

        require(liability.call(abi.encodePacked(bytes4(0x66193359), _bid))); // liability.bid(...)
        usedHashGuard(liability.bidHash());

        // Transfer lighthouse fee to lighthouse worker directly
        require(xrt.transferFrom(liability.promisor(),
                                 tx.origin,
                                 liability.lighthouseFee()));

        // Transfer liability security and hold on contract
        ERC20 token = liability.token();
        require(token.transferFrom(liability.promisee(),
                                   liability,
                                   liability.cost()));

        // Transfer validator fee and hold on contract
        if (address(liability.validator()) != 0 && liability.validatorFee() > 0)
            require(xrt.transferFrom(liability.promisee(),
                                     liability,
                                     liability.validatorFee()));

        // Accounting gas usage of transaction
        uint256 gas = gasinit - gasleft() + 110525; // Including observation error
        totalGasUtilizing       += gas;
        gasUtilizing[liability] += gas;
     }

    /**
     * @dev Create lighthouse smart contract
     * @param _minimalFreeze Minimal freeze value of XRT token
     * @param _timeoutBlocks Max time of lighthouse silence in blocks
     * @param _name Lighthouse subdomain,
     *              example: for 'my-name' will created 'my-name.lighthouse.0.robonomics.eth' domain
     */
    function createLighthouse(
        uint256 _minimalFreeze,
        uint256 _timeoutBlocks,
        string  _name
    )
        external
        returns (address lighthouse)
    {
        // Name reservation check
        bytes32 subnode = keccak256(abi.encodePacked(lighthouseNode, keccak256(_name)));
        require(ens.resolver(subnode) == 0);

        // Create lighthouse
        lighthouse = new Lighthouse(lighthouseLib, _minimalFreeze, _timeoutBlocks);
        emit NewLighthouse(lighthouse, _name);
        isLighthouse[lighthouse] = true;

        // Register subnode
        ens.setSubnodeOwner(lighthouseNode, keccak256(_name), this);

        // Register lighthouse address
        ens.setResolver(subnode, resolver);
        resolver.setAddr(subnode, lighthouse);
    }

    /**
     * @dev Is called whan after liability finalization
     * @param _gas Liability finalization gas expenses
     */
    function liabilityFinalized(
        uint256 _gas
    )
        external
        returns (bool)
    {
        require(gasUtilizing[msg.sender] > 0);

        uint256 gas = _gas - gasleft();
        totalGasUtilizing        += gas;
        gasUtilizing[msg.sender] += gas;
        require(xrt.mint(tx.origin, winnerFromGas(gasUtilizing[msg.sender])));
        return true;
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"resolver","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"robotLiabilityLib","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"xrt","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ens","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_minimalFreeze","type":"uint256"},{"name":"_timeoutBlocks","type":"uint256"},{"name":"_name","type":"string"}],"name":"createLighthouse","outputs":[{"name":"lighthouse","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"usedHash","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_gas","type":"uint256"}],"name":"winnerFromGas","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_ens","type":"address"}],"name":"setENS","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"gasUtilizing","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"isLighthouse","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalGasUtilizing","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_gas","type":"uint256"}],"name":"liabilityFinalized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_ask","type":"bytes"},{"name":"_bid","type":"bytes"}],"name":"createLiability","outputs":[{"name":"liability","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lighthouseLib","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_robot_liability_lib","type":"address"},{"name":"_lighthouse_lib","type":"address"},{"name":"_xrt","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"liability","type":"address"}],"name":"NewLiability","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"lighthouse","type":"address"},{"indexed":false,"name":"name","type":"string"}],"name":"NewLighthouse","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6080604052600060035534801561001557600080fd5b50604051606080611d5a83398101604090815281516020830151919092015160078054600160a060020a0319908116600160a060020a039586161790915560088054821693851693909317909255600080549092169216919091178155611cd890819061008290396000f3006080604052600436106100b65763ffffffff60e060020a60003504166304f3bcec81146100bb5780630d71212f146100ec578063330f9588146101015780633f15457f146101165780634d5b85f11461012b578063560ebbd1146101535780635ec0c7071461017f57806371bf5a95146101a9578063afecd5e4146101cc578063bbb6630f146101ed578063c15aec441461020e578063c9b94eb914610223578063d2b962f21461023b578063da302fc314610267575b600080fd5b3480156100c757600080fd5b506100d061027c565b60408051600160a060020a039092168252519081900360200190f35b3480156100f857600080fd5b506100d061028b565b34801561010d57600080fd5b506100d061029a565b34801561012257600080fd5b506100d06102a9565b34801561013757600080fd5b506100d0600480359060248035916044359182019101356102b8565b34801561015f57600080fd5b5061016b6004356106b1565b604080519115158252519081900360200190f35b34801561018b57600080fd5b506101976004356106c6565b60408051918252519081900360200190f35b3480156101b557600080fd5b506101ca600160a060020a03600435166106c9565b005b3480156101d857600080fd5b50610197600160a060020a03600435166107e4565b3480156101f957600080fd5b5061016b600160a060020a03600435166107f6565b34801561021a57600080fd5b5061019761080b565b34801561022f57600080fd5b5061016b600435610811565b34801561024757600080fd5b506100d06024600480358281019290820135918135918201910135610906565b34801561027357600080fd5b506100d0611287565b600254600160a060020a031681565b600754600160a060020a031681565b600054600160a060020a031681565b600154600160a060020a031681565b6000807f1e42a8e8e1e8cf36e83d096dcc74af801d0a194a14b897f9c8dfd403b4eebeda6001028484604051808383808284376040805193909101839003832060208085019890985283820152805180840382018152606090930190819052825192969095508594508601925081905083835b6020831061034a5780518252601f19909201916020918201910161032b565b51815160209384036101000a6000190180199092169116179052604080519290940182900382206001547f0178b8bf000000000000000000000000000000000000000000000000000000008452600484018290529451909750600160a060020a039094169550630178b8bf945060248083019491935090918290030181600087803b1580156103d857600080fd5b505af11580156103ec573d6000803e3d6000fd5b505050506040513d602081101561040257600080fd5b5051600160a060020a03161561041757600080fd5b600854600160a060020a0316868661042d6112cd565b600160a060020a03909316835260208301919091526040808301919091525190819003606001906000f080158015610469573d6000803e3d6000fd5b50915081600160a060020a03167ffea5f888ffd98cd2299e704fb235c2166cb5a9d9d8e9debcc08160626b8019a485856040518080602001828103825284848281815260200192508082843760405192018290039550909350505050a2600160a060020a0380831660009081526006602052604090819020805460ff191660019081179091555490519116906306ab5923907f1e42a8e8e1e8cf36e83d096dcc74af801d0a194a14b897f9c8dfd403b4eebeda9087908790808383808284376040805191909301819003812060e060020a63ffffffff8a160282526004820197909752602481019690965250306044860152516064808601956000955091935090839003019050818387803b15801561058157600080fd5b505af1158015610595573d6000803e3d6000fd5b5050600154600254604080517f1896f70a00000000000000000000000000000000000000000000000000000000815260048101879052600160a060020a0392831660248201529051919092169350631896f70a9250604480830192600092919082900301818387803b15801561060a57600080fd5b505af115801561061e573d6000803e3d6000fd5b5050600254604080517fd5fa2b0000000000000000000000000000000000000000000000000000000000815260048101869052600160a060020a038781166024830152915191909216935063d5fa2b009250604480830192600092919082900301818387803b15801561069057600080fd5b505af11580156106a4573d6000803e3d6000fd5b5050505050949350505050565b60056020526000908152604090205460ff1681565b90565b600154600160a060020a0316156106df57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055604080517f0178b8bf0000000000000000000000000000000000000000000000000000000081527f1e42a8e8e1e8cf36e83d096dcc74af801d0a194a14b897f9c8dfd403b4eebeda600482015290519290911691630178b8bf916024808201926020929091908290030181600087803b15801561078957600080fd5b505af115801561079d573d6000803e3d6000fd5b505050506040513d60208110156107b357600080fd5b50516002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0390921691909117905550565b60046020526000908152604090205481565b60066020526000908152604090205460ff1681565b60035481565b336000908152600460205260408120548190811061082e57600080fd5b5a60038054918503918201905533600090815260046020526040812080548301908190559054919250600160a060020a03909116906340c10f19903290610874906106c6565b6040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b1580156108c657600080fd5b505af11580156108da573d6000803e3d6000fd5b505050506040513d60208110156108f057600080fd5b505115156108fd57600080fd5b50600192915050565b3360009081526006602052604081205481908190819060ff16151561092a57600080fd5b5a600754909350600160a060020a03166109426112dd565b600160a060020a03909116815260405190819003602001906000f08015801561096f573d6000803e3d6000fd5b50604051909450600160a060020a038516907ff0f0e2354315aae25080baa26761b4ef52d621c91208fb0edde9e3f3fade321990600090a26040517f82fbaa250000000000000000000000000000000000000000000000000000000060208201818152600160a060020a038716928b918b916024018383808284378201915050935050505060405160208183030381529060405260405180828051906020019080838360005b83811015610a2d578181015183820152602001610a15565b50505050905090810190601f168015610a5a5780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af19150501515610a7a57600080fd5b610aec84600160a060020a0316630b0a4b176040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610abb57600080fd5b505af1158015610acf573d6000803e3d6000fd5b505050506040513d6020811015610ae557600080fd5b5051611296565b6040517f661933590000000000000000000000000000000000000000000000000000000060208201818152600160a060020a03871692899189916024018383808284378201915050935050505060405160208183030381529060405260405180828051906020019080838360005b83811015610b72578181015183820152602001610b5a565b50505050905090810190601f168015610b9f5780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af19150501515610bbf57600080fd5b610c0084600160a060020a031663654f4b616040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610abb57600080fd5b6000809054906101000a9004600160a060020a0316600160a060020a03166323b872dd85600160a060020a031663c2d8de546040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610c6157600080fd5b505af1158015610c75573d6000803e3d6000fd5b505050506040513d6020811015610c8b57600080fd5b5051604080517f051064c600000000000000000000000000000000000000000000000000000000815290513291600160a060020a038a169163051064c6916004808201926020929091908290030181600087803b158015610ceb57600080fd5b505af1158015610cff573d6000803e3d6000fd5b505050506040513d6020811015610d1557600080fd5b50516040805160e060020a63ffffffff8716028152600160a060020a0394851660048201529290931660248301526044820152905160648083019260209291908290030181600087803b158015610d6b57600080fd5b505af1158015610d7f573d6000803e3d6000fd5b505050506040513d6020811015610d9557600080fd5b50511515610da257600080fd5b83600160a060020a031663fc0c546a6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610de057600080fd5b505af1158015610df4573d6000803e3d6000fd5b505050506040513d6020811015610e0a57600080fd5b5051604080517f474ce8720000000000000000000000000000000000000000000000000000000081529051919350600160a060020a03808516926323b872dd929188169163474ce8729160048083019260209291908290030181600087803b158015610e7557600080fd5b505af1158015610e89573d6000803e3d6000fd5b505050506040513d6020811015610e9f57600080fd5b5051604080517f13faede600000000000000000000000000000000000000000000000000000000815290518891600160a060020a038316916313faede6916004808201926020929091908290030181600087803b158015610eff57600080fd5b505af1158015610f13573d6000803e3d6000fd5b505050506040513d6020811015610f2957600080fd5b50516040805160e060020a63ffffffff8716028152600160a060020a0394851660048201529290931660248301526044820152905160648083019260209291908290030181600087803b158015610f7f57600080fd5b505af1158015610f93573d6000803e3d6000fd5b505050506040513d6020811015610fa957600080fd5b50511515610fb657600080fd5b83600160a060020a0316633a5381b56040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ff457600080fd5b505af1158015611008573d6000803e3d6000fd5b505050506040513d602081101561101e57600080fd5b5051600160a060020a0316158015906110a05750600084600160a060020a0316633f6d82566040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561107257600080fd5b505af1158015611086573d6000803e3d6000fd5b505050506040513d602081101561109c57600080fd5b5051115b15611247576000809054906101000a9004600160a060020a0316600160a060020a03166323b872dd85600160a060020a031663474ce8726040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561110657600080fd5b505af115801561111a573d6000803e3d6000fd5b505050506040513d602081101561113057600080fd5b5051604080517f3f6d825600000000000000000000000000000000000000000000000000000000815290518891600160a060020a03831691633f6d8256916004808201926020929091908290030181600087803b15801561119057600080fd5b505af11580156111a4573d6000803e3d6000fd5b505050506040513d60208110156111ba57600080fd5b50516040805160e060020a63ffffffff8716028152600160a060020a0394851660048201529290931660248301526044820152905160648083019260209291908290030181600087803b15801561121057600080fd5b505af1158015611224573d6000803e3d6000fd5b505050506040513d602081101561123a57600080fd5b5051151561124757600080fd5b5a600380546201afbd9290950394850182019055600160a060020a0385166000908152600460205260409020805490940101909255509095945050505050565b600854600160a060020a031681565b60008181526005602052604090205460ff16156112b257600080fd5b6000908152600560205260409020805460ff19166001179055565b604051610402806112ee83390190565b6040516105bd806116f0833901905600608060405260006007556000600855600060095534801561001f57600080fd5b50604051606080610402833981016040818152825160208085015194830151600a8054600160a060020a03808616600160a060020a03199283161790925560038890556004838155600580549092163317918290557f330f95880000000000000000000000000000000000000000000000000000000088529551949796929591169363330f958893828401939092908290030181600087803b1580156100c457600080fd5b505af11580156100d8573d6000803e3d6000fd5b505050506040513d60208110156100ee57600080fd5b505160068054600160a060020a03909216600160a060020a03199092169190911790555050506102df806101236000396000f3006080604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166327e235e381146100f35780632ebe14b014610126578063330f95881461013b5780633acddfc11461016c5780635daf08ca146101815780636c55e3851461019957806380c6ff73146101ae578063c45a0155146101c3578063cebe09c9146101d8578063ef23b3a3146101ed575b3480156100af57600080fd5b50600a54604051600160a060020a0390911690600090369080838380828437820191505092505050600060405180830381855af491505015156100f157600080fd5b005b3480156100ff57600080fd5b50610114600160a060020a036004351661020e565b60408051918252519081900360200190f35b34801561013257600080fd5b50610114610220565b34801561014757600080fd5b50610150610226565b60408051600160a060020a039092168252519081900360200190f35b34801561017857600080fd5b50610114610235565b34801561018d57600080fd5b5061015060043561023b565b3480156101a557600080fd5b50610114610263565b3480156101ba57600080fd5b50610114610269565b3480156101cf57600080fd5b5061015061026f565b3480156101e457600080fd5b5061011461027e565b3480156101f957600080fd5b50610114600160a060020a0360043516610284565b60026020526000908152604090205481565b60045481565b600654600160a060020a031681565b60085481565b600080548290811061024957fe5b600091825260209091200154600160a060020a0316905081565b60035481565b60075481565b600554600160a060020a031681565b60095481565b600354600160a060020a0382166000908152600260205260408120549091908115156102ac57fe5b04929150505600a165627a7a7230582053f6ff82335938cafce0d23f0c8792aa772c3c5b108146b990d261ee46b3e61c0029608060405234801561001057600080fd5b506040516020806105bd8339810160405251600e8054600160a060020a03909216600160a060020a0319928316179055600d8054909116331790556105638061005a6000396000f3006080604052600436106100e55763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663051064c681146101355780630ad9d0521461015c5780630b0a4b17146101e657806313faede6146101fb57806314f1586a14610210578063330f9588146102255780633a5381b5146102565780633f6d82561461026b578063474ce872146102805780636537214714610295578063654f4b61146102aa5780638d4e4083146102bf578063a79a3cee146102e8578063c2d8de54146102fd578063c45a015514610312578063fc0c546a14610327575b3480156100f157600080fd5b50600e54604051600160a060020a0390911690600090369080838380828437820191505092505050600060405180830381855af4915050151561013357600080fd5b005b34801561014157600080fd5b5061014a61033c565b60408051918252519081900360200190f35b34801561016857600080fd5b50610171610342565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ab578181015183820152602001610193565b50505050905090810190601f1680156101d85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101f257600080fd5b5061014a6103d0565b34801561020757600080fd5b5061014a6103d6565b34801561021c57600080fd5b506101716103dc565b34801561023157600080fd5b5061023a610436565b60408051600160a060020a039092168252519081900360200190f35b34801561026257600080fd5b5061023a610445565b34801561027757600080fd5b5061014a610454565b34801561028c57600080fd5b5061023a61045a565b3480156102a157600080fd5b50610171610469565b3480156102b657600080fd5b5061014a6104c1565b3480156102cb57600080fd5b506102d46104c7565b604080519115158252519081900360200190f35b3480156102f457600080fd5b506102d46104e9565b34801561030957600080fd5b5061023a61050a565b34801561031e57600080fd5b5061023a610519565b34801561033357600080fd5b5061023a610528565b60065481565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103c85780601f1061039d576101008083540402835291602001916103c8565b820191906000526020600020905b8154815290600101906020018083116103ab57829003601f168201915b505050505081565b60085481565b60055481565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103c85780601f1061039d576101008083540402835291602001916103c8565b600354600160a060020a031681565b600c54600160a060020a031681565b60075481565b600b54600160a060020a031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156103c85780601f1061039d576101008083540402835291602001916103c8565b60095481565b600c547501000000000000000000000000000000000000000000900460ff1681565b600c5474010000000000000000000000000000000000000000900460ff1681565b600a54600160a060020a031681565b600d54600160a060020a031681565b600454600160a060020a0316815600a165627a7a723058202bf09cfb7b6fec015c194fbc94482ffc21aa243ef73ce6671af2ec32618085ae0029a165627a7a7230582039548ec75830156317010f8b9b71e16fa625c6f40c5b4a2bbf81743bbcd558430029000000000000000000000000a63596d263e7dfd012a635e4e13dd7dc0096a1f8000000000000000000000000b1dcccefc0aea43ba821088968b13f0e4f88b3240000000000000000000000003cbaf1d511adf5098511b5c5b39e1f1b506c1afe

    Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a63596d263e7dfd012a635e4e13dd7dc0096a1f8000000000000000000000000b1dcccefc0aea43ba821088968b13f0e4f88b3240000000000000000000000003cbaf1d511adf5098511b5c5b39e1f1b506c1afe

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000a63596d263e7dfd012a635e4e13dd7dc0096a1f8
Arg [1] : 000000000000000000000000b1dcccefc0aea43ba821088968b13f0e4f88b324
Arg [2] : 0000000000000000000000003cbaf1d511adf5098511b5c5b39e1f1b506c1afe


   Swarm Source:
bzzr://39548ec75830156317010f8b9b71e16fa625c6f40c5b4a2bbf81743bbcd55843

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.