Sepolia Testnet

Contract

0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e
Source Code
Transaction Hash
Method
Block
From
To
Value
Set Approval For...46559892023-11-08 21:05:1221 days 7 hrs ago1699477512IN
0x000000...6C7d2e1e
0 ETH0.000069171.50000001
Set Resolver44577352023-10-09 17:10:4851 days 11 hrs ago1696871448IN
0x000000...6C7d2e1e
0 ETH0.00651799135.04598329
Set Subnode Owne...44379592023-10-06 17:26:2454 days 11 hrs ago1696613184IN
0x000000...6C7d2e1e
0 ETH0.000041051.50000001
Set Subnode Reco...44379322023-10-06 17:20:4854 days 11 hrs ago1696612848IN
0x000000...6C7d2e1e
0 ETH0.000042071.50000001
Set Owner44228892023-10-04 12:16:1256 days 16 hrs ago1696421772IN
0x000000...6C7d2e1e
0 ETH0.000043761.50004088
Set Owner44215052023-10-04 7:26:2456 days 21 hrs ago1696404384IN
0x000000...6C7d2e1e
0 ETH0.000095443.27112114
Set Owner44215042023-10-04 7:26:1256 days 21 hrs ago1696404372IN
0x000000...6C7d2e1e
0 ETH0.000100983.46103023
Set Subnode Reco...44215032023-10-04 7:26:0056 days 21 hrs ago1696404360IN
0x000000...6C7d2e1e
0 ETH0.000263563.54909745
Set Resolver44172882023-10-03 16:46:2457 days 11 hrs ago1696351584IN
0x000000...6C7d2e1e
0 ETH0.0016081733.31963524
Set Approval For...44099392023-10-02 15:16:0058 days 13 hrs ago1696259760IN
0x000000...6C7d2e1e
0 ETH0.0017498237.94231564
Set Owner44093402023-10-02 13:11:0058 days 15 hrs ago1696252260IN
0x000000...6C7d2e1e
0 ETH0.000039561.50005434
Set Approval For...43196152023-09-19 10:10:4871 days 18 hrs ago1695118248IN
0x000000...6C7d2e1e
0 ETH0.000069171.50000002
Set Owner43195882023-09-19 10:05:2471 days 18 hrs ago1695117924IN
0x000000...6C7d2e1e
0 ETH0.000043761.50000004
Set Approval For...43195802023-09-19 10:03:4871 days 18 hrs ago1695117828IN
0x000000...6C7d2e1e
0 ETH0.000069171.50000003
Set Owner43195482023-09-19 9:57:0071 days 18 hrs ago1695117420IN
0x000000...6C7d2e1e
0 ETH0.000043761.50000004
Set Resolver41493542023-08-24 6:16:1297 days 22 hrs ago1692857772IN
0x000000...6C7d2e1e
0 ETH0.000039181.50000001
Set Resolver41493042023-08-24 6:05:2497 days 22 hrs ago1692857124IN
0x000000...6C7d2e1e
0 ETH0.000072391.50000002
Set Subnode Reco...38626412023-07-10 8:47:00142 days 19 hrs ago1688978820IN
0x000000...6C7d2e1e
0 ETH0.000070122.5000006
Set Subnode Reco...38438752023-07-07 14:05:24145 days 14 hrs ago1688738724IN
0x000000...6C7d2e1e
0 ETH0.000070122.50000001
Set Owner38438532023-07-07 14:00:36145 days 14 hrs ago1688738436IN
0x000000...6C7d2e1e
0 ETH0.000066982.50000001
Set Owner38437922023-07-07 13:48:00145 days 14 hrs ago1688737680IN
0x000000...6C7d2e1e
0 ETH0.000066982.50000001
Set Subnode Owne...38436252023-07-07 13:14:00145 days 15 hrs ago1688735640IN
0x000000...6C7d2e1e
0 ETH0.000068392.5
Set Subnode Owne...38436202023-07-07 13:13:00145 days 15 hrs ago1688735580IN
0x000000...6C7d2e1e
0 ETH0.000068392.50000001
Set Subnode Owne...38436032023-07-07 13:09:36145 days 15 hrs ago1688735376IN
0x000000...6C7d2e1e
0 ETH0.000068392.5
Set Subnode Owne...38435922023-07-07 13:07:24145 days 15 hrs ago1688735244IN
0x000000...6C7d2e1e
0 ETH0.000068392.50000001
View all transactions

Advanced mode:
Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ENSRegistryWithFallback

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 1300 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 3 of 3: ENSRegistryWithFallback.sol
pragma solidity >=0.8.4;

import "./ENS.sol";
import "./ENSRegistry.sol";

/**
 * The ENS registry contract.
 */
contract ENSRegistryWithFallback is ENSRegistry {
    ENS public old;

    /**
     * @dev Constructs a new ENS registrar.
     */
    constructor(ENS _old) public ENSRegistry() {
        old = _old;
    }

    /**
     * @dev Returns the address of the resolver for the specified node.
     * @param node The specified node.
     * @return address of the resolver.
     */
    function resolver(bytes32 node) public view override returns (address) {
        if (!recordExists(node)) {
            return old.resolver(node);
        }

        return super.resolver(node);
    }

    /**
     * @dev Returns the address that owns the specified node.
     * @param node The specified node.
     * @return address of the owner.
     */
    function owner(bytes32 node) public view override returns (address) {
        if (!recordExists(node)) {
            return old.owner(node);
        }

        return super.owner(node);
    }

    /**
     * @dev Returns the TTL of a node, and any records associated with it.
     * @param node The specified node.
     * @return ttl of the node.
     */
    function ttl(bytes32 node) public view override returns (uint64) {
        if (!recordExists(node)) {
            return old.ttl(node);
        }

        return super.ttl(node);
    }

    function _setOwner(bytes32 node, address owner) internal override {
        address addr = owner;
        if (addr == address(0x0)) {
            addr = address(this);
        }

        super._setOwner(node, addr);
    }
}

File 1 of 3: ENS.sol
pragma solidity >=0.8.4;

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);

    // Logged when an operator is added or removed.
    event ApprovalForAll(
        address indexed owner,
        address indexed operator,
        bool approved
    );

    function setRecord(
        bytes32 node,
        address owner,
        address resolver,
        uint64 ttl
    ) external;

    function setSubnodeRecord(
        bytes32 node,
        bytes32 label,
        address owner,
        address resolver,
        uint64 ttl
    ) external;

    function setSubnodeOwner(
        bytes32 node,
        bytes32 label,
        address owner
    ) external returns (bytes32);

    function setResolver(bytes32 node, address resolver) external;

    function setOwner(bytes32 node, address owner) external;

    function setTTL(bytes32 node, uint64 ttl) external;

    function setApprovalForAll(address operator, bool approved) external;

    function owner(bytes32 node) external view returns (address);

    function resolver(bytes32 node) external view returns (address);

    function ttl(bytes32 node) external view returns (uint64);

    function recordExists(bytes32 node) external view returns (bool);

    function isApprovedForAll(
        address owner,
        address operator
    ) external view returns (bool);
}

File 2 of 3: ENSRegistry.sol
pragma solidity >=0.8.4;

import "./ENS.sol";

/**
 * The ENS registry contract.
 */
contract ENSRegistry is ENS {
    struct Record {
        address owner;
        address resolver;
        uint64 ttl;
    }

    mapping(bytes32 => Record) records;
    mapping(address => mapping(address => bool)) operators;

    // Permits modifications only by the owner of the specified node.
    modifier authorised(bytes32 node) {
        address owner = records[node].owner;
        require(owner == msg.sender || operators[owner][msg.sender]);
        _;
    }

    /**
     * @dev Constructs a new ENS registry.
     */
    constructor() public {
        records[0x0].owner = msg.sender;
    }

    /**
     * @dev Sets the record for a node.
     * @param node The node to update.
     * @param owner The address of the new owner.
     * @param resolver The address of the resolver.
     * @param ttl The TTL in seconds.
     */
    function setRecord(
        bytes32 node,
        address owner,
        address resolver,
        uint64 ttl
    ) external virtual override {
        setOwner(node, owner);
        _setResolverAndTTL(node, resolver, ttl);
    }

    /**
     * @dev Sets the record for a subnode.
     * @param node The parent node.
     * @param label The hash of the label specifying the subnode.
     * @param owner The address of the new owner.
     * @param resolver The address of the resolver.
     * @param ttl The TTL in seconds.
     */
    function setSubnodeRecord(
        bytes32 node,
        bytes32 label,
        address owner,
        address resolver,
        uint64 ttl
    ) external virtual override {
        bytes32 subnode = setSubnodeOwner(node, label, owner);
        _setResolverAndTTL(subnode, resolver, ttl);
    }

    /**
     * @dev Transfers ownership of a node to a new address. May only be called by the current owner of the node.
     * @param node The node to transfer ownership of.
     * @param owner The address of the new owner.
     */
    function setOwner(
        bytes32 node,
        address owner
    ) public virtual override authorised(node) {
        _setOwner(node, owner);
        emit Transfer(node, owner);
    }

    /**
     * @dev Transfers ownership of a subnode keccak256(node, label) to a new address. May only be called by the owner of the parent node.
     * @param node The parent node.
     * @param label The hash of the label specifying the subnode.
     * @param owner The address of the new owner.
     */
    function setSubnodeOwner(
        bytes32 node,
        bytes32 label,
        address owner
    ) public virtual override authorised(node) returns (bytes32) {
        bytes32 subnode = keccak256(abi.encodePacked(node, label));
        _setOwner(subnode, owner);
        emit NewOwner(node, label, owner);
        return subnode;
    }

    /**
     * @dev Sets the resolver address for the specified node.
     * @param node The node to update.
     * @param resolver The address of the resolver.
     */
    function setResolver(
        bytes32 node,
        address resolver
    ) public virtual override authorised(node) {
        emit NewResolver(node, resolver);
        records[node].resolver = resolver;
    }

    /**
     * @dev Sets the TTL for the specified node.
     * @param node The node to update.
     * @param ttl The TTL in seconds.
     */
    function setTTL(
        bytes32 node,
        uint64 ttl
    ) public virtual override authorised(node) {
        emit NewTTL(node, ttl);
        records[node].ttl = ttl;
    }

    /**
     * @dev Enable or disable approval for a third party ("operator") to manage
     *  all of `msg.sender`'s ENS records. Emits the ApprovalForAll event.
     * @param operator Address to add to the set of authorized operators.
     * @param approved True if the operator is approved, false to revoke approval.
     */
    function setApprovalForAll(
        address operator,
        bool approved
    ) external virtual override {
        operators[msg.sender][operator] = approved;
        emit ApprovalForAll(msg.sender, operator, approved);
    }

    /**
     * @dev Returns the address that owns the specified node.
     * @param node The specified node.
     * @return address of the owner.
     */
    function owner(
        bytes32 node
    ) public view virtual override returns (address) {
        address addr = records[node].owner;
        if (addr == address(this)) {
            return address(0x0);
        }

        return addr;
    }

    /**
     * @dev Returns the address of the resolver for the specified node.
     * @param node The specified node.
     * @return address of the resolver.
     */
    function resolver(
        bytes32 node
    ) public view virtual override returns (address) {
        return records[node].resolver;
    }

    /**
     * @dev Returns the TTL of a node, and any records associated with it.
     * @param node The specified node.
     * @return ttl of the node.
     */
    function ttl(bytes32 node) public view virtual override returns (uint64) {
        return records[node].ttl;
    }

    /**
     * @dev Returns whether a record has been imported to the registry.
     * @param node The specified node.
     * @return Bool if record exists
     */
    function recordExists(
        bytes32 node
    ) public view virtual override returns (bool) {
        return records[node].owner != address(0x0);
    }

    /**
     * @dev Query if an address is an authorized operator for another address.
     * @param owner The address that owns the records.
     * @param operator The address that acts on behalf of the owner.
     * @return True if `operator` is an approved operator for `owner`, false otherwise.
     */
    function isApprovedForAll(
        address owner,
        address operator
    ) external view virtual override returns (bool) {
        return operators[owner][operator];
    }

    function _setOwner(bytes32 node, address owner) internal virtual {
        records[node].owner = owner;
    }

    function _setResolverAndTTL(
        bytes32 node,
        address resolver,
        uint64 ttl
    ) internal {
        if (resolver != records[node].resolver) {
            records[node].resolver = resolver;
            emit NewResolver(node, resolver);
        }

        if (ttl != records[node].ttl) {
            records[node].ttl = ttl;
            emit NewTTL(node, ttl);
        }
    }
}

Contract ABI

[{"inputs":[{"internalType":"contract ENS","name":"_old","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"label","type":"bytes32"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"NewOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"resolver","type":"address"}],"name":"NewResolver","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"NewTTL","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"old","outputs":[{"internalType":"contract ENS","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"recordExists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"resolver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setRecord","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"resolver","type":"address"}],"name":"setResolver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"label","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"}],"name":"setSubnodeOwner","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"label","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setSubnodeRecord","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setTTL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"ttl","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50604051610d2e380380610d2e83398101604081905261002f91610089565b60008080526020527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb58054336001600160a01b031991821617909155600280549091166001600160a01b03929092169190911790556100b9565b60006020828403121561009b57600080fd5b81516001600160a01b03811681146100b257600080fd5b9392505050565b610c66806100c86000396000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c80635b0fc9c31161008c578063b83f866311610066578063b83f8663146101d5578063cf408823146101e8578063e985e9c5146101fb578063f79fe5381461024757600080fd5b80635b0fc9c31461019c5780635ef2c7f0146101af578063a22cb465146101c257600080fd5b806314ab9038116100bd57806314ab90381461014857806316a25cbd1461015d5780631896f70a1461018957600080fd5b80630178b8bf146100e457806302571be31461011457806306ab592314610127575b600080fd5b6100f76100f2366004610a07565b610272565b6040516001600160a01b0390911681526020015b60405180910390f35b6100f7610122366004610a07565b61033b565b61013a610135366004610a38565b6103aa565b60405190815260200161010b565b61015b610156366004610a87565b61047a565b005b61017061016b366004610a07565b610561565b60405167ffffffffffffffff909116815260200161010b565b61015b610197366004610ab7565b61062b565b61015b6101aa366004610ab7565b6106fd565b61015b6101bd366004610adc565b61079f565b61015b6101d0366004610b3b565b6107c1565b6002546100f7906001600160a01b031681565b61015b6101f6366004610b6e565b61082d565b610237610209366004610bc1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b604051901515815260200161010b565b610237610255366004610a07565b6000908152602081905260409020546001600160a01b0316151590565b6000818152602081905260408120546001600160a01b031661031b576002546040517f0178b8bf000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b0390911690630178b8bf906024015b602060405180830381865afa1580156102f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103159190610bef565b92915050565b6000828152602081905260409020600101546001600160a01b0316610315565b6000818152602081905260408120546001600160a01b03166103a1576002546040517f02571be3000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b03909116906302571be3906024016102d4565b61031582610848565b60008381526020819052604081205484906001600160a01b0316338114806103f557506001600160a01b038116600090815260016020908152604080832033845290915290205460ff165b6103fe57600080fd5b604080516020808201899052818301889052825180830384018152606090920190925280519101206104308186610870565b6040516001600160a01b0386168152869088907fce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e829060200160405180910390a39695505050505050565b60008281526020819052604090205482906001600160a01b0316338114806104c557506001600160a01b038116600090815260016020908152604080832033845290915290205460ff165b6104ce57600080fd5b60405167ffffffffffffffff8416815284907f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa689060200160405180910390a25050600091825260208290526040909120600101805467ffffffffffffffff909216600160a01b027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6000818152602081905260408120546001600160a01b0316610603576002546040517f16a25cbd000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b03909116906316a25cbd90602401602060405180830381865afa1580156105df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103159190610c13565b600082815260208190526040902060010154600160a01b900467ffffffffffffffff16610315565b60008281526020819052604090205482906001600160a01b03163381148061067657506001600160a01b038116600090815260016020908152604080832033845290915290205460ff165b61067f57600080fd5b6040516001600160a01b038416815284907f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a09060200160405180910390a25050600091825260208290526040909120600101805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03909216919091179055565b60008281526020819052604090205482906001600160a01b03163381148061074857506001600160a01b038116600090815260016020908152604080832033845290915290205460ff165b61075157600080fd5b61075b8484610870565b6040516001600160a01b038416815284907fd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d2669060200160405180910390a250505050565b60006107ac8686866103aa565b90506107b98184846108c0565b505050505050565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61083784846106fd565b6108428483836108c0565b50505050565b6000818152602081905260408120546001600160a01b03163081036103155750600092915050565b806001600160a01b0381166108825750305b6000838152602081905260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038316179055505050565b505050565b6000838152602081905260409020600101546001600160a01b038381169116146109535760008381526020818152604091829020600101805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038616908117909155915191825284917f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0910160405180910390a25b60008381526020819052604090206001015467ffffffffffffffff828116600160a01b90920416146108bb576000838152602081815260409182902060010180547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff16600160a01b67ffffffffffffffff861690810291909117909155915191825284917f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68910160405180910390a2505050565b600060208284031215610a1957600080fd5b5035919050565b6001600160a01b0381168114610a3557600080fd5b50565b600080600060608486031215610a4d57600080fd5b83359250602084013591506040840135610a6681610a20565b809150509250925092565b67ffffffffffffffff81168114610a3557600080fd5b60008060408385031215610a9a57600080fd5b823591506020830135610aac81610a71565b809150509250929050565b60008060408385031215610aca57600080fd5b823591506020830135610aac81610a20565b600080600080600060a08688031215610af457600080fd5b85359450602086013593506040860135610b0d81610a20565b92506060860135610b1d81610a20565b91506080860135610b2d81610a71565b809150509295509295909350565b60008060408385031215610b4e57600080fd5b8235610b5981610a20565b915060208301358015158114610aac57600080fd5b60008060008060808587031215610b8457600080fd5b843593506020850135610b9681610a20565b92506040850135610ba681610a20565b91506060850135610bb681610a71565b939692955090935050565b60008060408385031215610bd457600080fd5b8235610bdf81610a20565b91506020830135610aac81610a20565b600060208284031215610c0157600080fd5b8151610c0c81610a20565b9392505050565b600060208284031215610c2557600080fd5b8151610c0c81610a7156fea26469706673582212200ca228106ebfbcf2a8f9809dd6a6e8feb568201ac730c6e7305d2a35fd19942e64736f6c6343000811003300000000000000000000000094f523b8261b815b87effcf4d18e6abef18d6e4b

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100df5760003560e01c80635b0fc9c31161008c578063b83f866311610066578063b83f8663146101d5578063cf408823146101e8578063e985e9c5146101fb578063f79fe5381461024757600080fd5b80635b0fc9c31461019c5780635ef2c7f0146101af578063a22cb465146101c257600080fd5b806314ab9038116100bd57806314ab90381461014857806316a25cbd1461015d5780631896f70a1461018957600080fd5b80630178b8bf146100e457806302571be31461011457806306ab592314610127575b600080fd5b6100f76100f2366004610a07565b610272565b6040516001600160a01b0390911681526020015b60405180910390f35b6100f7610122366004610a07565b61033b565b61013a610135366004610a38565b6103aa565b60405190815260200161010b565b61015b610156366004610a87565b61047a565b005b61017061016b366004610a07565b610561565b60405167ffffffffffffffff909116815260200161010b565b61015b610197366004610ab7565b61062b565b61015b6101aa366004610ab7565b6106fd565b61015b6101bd366004610adc565b61079f565b61015b6101d0366004610b3b565b6107c1565b6002546100f7906001600160a01b031681565b61015b6101f6366004610b6e565b61082d565b610237610209366004610bc1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b604051901515815260200161010b565b610237610255366004610a07565b6000908152602081905260409020546001600160a01b0316151590565b6000818152602081905260408120546001600160a01b031661031b576002546040517f0178b8bf000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b0390911690630178b8bf906024015b602060405180830381865afa1580156102f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103159190610bef565b92915050565b6000828152602081905260409020600101546001600160a01b0316610315565b6000818152602081905260408120546001600160a01b03166103a1576002546040517f02571be3000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b03909116906302571be3906024016102d4565b61031582610848565b60008381526020819052604081205484906001600160a01b0316338114806103f557506001600160a01b038116600090815260016020908152604080832033845290915290205460ff165b6103fe57600080fd5b604080516020808201899052818301889052825180830384018152606090920190925280519101206104308186610870565b6040516001600160a01b0386168152869088907fce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e829060200160405180910390a39695505050505050565b60008281526020819052604090205482906001600160a01b0316338114806104c557506001600160a01b038116600090815260016020908152604080832033845290915290205460ff165b6104ce57600080fd5b60405167ffffffffffffffff8416815284907f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa689060200160405180910390a25050600091825260208290526040909120600101805467ffffffffffffffff909216600160a01b027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6000818152602081905260408120546001600160a01b0316610603576002546040517f16a25cbd000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b03909116906316a25cbd90602401602060405180830381865afa1580156105df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103159190610c13565b600082815260208190526040902060010154600160a01b900467ffffffffffffffff16610315565b60008281526020819052604090205482906001600160a01b03163381148061067657506001600160a01b038116600090815260016020908152604080832033845290915290205460ff165b61067f57600080fd5b6040516001600160a01b038416815284907f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a09060200160405180910390a25050600091825260208290526040909120600101805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03909216919091179055565b60008281526020819052604090205482906001600160a01b03163381148061074857506001600160a01b038116600090815260016020908152604080832033845290915290205460ff165b61075157600080fd5b61075b8484610870565b6040516001600160a01b038416815284907fd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d2669060200160405180910390a250505050565b60006107ac8686866103aa565b90506107b98184846108c0565b505050505050565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61083784846106fd565b6108428483836108c0565b50505050565b6000818152602081905260408120546001600160a01b03163081036103155750600092915050565b806001600160a01b0381166108825750305b6000838152602081905260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038316179055505050565b505050565b6000838152602081905260409020600101546001600160a01b038381169116146109535760008381526020818152604091829020600101805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038616908117909155915191825284917f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0910160405180910390a25b60008381526020819052604090206001015467ffffffffffffffff828116600160a01b90920416146108bb576000838152602081815260409182902060010180547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff16600160a01b67ffffffffffffffff861690810291909117909155915191825284917f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68910160405180910390a2505050565b600060208284031215610a1957600080fd5b5035919050565b6001600160a01b0381168114610a3557600080fd5b50565b600080600060608486031215610a4d57600080fd5b83359250602084013591506040840135610a6681610a20565b809150509250925092565b67ffffffffffffffff81168114610a3557600080fd5b60008060408385031215610a9a57600080fd5b823591506020830135610aac81610a71565b809150509250929050565b60008060408385031215610aca57600080fd5b823591506020830135610aac81610a20565b600080600080600060a08688031215610af457600080fd5b85359450602086013593506040860135610b0d81610a20565b92506060860135610b1d81610a20565b91506080860135610b2d81610a71565b809150509295509295909350565b60008060408385031215610b4e57600080fd5b8235610b5981610a20565b915060208301358015158114610aac57600080fd5b60008060008060808587031215610b8457600080fd5b843593506020850135610b9681610a20565b92506040850135610ba681610a20565b91506060850135610bb681610a71565b939692955090935050565b60008060408385031215610bd457600080fd5b8235610bdf81610a20565b91506020830135610aac81610a20565b600060208284031215610c0157600080fd5b8151610c0c81610a20565b9392505050565b600060208284031215610c2557600080fd5b8151610c0c81610a7156fea26469706673582212200ca228106ebfbcf2a8f9809dd6a6e8feb568201ac730c6e7305d2a35fd19942e64736f6c63430008110033

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

00000000000000000000000094f523b8261b815b87effcf4d18e6abef18d6e4b

-----Decoded View---------------
Arg [0] : _old (address): 0x94f523b8261B815b87EFfCf4d18E6aBeF18d6e4b

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000094f523b8261b815b87effcf4d18e6abef18d6e4b


Deployed Bytecode Sourcemap

113:1510:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;491:200;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;363:55:3;;;345:74;;333:2;318:18;491:200:2;;;;;;;;851:191;;;;;;:::i;:::-;;:::i;2494:335:1:-;;;;;;:::i;:::-;;:::i;:::-;;;1123:25:3;;;1111:2;1096:18;2494:335:1;977:177:3;3360::1;;;;;;:::i;:::-;;:::i;:::-;;1210:184:2;;;;;;:::i;:::-;;:::i;:::-;;;1785:18:3;1773:31;;;1755:50;;1743:2;1728:18;1210:184:2;1611:200:3;3004:208:1;;;;;;:::i;:::-;;:::i;1997:185::-;;;;;;:::i;:::-;;:::i;1464:294::-;;;;;;:::i;:::-;;:::i;3871:228::-;;;;;;:::i;:::-;;:::i;167:14:2:-;;;;;-1:-1:-1;;;;;167:14:2;;;928:229:1;;;;;;:::i;:::-;;:::i;5732:177::-;;;;;;:::i;:::-;-1:-1:-1;;;;;5876:16:1;;;5853:4;5876:16;;;:9;:16;;;;;;;;:26;;;;;;;;;;;;;;;5732:177;;;;4628:14:3;;4621:22;4603:41;;4591:2;4576:18;5732:177:1;4463:187:3;5266:153:1;;;;;;:::i;:::-;5354:4;5377:13;;;;;;;;;;:19;-1:-1:-1;;;;;5377:19:1;:35;;;5266:153;491:200:2;553:7;5377:13:1;;;;;;;;;;:19;-1:-1:-1;;;;;5377:19:1;572:75:2;;618:3;;:18;;;;;;;;1123:25:3;;;-1:-1:-1;;;;;618:3:2;;;;:12;;1096:18:3;;618::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;611:25;491:200;-1:-1:-1;;491:200:2:o;572:75::-;4759:7:1;4785:13;;;;;;;;;;:22;;;-1:-1:-1;;;;;4785:22:1;664:20:2;4675:139:1;851:191:2;910:7;5377:13:1;;;;;;;;;;:19;-1:-1:-1;;;;;5377:19:1;929:72:2;;975:3;;:15;;;;;;;;1123:25:3;;;-1:-1:-1;;;;;975:3:2;;;;:9;;1096:18:3;;975:15:2;977:177:3;929:72:2;1018:17;1030:4;1018:11;:17::i;2494:335:1:-;2643:7;446:13;;;;;;;;;;:19;2628:4;;-1:-1:-1;;;;;446:19:1;492:10;483:19;;;:51;;-1:-1:-1;;;;;;506:16:1;;;;;;:9;:16;;;;;;;;523:10;506:28;;;;;;;;;;483:51;475:60;;;;;;2690:29:::1;::::0;;::::1;::::0;;::::1;5068:19:3::0;;;5103:12;;;5096:28;;;2690:29:1;;;;;;;;;5140:12:3;;;;2690:29:1;;;2680:40;;;::::1;::::0;2730:25:::1;2680:40:::0;2749:5;2730:9:::1;:25::i;:::-;2770:28;::::0;-1:-1:-1;;;;;363:55:3;;345:74;;2785:5:1;;2779:4;;2770:28:::1;::::0;333:2:3;318:18;2770:28:1::1;;;;;;;2815:7:::0;2494:335;-1:-1:-1;;;;;;2494:335:1:o;3360:177::-;430:13;446;;;;;;;;;;:19;3459:4;;-1:-1:-1;;;;;446:19:1;492:10;483:19;;;:51;;-1:-1:-1;;;;;;506:16:1;;;;;;:9;:16;;;;;;;;523:10;506:28;;;;;;;;;;483:51;475:60;;;;;;3480:17:::1;::::0;1785:18:3;1773:31;;1755:50;;3487:4:1;;3480:17:::1;::::0;1743:2:3;1728:18;3480:17:1::1;;;;;;;-1:-1:-1::0;;3507:7:1::1;:13:::0;;;::::1;::::0;;;;;;;:17:::1;;:23:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;3507:23:1::1;::::0;;;::::1;::::0;;;::::1;::::0;;3360:177::o;1210:184:2:-;1267:6;5377:13:1;;;;;;;;;;:19;-1:-1:-1;;;;;5377:19:1;1285:70:2;;1331:3;;:13;;;;;;;;1123:25:3;;;-1:-1:-1;;;;;1331:3:2;;;;:7;;1096:18:3;;1331:13:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1285:70::-;5047:6:1;5072:13;;;;;;;;;;:17;;;-1:-1:-1;;;5072:17:1;;;;1372:15:2;4982:114:1;3004:208;430:13;446;;;;;;;;;;:19;3114:4;;-1:-1:-1;;;;;446:19:1;492:10;483:19;;;:51;;-1:-1:-1;;;;;;506:16:1;;;;;;:9;:16;;;;;;;;523:10;506:28;;;;;;;;;;483:51;475:60;;;;;;3135:27:::1;::::0;-1:-1:-1;;;;;363:55:3;;345:74;;3147:4:1;;3135:27:::1;::::0;333:2:3;318:18;3135:27:1::1;;;;;;;-1:-1:-1::0;;3172:7:1::1;:13:::0;;;::::1;::::0;;;;;;;:22:::1;;:33:::0;;-1:-1:-1;;3172:33:1::1;-1:-1:-1::0;;;;;3172:33:1;;::::1;::::0;;;::::1;::::0;;3004:208::o;1997:185::-;430:13;446;;;;;;;;;;:19;2101:4;;-1:-1:-1;;;;;446:19:1;492:10;483:19;;;:51;;-1:-1:-1;;;;;;506:16:1;;;;;;:9;:16;;;;;;;;523:10;506:28;;;;;;;;;;483:51;475:60;;;;;;2117:22:::1;2127:4;2133:5;2117:9;:22::i;:::-;2154:21;::::0;-1:-1:-1;;;;;363:55:3;;345:74;;2163:4:1;;2154:21:::1;::::0;333:2:3;318:18;2154:21:1::1;;;;;;;420:133:::0;1997:185;;;:::o;1464:294::-;1646:15;1664:35;1680:4;1686:5;1693;1664:15;:35::i;:::-;1646:53;;1709:42;1728:7;1737:8;1747:3;1709:18;:42::i;:::-;1636:122;1464:294;;;;;:::o;3871:228::-;3999:10;3989:21;;;;:9;:21;;;;;;;;-1:-1:-1;;;;;3989:31:1;;;;;;;;;;;;:42;;-1:-1:-1;;3989:42:1;;;;;;;;;;4046:46;;4603:41:3;;;3989:31:1;;3999:10;4046:46;;4576:18:3;4046:46:1;;;;;;;3871:228;;:::o;928:229::-;1080:21;1089:4;1095:5;1080:8;:21::i;:::-;1111:39;1130:4;1136:8;1146:3;1111:18;:39::i;:::-;928:229;;;;:::o;4259:243::-;4340:7;4374:13;;;;;;;;;;:19;-1:-1:-1;;;;;4374:19:1;4423:4;4407:21;;4403:71;;-1:-1:-1;4459:3:1;;4259:243;-1:-1:-1;;4259:243:1:o;1400:221:2:-;1491:5;-1:-1:-1;;;;;1510:20:2;;1506:71;;-1:-1:-1;1561:4:2;1506:71;5990:7:1;:13;;;;;;;;;;:27;;-1:-1:-1;;5990:27:1;-1:-1:-1;;;;;5990:27:1;;;;;1466:155:2;1400:221;;:::o;1587:27::-;1466:155;1400:221;;:::o;6030:395:1:-;6167:7;:13;;;;;;;;;;:22;;;-1:-1:-1;;;;;6155:34:1;;;6167:22;;6155:34;6151:144;;6205:7;:13;;;;;;;;;;;;:22;;:33;;-1:-1:-1;;6205:33:1;-1:-1:-1;;;;;6205:33:1;;;;;;;;6257:27;;345:74:3;;;6205:13:1;;6257:27;;318:18:3;6257:27:1;;;;;;;6151:144;6316:7;:13;;;;;;;;;;:17;;;;6309:24;;;-1:-1:-1;;;6316:17:1;;;;6309:24;6305:114;;6349:7;:13;;;;;;;;;;;;:17;;:23;;;;-1:-1:-1;;;6349:23:1;;;;;;;;;;;;;6391:17;;1755:50:3;;;6349:13:1;;6391:17;;1728:18:3;6391:17:1;;;;;;;6030:395;;;:::o;14:180:3:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:3;;14:180;-1:-1:-1;14:180:3:o;430:154::-;-1:-1:-1;;;;;509:5:3;505:54;498:5;495:65;485:93;;574:1;571;564:12;485:93;430:154;:::o;589:383::-;666:6;674;682;735:2;723:9;714:7;710:23;706:32;703:52;;;751:1;748;741:12;703:52;787:9;774:23;764:33;;844:2;833:9;829:18;816:32;806:42;;898:2;887:9;883:18;870:32;911:31;936:5;911:31;:::i;:::-;961:5;951:15;;;589:383;;;;;:::o;1159:129::-;1244:18;1237:5;1233:30;1226:5;1223:41;1213:69;;1278:1;1275;1268:12;1293:313;1360:6;1368;1421:2;1409:9;1400:7;1396:23;1392:32;1389:52;;;1437:1;1434;1427:12;1389:52;1473:9;1460:23;1450:33;;1533:2;1522:9;1518:18;1505:32;1546:30;1570:5;1546:30;:::i;:::-;1595:5;1585:15;;;1293:313;;;;;:::o;1816:315::-;1884:6;1892;1945:2;1933:9;1924:7;1920:23;1916:32;1913:52;;;1961:1;1958;1951:12;1913:52;1997:9;1984:23;1974:33;;2057:2;2046:9;2042:18;2029:32;2070:31;2095:5;2070:31;:::i;2136:665::-;2230:6;2238;2246;2254;2262;2315:3;2303:9;2294:7;2290:23;2286:33;2283:53;;;2332:1;2329;2322:12;2283:53;2368:9;2355:23;2345:33;;2425:2;2414:9;2410:18;2397:32;2387:42;;2479:2;2468:9;2464:18;2451:32;2492:31;2517:5;2492:31;:::i;:::-;2542:5;-1:-1:-1;2599:2:3;2584:18;;2571:32;2612:33;2571:32;2612:33;:::i;:::-;2664:7;-1:-1:-1;2723:3:3;2708:19;;2695:33;2737:32;2695:33;2737:32;:::i;:::-;2788:7;2778:17;;;2136:665;;;;;;;;:::o;2806:416::-;2871:6;2879;2932:2;2920:9;2911:7;2907:23;2903:32;2900:52;;;2948:1;2945;2938:12;2900:52;2987:9;2974:23;3006:31;3031:5;3006:31;:::i;:::-;3056:5;-1:-1:-1;3113:2:3;3098:18;;3085:32;3155:15;;3148:23;3136:36;;3126:64;;3186:1;3183;3176:12;3469:596;3554:6;3562;3570;3578;3631:3;3619:9;3610:7;3606:23;3602:33;3599:53;;;3648:1;3645;3638:12;3599:53;3684:9;3671:23;3661:33;;3744:2;3733:9;3729:18;3716:32;3757:31;3782:5;3757:31;:::i;:::-;3807:5;-1:-1:-1;3864:2:3;3849:18;;3836:32;3877:33;3836:32;3877:33;:::i;:::-;3929:7;-1:-1:-1;3988:2:3;3973:18;;3960:32;4001;3960;4001;:::i;:::-;3469:596;;;;-1:-1:-1;3469:596:3;;-1:-1:-1;;3469:596:3:o;4070:388::-;4138:6;4146;4199:2;4187:9;4178:7;4174:23;4170:32;4167:52;;;4215:1;4212;4205:12;4167:52;4254:9;4241:23;4273:31;4298:5;4273:31;:::i;:::-;4323:5;-1:-1:-1;4380:2:3;4365:18;;4352:32;4393:33;4352:32;4393:33;:::i;4655:251::-;4725:6;4778:2;4766:9;4757:7;4753:23;4749:32;4746:52;;;4794:1;4791;4784:12;4746:52;4826:9;4820:16;4845:31;4870:5;4845:31;:::i;:::-;4895:5;4655:251;-1:-1:-1;;;4655:251:3:o;5163:249::-;5232:6;5285:2;5273:9;5264:7;5260:23;5256:32;5253:52;;;5301:1;5298;5291:12;5253:52;5333:9;5327:16;5352:30;5376:5;5352:30;:::i

Swarm Source

ipfs://0ca228106ebfbcf2a8f9809dd6a6e8feb568201ac730c6e7305d2a35fd19942e

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.