ETH Price: $2,863.47 (-2.65%)

Contract

0xB54a39fbed9C84f30086EeF64aE0797E5B38b5ce

Overview

ETH Balance

0.420051 ETH

ETH Value

$1,202.81 (@ $2,863.47/ETH)

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Claim ETH2328820672024-07-16 17:47:15558 days ago1721152035IN
0xB54a39fb...E5B38b5ce
0 ETH0.000002120.01
Claim ETH2328819542024-07-16 17:46:47558 days ago1721152007IN
0xB54a39fb...E5B38b5ce
0 ETH0.000001760.01
Claim ETH2328819132024-07-16 17:46:37558 days ago1721151997IN
0xB54a39fb...E5B38b5ce
0 ETH0.000002120.01
Claim2328766022024-07-16 17:24:18558 days ago1721150658IN
0xB54a39fb...E5B38b5ce
0 ETH0.000002460.01
Claim2328764832024-07-16 17:23:48558 days ago1721150628IN
0xB54a39fb...E5B38b5ce
0 ETH0.000002460.01
Claim2328762652024-07-16 17:22:53558 days ago1721150573IN
0xB54a39fb...E5B38b5ce
0 ETH0.000002470.01
Claim2328761922024-07-16 17:22:35558 days ago1721150555IN
0xB54a39fb...E5B38b5ce
0 ETH0.000002960.01
Claim2328745222024-07-16 17:15:36558 days ago1721150136IN
0xB54a39fb...E5B38b5ce
0 ETH0.000002770.01
Claim2328696722024-07-16 16:55:23558 days ago1721148923IN
0xB54a39fb...E5B38b5ce
0 ETH0.000002990.01
Claim2314026072024-07-12 10:48:25562 days ago1720781305IN
0xB54a39fb...E5B38b5ce
0 ETH0.000001190.01
Claim2314025832024-07-12 10:48:19562 days ago1720781299IN
0xB54a39fb...E5B38b5ce
0 ETH0.000001360.01
Claim2314024152024-07-12 10:47:38562 days ago1720781258IN
0xB54a39fb...E5B38b5ce
0 ETH0.000001420.01
Claim2313341112024-07-12 6:02:36562 days ago1720764156IN
0xB54a39fb...E5B38b5ce
0 ETH0.000001220.01
Claim2313285532024-07-12 5:39:22562 days ago1720762762IN
0xB54a39fb...E5B38b5ce
0 ETH0.000001060.01
Claim2313280962024-07-12 5:37:27562 days ago1720762647IN
0xB54a39fb...E5B38b5ce
0 ETH0.000001240.01
Claim2313274212024-07-12 5:34:39562 days ago1720762479IN
0xB54a39fb...E5B38b5ce
0 ETH0.000001040.01
Claim2313271442024-07-12 5:33:30562 days ago1720762410IN
0xB54a39fb...E5B38b5ce
0 ETH0.000001210.01
Claim2037988692024-04-22 22:32:15643 days ago1713825135IN
0xB54a39fb...E5B38b5ce
0 ETH0.000001480.01
Claim2032379172024-04-21 7:09:27644 days ago1713683367IN
0xB54a39fb...E5B38b5ce
0 ETH0.00000120.01
Claim2021039162024-04-17 23:02:35648 days ago1713394955IN
0xB54a39fb...E5B38b5ce
0 ETH0.000001470.01
Claim2009475242024-04-14 13:36:42651 days ago1713101802IN
0xB54a39fb...E5B38b5ce
0 ETH0.000002810.020828
Claim2005845462024-04-13 12:04:58652 days ago1713009898IN
0xB54a39fb...E5B38b5ce
0 ETH0.000001420.01
Claim1992574102024-04-09 15:15:25656 days ago1712675725IN
0xB54a39fb...E5B38b5ce
0 ETH0.000009670.07216
Claim1990349772024-04-08 23:42:33657 days ago1712619753IN
0xB54a39fb...E5B38b5ce
0 ETH0.000001940.01
Claim1980724882024-04-06 4:39:17660 days ago1712378357IN
0xB54a39fb...E5B38b5ce
0 ETH0.000001660.01
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
2328820672024-07-16 17:47:15558 days ago1721152035
0xB54a39fb...E5B38b5ce
7.5 ETH
2328819132024-07-16 17:46:37558 days ago1721151997
0xB54a39fb...E5B38b5ce
1 ETH
1508789522023-11-16 5:03:01801 days ago1700110981
0xB54a39fb...E5B38b5ce
5 ETH
1494724442023-11-11 20:44:19806 days ago1699735459
0xB54a39fb...E5B38b5ce
0.1 ETH
1494091102023-11-11 16:01:45806 days ago1699718505
0xB54a39fb...E5B38b5ce
0.1 ETH
1492591832023-11-11 5:31:00806 days ago1699680660
0xB54a39fb...E5B38b5ce
0.2 ETH
1492237832023-11-11 2:57:54807 days ago1699671474
0xB54a39fb...E5B38b5ce
0.1 ETH
1490020392023-11-10 10:34:51807 days ago1699612491
0xB54a39fb...E5B38b5ce
0.2 ETH
1488977442023-11-10 3:12:49808 days ago1699585969
0xB54a39fb...E5B38b5ce
0.2 ETH
1483064352023-11-08 9:04:22809 days ago1699434262
0xB54a39fb...E5B38b5ce
0.5 ETH
1474102622023-11-05 14:52:05812 days ago1699195925
0xB54a39fb...E5B38b5ce
0.1 ETH
1471518782023-11-04 20:11:26813 days ago1699128686
0xB54a39fb...E5B38b5ce
0.1 ETH
1470553192023-11-04 13:16:59813 days ago1699103819
0xB54a39fb...E5B38b5ce
0.2 ETH
1468888322023-11-04 1:32:46814 days ago1699061566
0xB54a39fb...E5B38b5ce
5 ETH
1464147022023-11-02 14:58:36815 days ago1698937116
0xB54a39fb...E5B38b5ce
0.2 ETH
1464042992023-11-02 14:13:11815 days ago1698934391
0xB54a39fb...E5B38b5ce
0.1 ETH
1463690582023-11-02 11:41:06815 days ago1698925266
0xB54a39fb...E5B38b5ce
0.1 ETH
1460739872023-11-01 14:06:13816 days ago1698847573
0xB54a39fb...E5B38b5ce
0.1 ETH
1459231572023-11-01 3:26:05817 days ago1698809165
0xB54a39fb...E5B38b5ce
0.2 ETH
1454052122023-10-30 11:59:42818 days ago1698667182
0xB54a39fb...E5B38b5ce
0.2 ETH
1454051162023-10-30 11:59:16818 days ago1698667156
0xB54a39fb...E5B38b5ce
0.74 ETH
1453649692023-10-30 9:02:44818 days ago1698656564
0xB54a39fb...E5B38b5ce
0.1 ETH
1445768572023-10-27 17:50:31821 days ago1698429031
0xB54a39fb...E5B38b5ce
0.05 ETH
1442061392023-10-26 14:12:44822 days ago1698329564
0xB54a39fb...E5B38b5ce
0.8 ETH
1442060882023-10-26 14:12:31822 days ago1698329551
0xB54a39fb...E5B38b5ce
0.02 ETH
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x1E03BCcd...A2d0Fc576
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
TransparentUpgradeableProxy

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan.io on 2023-05-17
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.8;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

/**
 * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
 * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
 * be specified by overriding the virtual {_implementation} function.
 *
 * 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 virtual {
        // 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 view virtual 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 virtual {
        _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 () external payable virtual {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive () external payable virtual {
        _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 {
    }
}

/**
 * @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}.
 */
contract ERC1967Proxy 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) payable {
        assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1));
        _setImplementation(_logic);
        if(_data.length > 0) {
            Address.functionDelegateCall(_logic, _data);
        }
    }

    /**
     * @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 address.
     */
    function _implementation() internal view virtual override 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 virtual {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

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

        bytes32 slot = _IMPLEMENTATION_SLOT;

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

/**
 * @dev This contract implements a proxy that is upgradeable by an admin.
 *
 * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector
 * clashing], which can potentially be used in an attack, this contract uses the
 * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two
 * things that go hand in hand:
 *
 * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if
 * that call matches one of the admin functions exposed by the proxy itself.
 * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the
 * implementation. If the admin tries to call a function on the implementation it will fail with an error that says
 * "admin cannot fallback to proxy target".
 *
 * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing
 * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due
 * to sudden errors when trying to call a function from the proxy implementation.
 *
 * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,
 * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.
 */
contract TransparentUpgradeableProxy is ERC1967Proxy {
    /**
     * @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) ERC1967Proxy(_logic, _data) {
        assert(_ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1));
        _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 admin_) {
        admin_ = _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 implementation_) {
        implementation_ = _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 virtual ifAdmin {
        require(newAdmin != address(0), "TransparentUpgradeableProxy: 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 virtual 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 virtual ifAdmin {
        _upgradeTo(newImplementation);
        Address.functionDelegateCall(newImplementation, data);
    }

    /**
     * @dev Returns the current admin.
     */
    function _admin() internal view virtual 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)
        }
    }

    /**
     * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}.
     */
    function _beforeFallback() internal virtual override {
        require(msg.sender != _admin(), "TransparentUpgradeableProxy: admin cannot fallback to proxy target");
        super._beforeFallback();
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"address","name":"admin_","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"nonpayable","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":[],"name":"admin","outputs":[{"internalType":"address","name":"admin_","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":"implementation_","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"}]

0x60806040523480156200001157600080fd5b5060405162000d3f38038062000d3f833981016040819052620000349162000363565b82816200006360017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd62000443565b60008051602062000cf88339815191521462000083576200008362000465565b6200008e8262000120565b805115620000af57620000ad8282620001b660201b620003881760201c565b505b50620000df905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610462000443565b60008051602062000cd883398151915214620000ff57620000ff62000465565b620001178260008051602062000cd883398151915255565b505050620004ce565b6200013681620001e760201b620003b41760201c565b620001a35760405162461bcd60e51b815260206004820152603260248201527f4552433139363750726f78793a206e657720696d706c656d656e746174696f6e604482015271081a5cc81b9bdd08184818dbdb9d1c9858dd60721b60648201526084015b60405180910390fd5b60008051602062000cf883398151915255565b6060620001de838360405180606001604052806027815260200162000d1860279139620001ed565b90505b92915050565b3b151590565b6060833b6200024e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016200019a565b600080856001600160a01b0316856040516200026b91906200047b565b600060405180830381855af49150503d8060008114620002a8576040519150601f19603f3d011682016040523d82523d6000602084013e620002ad565b606091505b509092509050620002c0828286620002cc565b925050505b9392505050565b60608315620002dd575081620002c5565b825115620002ee5782518084602001fd5b8160405162461bcd60e51b81526004016200019a919062000499565b80516001600160a01b03811681146200032257600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200035a57818101518382015260200162000340565b50506000910152565b6000806000606084860312156200037957600080fd5b62000384846200030a565b925062000394602085016200030a565b60408501519092506001600160401b0380821115620003b257600080fd5b818601915086601f830112620003c757600080fd5b815181811115620003dc57620003dc62000327565b604051601f8201601f19908116603f0116810190838211818310171562000407576200040762000327565b816040528281528960208487010111156200042157600080fd5b620004348360208301602088016200033d565b80955050505050509250925092565b81810381811115620001e157634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052600160045260246000fd5b600082516200048f8184602087016200033d565b9190910192915050565b6020815260008251806020840152620004ba8160408501602087016200033d565b601f01601f19169190910160400192915050565b6107fa80620004de6000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100855780635c60da1b146100985780638f283970146100c9578063f851a440146100e95761005d565b3661005d5761005b6100fe565b005b61005b6100fe565b34801561007157600080fd5b5061005b61008036600461066c565b610138565b61005b610093366004610687565b61016b565b3480156100a457600080fd5b506100ad6101e6565b6040516001600160a01b03909116815260200160405180910390f35b3480156100d557600080fd5b5061005b6100e436600461066c565b61023e565b3480156100f557600080fd5b506100ad61034d565b6101066103ba565b6101366101317f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b610452565b565b60008051602061077e833981519152546001600160a01b031633036101635761016081610476565b50565b6101606100fe565b60008051602061077e833981519152546001600160a01b031633036101d95761019383610476565b6101d38383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061038892505050565b50505050565b6101e16100fe565b505050565b60006101fe60008051602061077e8339815191525490565b6001600160a01b0316330361023357507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b61023b6100fe565b90565b60008051602061077e833981519152546001600160a01b03163303610163576001600160a01b0381166102de5760405162461bcd60e51b815260206004820152603a60248201527f5472616e73706172656e745570677261646561626c6550726f78793a206e657760448201527f2061646d696e20697320746865207a65726f206164647265737300000000000060648201526084015b60405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61031560008051602061077e8339815191525490565b604080516001600160a01b03928316815291841660208301520160405180910390a16101608160008051602061077e83398151915255565b600061036560008051602061077e8339815191525490565b6001600160a01b03163303610233575060008051602061077e8339815191525490565b60606103ad838360405180606001604052806027815260200161079e602791396104b6565b9392505050565b3b151590565b60008051602061077e833981519152546001600160a01b031633036101365760405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a4016102d5565b3660008037600080366000845af43d6000803e808015610471573d6000f35b3d6000fd5b61047f8161058a565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060833b6105155760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016102d5565b600080856001600160a01b031685604051610530919061072e565b600060405180830381855af49150503d806000811461056b576040519150601f19603f3d011682016040523d82523d6000602084013e610570565b606091505b5091509150610580828286610617565b9695505050505050565b803b6105f35760405162461bcd60e51b815260206004820152603260248201527f4552433139363750726f78793a206e657720696d706c656d656e746174696f6e604482015271081a5cc81b9bdd08184818dbdb9d1c9858dd60721b60648201526084016102d5565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b606083156106265750816103ad565b8251156106365782518084602001fd5b8160405162461bcd60e51b81526004016102d5919061074a565b80356001600160a01b038116811461066757600080fd5b919050565b60006020828403121561067e57600080fd5b6103ad82610650565b60008060006040848603121561069c57600080fd5b6106a584610650565b9250602084013567ffffffffffffffff808211156106c257600080fd5b818601915086601f8301126106d657600080fd5b8135818111156106e557600080fd5b8760208285010111156106f757600080fd5b6020830194508093505050509250925092565b60005b8381101561072557818101518382015260200161070d565b50506000910152565b6000825161074081846020870161070a565b9190910192915050565b602081526000825180602084015261076981604085016020870161070a565b601f01601f1916919091016040019291505056feb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220f56258583d06d02c795135ebc8495d9cc75de47e8273addad2f2342160f69b1864736f6c63430008100033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000d9ce0ff01f5e9381bdc0c6a88e99b1764831a45d000000000000000000000000445efb4efbf3ed3f00db08ed8be312ab45dfc1d600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100855780635c60da1b146100985780638f283970146100c9578063f851a440146100e95761005d565b3661005d5761005b6100fe565b005b61005b6100fe565b34801561007157600080fd5b5061005b61008036600461066c565b610138565b61005b610093366004610687565b61016b565b3480156100a457600080fd5b506100ad6101e6565b6040516001600160a01b03909116815260200160405180910390f35b3480156100d557600080fd5b5061005b6100e436600461066c565b61023e565b3480156100f557600080fd5b506100ad61034d565b6101066103ba565b6101366101317f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b610452565b565b60008051602061077e833981519152546001600160a01b031633036101635761016081610476565b50565b6101606100fe565b60008051602061077e833981519152546001600160a01b031633036101d95761019383610476565b6101d38383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061038892505050565b50505050565b6101e16100fe565b505050565b60006101fe60008051602061077e8339815191525490565b6001600160a01b0316330361023357507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b61023b6100fe565b90565b60008051602061077e833981519152546001600160a01b03163303610163576001600160a01b0381166102de5760405162461bcd60e51b815260206004820152603a60248201527f5472616e73706172656e745570677261646561626c6550726f78793a206e657760448201527f2061646d696e20697320746865207a65726f206164647265737300000000000060648201526084015b60405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61031560008051602061077e8339815191525490565b604080516001600160a01b03928316815291841660208301520160405180910390a16101608160008051602061077e83398151915255565b600061036560008051602061077e8339815191525490565b6001600160a01b03163303610233575060008051602061077e8339815191525490565b60606103ad838360405180606001604052806027815260200161079e602791396104b6565b9392505050565b3b151590565b60008051602061077e833981519152546001600160a01b031633036101365760405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a4016102d5565b3660008037600080366000845af43d6000803e808015610471573d6000f35b3d6000fd5b61047f8161058a565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060833b6105155760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016102d5565b600080856001600160a01b031685604051610530919061072e565b600060405180830381855af49150503d806000811461056b576040519150601f19603f3d011682016040523d82523d6000602084013e610570565b606091505b5091509150610580828286610617565b9695505050505050565b803b6105f35760405162461bcd60e51b815260206004820152603260248201527f4552433139363750726f78793a206e657720696d706c656d656e746174696f6e604482015271081a5cc81b9bdd08184818dbdb9d1c9858dd60721b60648201526084016102d5565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b606083156106265750816103ad565b8251156106365782518084602001fd5b8160405162461bcd60e51b81526004016102d5919061074a565b80356001600160a01b038116811461066757600080fd5b919050565b60006020828403121561067e57600080fd5b6103ad82610650565b60008060006040848603121561069c57600080fd5b6106a584610650565b9250602084013567ffffffffffffffff808211156106c257600080fd5b818601915086601f8301126106d657600080fd5b8135818111156106e557600080fd5b8760208285010111156106f757600080fd5b6020830194508093505050509250925092565b60005b8381101561072557818101518382015260200161070d565b50506000910152565b6000825161074081846020870161070a565b9190910192915050565b602081526000825180602084015261076981604085016020870161070a565b601f01601f1916919091016040019291505056feb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220f56258583d06d02c795135ebc8495d9cc75de47e8273addad2f2342160f69b1864736f6c63430008100033

Deployed Bytecode Sourcemap

15479:4678:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10846:11;:9;:11::i;:::-;15479:4678;;10614:11;:9;:11::i;18502:119::-;;;;;;;;;;-1:-1:-1;18502:119:0;;;;;:::i;:::-;;:::i;19006:219::-;;;;;;:::i;:::-;;:::i;17736:131::-;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;1217:32:1;;;1199:51;;1187:2;1172:18;17736:131:0;;;;;;;18081:254;;;;;;;;;;-1:-1:-1;18081:254:0;;;;;:::i;:::-;;:::i;17170:95::-;;;;;;;;;;;;;:::i;10250:113::-;10299:17;:15;:17::i;:::-;10327:28;10337:17;12843:66;13220:11;;12993:256;10337:17;10327:9;:28::i;:::-;10250:113::o;18502:119::-;-1:-1:-1;;;;;;;;;;;19489:11:0;-1:-1:-1;;;;;16614:22:0;:10;:22;16610:100;;18584:29:::1;18595:17;18584:10;:29::i;:::-;18502:119:::0;:::o;16610:100::-;16687:11;:9;:11::i;19006:219::-;-1:-1:-1;;;;;;;;;;;19489:11:0;-1:-1:-1;;;;;16614:22:0;:10;:22;16610:100;;19124:29:::1;19135:17;19124:10;:29::i;:::-;19164:53;19193:17;19212:4;;19164:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;19164:28:0::1;::::0;-1:-1:-1;;;19164:53:0:i:1;:::-;;19006:219:::0;;;:::o;16610:100::-;16687:11;:9;:11::i;:::-;19006:219;;;:::o;17736:131::-;17788:23;16628:8;-1:-1:-1;;;;;;;;;;;19489:11:0;;19291:227;16628:8;-1:-1:-1;;;;;16614:22:0;:10;:22;16610:100;;-1:-1:-1;12843:66:0;13220:11;;17736:131::o;16610:100::-;16687:11;:9;:11::i;:::-;17736:131;:::o;18081:254::-;-1:-1:-1;;;;;;;;;;;19489:11:0;-1:-1:-1;;;;;16614:22:0;:10;:22;16610:100;;-1:-1:-1;;;;;18164:22:0;::::1;18156:93;;;::::0;-1:-1:-1;;;18156:93:0;;1463:2:1;18156:93:0::1;::::0;::::1;1445:21:1::0;1502:2;1482:18;;;1475:30;1541:34;1521:18;;;1514:62;1612:28;1592:18;;;1585:56;1658:19;;18156:93:0::1;;;;;;;;;18265:32;18278:8;-1:-1:-1::0;;;;;;;;;;;19489:11:0;;19291:227;18278:8:::1;18265:32;::::0;;-1:-1:-1;;;;;1918:15:1;;;1900:34;;1970:15;;;1965:2;1950:18;;1943:43;1835:18;18265:32:0::1;;;;;;;18308:19;18318:8;-1:-1:-1::0;;;;;;;;;;;19781:22:0;19605:216;17170:95;17213:14;16628:8;-1:-1:-1;;;;;;;;;;;19489:11:0;;19291:227;16628:8;-1:-1:-1;;;;;16614:22:0;:10;:22;16610:100;;-1:-1:-1;;;;;;;;;;;;19489:11:0;;17736:131::o;6428:200::-;6511:12;6543:77;6564:6;6572:4;6543:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;6536:84;6428:200;-1:-1:-1;;;6428:200:0:o;743:422::-;1110:20;1149:8;;;743:422::o;19947:207::-;-1:-1:-1;;;;;;;;;;;19489:11:0;-1:-1:-1;;;;;20019:22:0;:10;:22;20011:101;;;;-1:-1:-1;;;20011:101:0;;2199:2:1;20011:101:0;;;2181:21:1;2238:2;2218:18;;;2211:30;2277:34;2257:18;;;2250:62;2348:34;2328:18;;;2321:62;-1:-1:-1;;;2399:19:1;;;2392:33;2442:19;;20011:101:0;1997:470:1;8843:915:0;9243:14;9240:1;9237;9224:34;9461:1;9458;9442:14;9439:1;9423:14;9416:5;9403:60;9540:16;9537:1;9534;9519:38;9580:6;9649:38;;;;9721:16;9718:1;9711:27;9649:38;9668:16;9665:1;9658:27;13375:163;13450:37;13469:17;13450:18;:37::i;:::-;13503:27;;-1:-1:-1;;;;;13503:27:0;;;;;;;;13375:163;:::o;6822:423::-;6933:12;1110:20;;6958:69;;;;-1:-1:-1;;;6958:69:0;;2674:2:1;6958:69:0;;;2656:21:1;2713:2;2693:18;;;2686:30;2752:34;2732:18;;;2725:62;-1:-1:-1;;;2803:18:1;;;2796:36;2849:19;;6958:69:0;2472:402:1;6958:69:0;7101:12;7115:23;7142:6;-1:-1:-1;;;;;7142:19:0;7162:4;7142:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7100:67;;;;7185:52;7203:7;7212:10;7224:12;7185:17;:52::i;:::-;7178:59;6822:423;-1:-1:-1;;;;;;6822:423:0:o;13634:365::-;1110:20;;13708:100;;;;-1:-1:-1;;;13708:100:0;;3628:2:1;13708:100:0;;;3610:21:1;3667:2;3647:18;;;3640:30;3706:34;3686:18;;;3679:62;-1:-1:-1;;;3757:18:1;;;3750:48;3815:19;;13708:100:0;3426:414:1;13708:100:0;12843:66;13950:31;13634:365::o;7253:742::-;7368:12;7397:7;7393:595;;;-1:-1:-1;7428:10:0;7421:17;;7393:595;7542:17;;:21;7538:439;;7805:10;7799:17;7866:15;7853:10;7849:2;7845:19;7838:44;7538:439;7948:12;7941:20;;-1:-1:-1;;;7941:20:0;;;;;;;;:::i;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:665::-;462:6;470;478;531:2;519:9;510:7;506:23;502:32;499:52;;;547:1;544;537:12;499:52;570:29;589:9;570:29;:::i;:::-;560:39;;650:2;639:9;635:18;622:32;673:18;714:2;706:6;703:14;700:34;;;730:1;727;720:12;700:34;768:6;757:9;753:22;743:32;;813:7;806:4;802:2;798:13;794:27;784:55;;835:1;832;825:12;784:55;875:2;862:16;901:2;893:6;890:14;887:34;;;917:1;914;907:12;887:34;962:7;957:2;948:6;944:2;940:15;936:24;933:37;930:57;;;983:1;980;973:12;930:57;1014:2;1010;1006:11;996:21;;1036:6;1026:16;;;;;383:665;;;;;:::o;2879:250::-;2964:1;2974:113;2988:6;2985:1;2982:13;2974:113;;;3064:11;;;3058:18;3045:11;;;3038:39;3010:2;3003:10;2974:113;;;-1:-1:-1;;3121:1:1;3103:16;;3096:27;2879:250::o;3134:287::-;3263:3;3301:6;3295:13;3317:66;3376:6;3371:3;3364:4;3356:6;3352:17;3317:66;:::i;:::-;3399:16;;;;;3134:287;-1:-1:-1;;3134:287:1:o;3845:396::-;3994:2;3983:9;3976:21;3957:4;4026:6;4020:13;4069:6;4064:2;4053:9;4049:18;4042:34;4085:79;4157:6;4152:2;4141:9;4137:18;4132:2;4124:6;4120:15;4085:79;:::i;:::-;4225:2;4204:15;-1:-1:-1;;4200:29:1;4185:45;;;;4232:2;4181:54;;3845:396;-1:-1:-1;;3845:396:1:o

Swarm Source

ipfs://f56258583d06d02c795135ebc8495d9cc75de47e8273addad2f2342160f69b18

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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.