ETH Price: $2,698.95 (-0.03%)

Contract

0x5A2d22ddAAfBcF4aD8bABd4EBb7E9C8c8C7265CC
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Referrer206145032024-08-26 18:17:11172 days ago1724696231IN
0x5A2d22dd...c8C7265CC
0 ETH0.000124722.46963893
Set Referrer119187502021-02-24 8:30:511451 days ago1614155451IN
0x5A2d22dd...c8C7265CC
0 ETH0.00738972156.55201431
Set Referrer117613832021-01-31 3:45:471476 days ago1612064747IN
0x5A2d22dd...c8C7265CC
0 ETH0.00630559133.58460028
Set Referrer117575092021-01-30 13:16:451476 days ago1612012605IN
0x5A2d22dd...c8C7265CC
0 ETH0.0037762480.00000145
Set Referrer117300632021-01-26 7:50:581480 days ago1611647458IN
0x5A2d22dd...c8C7265CC
0 ETH0.0015819367.00000145
Set Referrer117300632021-01-26 7:50:581480 days ago1611647458IN
0x5A2d22dd...c8C7265CC
0 ETH0.003162667.00000145
Set Referrer117094792021-01-23 3:56:061484 days ago1611374166IN
0x5A2d22dd...c8C7265CC
0 ETH0.0036346377
Set Referrer116973212021-01-21 7:03:271486 days ago1611212607IN
0x5A2d22dd...c8C7265CC
0 ETH0.0022651648.00000145
Set Referrer116966802021-01-21 4:29:441486 days ago1611203384IN
0x5A2d22dd...c8C7265CC
0 ETH0.0019353241.00000145
Set Referrer116923432021-01-20 12:43:341486 days ago1611146614IN
0x5A2d22dd...c8C7265CC
0 ETH0.00270936114.75
Set Referrer116923142021-01-20 12:37:281486 days ago1611146248IN
0x5A2d22dd...c8C7265CC
0 ETH0.00889729188.4900015
Set Referrer116923002021-01-20 12:34:021486 days ago1611146042IN
0x5A2d22dd...c8C7265CC
0 ETH0.00864947183.24
Set Referrer116906642021-01-20 6:32:301487 days ago1611124350IN
0x5A2d22dd...c8C7265CC
0 ETH0.0019353241.00000145
Set Referrer116848672021-01-19 9:16:021487 days ago1611047762IN
0x5A2d22dd...c8C7265CC
0 ETH0.0037234178.881
Set Referrer116848342021-01-19 9:07:521487 days ago1611047272IN
0x5A2d22dd...c8C7265CC
0 ETH0.0037290379
Set Referrer116847412021-01-19 8:48:451487 days ago1611046125IN
0x5A2d22dd...c8C7265CC
0 ETH0.0040523785.85
Set Referrer116843992021-01-19 7:34:391487 days ago1611041679IN
0x5A2d22dd...c8C7265CC
0 ETH0.0030681965
Set Referrer116840512021-01-19 6:13:071488 days ago1611036787IN
0x5A2d22dd...c8C7265CC
0 ETH0.0030209964.00000156
Set Referrer116788842021-01-18 11:06:071488 days ago1610967967IN
0x5A2d22dd...c8C7265CC
0 ETH0.0024545552
Set Referrer116787052021-01-18 10:29:251488 days ago1610965765IN
0x5A2d22dd...c8C7265CC
0 ETH0.0025961655
Set Referrer116719962021-01-17 9:44:461489 days ago1610876686IN
0x5A2d22dd...c8C7265CC
0 ETH0.0017465137
Set Referrer116702062021-01-17 3:16:261490 days ago1610853386IN
0x5A2d22dd...c8C7265CC
0 ETH0.0041066687.00000156
Set Referrer116668422021-01-16 14:43:431490 days ago1610808223IN
0x5A2d22dd...c8C7265CC
0 ETH0.0025940754.96976799
Set Referrer116665752021-01-16 13:46:311490 days ago1610804791IN
0x5A2d22dd...c8C7265CC
0 ETH0.0047203100
Set Referrer116646512021-01-16 6:24:021491 days ago1610778242IN
0x5A2d22dd...c8C7265CC
0 ETH0.0021241345.00000145
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ReferrerBook

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2021-01-07
*/

// File: node_modules\@openzeppelin\contracts\GSN\Context.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/*
 * @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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: @openzeppelin\contracts\access\Ownable.sol


pragma solidity ^0.6.0;

/**
 * @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.
 *
 * By default, the owner account will be the one that deploys the contract. 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.
 */
contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts\IReferrerBook.sol

pragma solidity 0.6.12;

interface IReferrerBook {
    function getReferrer(address addr) external view returns(address);
    function getLevelDiffedReferrers(address addr) external view returns (address[2] memory);
}

// File: contracts\ReferrerBook.sol

pragma solidity 0.6.12;



contract ReferrerBook is IReferrerBook, Ownable {
    address public root;

    struct UserInfo {
        address referrer;
        uint256 level;
    }

    mapping(address => UserInfo) public users;

    address public levelSetter;

    address constant ZERO_ADDRESS = address(0);
    uint256 public constant MAX_LEVEL = 2;

    event ReferrerSetted(address indexed user, address indexed referrer, uint256 timestampSec);
    event UserLevelSetted(address indexed user, uint256 level, uint256 timestampSec);

    modifier onlyLevelSetter() {
        require(msg.sender == levelSetter, 'Only node setter');
        _;
    }

    constructor() public {
        levelSetter = msg.sender;

        root = msg.sender;
        users[root] = UserInfo(address(this), 0);
        emit ReferrerSetted(root, address(this), now);
    }

    function setReferrer(address addr) external {
        require(addr != ZERO_ADDRESS, 'referrer == 0');
        require(users[addr].referrer != ZERO_ADDRESS, 'referrer not in the list');
        require(users[msg.sender].referrer == ZERO_ADDRESS, 'referrer already exists');
        require(addr != msg.sender, 'referrer cannot be one self');

        users[msg.sender] = UserInfo(addr, 0);

        emit ReferrerSetted(msg.sender, addr, now);
    }

    function getReferrer(address addr) external view override returns (address) {
        return users[addr].referrer;
    }

    function setLevelSetter(address addr) external onlyOwner {
        levelSetter = addr;
    }

    function setUserLevel(address addr, uint256 level) external onlyLevelSetter {
        require(addr != ZERO_ADDRESS, 'addr == 0');
        require(users[addr].referrer != ZERO_ADDRESS, 'addr not in the list');
        require(level <= MAX_LEVEL, 'level exceed');

        users[addr].level = level;

        emit UserLevelSetted(addr, level, now);
    }

    function getLevel(address addr) external view returns (uint256) {
        return users[addr].level;
    }

    function getLevelDiffedReferrers(address addr) external view override returns (address[MAX_LEVEL] memory refs) {
        UserInfo memory info = users[addr];
        uint256 maxLevel = info.level;
        address ref = info.referrer;

        uint256 loopCount = 0; //avoiding out of gas
        while (maxLevel < MAX_LEVEL && ref != ZERO_ADDRESS && loopCount++ < 100) {
            info = users[ref];
            uint256 level = info.level;
            if (level > maxLevel) {
                refs[level - 1] = ref;
                maxLevel = level;
            }
            ref = info.referrer;
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"user","type":"address"},{"indexed":true,"internalType":"address","name":"referrer","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestampSec","type":"uint256"}],"name":"ReferrerSetted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"level","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestampSec","type":"uint256"}],"name":"UserLevelSetted","type":"event"},{"inputs":[],"name":"MAX_LEVEL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getLevelDiffedReferrers","outputs":[{"internalType":"address[2]","name":"refs","type":"address[2]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getReferrer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"levelSetter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setLevelSetter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setReferrer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"level","type":"uint256"}],"name":"setUserLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"users","outputs":[{"internalType":"address","name":"referrer","type":"address"},{"internalType":"uint256","name":"level","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50600061001b610105565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600380546001600160a01b03199081163390811790925560018054821690921780835560408051808201825230808252600060208084018281526001600160a01b039687168352600282529185902093518454908716971696909617835551918601919091559354815142815291519216927fa1f7a26fe7ef32d88241cfb4c7b0bda43d1755ee417eac0fb9e1701b2bfe29d292918290030190a3610109565b3390565b610acc806101186000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063a18a7bfc1161008c578063ea0ddce611610066578063ea0ddce614610264578063ebf0c7171461028a578063f2fde38b14610292578063f68ec1e8146102b8576100cf565b8063a18a7bfc146101ed578063a49062d414610213578063a87430ba1461021b576100cf565b806333f5780e146100d457806347879507146101025780634a9fefc714610163578063715018a6146101a5578063817c8966146101ad5780638da5cb5b146101e5575b600080fd5b610100600480360360408110156100ea57600080fd5b506001600160a01b0381351690602001356102c0565b005b6101286004803603602081101561011857600080fd5b50356001600160a01b0316610461565b6040518082600260200280838360005b83811015610150578181015183820152602001610138565b5050505090500191505060405180910390f35b6101896004803603602081101561017957600080fd5b50356001600160a01b0316610557565b604080516001600160a01b039092168252519081900360200190f35b610100610575565b6101d3600480360360208110156101c357600080fd5b50356001600160a01b0316610629565b60408051918252519081900360200190f35b610189610647565b6101006004803603602081101561020357600080fd5b50356001600160a01b0316610656565b6101d3610859565b6102416004803603602081101561023157600080fd5b50356001600160a01b031661085e565b604080516001600160a01b03909316835260208301919091528051918290030190f35b6101006004803603602081101561027a57600080fd5b50356001600160a01b0316610883565b61018961090f565b610100600480360360208110156102a857600080fd5b50356001600160a01b031661091e565b610189610a28565b6003546001600160a01b03163314610312576040805162461bcd60e51b815260206004820152601060248201526f27b7363c903737b2329039b2ba3a32b960811b604482015290519081900360640190fd5b6001600160a01b038216610359576040805162461bcd60e51b8152602060048201526009602482015268061646472203d3d20360bc1b604482015290519081900360640190fd5b6001600160a01b03828116600090815260026020526040902054166103bc576040805162461bcd60e51b81526020600482015260146024820152731859191c881b9bdd081a5b881d1a19481b1a5cdd60621b604482015290519081900360640190fd5b6002811115610401576040805162461bcd60e51b815260206004820152600c60248201526b1b195d995b08195e18d9595960a21b604482015290519081900360640190fd5b6001600160a01b0382166000818152600260209081526040918290206001018490558151848152429181019190915281517fd55a47ceb8872f8d042ddcc39df600a34a686db166c93554b948f4dff01236cc929181900390910190a25050565b610469610a3b565b610471610a59565b506001600160a01b038083166000908152600260209081526040808320815180830190925280549094168082526001909401549181018290529290915b6002831080156104c657506001600160a01b03821615155b80156104d6575060018101906064115b1561054e576001600160a01b03808316600090815260026020908152604091829020825180840190935280549093168252600190920154918101829052945083811115610544578286600183036002811061052d57fe5b6001600160a01b0390921660209290920201529250825b50835191506104ae565b50505050919050565b6001600160a01b039081166000908152600260205260409020541690565b61057d610a37565b6000546001600160a01b039081169116146105df576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001600160a01b031660009081526002602052604090206001015490565b6000546001600160a01b031690565b6001600160a01b0381166106a1576040805162461bcd60e51b815260206004820152600d60248201526c07265666572726572203d3d203609c1b604482015290519081900360640190fd5b6001600160a01b038181166000908152600260205260409020541661070d576040805162461bcd60e51b815260206004820152601860248201527f7265666572726572206e6f7420696e20746865206c6973740000000000000000604482015290519081900360640190fd5b336000908152600260205260409020546001600160a01b031615610778576040805162461bcd60e51b815260206004820152601760248201527f726566657272657220616c726561647920657869737473000000000000000000604482015290519081900360640190fd5b6001600160a01b0381163314156107d6576040805162461bcd60e51b815260206004820152601b60248201527f72656665727265722063616e6e6f74206265206f6e652073656c660000000000604482015290519081900360640190fd5b6040805180820182526001600160a01b0383811680835260006020808501828152338084526002835292879020955186546001600160a01b031916951694909417855592516001909401939093558351428152935190937fa1f7a26fe7ef32d88241cfb4c7b0bda43d1755ee417eac0fb9e1701b2bfe29d292908290030190a350565b600281565b600260205260009081526040902080546001909101546001600160a01b039091169082565b61088b610a37565b6000546001600160a01b039081169116146108ed576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031681565b610926610a37565b6000546001600160a01b03908116911614610988576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166109cd5760405162461bcd60e51b8152600401808060200182810382526026815260200180610a716026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b3390565b60405180604001604052806002906020820280368337509192915050565b60408051808201909152600080825260208201529056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a264697066735822122068eca155a85eed634ea3ab7737ff0a25f85cd476fdc9f8077b3f8b6f621da84964736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063a18a7bfc1161008c578063ea0ddce611610066578063ea0ddce614610264578063ebf0c7171461028a578063f2fde38b14610292578063f68ec1e8146102b8576100cf565b8063a18a7bfc146101ed578063a49062d414610213578063a87430ba1461021b576100cf565b806333f5780e146100d457806347879507146101025780634a9fefc714610163578063715018a6146101a5578063817c8966146101ad5780638da5cb5b146101e5575b600080fd5b610100600480360360408110156100ea57600080fd5b506001600160a01b0381351690602001356102c0565b005b6101286004803603602081101561011857600080fd5b50356001600160a01b0316610461565b6040518082600260200280838360005b83811015610150578181015183820152602001610138565b5050505090500191505060405180910390f35b6101896004803603602081101561017957600080fd5b50356001600160a01b0316610557565b604080516001600160a01b039092168252519081900360200190f35b610100610575565b6101d3600480360360208110156101c357600080fd5b50356001600160a01b0316610629565b60408051918252519081900360200190f35b610189610647565b6101006004803603602081101561020357600080fd5b50356001600160a01b0316610656565b6101d3610859565b6102416004803603602081101561023157600080fd5b50356001600160a01b031661085e565b604080516001600160a01b03909316835260208301919091528051918290030190f35b6101006004803603602081101561027a57600080fd5b50356001600160a01b0316610883565b61018961090f565b610100600480360360208110156102a857600080fd5b50356001600160a01b031661091e565b610189610a28565b6003546001600160a01b03163314610312576040805162461bcd60e51b815260206004820152601060248201526f27b7363c903737b2329039b2ba3a32b960811b604482015290519081900360640190fd5b6001600160a01b038216610359576040805162461bcd60e51b8152602060048201526009602482015268061646472203d3d20360bc1b604482015290519081900360640190fd5b6001600160a01b03828116600090815260026020526040902054166103bc576040805162461bcd60e51b81526020600482015260146024820152731859191c881b9bdd081a5b881d1a19481b1a5cdd60621b604482015290519081900360640190fd5b6002811115610401576040805162461bcd60e51b815260206004820152600c60248201526b1b195d995b08195e18d9595960a21b604482015290519081900360640190fd5b6001600160a01b0382166000818152600260209081526040918290206001018490558151848152429181019190915281517fd55a47ceb8872f8d042ddcc39df600a34a686db166c93554b948f4dff01236cc929181900390910190a25050565b610469610a3b565b610471610a59565b506001600160a01b038083166000908152600260209081526040808320815180830190925280549094168082526001909401549181018290529290915b6002831080156104c657506001600160a01b03821615155b80156104d6575060018101906064115b1561054e576001600160a01b03808316600090815260026020908152604091829020825180840190935280549093168252600190920154918101829052945083811115610544578286600183036002811061052d57fe5b6001600160a01b0390921660209290920201529250825b50835191506104ae565b50505050919050565b6001600160a01b039081166000908152600260205260409020541690565b61057d610a37565b6000546001600160a01b039081169116146105df576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001600160a01b031660009081526002602052604090206001015490565b6000546001600160a01b031690565b6001600160a01b0381166106a1576040805162461bcd60e51b815260206004820152600d60248201526c07265666572726572203d3d203609c1b604482015290519081900360640190fd5b6001600160a01b038181166000908152600260205260409020541661070d576040805162461bcd60e51b815260206004820152601860248201527f7265666572726572206e6f7420696e20746865206c6973740000000000000000604482015290519081900360640190fd5b336000908152600260205260409020546001600160a01b031615610778576040805162461bcd60e51b815260206004820152601760248201527f726566657272657220616c726561647920657869737473000000000000000000604482015290519081900360640190fd5b6001600160a01b0381163314156107d6576040805162461bcd60e51b815260206004820152601b60248201527f72656665727265722063616e6e6f74206265206f6e652073656c660000000000604482015290519081900360640190fd5b6040805180820182526001600160a01b0383811680835260006020808501828152338084526002835292879020955186546001600160a01b031916951694909417855592516001909401939093558351428152935190937fa1f7a26fe7ef32d88241cfb4c7b0bda43d1755ee417eac0fb9e1701b2bfe29d292908290030190a350565b600281565b600260205260009081526040902080546001909101546001600160a01b039091169082565b61088b610a37565b6000546001600160a01b039081169116146108ed576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031681565b610926610a37565b6000546001600160a01b03908116911614610988576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166109cd5760405162461bcd60e51b8152600401808060200182810382526026815260200180610a716026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b3390565b60405180604001604052806002906020820280368337509192915050565b60408051808201909152600080825260208201529056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a264697066735822122068eca155a85eed634ea3ab7737ff0a25f85cd476fdc9f8077b3f8b6f621da84964736f6c634300060c0033

Deployed Bytecode Sourcemap

3648:2670:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5205:360;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5205:360:0;;;;;;;;:::i;:::-;;5688:627;;;;;;;;;;;;;;;;-1:-1:-1;5688:627:0;-1:-1:-1;;;;;5688:627:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4973:122;;;;;;;;;;;;;;;;-1:-1:-1;4973:122:0;-1:-1:-1;;;;;4973:122:0;;:::i;:::-;;;;-1:-1:-1;;;;;4973:122:0;;;;;;;;;;;;;;2758:148;;;:::i;5573:107::-;;;;;;;;;;;;;;;;-1:-1:-1;5573:107:0;-1:-1:-1;;;;;5573:107:0;;:::i;:::-;;;;;;;;;;;;;;;;2116:79;;;:::i;4509:456::-;;;;;;;;;;;;;;;;-1:-1:-1;4509:456:0;-1:-1:-1;;;;;4509:456:0;;:::i;3948:37::-;;;:::i;3814:41::-;;;;;;;;;;;;;;;;-1:-1:-1;3814:41:0;-1:-1:-1;;;;;3814:41:0;;:::i;:::-;;;;-1:-1:-1;;;;;3814:41:0;;;;;;;;;;;;;;;;;;;;;5103:94;;;;;;;;;;;;;;;;-1:-1:-1;5103:94:0;-1:-1:-1;;;;;5103:94:0;;:::i;3703:19::-;;;:::i;3061:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3061:244:0;-1:-1:-1;;;;;3061:244:0;;:::i;3864:26::-;;;:::i;5205:360::-;4240:11;;-1:-1:-1;;;;;4240:11:0;4226:10;:25;4218:54;;;;;-1:-1:-1;;;4218:54:0;;;;;;;;;;;;-1:-1:-1;;;4218:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;5300:20:0;::::1;5292:42;;;::::0;;-1:-1:-1;;;5292:42:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;5292:42:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;5353:11:0;;::::1;3939:1;5353:11:::0;;;:5:::1;:11;::::0;;;;:20;::::1;5345:69;;;::::0;;-1:-1:-1;;;5345:69:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;5345:69:0;;;;;;;;;;;;;::::1;;3984:1;5433:5;:18;;5425:43;;;::::0;;-1:-1:-1;;;5425:43:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;5425:43:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;5481:11:0;::::1;;::::0;;;:5:::1;:11;::::0;;;;;;;;:17:::1;;:25:::0;;;5524:33;;;;;5553:3:::1;5524:33:::0;;::::1;::::0;;;;;;::::1;::::0;;;;;;;;;::::1;5205:360:::0;;:::o;5688:627::-;5767:30;;:::i;:::-;5810:20;;:::i;:::-;-1:-1:-1;;;;;;5833:11:0;;;;;;;:5;:11;;;;;;;;5810:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5989:319;3984:1;5996:8;:20;:43;;;;-1:-1:-1;;;;;;6020:19:0;;;;5996:43;:64;;;;-1:-1:-1;6043:11:0;;;;6057:3;-1:-1:-1;5996:64:0;5989:319;;;-1:-1:-1;;;;;6084:10:0;;;;;;;:5;:10;;;;;;;;;6077:17;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6154:16:0;;;6150:113;;;6209:3;6191:4;6204:1;6196:5;:9;6191:15;;;;;;;-1:-1:-1;;;;;6191:21:0;;;:15;;;;;;:21;6242:5;-1:-1:-1;6242:5:0;6150:113;-1:-1:-1;6283:13:0;;;-1:-1:-1;5989:319:0;;;5688:627;;;;;;;:::o;4973:122::-;-1:-1:-1;;;;;5067:11:0;;;5040:7;5067:11;;;:5;:11;;;;;:20;;;4973:122::o;2758:148::-;2338:12;:10;:12::i;:::-;2328:6;;-1:-1:-1;;;;;2328:6:0;;;:22;;;2320:67;;;;;-1:-1:-1;;;2320:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2865:1:::1;2849:6:::0;;2828:40:::1;::::0;-1:-1:-1;;;;;2849:6:0;;::::1;::::0;2828:40:::1;::::0;2865:1;;2828:40:::1;2896:1;2879:19:::0;;-1:-1:-1;;;;;;2879:19:0::1;::::0;;2758:148::o;5573:107::-;-1:-1:-1;;;;;5655:11:0;5628:7;5655:11;;;:5;:11;;;;;:17;;;;5573:107::o;2116:79::-;2154:7;2181:6;-1:-1:-1;;;;;2181:6:0;2116:79;:::o;4509:456::-;-1:-1:-1;;;;;4572:20:0;;4564:46;;;;;-1:-1:-1;;;4564:46:0;;;;;;;;;;;;-1:-1:-1;;;4564:46:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;4629:11:0;;;3939:1;4629:11;;;:5;:11;;;;;:20;;4621:73;;;;;-1:-1:-1;;;4621:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4719:10;3939:1;4713:17;;;:5;:17;;;;;:26;-1:-1:-1;;;;;4713:26:0;:42;4705:78;;;;;-1:-1:-1;;;4705:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4802:18:0;;4810:10;4802:18;;4794:58;;;;;-1:-1:-1;;;4794:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4885:17;;;;;;;;-1:-1:-1;;;;;4885:17:0;;;;;;-1:-1:-1;4885:17:0;;;;;;;4871:10;4865:17;;;:5;:17;;;;;;:37;;;;-1:-1:-1;;;;;;4865:37:0;;;;;;;;;;;-1:-1:-1;4865:37:0;;;;;;;4920;;4953:3;4920:37;;;;4885:17;;4920:37;;;;;;;;;4509:456;:::o;3948:37::-;3984:1;3948:37;:::o;3814:41::-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3814:41:0;;;;;:::o;5103:94::-;2338:12;:10;:12::i;:::-;2328:6;;-1:-1:-1;;;;;2328:6:0;;;:22;;;2320:67;;;;;-1:-1:-1;;;2320:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5171:11:::1;:18:::0;;-1:-1:-1;;;;;;5171:18:0::1;-1:-1:-1::0;;;;;5171:18:0;;;::::1;::::0;;;::::1;::::0;;5103:94::o;3703:19::-;;;-1:-1:-1;;;;;3703:19:0;;:::o;3061:244::-;2338:12;:10;:12::i;:::-;2328:6;;-1:-1:-1;;;;;2328:6:0;;;:22;;;2320:67;;;;;-1:-1:-1;;;2320:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3150:22:0;::::1;3142:73;;;;-1:-1:-1::0;;;3142:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3252:6;::::0;;3231:38:::1;::::0;-1:-1:-1;;;;;3231:38:0;;::::1;::::0;3252:6;::::1;::::0;3231:38:::1;::::0;::::1;3280:6;:17:::0;;-1:-1:-1;;;;;;3280:17:0::1;-1:-1:-1::0;;;;;3280:17:0;;;::::1;::::0;;;::::1;::::0;;3061:244::o;3864:26::-;;;-1:-1:-1;;;;;3864:26:0;;:::o;670:106::-;758:10;670:106;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://68eca155a85eed634ea3ab7737ff0a25f85cd476fdc9f8077b3f8b6f621da849

Block Transaction Difficulty 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
Loading...
Loading
[ 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.