Contract 0x0233159db774fa7e8f06bb15b3c03f8cd8d07164

Contract Overview

Balance:
0 Ether
TxHash Block Age From To Value [TxFee]
0xa08b5a3ed10c356dcf7ea0a88c94c749da9e796c8c1270178af51b8a2e20d7f3384023937 days 6 hrs ago0x292be23fd21492441567ee8bfc642ebb0b68c186 IN  0x0233159db774fa7e8f06bb15b3c03f8cd8d071640 Ether0.000154685747
0x808e657f9d870939d2549b8b79b803277a61b09378e8a8cd99ffd0e056a7e544384023137 days 6 hrs ago0x292be23fd21492441567ee8bfc642ebb0b68c186 IN  Contract Creation0 Ether0.000322448559
[ Download CSV Export 

Latest 2 internal transactions Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0xa08b5a3ed10c356dcf7ea0a88c94c749da9e796c8c1270178af51b8a2e20d7f3384023937 days 6 hrs ago0x0233159db774fa7e8f06bb15b3c03f8cd8d071640x98b6b9d3abb3b1bbf855193ee2968bdb4dce32960 Ether
0xa08b5a3ed10c356dcf7ea0a88c94c749da9e796c8c1270178af51b8a2e20d7f3384023937 days 6 hrs ago0x0233159db774fa7e8f06bb15b3c03f8cd8d071640x98b6b9d3abb3b1bbf855193ee2968bdb4dce32960 Ether
[ Download CSV Export 
Contract Name: FIFSRegistrar
Compiler Version: v0.4.11+commit.68ef5810
Optimization Enabled: Yes
Runs (Optimizer):  200


Contract Source Code
pragma solidity ^0.4.11;

contract AbstractENS {
    function owner(bytes32 node) constant returns(address);
    function resolver(bytes32 node) constant returns(address);
    function ttl(bytes32 node) constant returns(uint64);
    function setOwner(bytes32 node, address owner);
    function setSubnodeOwner(bytes32 node, bytes32 label, address owner);
    function setResolver(bytes32 node, address resolver);
    function setTTL(bytes32 node, uint64 ttl);
   }
   
/**
 * A registrar that allocates subdomains to the first person to claim them.
 */
contract FIFSRegistrar {
    AbstractENS public ens;
    bytes32 public rootNode;
    uint64 public onlyOwner;
    address public theCurrentOwner;

    modifier only_owner(bytes32 subnode) {
        var node = sha3(rootNode, subnode);
        var currentOwner = ens.owner(node);
        theCurrentOwner = currentOwner;
        onlyOwner = 2;
        if(currentOwner != 0 && currentOwner != msg.sender)
            throw;
        _;
        onlyOwner = 1;
    }

    /**
     * Constructor.
     * @param ensAddr The address of the ENS registry.
     * @param node The node that this registrar administers.
     */
    function FIFSRegistrar(AbstractENS ensAddr, bytes32 node) {
        ens = ensAddr;
        rootNode = node;
        onlyOwner = 0;
    }

    /**
     * Register a name, or change the owner of an existing registration.
     * @param subnode The hash of the label to register.
     * @param owner The address of the new owner.
     */
    function register(bytes32 subnode, address owner) only_owner(subnode) {
        ens.setSubnodeOwner(rootNode, subnode, owner);
    }
}

Contract ABI
[{"constant":true,"inputs":[],"name":"onlyOwner","outputs":[{"name":"","type":"uint64"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"ens","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"theCurrentOwner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"subnode","type":"bytes32"},{"name":"owner","type":"address"}],"name":"register","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"rootNode","outputs":[{"name":"","type":"bytes32"}],"payable":false,"type":"function"},{"inputs":[{"name":"ensAddr","type":"address"},{"name":"node","type":"bytes32"}],"payable":false,"type":"constructor"}]

Contract Creation Code
6060604052341561000c57fe5b6040516040806103b88339810160405280516020909101515b60008054600160a060020a031916600160a060020a03841617905560018190556002805467ffffffffffffffff191690555b50505b61034f806100696000396000f300606060405263ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631036e0a881146100665780633f15457f1461009357806364d158d3146100bf578063d22057a9146100eb578063faff50a81461010c575bfe5b341561006e57fe5b61007661012e565b6040805167ffffffffffffffff9092168252519081900360200190f35b341561009b57fe5b6100a361013e565b60408051600160a060020a039092168252519081900360200190f35b34156100c757fe5b6100a361014d565b60408051600160a060020a039092168252519081900360200190f35b34156100f357fe5b61010a600435600160a060020a0360243516610168565b005b341561011457fe5b61011c61031d565b60408051918252519081900360200190f35b60025467ffffffffffffffff1681565b600054600160a060020a031681565b600254680100000000000000009004600160a060020a031681565b600154604080519182526020808301859052815192839003820183206000805494830181905283517f02571be3000000000000000000000000000000000000000000000000000000008152600481018390529351879592949193600160a060020a03909316926302571be3926024808201939182900301818787803b15156101ec57fe5b6102c65a03f115156101fa57fe5b505060405151600280547fffffffff0000000000000000000000000000000000000000ffffffffffffffff1668010000000000000000600160a060020a0384169081029190911767ffffffffffffffff191682179091559092501580159150610275575033600160a060020a031681600160a060020a031614155b156102805760006000fd5b60008054600154604080517f06ab5923000000000000000000000000000000000000000000000000000000008152600481019290925260248201899052600160a060020a03888116604484015290519216926306ab59239260648084019382900301818387803b15156102ef57fe5b6102c65a03f115156102fd57fe5b5050505b6002805467ffffffffffffffff191660011790555b5050505050565b600154815600a165627a7a72305820a0bb2a9c8881329cbc1fbd5f518838a1711bd1bf5bf0bdabec5d42a58a013794002900000000000000000000000098b6b9d3abb3b1bbf855193ee2968bdb4dce329604f740db81dc36c853ab4205bddd785f46e79ccedca351fc6dfcbd8cc9a33dd6


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

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000098b6b9d3abb3b1bbf855193ee2968bdb4dce3296
Arg [1] : 04f740db81dc36c853ab4205bddd785f46e79ccedca351fc6dfcbd8cc9a33dd6


   Swarm Source:
bzzr://a0bb2a9c8881329cbc1fbd5f518838a1711bd1bf5bf0bdabec5d42a58a013794
Block Age Transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward