Contract

0x90DB11399F3577BeFbF5B8E094BcaD35DA348Fc9

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

-

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Reverse6533682024-12-19 3:43:341 hr ago1734579814IN
0x90DB1139...5DA348Fc9
0 S0.000041571.11
Set Address6533492024-12-19 3:43:211 hr ago1734579801IN
0x90DB1139...5DA348Fc9
0 S0.000062141.11
Set Reverse6530572024-12-19 3:39:111 hr ago1734579551IN
0x90DB1139...5DA348Fc9
0 S0.00006151.11
Set Address6528092024-12-19 3:36:021 hr ago1734579362IN
0x90DB1139...5DA348Fc9
0 S0.000062141.11
Set Reverse6520402024-12-19 3:26:331 hr ago1734578793IN
0x90DB1139...5DA348Fc9
0 S0.000041571.11
Set Reverse6520072024-12-19 3:26:051 hr ago1734578765IN
0x90DB1139...5DA348Fc9
0 S0.000041571.11
Set Address6519412024-12-19 3:25:121 hr ago1734578712IN
0x90DB1139...5DA348Fc9
0 S0.000039071.11
Set Reverse6507142024-12-19 3:09:261 hr ago1734577766IN
0x90DB1139...5DA348Fc9
0 S0.000131922.5
Set Address6506982024-12-19 3:09:161 hr ago1734577756IN
0x90DB1139...5DA348Fc9
0 S0.000133292.5
Set Reverse6499432024-12-19 2:56:372 hrs ago1734576997IN
0x90DB1139...5DA348Fc9
0 S0.000058041.1
Set Address6499232024-12-19 2:56:092 hrs ago1734576969IN
0x90DB1139...5DA348Fc9
0 S0.000058651.1
Set Reverse6477692024-12-19 2:27:042 hrs ago1734575224IN
0x90DB1139...5DA348Fc9
0 S0.000058041.1
Set Address6477542024-12-19 2:26:542 hrs ago1734575214IN
0x90DB1139...5DA348Fc9
0 S0.000058651.1
Set Reverse6462262024-12-19 2:04:122 hrs ago1734573852IN
0x90DB1139...5DA348Fc9
0 S0.000058041.1
Set Address6461922024-12-19 2:03:412 hrs ago1734573821IN
0x90DB1139...5DA348Fc9
0 S0.000058651.1
Set Reverse6436302024-12-19 1:34:323 hrs ago1734572072IN
0x90DB1139...5DA348Fc9
0 S0.000058041.1
Set Address6435592024-12-19 1:34:093 hrs ago1734572049IN
0x90DB1139...5DA348Fc9
0 S0.000058651.1
Set Reverse6422732024-12-19 1:20:123 hrs ago1734571212IN
0x90DB1139...5DA348Fc9
0 S0.000058041.1
Set Address6422502024-12-19 1:19:523 hrs ago1734571192IN
0x90DB1139...5DA348Fc9
0 S0.000058651.1
Set Reverse6410982024-12-19 1:04:003 hrs ago1734570240IN
0x90DB1139...5DA348Fc9
0 S0.000039231.1
Set Address6410782024-12-19 1:03:433 hrs ago1734570223IN
0x90DB1139...5DA348Fc9
0 S0.000058651.1
Set Reverse6409892024-12-19 1:02:393 hrs ago1734570159IN
0x90DB1139...5DA348Fc9
0 S0.000058041.1
Set Address6409692024-12-19 1:02:173 hrs ago1734570137IN
0x90DB1139...5DA348Fc9
0 S0.000058651.1
Set Reverse6399252024-12-19 0:47:334 hrs ago1734569253IN
0x90DB1139...5DA348Fc9
0 S0.000058041.1
Set Address6399002024-12-19 0:47:224 hrs ago1734569242IN
0x90DB1139...5DA348Fc9
0 S0.000058651.1
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SonicResolver

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 9999 runs

Other Settings:
paris EvmVersion
File 1 of 3 : SonicResolver.sol
// SPDX-License-Identifier: MIT

/*
 /$$   /$$ /$$$$$$$   /$$$$$$  /$$      /$$ /$$   /$$       /$$        /$$$$$$  /$$$$$$$   /$$$$$$$ 
| $$  /$$/| $$__  $$ /$$__  $$| $$  /$ | $$| $$$ | $$      | $$       /$$__  $$| $$__  $$ /$$__  $$
| $$ /$$/ | $$  \ $$| $$  \ $$| $$ /$$$| $$| $$$$| $$      | $$      | $$  \ $$| $$  \ $$| $$  \__/
| $$$$$/  | $$$$$$$/| $$  | $$| $$/$$ $$ $$| $$ $$ $$      | $$      | $$$$$$$$| $$$$$$$ |  $$$$$$ 
| $$  $$  | $$__  $$| $$  | $$| $$$$_  $$$$| $$  $$$$      | $$      | $$__  $$| $$__  $$ \____  $$
| $$\  $$ | $$  \ $$| $$  | $$| $$$/ \  $$$| $$\  $$$      | $$      | $$  | $$| $$  \ $$ /$$  \ $$
| $$ \  $$| $$  | $$|  $$$$$$/| $$/   \  $$| $$ \  $$      | $$$$$$$$| $$  | $$| $$$$$$$/|  $$$$$$/
|__/  \__/|__/  |__/ \______/ |__/     \__/|__/  \__/      |________/|__/  |__/|_______/  \______/ 

krownlabs.app
x.com/krownlabs
discord.gg/KTU4krfhrG

*/

pragma solidity ^0.8.20;

import "@openzeppelin/contracts/access/Ownable.sol";

contract SonicResolver is Ownable {
    struct Record {
        address addr;        
        string content;      
        mapping(string => string) texts;  
    }
    
    struct Subdomain {
        address owner;
        string name;
        bool exists;
    }
    
    mapping(uint256 => Record) public records;
    mapping(uint256 => mapping(bytes32 => Subdomain)) public subdomains;
    mapping(address => uint256) public reverseRecords;
    
    ISonicRegistry public registry;
    
    constructor(address _registry) Ownable(msg.sender) {
        registry = ISonicRegistry(_registry);
    }
    
    function setAddress(uint256 tokenId, address addr) external {
        require(registry.ownerOf(tokenId) == msg.sender, "Not domain owner");
        records[tokenId].addr = addr;
        emit AddressSet(tokenId, addr);
    }
    
    function setContent(uint256 tokenId, string calldata content) external {
        require(registry.ownerOf(tokenId) == msg.sender, "Not domain owner");
        records[tokenId].content = content;
        emit ContentSet(tokenId, content);
    }
    
    function setText(uint256 tokenId, string calldata key, string calldata value) external {
        require(registry.ownerOf(tokenId) == msg.sender, "Not domain owner");
        records[tokenId].texts[key] = value;
        emit TextSet(tokenId, key, value);
    }
    
    function createSubdomain(uint256 tokenId, string calldata label, address owner) external {
        require(registry.ownerOf(tokenId) == msg.sender, "Not domain owner");
        bytes32 labelHash = keccak256(bytes(label));
        require(!subdomains[tokenId][labelHash].exists, "Subdomain exists");
        
        subdomains[tokenId][labelHash] = Subdomain({
            owner: owner,
            name: label,
            exists: true
        });
        
        emit SubdomainCreated(tokenId, label, owner);
    }
    
    function setReverse(uint256 tokenId) external {
        require(registry.ownerOf(tokenId) == msg.sender, "Not domain owner");
        reverseRecords[msg.sender] = tokenId;
        emit ReverseSet(msg.sender, tokenId);
    }
    
    function resolveAddress(uint256 tokenId) external view returns (address) {
        return records[tokenId].addr;
    }
    
    function resolveContent(uint256 tokenId) external view returns (string memory) {
        return records[tokenId].content;
    }
    
    function resolveText(uint256 tokenId, string calldata key) external view returns (string memory) {
        return records[tokenId].texts[key];
    }
    
    function reverseLookup(address addr) external view returns (string memory) {
        uint256 tokenId = reverseRecords[addr];
        require(tokenId != 0, "No reverse record");
        return registry.tokenIdToName(tokenId);
    }
    
    event AddressSet(uint256 indexed tokenId, address addr);
    event ContentSet(uint256 indexed tokenId, string content);
    event TextSet(uint256 indexed tokenId, string key, string value);
    event SubdomainCreated(uint256 indexed tokenId, string label, address owner);
    event ReverseSet(address indexed addr, uint256 tokenId);
}

interface ISonicRegistry {
    function ownerOf(uint256 tokenId) external view returns (address);
    function tokenIdToName(uint256 tokenId) external view returns (string memory);
}

File 2 of 3 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 3 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 9999
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_registry","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"AddressSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"content","type":"string"}],"name":"ContentSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ReverseSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"label","type":"string"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"SubdomainCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"key","type":"string"},{"indexed":false,"internalType":"string","name":"value","type":"string"}],"name":"TextSet","type":"event"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"owner","type":"address"}],"name":"createSubdomain","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"records","outputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"string","name":"content","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"registry","outputs":[{"internalType":"contract ISonicRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"resolveAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"resolveContent","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"key","type":"string"}],"name":"resolveText","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"reverseLookup","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"reverseRecords","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"addr","type":"address"}],"name":"setAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"content","type":"string"}],"name":"setContent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"setReverse","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"key","type":"string"},{"internalType":"string","name":"value","type":"string"}],"name":"setText","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"subdomains","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"bool","name":"exists","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516119dc3803806119dc83398101604081905261002f916100d4565b338061005557604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b61005e81610084565b50600480546001600160a01b0319166001600160a01b0392909216919091179055610104565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100e657600080fd5b81516001600160a01b03811681146100fd57600080fd5b9392505050565b6118c9806101136000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80637b10399911610097578063b3789e0911610066578063b3789e0914610273578063b466221914610286578063b7a7503814610299578063f2fde38b146102c757600080fd5b80637b1039991461020f57806382d324f01461022f5780638da5cb5b14610242578063ac4ce2c61461026057600080fd5b8063384e9a55116100d3578063384e9a55146101cc5780633fb24782146101e1578063543a666b146101f4578063715018a61461020757600080fd5b806302757cd91461010557806309f81a6f14610130578063149cff301461015057806334461067146101ab575b600080fd5b610118610113366004611145565b6102da565b604051610127939291906111b7565b60405180910390f35b61014361013e36600461121a565b6103aa565b6040516101279190611237565b61018661015e36600461124a565b60009081526001602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610127565b6101be6101b936600461124a565b6104dd565b604051610127929190611263565b6101df6101da36600461124a565b61059a565b005b6101df6101ef3660046112e3565b6106fb565b61014361020236600461124a565b610896565b6101df61093e565b6004546101869073ffffffffffffffffffffffffffffffffffffffff1681565b61014361023d366004611362565b610952565b60005473ffffffffffffffffffffffffffffffffffffffff16610186565b6101df61026e3660046113ae565b610a1a565b6101df610281366004611362565b610bb5565b6101df6102943660046113de565b610d24565b6102b96102a736600461121a565b60036020526000908152604090205481565b604051908152602001610127565b6101df6102d536600461121a565b611019565b60026020908152600092835260408084209091529082529020805460018201805473ffffffffffffffffffffffffffffffffffffffff909216929161031e9061143d565b80601f016020809104026020016040519081016040528092919081815260200182805461034a9061143d565b80156103975780601f1061036c57610100808354040283529160200191610397565b820191906000526020600020905b81548152906001019060200180831161037a57829003601f168201915b5050506002909301549192505060ff1683565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260036020526040812054606091819003610441576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4e6f2072657665727365207265636f726400000000000000000000000000000060448201526064015b60405180910390fd5b600480546040517fda2bfdb100000000000000000000000000000000000000000000000000000000815291820183905273ffffffffffffffffffffffffffffffffffffffff169063da2bfdb190602401600060405180830381865afa1580156104ae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104d691908101906114bf565b9392505050565b60016020819052600091825260409091208054918101805473ffffffffffffffffffffffffffffffffffffffff909316926105179061143d565b80601f01602080910402602001604051908101604052809291908181526020018280546105439061143d565b80156105905780601f1061056557610100808354040283529160200191610590565b820191906000526020600020905b81548152906001019060200180831161057357829003601f168201915b5050505050905082565b600480546040517f6352211e000000000000000000000000000000000000000000000000000000008152918201839052339173ffffffffffffffffffffffffffffffffffffffff90911690636352211e90602401602060405180830381865afa15801561060b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062f9190611575565b73ffffffffffffffffffffffffffffffffffffffff16146106ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f7420646f6d61696e206f776e6572000000000000000000000000000000006044820152606401610438565b3360008181526003602052604090819020839055517fe097cd7f247f2e93ec387df31ac14559fd4107d61ed022afce9a5b8d3b494d86906106f09084815260200190565b60405180910390a250565b600480546040517f6352211e000000000000000000000000000000000000000000000000000000008152918201879052339173ffffffffffffffffffffffffffffffffffffffff90911690636352211e90602401602060405180830381865afa15801561076c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107909190611575565b73ffffffffffffffffffffffffffffffffffffffff161461080d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f7420646f6d61696e206f776e6572000000000000000000000000000000006044820152606401610438565b8181600160008881526020019081526020016000206002018686604051610835929190611592565b908152602001604051809103902091826108509291906115f1565b50847fed2050cfd1cc74b1a42fab0c1d06bee5c4bfc0e5e166feea7605ac8a53ddadd8858585856040516108879493929190611718565b60405180910390a25050505050565b60606001600083815260200190815260200160002060010180546108b99061143d565b80601f01602080910402602001604051908101604052809291908181526020018280546108e59061143d565b80156109325780601f1061090757610100808354040283529160200191610932565b820191906000526020600020905b81548152906001019060200180831161091557829003601f168201915b50505050509050919050565b61094661107d565b61095060006110d0565b565b606060016000858152602001908152602001600020600201838360405161097a929190611592565b908152602001604051809103902080546109939061143d565b80601f01602080910402602001604051908101604052809291908181526020018280546109bf9061143d565b8015610a0c5780601f106109e157610100808354040283529160200191610a0c565b820191906000526020600020905b8154815290600101906020018083116109ef57829003601f168201915b505050505090509392505050565b600480546040517f6352211e000000000000000000000000000000000000000000000000000000008152918201849052339173ffffffffffffffffffffffffffffffffffffffff90911690636352211e90602401602060405180830381865afa158015610a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaf9190611575565b73ffffffffffffffffffffffffffffffffffffffff1614610b2c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f7420646f6d61696e206f776e6572000000000000000000000000000000006044820152606401610438565b60008281526001602090815260409182902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8516908117909155915191825283917fcb8f0f32182a0f756b1e065dab832c24d2c48fa533912c33552252a7f25bf4ae910160405180910390a25050565b600480546040517f6352211e000000000000000000000000000000000000000000000000000000008152918201859052339173ffffffffffffffffffffffffffffffffffffffff90911690636352211e90602401602060405180830381865afa158015610c26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4a9190611575565b73ffffffffffffffffffffffffffffffffffffffff1614610cc7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f7420646f6d61696e206f776e6572000000000000000000000000000000006044820152606401610438565b600083815260016020819052604090912001610ce48284836115f1565b50827f69ceb401f56b89f810e279a21b761841ec9c133533e43e0e69b535dfafba22748383604051610d1792919061174a565b60405180910390a2505050565b600480546040517f6352211e000000000000000000000000000000000000000000000000000000008152918201869052339173ffffffffffffffffffffffffffffffffffffffff90911690636352211e90602401602060405180830381865afa158015610d95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db99190611575565b73ffffffffffffffffffffffffffffffffffffffff1614610e36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f7420646f6d61696e206f776e6572000000000000000000000000000000006044820152606401610438565b60008383604051610e48929190611592565b604080519182900390912060008781526002602081815284832084845290529290209091015490915060ff1615610edb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f537562646f6d61696e20657869737473000000000000000000000000000000006044820152606401610438565b60405180606001604052808373ffffffffffffffffffffffffffffffffffffffff16815260200185858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509385525050600160209384018190528983526002845260408084208785528552909220845181547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9091161781559284015191830191610fab91508261175e565b5060409182015160029190910180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790555185907fb956716241b6385ec84ee07dc8c53683ed99d1737035b5f356425c7b5a82e3e99061088790879087908790611859565b61102161107d565b73ffffffffffffffffffffffffffffffffffffffff8116611071576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610438565b61107a816110d0565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610950576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610438565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806040838503121561115857600080fd5b50508035926020909101359150565b60005b8381101561118257818101518382015260200161116a565b50506000910152565b600081518084526111a3816020860160208601611167565b601f01601f19169290920160200192915050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006111e6606083018561118b565b90508215156040830152949350505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461107a57600080fd5b60006020828403121561122c57600080fd5b81356104d6816111f8565b6020815260006104d6602083018461118b565b60006020828403121561125c57600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff83168152604060208201526000611292604083018461118b565b949350505050565b60008083601f8401126112ac57600080fd5b50813567ffffffffffffffff8111156112c457600080fd5b6020830191508360208285010111156112dc57600080fd5b9250929050565b6000806000806000606086880312156112fb57600080fd5b85359450602086013567ffffffffffffffff81111561131957600080fd5b6113258882890161129a565b909550935050604086013567ffffffffffffffff81111561134557600080fd5b6113518882890161129a565b969995985093965092949392505050565b60008060006040848603121561137757600080fd5b83359250602084013567ffffffffffffffff81111561139557600080fd5b6113a18682870161129a565b9497909650939450505050565b600080604083850312156113c157600080fd5b8235915060208301356113d3816111f8565b809150509250929050565b600080600080606085870312156113f457600080fd5b84359350602085013567ffffffffffffffff81111561141257600080fd5b61141e8782880161129a565b9094509250506040850135611432816111f8565b939692955090935050565b600181811c9082168061145157607f821691505b60208210810361148a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156114d157600080fd5b815167ffffffffffffffff8111156114e857600080fd5b8201601f810184136114f957600080fd5b805167ffffffffffffffff81111561151357611513611490565b604051601f19603f601f19601f8501160116810181811067ffffffffffffffff8211171561154357611543611490565b60405281815282820160200186101561155b57600080fd5b61156c826020830160208601611167565b95945050505050565b60006020828403121561158757600080fd5b81516104d6816111f8565b8183823760009101908152919050565b601f8211156115ec57806000526020600020601f840160051c810160208510156115c95750805b601f840160051c820191505b818110156115e957600081556001016115d5565b50505b505050565b67ffffffffffffffff83111561160957611609611490565b61161d83611617835461143d565b836115a2565b6000601f84116001811461166f57600085156116395750838201355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b1c1916600186901b1783556115e9565b600083815260209020601f19861690835b828110156116a05786850135825560209485019460019092019101611680565b50868210156116db577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88860031b161c19848701351681555b505060018560011b0183555050505050565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b60408152600061172c6040830186886116ed565b828103602084015261173f8185876116ed565b979650505050505050565b6020815260006112926020830184866116ed565b815167ffffffffffffffff81111561177857611778611490565b61178c81611786845461143d565b846115a2565b6020601f8211600181146117de57600083156117a85750848201515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600385901b1c1916600184901b1784556115e9565b600084815260208120601f198516915b8281101561180e57878501518255602094850194600190920191016117ee565b508482101561184a57868401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b60f8161c191681555b50505050600190811b01905550565b60408152600061186d6040830185876116ed565b905073ffffffffffffffffffffffffffffffffffffffff8316602083015294935050505056fea26469706673582212206dd089560ef9de413018fb133e55ba433cff8c30839200b9e69deb8efdc3fdaf64736f6c634300081a00330000000000000000000000003d9d5acc7dbacf1662bc6d1ea8479f88b90b3cfb

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c80637b10399911610097578063b3789e0911610066578063b3789e0914610273578063b466221914610286578063b7a7503814610299578063f2fde38b146102c757600080fd5b80637b1039991461020f57806382d324f01461022f5780638da5cb5b14610242578063ac4ce2c61461026057600080fd5b8063384e9a55116100d3578063384e9a55146101cc5780633fb24782146101e1578063543a666b146101f4578063715018a61461020757600080fd5b806302757cd91461010557806309f81a6f14610130578063149cff301461015057806334461067146101ab575b600080fd5b610118610113366004611145565b6102da565b604051610127939291906111b7565b60405180910390f35b61014361013e36600461121a565b6103aa565b6040516101279190611237565b61018661015e36600461124a565b60009081526001602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610127565b6101be6101b936600461124a565b6104dd565b604051610127929190611263565b6101df6101da36600461124a565b61059a565b005b6101df6101ef3660046112e3565b6106fb565b61014361020236600461124a565b610896565b6101df61093e565b6004546101869073ffffffffffffffffffffffffffffffffffffffff1681565b61014361023d366004611362565b610952565b60005473ffffffffffffffffffffffffffffffffffffffff16610186565b6101df61026e3660046113ae565b610a1a565b6101df610281366004611362565b610bb5565b6101df6102943660046113de565b610d24565b6102b96102a736600461121a565b60036020526000908152604090205481565b604051908152602001610127565b6101df6102d536600461121a565b611019565b60026020908152600092835260408084209091529082529020805460018201805473ffffffffffffffffffffffffffffffffffffffff909216929161031e9061143d565b80601f016020809104026020016040519081016040528092919081815260200182805461034a9061143d565b80156103975780601f1061036c57610100808354040283529160200191610397565b820191906000526020600020905b81548152906001019060200180831161037a57829003601f168201915b5050506002909301549192505060ff1683565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260036020526040812054606091819003610441576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4e6f2072657665727365207265636f726400000000000000000000000000000060448201526064015b60405180910390fd5b600480546040517fda2bfdb100000000000000000000000000000000000000000000000000000000815291820183905273ffffffffffffffffffffffffffffffffffffffff169063da2bfdb190602401600060405180830381865afa1580156104ae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104d691908101906114bf565b9392505050565b60016020819052600091825260409091208054918101805473ffffffffffffffffffffffffffffffffffffffff909316926105179061143d565b80601f01602080910402602001604051908101604052809291908181526020018280546105439061143d565b80156105905780601f1061056557610100808354040283529160200191610590565b820191906000526020600020905b81548152906001019060200180831161057357829003601f168201915b5050505050905082565b600480546040517f6352211e000000000000000000000000000000000000000000000000000000008152918201839052339173ffffffffffffffffffffffffffffffffffffffff90911690636352211e90602401602060405180830381865afa15801561060b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062f9190611575565b73ffffffffffffffffffffffffffffffffffffffff16146106ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f7420646f6d61696e206f776e6572000000000000000000000000000000006044820152606401610438565b3360008181526003602052604090819020839055517fe097cd7f247f2e93ec387df31ac14559fd4107d61ed022afce9a5b8d3b494d86906106f09084815260200190565b60405180910390a250565b600480546040517f6352211e000000000000000000000000000000000000000000000000000000008152918201879052339173ffffffffffffffffffffffffffffffffffffffff90911690636352211e90602401602060405180830381865afa15801561076c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107909190611575565b73ffffffffffffffffffffffffffffffffffffffff161461080d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f7420646f6d61696e206f776e6572000000000000000000000000000000006044820152606401610438565b8181600160008881526020019081526020016000206002018686604051610835929190611592565b908152602001604051809103902091826108509291906115f1565b50847fed2050cfd1cc74b1a42fab0c1d06bee5c4bfc0e5e166feea7605ac8a53ddadd8858585856040516108879493929190611718565b60405180910390a25050505050565b60606001600083815260200190815260200160002060010180546108b99061143d565b80601f01602080910402602001604051908101604052809291908181526020018280546108e59061143d565b80156109325780601f1061090757610100808354040283529160200191610932565b820191906000526020600020905b81548152906001019060200180831161091557829003601f168201915b50505050509050919050565b61094661107d565b61095060006110d0565b565b606060016000858152602001908152602001600020600201838360405161097a929190611592565b908152602001604051809103902080546109939061143d565b80601f01602080910402602001604051908101604052809291908181526020018280546109bf9061143d565b8015610a0c5780601f106109e157610100808354040283529160200191610a0c565b820191906000526020600020905b8154815290600101906020018083116109ef57829003601f168201915b505050505090509392505050565b600480546040517f6352211e000000000000000000000000000000000000000000000000000000008152918201849052339173ffffffffffffffffffffffffffffffffffffffff90911690636352211e90602401602060405180830381865afa158015610a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaf9190611575565b73ffffffffffffffffffffffffffffffffffffffff1614610b2c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f7420646f6d61696e206f776e6572000000000000000000000000000000006044820152606401610438565b60008281526001602090815260409182902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8516908117909155915191825283917fcb8f0f32182a0f756b1e065dab832c24d2c48fa533912c33552252a7f25bf4ae910160405180910390a25050565b600480546040517f6352211e000000000000000000000000000000000000000000000000000000008152918201859052339173ffffffffffffffffffffffffffffffffffffffff90911690636352211e90602401602060405180830381865afa158015610c26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4a9190611575565b73ffffffffffffffffffffffffffffffffffffffff1614610cc7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f7420646f6d61696e206f776e6572000000000000000000000000000000006044820152606401610438565b600083815260016020819052604090912001610ce48284836115f1565b50827f69ceb401f56b89f810e279a21b761841ec9c133533e43e0e69b535dfafba22748383604051610d1792919061174a565b60405180910390a2505050565b600480546040517f6352211e000000000000000000000000000000000000000000000000000000008152918201869052339173ffffffffffffffffffffffffffffffffffffffff90911690636352211e90602401602060405180830381865afa158015610d95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db99190611575565b73ffffffffffffffffffffffffffffffffffffffff1614610e36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f7420646f6d61696e206f776e6572000000000000000000000000000000006044820152606401610438565b60008383604051610e48929190611592565b604080519182900390912060008781526002602081815284832084845290529290209091015490915060ff1615610edb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f537562646f6d61696e20657869737473000000000000000000000000000000006044820152606401610438565b60405180606001604052808373ffffffffffffffffffffffffffffffffffffffff16815260200185858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509385525050600160209384018190528983526002845260408084208785528552909220845181547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9091161781559284015191830191610fab91508261175e565b5060409182015160029190910180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790555185907fb956716241b6385ec84ee07dc8c53683ed99d1737035b5f356425c7b5a82e3e99061088790879087908790611859565b61102161107d565b73ffffffffffffffffffffffffffffffffffffffff8116611071576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610438565b61107a816110d0565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610950576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610438565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806040838503121561115857600080fd5b50508035926020909101359150565b60005b8381101561118257818101518382015260200161116a565b50506000910152565b600081518084526111a3816020860160208601611167565b601f01601f19169290920160200192915050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006111e6606083018561118b565b90508215156040830152949350505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461107a57600080fd5b60006020828403121561122c57600080fd5b81356104d6816111f8565b6020815260006104d6602083018461118b565b60006020828403121561125c57600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff83168152604060208201526000611292604083018461118b565b949350505050565b60008083601f8401126112ac57600080fd5b50813567ffffffffffffffff8111156112c457600080fd5b6020830191508360208285010111156112dc57600080fd5b9250929050565b6000806000806000606086880312156112fb57600080fd5b85359450602086013567ffffffffffffffff81111561131957600080fd5b6113258882890161129a565b909550935050604086013567ffffffffffffffff81111561134557600080fd5b6113518882890161129a565b969995985093965092949392505050565b60008060006040848603121561137757600080fd5b83359250602084013567ffffffffffffffff81111561139557600080fd5b6113a18682870161129a565b9497909650939450505050565b600080604083850312156113c157600080fd5b8235915060208301356113d3816111f8565b809150509250929050565b600080600080606085870312156113f457600080fd5b84359350602085013567ffffffffffffffff81111561141257600080fd5b61141e8782880161129a565b9094509250506040850135611432816111f8565b939692955090935050565b600181811c9082168061145157607f821691505b60208210810361148a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156114d157600080fd5b815167ffffffffffffffff8111156114e857600080fd5b8201601f810184136114f957600080fd5b805167ffffffffffffffff81111561151357611513611490565b604051601f19603f601f19601f8501160116810181811067ffffffffffffffff8211171561154357611543611490565b60405281815282820160200186101561155b57600080fd5b61156c826020830160208601611167565b95945050505050565b60006020828403121561158757600080fd5b81516104d6816111f8565b8183823760009101908152919050565b601f8211156115ec57806000526020600020601f840160051c810160208510156115c95750805b601f840160051c820191505b818110156115e957600081556001016115d5565b50505b505050565b67ffffffffffffffff83111561160957611609611490565b61161d83611617835461143d565b836115a2565b6000601f84116001811461166f57600085156116395750838201355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b1c1916600186901b1783556115e9565b600083815260209020601f19861690835b828110156116a05786850135825560209485019460019092019101611680565b50868210156116db577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88860031b161c19848701351681555b505060018560011b0183555050505050565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b60408152600061172c6040830186886116ed565b828103602084015261173f8185876116ed565b979650505050505050565b6020815260006112926020830184866116ed565b815167ffffffffffffffff81111561177857611778611490565b61178c81611786845461143d565b846115a2565b6020601f8211600181146117de57600083156117a85750848201515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600385901b1c1916600184901b1784556115e9565b600084815260208120601f198516915b8281101561180e57878501518255602094850194600190920191016117ee565b508482101561184a57868401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b60f8161c191681555b50505050600190811b01905550565b60408152600061186d6040830185876116ed565b905073ffffffffffffffffffffffffffffffffffffffff8316602083015294935050505056fea26469706673582212206dd089560ef9de413018fb133e55ba433cff8c30839200b9e69deb8efdc3fdaf64736f6c634300081a0033

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

0000000000000000000000003d9d5acc7dbacf1662bc6d1ea8479f88b90b3cfb

-----Decoded View---------------
Arg [0] : _registry (address): 0x3D9D5ACc7dBACf1662Bc6D1ea8479F88B90b3cfb

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003d9d5acc7dbacf1662bc6d1ea8479f88b90b3cfb


Block Transaction Gas Used Reward
view all blocks produced

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

Validator Index Block Amount
View All Withdrawals

Transaction 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.