ETH Price: $3,099.23 (+0.51%)
Gas: 4 Gwei

Contract

0x0e6574c923DC0b609be304BF87039171B3C87c83
 

Overview

ETH Balance

0.5 ETH

Eth Value

$1,549.62 (@ $3,099.23/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Transfer111492772020-10-29 3:45:381350 days ago1603943138IN
0x0e6574c9...1B3C87c83
0 ETH0.0027469349.4
Transfer111491962020-10-29 3:27:191350 days ago1603942039IN
0x0e6574c9...1B3C87c83
0 ETH0.0025028145
Approve111483422020-10-29 0:14:111350 days ago1603930451IN
0x0e6574c9...1B3C87c83
0 ETH0.0012895227.4
Approve111470072020-10-28 19:15:201350 days ago1603912520IN
0x0e6574c9...1B3C87c83
0 ETH0.0020660643.9
Approve111459982020-10-28 15:36:411350 days ago1603899401IN
0x0e6574c9...1B3C87c83
0 ETH0.0026163393.9
Approve111458972020-10-28 15:13:511350 days ago1603898031IN
0x0e6574c9...1B3C87c83
0 ETH0.0041368387.9
Approve111453712020-10-28 13:23:121350 days ago1603891392IN
0x0e6574c9...1B3C87c83
0 ETH0.0045509996.7
Approve111434602020-10-28 6:22:181351 days ago1603866138IN
0x0e6574c9...1B3C87c83
0 ETH0.00075316
Approve111393752020-10-27 15:14:311351 days ago1603811671IN
0x0e6574c9...1B3C87c83
0 ETH0.0024802252.7
Approve111392892020-10-27 14:57:211351 days ago1603810641IN
0x0e6574c9...1B3C87c83
0 ETH0.0025319853.8
Approve111391492020-10-27 14:24:361351 days ago1603808676IN
0x0e6574c9...1B3C87c83
0 ETH0.0021648946.00000123
Approve111391322020-10-27 14:19:401351 days ago1603808380IN
0x0e6574c9...1B3C87c83
0 ETH0.0022213747.2
Approve111391162020-10-27 14:16:131351 days ago1603808173IN
0x0e6574c9...1B3C87c83
0 ETH0.0019625241.7
Approve111390882020-10-27 14:07:301351 days ago1603807650IN
0x0e6574c9...1B3C87c83
0 ETH0.0020142942.8
Approve111390262020-10-27 13:53:021351 days ago1603806782IN
0x0e6574c9...1B3C87c83
0 ETH0.0015483732.9
Approve111389942020-10-27 13:44:551351 days ago1603806295IN
0x0e6574c9...1B3C87c83
0 ETH0.0032520569.1
Approve111389872020-10-27 13:44:211351 days ago1603806261IN
0x0e6574c9...1B3C87c83
0 ETH0.0009412620
Approve111389762020-10-27 13:42:181351 days ago1603806138IN
0x0e6574c9...1B3C87c83
0 ETH0.0019672341.80000023
Approve111389502020-10-27 13:37:471351 days ago1603805867IN
0x0e6574c9...1B3C87c83
0 ETH0.001496631.8
Approve111389492020-10-27 13:37:251351 days ago1603805845IN
0x0e6574c9...1B3C87c83
0 ETH0.0019369741.157
Approve111389342020-10-27 13:34:051351 days ago1603805645IN
0x0e6574c9...1B3C87c83
0 ETH0.0032849969.8
Approve111389292020-10-27 13:33:261351 days ago1603805606IN
0x0e6574c9...1B3C87c83
0 ETH0.0015483732.9
Transfer111389232020-10-27 13:32:081351 days ago1603805528IN
0x0e6574c9...1B3C87c83
0 ETH0.0018298332.9
Approve111389002020-10-27 13:27:291351 days ago1603805249IN
0x0e6574c9...1B3C87c83
0 ETH0.0018119238.50000023
Approve111388642020-10-27 13:20:531351 days ago1603804853IN
0x0e6574c9...1B3C87c83
0 ETH0.0019625241.7
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To Value
111311312020-10-26 9:04:131353 days ago1603703053  Contract Creation0 ETH
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
/**
 *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

[{"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 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  ]
[ 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.