ETH Price: $2,075.16 (+2.61%)
Gas: 0.46 Gwei

Contract

0xed0fBfE3ecB336BEbfedb51286211F772F4e4006
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer126092812021-06-10 21:43:341733 days ago1623361414IN
0xed0fBfE3...72F4e4006
0 ETH0.000472338
Transfer117710792021-02-01 15:16:101862 days ago1612192570IN
0xed0fBfE3...72F4e4006
0 ETH0.00446666110
Transfer117033552021-01-22 5:07:551873 days ago1611292075IN
0xed0fBfE3...72F4e4006
0 ETH0.0016651765.00000145
Transfer116996652021-01-21 15:39:001873 days ago1611243540IN
0xed0fBfE3...72F4e4006
0 ETH0.00978876176.00000112
Transfer116900082021-01-20 4:10:001875 days ago1611115800IN
0xed0fBfE3...72F4e4006
0 ETH0.0019212347.3
Transfer116853012021-01-19 10:52:421876 days ago1611053562IN
0xed0fBfE3...72F4e4006
0 ETH0.002867489.00000156
Transfer116852772021-01-19 10:46:451876 days ago1611053205IN
0xed0fBfE3...72F4e4006
0 ETH0.0019330860.00000145
Transfer116852642021-01-19 10:44:491876 days ago1611053089IN
0xed0fBfE3...72F4e4006
0 ETH0.0025183162.00000134
Transfer115947732021-01-05 13:26:121890 days ago1609853172IN
0xed0fBfE3...72F4e4006
0 ETH0.0040981673.70000148
Transfer115614262020-12-31 10:41:161895 days ago1609411276IN
0xed0fBfE3...72F4e4006
0 ETH0.00611798110
Transfer115158992020-12-24 11:01:311902 days ago1608807691IN
0xed0fBfE3...72F4e4006
0 ETH0.0023551458.00000145
Transfer115158472020-12-24 10:49:301902 days ago1608806970IN
0xed0fBfE3...72F4e4006
0 ETH0.0032251458.00000145
Transfer115150112020-12-24 7:41:461902 days ago1608795706IN
0xed0fBfE3...72F4e4006
0 ETH0.0023359542.00000145
Transfer115149642020-12-24 7:33:341902 days ago1608795214IN
0xed0fBfE3...72F4e4006
0 ETH0.00565346101.67
Transfer115035182020-12-22 13:20:121904 days ago1608643212IN
0xed0fBfE3...72F4e4006
0 ETH0.0019466335
Transfer114965972020-12-21 11:53:341905 days ago1608551614IN
0xed0fBfE3...72F4e4006
0 ETH0.0052269694
Transfer114900562020-12-20 11:51:501906 days ago1608465110IN
0xed0fBfE3...72F4e4006
0 ETH0.0015016827
Transfer114832962020-12-19 11:07:521907 days ago1608376072IN
0xed0fBfE3...72F4e4006
0 ETH0.001557328
Transfer114758492020-12-18 7:32:181908 days ago1608276738IN
0xed0fBfE3...72F4e4006
0 ETH0.0025589363.00000145
Transfer114758212020-12-18 7:26:121908 days ago1608276372IN
0xed0fBfE3...72F4e4006
0 ETH0.0039644571.28
Transfer114757052020-12-18 7:04:591908 days ago1608275099IN
0xed0fBfE3...72F4e4006
0 ETH0.003894170
Transfer114726152020-12-17 19:42:261908 days ago1608234146IN
0xed0fBfE3...72F4e4006
0 ETH0.0051724793.00000145
Transfer114725822020-12-17 19:34:391908 days ago1608233679IN
0xed0fBfE3...72F4e4006
0 ETH0.0054505698.00000145
Transfer114725692020-12-17 19:32:261908 days ago1608233546IN
0xed0fBfE3...72F4e4006
0 ETH0.02563436461.00000156
Transfer114718032020-12-17 16:38:061908 days ago1608223086IN
0xed0fBfE3...72F4e4006
0 ETH0.00901011162
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method Block
From
To
-113340412020-11-26 12:36:151930 days ago1606394175  Contract Creation0 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Minimal Proxy Contract for 0x9b3bd36ab5084d90849e270e5811ba13d7db6a8f

Contract Name:
TokenChildProxyV2

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-10-24
*/

// SPDX-License-Identifier: MIT


pragma solidity >=0.5.16 <0.7.0;

/**
 * @title Proxy
 *
 * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a
 * different contract through the {_delegate} function.
 * 
 * The success and return data of the delegated call will be returned back to the caller of the proxy.
 */
abstract contract Proxy {
    /**
     * @dev Delegates the current call to `implementation`.
     * 
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _delegate(address implementation) internal {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 { revert(0, returndatasize()) }
            default { return(0, returndatasize()) }
        }
    }

    /**
     * @dev This is a virtual function that should be overriden so it returns the address to which the fallback function
     * and {_fallback} should delegate.
     */
    function _implementation() internal virtual view returns (address);

    /**
     * @dev Delegates the current call to the address returned by `_implementation()`.
     * 
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _fallback() internal {
        _beforeFallback();
        _delegate(_implementation());
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback () payable external {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive () payable external {
        _fallback();
    }

    /**
     * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
     * call, or as part of the Solidity `fallback` or `receive` functions.
     * 
     * If overriden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {
    }
}


pragma solidity >=0.5.16 <0.7.0;

/**
 * Utility library of inline functions on addresses
 */
library AddressUtils {
    /**
     * Returns whether the target address is a contract
     * @dev This function will return false if invoked during the constructor of a contract,
     * as the code is not actually created until after the constructor finishes.
     * @param addr address to check
     * @return whether the target address is a contract
     */
    function isContract(address addr) internal view returns (bool) {
        uint256 size;
        // XXX Currently there is no better way to check if there is a contract in an address
        // than to check the size of the code at that address.
        // See https://ethereum.stackexchange.com/a/14016/36603
        // for more details about how this works.
        // TODO Check this again before the Serenity release, because all addresses will be
        // contracts then.
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            size := extcodesize(addr)
        }
        return size > 0;
    }

}


pragma solidity >=0.5.16 <0.7.0;



/**
 * @title UpgradeableProxyV1
 *
 * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an
 * implementation address that can be changed. This address is stored in storage in the location specified by
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the
 * implementation behind the proxy.
 *
 * Upgradeability is only provided internally through {_upgradeTo}. For an externally upgradeable proxy see
 * {TransparentUpgradeableProxy}.
 */
abstract contract UpgradeableProxyV1 is Proxy {
    /**
     * @dev Initializes the upgradeable proxy with an initial implementation specified by `logic`.
     *
     * If `_data` is nonempty, it's used as data in a delegate call to `logic`. This will typically be an encoded
     * function call, and allows initializating the storage of the proxy like a Solidity constructor.
     */
    constructor(address logic, bytes memory data) public payable {
        if (logic == address(0x0)) {
            return;
        }
        assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1));
        _setImplementation(logic);
        if (data.length > 0) {
            // solhint-disable-next-line avoid-low-level-calls
            (bool success, ) = logic.delegatecall(data);
            require(success, "Call impl with data failed");
        }
    }

    function _initProxyImpl(
        address logic,
        bytes memory data
    ) internal virtual {
        require(_implementation() == address(0x0), "Impl had been set");
        _setImplementation(logic);
        if (data.length > 0) {
            // solhint-disable-next-line avoid-low-level-calls
            (bool success, ) = logic.delegatecall(data);
            require(success, "Call impl with data failed");
        }
    }

    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 private constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Returns the current implementation.
     * @return impl Address of the current implementation
     */
    function _implementation() internal virtual override view returns (address impl) {
        bytes32 slot = _IMPLEMENTATION_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            impl := sload(slot)
        }
    }

    /**
     * @dev Upgrades the proxy to a new implementation.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(AddressUtils.isContract(newImplementation), "UpgradeableProxy: new implementation is not a contract");

        bytes32 slot = _IMPLEMENTATION_SLOT;

        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(slot, newImplementation)
        }
    }
}


pragma solidity >=0.5.16 <0.7.0;


/**
 * @title ManagedProxyV2
 *
 * @dev This contract implements a proxy that is upgradeable by an admin.
 * initializing the implementation, admin, and init data.
 */
contract ManagedProxyV2 is UpgradeableProxyV1 {
    /**
     * @dev Initializes an upgradeable proxy managed by `admin`, backed by the implementation at `logic`, and
     * optionally initialized with `data` as explained in {UpgradeableProxy-constructor}.
     */
    constructor(
        address logic,
        address admin,
        bytes memory data
    ) public payable UpgradeableProxyV1(logic, data) {
        assert(_ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1));
        if (admin != address(0x0)) {
            _setAdmin(admin);
        }
    }

    function _initManagedProxy(
        address logic,
        address admin,
        bytes memory data
    ) internal {
        require(_admin() == address(0x0), "Admin had been set");
        _initProxyImpl(logic, data);
        _setAdmin(admin);
    }

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 private constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.
     */
    modifier ifAdmin() {
        if (msg.sender == _admin()) {
            _;
        } else {
            _fallback();
        }
    }

    /**
     * @dev Returns the current admin.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}.
     *
     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
     * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`
     */
    function admin() external ifAdmin returns (address) {
        return _admin();
    }

    /**
     * @dev Returns the current implementation.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.
     *
     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
     * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
     * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`
     */
    function implementation() external ifAdmin returns (address) {
        return _implementation();
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}.
     */
    function changeAdmin(address newAdmin) external ifAdmin {
        require(newAdmin != address(0), "ManagedProxy: new admin is the zero address");
        emit AdminChanged(_admin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev Upgrade the implementation of the proxy.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.
     */
    function upgradeTo(address newImplementation) external ifAdmin {
        _upgradeTo(newImplementation);
    }

    /**
     * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified
     * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the
     * proxied contract.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.
     */
    function upgradeToAndCall(address newImplementation, bytes calldata data) external payable ifAdmin {
        _upgradeTo(newImplementation);
        // solhint-disable-next-line avoid-low-level-calls
        (bool success, ) = newImplementation.delegatecall(data);
        require(success);
    }

    /**
     * @dev Returns the current admin.
     */
    function _admin() internal view returns (address adm) {
        bytes32 slot = _ADMIN_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            adm := sload(slot)
        }
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        bytes32 slot = _ADMIN_SLOT;

        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(slot, newAdmin)
        }
    }
}

pragma solidity >=0.5.16 <0.7.0;

contract TokenChildProxyV2 is ManagedProxyV2 {
    constructor() public payable ManagedProxyV2(address(0x0), msg.sender, "") {}

    function _initProxyOfProxy(
        address impl,
        address admin,
        bytes memory data
    ) public {
        _initManagedProxy(impl, admin, data);
    }
}

Contract ABI

API
[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"impl","type":"address"},{"internalType":"address","name":"admin","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"_initProxyOfProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ 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.