Holesky Testnet

Contract

0x8f812c77e728Cd57bAC0ddd2DFFB86eF0F84ee7d

Overview

ETH Balance

0 ETH

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Batch Withdraw C...34179252025-02-24 15:25:3652 days ago1740410736IN
0x8f812c77...F0F84ee7d
0 ETH0.000002170.00314659
Deposit34179212025-02-24 15:24:3652 days ago1740410676IN
0x8f812c77...F0F84ee7d
32 ETH0.000000470.00322803
Deposit31359652025-01-13 9:17:1294 days ago1736759832IN
0x8f812c77...F0F84ee7d
32 ETH0.000000140.00100001
Deposit31359512025-01-13 9:14:2494 days ago1736759664IN
0x8f812c77...F0F84ee7d
32 ETH0.000000150.00100001
Deposit26452552024-10-31 15:15:12168 days ago1730387712IN
0x8f812c77...F0F84ee7d
96 ETH0.3107561,000
Request Validato...23649722024-09-19 8:09:00210 days ago1726733340IN
0x8f812c77...F0F84ee7d
0 ETH0.000046630.76045076
Batch Withdraw C...22253092024-08-28 20:47:24232 days ago1724878044IN
0x8f812c77...F0F84ee7d
0 ETH0.000058840.22939368
Deposit22227982024-08-28 11:32:48232 days ago1724844768IN
0x8f812c77...F0F84ee7d
32 ETH0.000003050.0211615
Batch Withdraw C...21934392024-08-24 1:06:36236 days ago1724461596IN
0x8f812c77...F0F84ee7d
0 ETH0.000342460.67974292
Deposit21237422024-08-13 8:59:36247 days ago1723539576IN
0x8f812c77...F0F84ee7d
32 ETH0.000174871.21250001
Deposit20929592024-08-08 15:00:12252 days ago1723129212IN
0x8f812c77...F0F84ee7d
96 ETH0.000003580.01176125
Add Validators10224302024-02-26 10:01:12416 days ago1708941672IN
0x8f812c77...F0F84ee7d
0 ETH0.01748373.6760634
Add Validators10224142024-02-26 9:57:36416 days ago1708941456IN
0x8f812c77...F0F84ee7d
0 ETH0.017821523.74703589
Add Validators10223852024-02-26 9:49:36416 days ago1708940976IN
0x8f812c77...F0F84ee7d
0 ETH0.022930744.8212293
Add Validators10223722024-02-26 9:46:48416 days ago1708940808IN
0x8f812c77...F0F84ee7d
0 ETH0.027888445.86380155
Add Validators10223512024-02-26 9:42:12416 days ago1708940532IN
0x8f812c77...F0F84ee7d
0 ETH0.020594794.33022324
Add Validators10223312024-02-26 9:37:48416 days ago1708940268IN
0x8f812c77...F0F84ee7d
0 ETH0.014638363.07776444
Add Validators10223162024-02-26 9:34:36416 days ago1708940076IN
0x8f812c77...F0F84ee7d
0 ETH0.018660123.92337322
Add Validators10222852024-02-26 9:27:36416 days ago1708939656IN
0x8f812c77...F0F84ee7d
0 ETH0.021553924.53183043
Add Validators10222712024-02-26 9:24:24416 days ago1708939464IN
0x8f812c77...F0F84ee7d
0 ETH0.017469113.67293964
Add Validators10222362024-02-26 9:16:12416 days ago1708938972IN
0x8f812c77...F0F84ee7d
0 ETH0.018045213.79414395
Add Validators10222222024-02-26 9:13:00416 days ago1708938780IN
0x8f812c77...F0F84ee7d
0 ETH0.017520793.68384258
Add Validators10221982024-02-26 9:07:36416 days ago1708938456IN
0x8f812c77...F0F84ee7d
0 ETH0.027577515.79826539
Add Validators10221842024-02-26 9:04:00416 days ago1708938240IN
0x8f812c77...F0F84ee7d
0 ETH0.01698723.5716168
Add Validators10221642024-02-26 8:59:36416 days ago1708937976IN
0x8f812c77...F0F84ee7d
0 ETH0.02790495.86711395
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
0x3d602d8034179252025-02-24 15:25:3652 days ago1740410736
0x8f812c77...F0F84ee7d
 Contract Creation0 ETH
0x3d602d8034179252025-02-24 15:25:3652 days ago1740410736
0x8f812c77...F0F84ee7d
 Contract Creation0 ETH
0x3d602d8034179252025-02-24 15:25:3652 days ago1740410736
0x8f812c77...F0F84ee7d
 Contract Creation0 ETH
Transfer*34179212025-02-24 15:24:3652 days ago1740410676
0x8f812c77...F0F84ee7d
32 ETH
Transfer*31359652025-01-13 9:17:1294 days ago1736759832
0x8f812c77...F0F84ee7d
32 ETH
Transfer*31359512025-01-13 9:14:2494 days ago1736759664
0x8f812c77...F0F84ee7d
32 ETH
Transfer*26452552024-10-31 15:15:12168 days ago1730387712
0x8f812c77...F0F84ee7d
32 ETH
Transfer*26452552024-10-31 15:15:12168 days ago1730387712
0x8f812c77...F0F84ee7d
32 ETH
Transfer*26452552024-10-31 15:15:12168 days ago1730387712
0x8f812c77...F0F84ee7d
32 ETH
Transfer*22227982024-08-28 11:32:48232 days ago1724844768
0x8f812c77...F0F84ee7d
32 ETH
0x3d602d8021934392024-08-24 1:06:36236 days ago1724461596
0x8f812c77...F0F84ee7d
 Contract Creation0 ETH
0x3d602d8021934392024-08-24 1:06:36236 days ago1724461596
0x8f812c77...F0F84ee7d
 Contract Creation0 ETH
0x3d602d8021934392024-08-24 1:06:36236 days ago1724461596
0x8f812c77...F0F84ee7d
 Contract Creation0 ETH
Transfer*21829952024-08-22 11:14:12238 days ago1724325252
0x8f812c77...F0F84ee7d
32 ETH
Transfer*21829952024-08-22 11:14:12238 days ago1724325252
0x8f812c77...F0F84ee7d
32 ETH
Deposit21829952024-08-22 11:14:12238 days ago1724325252
0x8f812c77...F0F84ee7d
64 ETH
Transfer*21775682024-08-21 15:27:24239 days ago1724254044
0x8f812c77...F0F84ee7d
32 ETH
Deposit21775682024-08-21 15:27:24239 days ago1724254044
0x8f812c77...F0F84ee7d
32 ETH
Transfer*21237422024-08-13 8:59:36247 days ago1723539576
0x8f812c77...F0F84ee7d
32 ETH
Transfer*20987112024-08-09 12:37:48251 days ago1723207068
0x8f812c77...F0F84ee7d
32 ETH
Transfer*20987112024-08-09 12:37:48251 days ago1723207068
0x8f812c77...F0F84ee7d
32 ETH
Deposit20987112024-08-09 12:37:48251 days ago1723207068
0x8f812c77...F0F84ee7d
64 ETH
Transfer*20929592024-08-08 15:00:12252 days ago1723129212
0x8f812c77...F0F84ee7d
32 ETH
Transfer*20929592024-08-08 15:00:12252 days ago1723129212
0x8f812c77...F0F84ee7d
32 ETH
Transfer*20929592024-08-08 15:00:12252 days ago1723129212
0x8f812c77...F0F84ee7d
32 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TUPProxy

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion, BSL 1.1 license
File 1 of 9 : TUPProxy.sol
//SPDX-License-Identifier: BUSL-1.1
pragma solidity >=0.8.10;

import "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol";

/// @title TUPProxy (Transparent Upgradeable Pausable Proxy)
/// @author SkillZ
/// @notice This contract extends the Transparent Upgradeable proxy and adds a system wide pause feature.
///         When the system is paused, the fallback will fail no matter what calls are made.
contract TUPProxy is TransparentUpgradeableProxy {
    bytes32 private constant _PAUSE_SLOT = bytes32(uint256(keccak256("eip1967.proxy.pause")) - 1);

    error CallWhenPaused();

    constructor(
        address _logic,
        address admin_,
        bytes memory _data
    ) payable TransparentUpgradeableProxy(_logic, admin_, _data) {}

    /// @dev Retrieves Paused state
    /// @return Paused state
    function isPaused() external ifAdmin returns (bool) {
        return StorageSlot.getBooleanSlot(_PAUSE_SLOT).value;
    }

    /// @dev Pauses system
    function pause() external ifAdmin {
        StorageSlot.getBooleanSlot(_PAUSE_SLOT).value = true;
    }

    /// @dev Unpauses system
    function unpause() external ifAdmin {
        StorageSlot.getBooleanSlot(_PAUSE_SLOT).value = false;
    }

    /// @dev Overrides the fallback method to check if system is not paused before
    /// @dev Address Zero is allowed to perform calls even if system is paused. This allows
    /// view functions to be called when the system is paused as rpc providers can easily
    /// set the sender address to zero.
    function _beforeFallback() internal override {
        if (StorageSlot.getBooleanSlot(_PAUSE_SLOT).value == false || msg.sender == address(0)) {
            super._beforeFallback();
        } else {
            revert CallWhenPaused();
        }
    }
}

File 2 of 9 : TransparentUpgradeableProxy.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/transparent/TransparentUpgradeableProxy.sol)

pragma solidity ^0.8.0;

import "../ERC1967/ERC1967Proxy.sol";

/**
 * @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 {ERC1967Proxy-constructor}.
     */
    constructor(
        address _logic,
        address admin_,
        bytes memory _data
    ) payable ERC1967Proxy(_logic, _data) {
        assert(_ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1));
        _changeAdmin(admin_);
    }

    /**
     * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.
     */
    modifier ifAdmin() {
        if (msg.sender == _getAdmin()) {
            _;
        } 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_ = _getAdmin();
    }

    /**
     * @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 {
        _changeAdmin(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 {
        _upgradeToAndCall(newImplementation, bytes(""), false);
    }

    /**
     * @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 {
        _upgradeToAndCall(newImplementation, data, true);
    }

    /**
     * @dev Returns the current admin.
     */
    function _admin() internal view virtual returns (address) {
        return _getAdmin();
    }

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

File 3 of 9 : ERC1967Proxy.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/ERC1967/ERC1967Proxy.sol)

pragma solidity ^0.8.0;

import "../Proxy.sol";
import "./ERC1967Upgrade.sol";

/**
 * @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.
 */
contract ERC1967Proxy is Proxy, ERC1967Upgrade {
    /**
     * @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));
        _upgradeToAndCall(_logic, _data, false);
    }

    /**
     * @dev Returns the current implementation address.
     */
    function _implementation() internal view virtual override returns (address impl) {
        return ERC1967Upgrade._getImplementation();
    }
}

File 4 of 9 : Proxy.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (proxy/Proxy.sol)

pragma solidity ^0.8.0;

/**
 * @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 internal call site, it will return directly to the external caller.
     */
    function _delegate(address implementation) internal virtual {
        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 {}
}

File 5 of 9 : ERC1967Upgrade.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (proxy/ERC1967/ERC1967Upgrade.sol)

pragma solidity ^0.8.2;

import "../beacon/IBeacon.sol";
import "../../interfaces/draft-IERC1822.sol";
import "../../utils/Address.sol";
import "../../utils/StorageSlot.sol";

/**
 * @dev This abstract contract provides getters and event emitting update functions for
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
 *
 * _Available since v4.1._
 *
 * @custom:oz-upgrades-unsafe-allow delegatecall
 */
abstract contract ERC1967Upgrade {
    // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;

    /**
     * @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 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

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

    /**
     * @dev Returns the current implementation address.
     */
    function _getImplementation() internal view returns (address) {
        return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
        StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
    }

    /**
     * @dev Perform implementation upgrade
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Perform implementation upgrade with additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCall(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        _upgradeTo(newImplementation);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(newImplementation, data);
        }
    }

    /**
     * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCallUUPS(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        // Upgrades from old implementations will perform a rollback test. This test requires the new
        // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing
        // this special case will break upgrade paths from old UUPS implementation to new ones.
        if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {
            _setImplementation(newImplementation);
        } else {
            try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {
                require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID");
            } catch {
                revert("ERC1967Upgrade: new implementation is not UUPS");
            }
            _upgradeToAndCall(newImplementation, data, forceCall);
        }
    }

    /**
     * @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 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

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

    /**
     * @dev Returns the current admin.
     */
    function _getAdmin() internal view returns (address) {
        return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        require(newAdmin != address(0), "ERC1967: new admin is the zero address");
        StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     */
    function _changeAdmin(address newAdmin) internal {
        emit AdminChanged(_getAdmin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
     */
    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;

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

    /**
     * @dev Returns the current beacon.
     */
    function _getBeacon() internal view returns (address) {
        return StorageSlot.getAddressSlot(_BEACON_SLOT).value;
    }

    /**
     * @dev Stores a new beacon in the EIP1967 beacon slot.
     */
    function _setBeacon(address newBeacon) private {
        require(Address.isContract(newBeacon), "ERC1967: new beacon is not a contract");
        require(
            Address.isContract(IBeacon(newBeacon).implementation()),
            "ERC1967: beacon implementation is not a contract"
        );
        StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;
    }

    /**
     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does
     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).
     *
     * Emits a {BeaconUpgraded} event.
     */
    function _upgradeBeaconToAndCall(
        address newBeacon,
        bytes memory data,
        bool forceCall
    ) internal {
        _setBeacon(newBeacon);
        emit BeaconUpgraded(newBeacon);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);
        }
    }
}

File 6 of 9 : IBeacon.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)

pragma solidity ^0.8.0;

/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeacon {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function implementation() external view returns (address);
}

File 7 of 9 : draft-IERC1822.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)

pragma solidity ^0.8.0;

/**
 * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified
 * proxy whose upgrades are fully controlled by the current implementation.
 */
interface IERC1822Proxiable {
    /**
     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation
     * address.
     *
     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
     * function revert if invoked through a proxy.
     */
    function proxiableUUID() external view returns (bytes32);
}

File 8 of 9 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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");

        (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");

        (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");

        (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");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 9 of 9 : StorageSlot.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/StorageSlot.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        assembly {
            r.slot := slot
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 10000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  }
}

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"address","name":"admin_","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"payable","type":"constructor"},{"inputs":[],"name":"CallWhenPaused","type":"error"},{"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":"beacon","type":"address"}],"name":"BeaconUpgraded","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":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"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"}]

6080604052604051620013933803806200139383398101604081905262000026916200051f565b82828282816200005860017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd620005ff565b6000805160206200134c8339815191521462000078576200007862000625565b6200008682826000620000ed565b50620000b6905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6104620005ff565b6000805160206200132c83398151915214620000d657620000d662000625565b620000e1826200012a565b5050505050506200068e565b620000f88362000185565b600082511180620001065750805b156200012557620001238383620001c760201b620004381760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f62000155620001f6565b604080516001600160a01b03928316815291841660208301520160405180910390a162000182816200022f565b50565b6200019081620002e4565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060620001ef83836040518060600160405280602781526020016200136c6027913962000387565b9392505050565b6000620002206000805160206200132c83398151915260001b6200046d60201b620002441760201c565b546001600160a01b0316919050565b6001600160a01b0381166200029a5760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b80620002c36000805160206200132c83398151915260001b6200046d60201b620002441760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b620002fa816200047060201b620004641760201c565b6200035e5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840162000291565b80620002c36000805160206200134c83398151915260001b6200046d60201b620002441760201c565b60606001600160a01b0384163b620003f15760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840162000291565b600080856001600160a01b0316856040516200040e91906200063b565b600060405180830381855af49150503d80600081146200044b576040519150601f19603f3d011682016040523d82523d6000602084013e62000450565b606091505b509092509050620004638282866200047f565b9695505050505050565b90565b6001600160a01b03163b151590565b6060831562000490575081620001ef565b825115620004a15782518084602001fd5b8160405162461bcd60e51b815260040162000291919062000659565b80516001600160a01b0381168114620004d557600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200050d578181015183820152602001620004f3565b83811115620001235750506000910152565b6000806000606084860312156200053557600080fd5b6200054084620004bd565b92506200055060208501620004bd565b60408501519092506001600160401b03808211156200056e57600080fd5b818601915086601f8301126200058357600080fd5b815181811115620005985762000598620004da565b604051601f8201601f19908116603f01168101908382118183101715620005c357620005c3620004da565b81604052828152896020848701011115620005dd57600080fd5b620005f0836020830160208801620004f0565b80955050505050509250925092565b6000828210156200062057634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b600082516200064f818460208701620004f0565b9190910192915050565b60208152600082518060208401526200067a816040850160208701620004f0565b601f01601f19169190910160400192915050565b610c8e806200069e6000396000f3fe60806040526004361061007f5760003560e01c80638456cb591161004e5780638456cb591461011d5780638f28397014610132578063b187bd2614610152578063f851a440146101775761008e565b80633659cfe6146100965780633f4ba83a146100b65780634f1ef286146100cb5780635c60da1b146100de5761008e565b3661008e5761008c61018c565b005b61008c61018c565b3480156100a257600080fd5b5061008c6100b1366004610abc565b6101a6565b3480156100c257600080fd5b5061008c6101f0565b61008c6100d9366004610ad7565b61027e565b3480156100ea57600080fd5b506100f36102f2565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561012957600080fd5b5061008c61032d565b34801561013e57600080fd5b5061008c61014d366004610abc565b610380565b34801561015e57600080fd5b506101676103ad565b6040519015158152602001610114565b34801561018357600080fd5b506100f361040a565b610194610480565b6101a461019f6104fb565b610505565b565b6101ae610529565b73ffffffffffffffffffffffffffffffffffffffff1633036101e8576101e581604051806020016040528060008152506000610569565b50565b6101e561018c565b6101f8610529565b73ffffffffffffffffffffffffffffffffffffffff16330361027657600061024761024460017fa1c51e2db0fd509c88c4d1d064260a12d10b4b2370d6c629050bf501458f88c0610b5a565b90565b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b6101a461018c565b610286610529565b73ffffffffffffffffffffffffffffffffffffffff1633036102ea576102e58383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610569915050565b505050565b6102e561018c565b60006102fc610529565b73ffffffffffffffffffffffffffffffffffffffff163303610325576103206104fb565b905090565b61024461018c565b610335610529565b73ffffffffffffffffffffffffffffffffffffffff163303610276576001610247610244827fa1c51e2db0fd509c88c4d1d064260a12d10b4b2370d6c629050bf501458f88c0610b5a565b610388610529565b73ffffffffffffffffffffffffffffffffffffffff1633036101e8576101e581610594565b60006103b7610529565b73ffffffffffffffffffffffffffffffffffffffff1633036103255761040161024460017fa1c51e2db0fd509c88c4d1d064260a12d10b4b2370d6c629050bf501458f88c0610b5a565b5460ff16905090565b6000610414610529565b73ffffffffffffffffffffffffffffffffffffffff16330361032557610320610529565b606061045d8383604051806060016040528060278152602001610c32602791396105f5565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b6104ae61024460017fa1c51e2db0fd509c88c4d1d064260a12d10b4b2370d6c629050bf501458f88c0610b5a565b5460ff1615806104bc575033155b156104c9576101a4610722565b6040517f2514f7d400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006103206107f4565b3660008037600080366000845af43d6000803e808015610524573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b5473ffffffffffffffffffffffffffffffffffffffff16919050565b6105728361081c565b60008251118061057f5750805b156102e55761058e8383610438565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6105bd610529565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301520160405180910390a16101e581610869565b606073ffffffffffffffffffffffffffffffffffffffff84163b6106a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff16856040516106c89190610bc4565b600060405180830381855af49150503d8060008114610703576040519150601f19603f3d011682016040523d82523d6000602084013e610708565b606091505b5091509150610718828286610975565b9695505050505050565b61072a610529565b73ffffffffffffffffffffffffffffffffffffffff1633036101a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a401610697565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc61054d565b610825816109c8565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b73ffffffffffffffffffffffffffffffffffffffff811661090c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610697565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b6060831561098457508161045d565b8251156109945782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106979190610be0565b73ffffffffffffffffffffffffffffffffffffffff81163b610a6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e7472616374000000000000000000000000000000000000006064820152608401610697565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc61092f565b803573ffffffffffffffffffffffffffffffffffffffff81168114610ab757600080fd5b919050565b600060208284031215610ace57600080fd5b61045d82610a93565b600080600060408486031215610aec57600080fd5b610af584610a93565b9250602084013567ffffffffffffffff80821115610b1257600080fd5b818601915086601f830112610b2657600080fd5b813581811115610b3557600080fd5b876020828501011115610b4757600080fd5b6020830194508093505050509250925092565b600082821015610b93577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b60005b83811015610bb3578181015183820152602001610b9b565b8381111561058e5750506000910152565b60008251610bd6818460208701610b98565b9190910192915050565b6020815260008251806020840152610bff816040850160208701610b98565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122041ee3a3dc54a29cade862829e1717c50383293c3ead2c15cd91048d7038edffe64736f6c634300080d0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000e775ef9ccef7300322fae0b3d6b9c5dd039cbc36000000000000000000000000ba8e90e82ae33ebf6ab1c451fe135546e86d0eab00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000144dfbe50dd000000000000000000000000b3eb29ac481fcfafa7008a4acf04737c7d6733ea000000000000000000000000b3eb29ac481fcfafa7008a4acf04737c7d6733ea0000000000000000000000004242424242424242424242424242424242424242000000000000000000000000f8710b7d167e372343a45418a0ade5b567d441490000000000000000000000008829d1485da831824d46c8b2fd1edeba0f3e1bda0000000000000000000000006b93775d3d31157d9c3953e196fe4ed7278ee5ba00000000000000000000000000000000000000000000000000000000000002bc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001388000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061007f5760003560e01c80638456cb591161004e5780638456cb591461011d5780638f28397014610132578063b187bd2614610152578063f851a440146101775761008e565b80633659cfe6146100965780633f4ba83a146100b65780634f1ef286146100cb5780635c60da1b146100de5761008e565b3661008e5761008c61018c565b005b61008c61018c565b3480156100a257600080fd5b5061008c6100b1366004610abc565b6101a6565b3480156100c257600080fd5b5061008c6101f0565b61008c6100d9366004610ad7565b61027e565b3480156100ea57600080fd5b506100f36102f2565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561012957600080fd5b5061008c61032d565b34801561013e57600080fd5b5061008c61014d366004610abc565b610380565b34801561015e57600080fd5b506101676103ad565b6040519015158152602001610114565b34801561018357600080fd5b506100f361040a565b610194610480565b6101a461019f6104fb565b610505565b565b6101ae610529565b73ffffffffffffffffffffffffffffffffffffffff1633036101e8576101e581604051806020016040528060008152506000610569565b50565b6101e561018c565b6101f8610529565b73ffffffffffffffffffffffffffffffffffffffff16330361027657600061024761024460017fa1c51e2db0fd509c88c4d1d064260a12d10b4b2370d6c629050bf501458f88c0610b5a565b90565b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b6101a461018c565b610286610529565b73ffffffffffffffffffffffffffffffffffffffff1633036102ea576102e58383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610569915050565b505050565b6102e561018c565b60006102fc610529565b73ffffffffffffffffffffffffffffffffffffffff163303610325576103206104fb565b905090565b61024461018c565b610335610529565b73ffffffffffffffffffffffffffffffffffffffff163303610276576001610247610244827fa1c51e2db0fd509c88c4d1d064260a12d10b4b2370d6c629050bf501458f88c0610b5a565b610388610529565b73ffffffffffffffffffffffffffffffffffffffff1633036101e8576101e581610594565b60006103b7610529565b73ffffffffffffffffffffffffffffffffffffffff1633036103255761040161024460017fa1c51e2db0fd509c88c4d1d064260a12d10b4b2370d6c629050bf501458f88c0610b5a565b5460ff16905090565b6000610414610529565b73ffffffffffffffffffffffffffffffffffffffff16330361032557610320610529565b606061045d8383604051806060016040528060278152602001610c32602791396105f5565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b6104ae61024460017fa1c51e2db0fd509c88c4d1d064260a12d10b4b2370d6c629050bf501458f88c0610b5a565b5460ff1615806104bc575033155b156104c9576101a4610722565b6040517f2514f7d400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006103206107f4565b3660008037600080366000845af43d6000803e808015610524573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b5473ffffffffffffffffffffffffffffffffffffffff16919050565b6105728361081c565b60008251118061057f5750805b156102e55761058e8383610438565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6105bd610529565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301520160405180910390a16101e581610869565b606073ffffffffffffffffffffffffffffffffffffffff84163b6106a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff16856040516106c89190610bc4565b600060405180830381855af49150503d8060008114610703576040519150601f19603f3d011682016040523d82523d6000602084013e610708565b606091505b5091509150610718828286610975565b9695505050505050565b61072a610529565b73ffffffffffffffffffffffffffffffffffffffff1633036101a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a401610697565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc61054d565b610825816109c8565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b73ffffffffffffffffffffffffffffffffffffffff811661090c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610697565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b6060831561098457508161045d565b8251156109945782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106979190610be0565b73ffffffffffffffffffffffffffffffffffffffff81163b610a6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e7472616374000000000000000000000000000000000000006064820152608401610697565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc61092f565b803573ffffffffffffffffffffffffffffffffffffffff81168114610ab757600080fd5b919050565b600060208284031215610ace57600080fd5b61045d82610a93565b600080600060408486031215610aec57600080fd5b610af584610a93565b9250602084013567ffffffffffffffff80821115610b1257600080fd5b818601915086601f830112610b2657600080fd5b813581811115610b3557600080fd5b876020828501011115610b4757600080fd5b6020830194508093505050509250925092565b600082821015610b93577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b60005b83811015610bb3578181015183820152602001610b9b565b8381111561058e5750506000910152565b60008251610bd6818460208701610b98565b9190910192915050565b6020815260008251806020840152610bff816040850160208701610b98565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122041ee3a3dc54a29cade862829e1717c50383293c3ead2c15cd91048d7038edffe64736f6c634300080d0033

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

000000000000000000000000e775ef9ccef7300322fae0b3d6b9c5dd039cbc36000000000000000000000000ba8e90e82ae33ebf6ab1c451fe135546e86d0eab00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000144dfbe50dd000000000000000000000000b3eb29ac481fcfafa7008a4acf04737c7d6733ea000000000000000000000000b3eb29ac481fcfafa7008a4acf04737c7d6733ea0000000000000000000000004242424242424242424242424242424242424242000000000000000000000000f8710b7d167e372343a45418a0ade5b567d441490000000000000000000000008829d1485da831824d46c8b2fd1edeba0f3e1bda0000000000000000000000006b93775d3d31157d9c3953e196fe4ed7278ee5ba00000000000000000000000000000000000000000000000000000000000002bc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001388000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _logic (address): 0xe775ef9CCEF7300322FaE0b3D6B9C5Dd039Cbc36
Arg [1] : admin_ (address): 0xbA8E90E82ae33EBf6ab1c451Fe135546E86D0Eab
Arg [2] : _data (bytes): 0xdfbe50dd000000000000000000000000b3eb29ac481fcfafa7008a4acf04737c7d6733ea000000000000000000000000b3eb29ac481fcfafa7008a4acf04737c7d6733ea0000000000000000000000004242424242424242424242424242424242424242000000000000000000000000f8710b7d167e372343a45418a0ade5b567d441490000000000000000000000008829d1485da831824d46c8b2fd1edeba0f3e1bda0000000000000000000000006b93775d3d31157d9c3953e196fe4ed7278ee5ba00000000000000000000000000000000000000000000000000000000000002bc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013880000000000000000000000000000000000000000000000000000000000001388

-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 000000000000000000000000e775ef9ccef7300322fae0b3d6b9c5dd039cbc36
Arg [1] : 000000000000000000000000ba8e90e82ae33ebf6ab1c451fe135546e86d0eab
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000144
Arg [4] : dfbe50dd000000000000000000000000b3eb29ac481fcfafa7008a4acf04737c
Arg [5] : 7d6733ea000000000000000000000000b3eb29ac481fcfafa7008a4acf04737c
Arg [6] : 7d6733ea00000000000000000000000042424242424242424242424242424242
Arg [7] : 42424242000000000000000000000000f8710b7d167e372343a45418a0ade5b5
Arg [8] : 67d441490000000000000000000000008829d1485da831824d46c8b2fd1edeba
Arg [9] : 0f3e1bda0000000000000000000000006b93775d3d31157d9c3953e196fe4ed7
Arg [10] : 278ee5ba00000000000000000000000000000000000000000000000000000000
Arg [11] : 000002bc00000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000138800000000000000000000000000000000000000000000000000000000
Arg [14] : 0000138800000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

427:1372:8:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2898:11:3;:9;:11::i;:::-;427:1372:8;;2675:11:3;:9;:11::i;4032:134:5:-;;;;;;;;;;-1:-1:-1;4032:134:5;;;;;:::i;:::-;;:::i;1129:106:8:-;;;;;;;;;;;;;:::i;4542:164:5:-;;;;;;:::i;:::-;;:::i;3435:129::-;;;;;;;;;;;;;:::i;:::-;;;1252:42:9;1240:55;;;1222:74;;1210:2;1195:18;3435:129:5;;;;;;;;991:103:8;;;;;;;;;;;;;:::i;3769::5:-;;;;;;;;;;-1:-1:-1;3769:103:5;;;;;:::i;:::-;;:::i;837:121:8:-;;;;;;;;;;;;;:::i;:::-;;;1472:14:9;;1465:22;1447:41;;1435:2;1420:18;837:121:8;1307:187:9;2879:96:5;;;;;;;;;;;;;:::i;2322:110:3:-;2370:17;:15;:17::i;:::-;2397:28;2407:17;:15;:17::i;:::-;2397:9;:28::i;:::-;2322:110::o;4032:134:5:-;2350:11;:9;:11::i;:::-;2336:25;;:10;:25;2332:99;;4105:54:::1;4123:17;4142:9;;;;;;;;;;;::::0;4153:5:::1;4105:17;:54::i;:::-;4032:134:::0;:::o;2332:99::-;2409:11;:9;:11::i;1129:106:8:-;2350:11:5;:9;:11::i;:::-;2336:25;;:10;:25;2332:99;;1223:5:8::1;1175:39;529:45;573:1;537:32;529:45;:::i;:::-;1726:4:7::0;1599:147;1175:39:8::1;:53:::0;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;2322:110:3:o;2332:99:5:-;2409:11;:9;:11::i;4542:164::-;2350:11;:9;:11::i;:::-;2336:25;;:10;:25;2332:99;;4651:48:::1;4669:17;4688:4;;4651:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;4694:4:5::1;::::0;-1:-1:-1;4651:17:5::1;::::0;-1:-1:-1;;4651:48:5:i:1;:::-;4542:164:::0;;;:::o;2332:99::-;2409:11;:9;:11::i;3435:129::-;3487:23;2350:11;:9;:11::i;:::-;2336:25;;:10;:25;2332:99;;3540:17:::1;:15;:17::i;:::-;3522:35;;1726:4:7::0;1599:147;2332:99:5;2409:11;:9;:11::i;991:103:8:-;2350:11:5;:9;:11::i;:::-;2336:25;;:10;:25;2332:99;;1083:4:8::1;1035:39;529:45;1083:4:::0;537:32:::1;529:45;:::i;3769:103:5:-:0;2350:11;:9;:11::i;:::-;2336:25;;:10;:25;2332:99;;3843:22:::1;3856:8;3843:12;:22::i;837:121:8:-:0;883:4;2350:11:5;:9;:11::i;:::-;2336:25;;:10;:25;2332:99;;906:39:8::1;529:45;573:1;537:32;529:45;:::i;906:39::-;:45:::0;::::1;;::::0;-1:-1:-1;1726:4:7;1599:147;2879:96:5;2922:14;2350:11;:9;:11::i;:::-;2336:25;;:10;:25;2332:99;;2957:11:::1;:9;:11::i;6570:198:6:-:0;6653:12;6684:77;6705:6;6713:4;6684:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;6677:84;6570:198;-1:-1:-1;;;6570:198:6:o;1175:320::-;1465:19;;;:23;;;1175:320::o;1546:251:8:-;1605:39;529:45;573:1;537:32;529:45;:::i;1605:39::-;:45;;;:54;;:82;;-1:-1:-1;1663:10:8;:24;1605:82;1601:190;;;1703:23;:21;:23::i;1601:190::-;1764:16;;;;;;;;;;;;;;1240:140:1;1307:12;1338:35;:33;:35::i;948:895:3:-;1286:14;1283:1;1280;1267:34;1500:1;1497;1481:14;1478:1;1462:14;1455:5;1442:60;1576:16;1573:1;1570;1555:38;1614:6;1681:66;;;;1796:16;1793:1;1786:27;1681:66;1716:16;1713:1;1706:27;4108:122:2;4152:7;3842:66;4178:39;:45;;;;4108:122;-1:-1:-1;4108:122:2:o;2183:295::-;2321:29;2332:17;2321:10;:29::i;:::-;2378:1;2364:4;:11;:15;:28;;;;2383:9;2364:28;2360:112;;;2408:53;2437:17;2456:4;2408:28;:53::i;:::-;;2183:295;;;:::o;4624:135::-;4688:35;4701:11;:9;:11::i;:::-;4688:35;;;1967:42:9;2036:15;;;2018:34;;2088:15;;;2083:2;2068:18;;2061:43;1930:18;4688:35:2;;;;;;;4733:19;4743:8;4733:9;:19::i;6954:387:6:-;7095:12;1465:19;;;;7119:69;;;;;;;2317:2:9;7119:69:6;;;2299:21:9;2356:2;2336:18;;;2329:30;2395:34;2375:18;;;2368:62;2466:8;2446:18;;;2439:36;2492:19;;7119:69:6;;;;;;;;;7200:12;7214:23;7241:6;:19;;7261:4;7241:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7199:67;;;;7283:51;7300:7;7309:10;7321:12;7283:16;:51::i;:::-;7276:58;6954:387;-1:-1:-1;;;;;;6954:387:6:o;4981:207:5:-;5066:11;:9;:11::i;:::-;5052:25;;:10;:25;5044:104;;;;;;;3266:2:9;5044:104:5;;;3248:21:9;3305:2;3285:18;;;3278:30;3344:34;3324:18;;;3317:62;3415:34;3395:18;;;3388:62;3487:4;3466:19;;;3459:33;3509:19;;5044:104:5;3064:470:9;1301:140:2;1354:7;1030:66;1380:48;1599:147:7;1897:152:2;1963:37;1982:17;1963:18;:37::i;:::-;2015:27;;;;;;;;;;;1897:152;:::o;4312:201::-;4375:22;;;4367:73;;;;;;;3741:2:9;4367:73:2;;;3723:21:9;3780:2;3760:18;;;3753:30;3819:34;3799:18;;;3792:62;3890:8;3870:18;;;3863:36;3916:19;;4367:73:2;3539:402:9;4367:73:2;4498:8;3842:66;4450:39;:56;;;;;;;;;;;;;;;-1:-1:-1;4312:201:2:o;7561:692:6:-;7707:12;7735:7;7731:516;;;-1:-1:-1;7765:10:6;7758:17;;7731:516;7876:17;;:21;7872:365;;8070:10;8064:17;8130:15;8117:10;8113:2;8109:19;8102:44;7872:365;8209:12;8202:20;;;;;;;;;;;:::i;1532:259:2:-;1465:19:6;;;;1605:95:2;;;;;;;4595:2:9;1605:95:2;;;4577:21:9;4634:2;4614:18;;;4607:30;4673:34;4653:18;;;4646:62;4744:15;4724:18;;;4717:43;4777:19;;1605:95:2;4393:409:9;1605:95:2;1767:17;1030:66;1710:48;1599:147:7;14:196:9;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:52;;;343:1;340;333:12;295:52;366:29;385:9;366:29;:::i;406:665::-;485:6;493;501;554:2;542:9;533:7;529:23;525:32;522:52;;;570:1;567;560:12;522:52;593:29;612:9;593:29;:::i;:::-;583:39;;673:2;662:9;658:18;645:32;696:18;737:2;729:6;726:14;723:34;;;753:1;750;743:12;723:34;791:6;780:9;776:22;766:32;;836:7;829:4;825:2;821:13;817:27;807:55;;858:1;855;848:12;807:55;898:2;885:16;924:2;916:6;913:14;910:34;;;940:1;937;930:12;910:34;985:7;980:2;971:6;967:2;963:15;959:24;956:37;953:57;;;1006:1;1003;996:12;953:57;1037:2;1033;1029:11;1019:21;;1059:6;1049:16;;;;;406:665;;;;;:::o;1499:279::-;1539:4;1567:1;1564;1561:8;1558:188;;;1602:77;1599:1;1592:88;1703:4;1700:1;1693:15;1731:4;1728:1;1721:15;1558:188;-1:-1:-1;1763:9:9;;1499:279::o;2522:258::-;2594:1;2604:113;2618:6;2615:1;2612:13;2604:113;;;2694:11;;;2688:18;2675:11;;;2668:39;2640:2;2633:10;2604:113;;;2735:6;2732:1;2729:13;2726:48;;;-1:-1:-1;;2770:1:9;2752:16;;2745:27;2522:258::o;2785:274::-;2914:3;2952:6;2946:13;2968:53;3014:6;3009:3;3002:4;2994:6;2990:17;2968:53;:::i;:::-;3037:16;;;;;2785:274;-1:-1:-1;;2785:274:9:o;3946:442::-;4095:2;4084:9;4077:21;4058:4;4127:6;4121:13;4170:6;4165:2;4154:9;4150:18;4143:34;4186:66;4245:6;4240:2;4229:9;4225:18;4220:2;4212:6;4208:15;4186:66;:::i;:::-;4304:2;4292:15;4309:66;4288:88;4273:104;;;;4379:2;4269:113;;3946:442;-1:-1:-1;;3946:442:9:o

Swarm Source

ipfs://41ee3a3dc54a29cade862829e1717c50383293c3ead2c15cd91048d7038edffe

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.