Contract 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a35

Contract Overview

Balance:
0 HT

HT Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x5b2d61b84fd807c834471d7153cbd08c6ec84fc9f57f710cebaea4e2d580e933Withdraw105767072021-12-04 13:22:333 hrs 43 mins ago0xe2b3213a7c21fde2c2710488edf1710c9375a3a5 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00021369752.5
0x360306125c63066dedd6a3f8b9efe83dadb89f25a8f752ea789a7f3921c6d8e0Withdraw105743672021-12-04 11:25:335 hrs 40 mins ago0x6da34febf60fc0e09983f93ec2c2214a64520229 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00021369752.5
0xf7c28af7c029c44bfc2f03e8db9b6edcabd2403b93a78449810fe50fefd595ebWithdraw105704032021-12-04 8:07:218 hrs 58 mins ago0x2219be17641d94ea8a2da83a96619f0a3280dd12 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00021369752.5
0xf7ea018797d62a58ce9cf514d587d140b07361a2acaceaf3f92542bca1c4c570Withdraw105690032021-12-04 6:57:2110 hrs 8 mins ago0x5772b588052280c265260777bbc69f80035bfef7 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00021369752.5
0x3c8e85c5dd38f217940550c8c2b70d3be573c6ace14d0d253a054f47ff4d7e5bWithdraw105688012021-12-04 6:47:1510 hrs 18 mins ago0x5e110ad0353160c23ad7ecea31279297452d44f9 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00021369752.5
0xec365cdf135f2a97fe54057fae1c258a96aad1f4d71a54b53110d5c91f1cbfdeWithdraw105670572021-12-04 5:20:0311 hrs 46 mins ago0x9e7de153bcbe3a33a451ef8ceef4accabcabeeb3 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00021369752.5
0xa4032b6149f9afb3e58b0816c3c7e22e923d204ce670067230ebdf72a482a13dWithdraw105644132021-12-04 3:07:5113 hrs 58 mins ago0x243895cd77fe02d43b492e43c720bbd07ed51c21 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00021369752.5
0x35aa81ee7105902b4f74415799299c65a934d29d55dfccf488bd151f36d3daffWithdraw105643702021-12-04 3:05:4214 hrs ago0x72f270bcfa78b2a126d4990694ae5d0f7cfc66b7 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00021369752.5
0x99b074faa662efd3e0dda46dc12cd1de98421abe5edbd1d9e664f3aa6d3cd8daWithdraw105643522021-12-04 3:04:4814 hrs 1 min ago0x918eb77cb0704df4d52e0d16c59703854edc02c6 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00021369752.5
0x1aea3633fb50e6cd710540e10e6907e0af6d86d7b2af0ff54f172d5bfe714e0dWithdraw105631052021-12-04 2:02:2715 hrs 3 mins ago0xda93fc472f4fa8fbcf83c4bed8c67c4ea61d5119 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00021369752.5
0xcb78c2a91dbd727016bf4f4e39fbb3cca694f990510d6a8da05bb2f9acfdd7efWithdraw105630892021-12-04 2:01:3915 hrs 4 mins ago0xda93fc472f4fa8fbcf83c4bed8c67c4ea61d5119 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00021369752.5
0x2bb4d249d2dbe5ce1c9ffcf76a3c13796160f78f7ca804b4f7c6ba56031de8deWithdraw105622072021-12-04 1:17:3315 hrs 48 mins ago0x1104a3205bdb3c0191ce889ae93e725508e9aaa9 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00021369752.5
0xad75cade2fe58b687a01828588645a829a228221ede37fdfdd4424b5eb10f6fbWithdraw105621682021-12-04 1:15:3615 hrs 50 mins ago0xfa1de1449771f9c526a9f84f4efca20a790063fb IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00022069752.5
0x70377740d118ab461d44e2d51c44eda8ef57dd545e711ad0a601836707b6c2aaWithdraw105571232021-12-03 21:03:2120 hrs 2 mins ago0x933bccc7b82574c1a533a1b9d52b940509c98685 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00022069752.5
0x8cbc60d0202a8a2e9b43377b77ae2e4ebe0964a27483e7f04069690e2ef29628Withdraw105472422021-12-03 12:49:181 day 4 hrs ago0x3b32607a394b567a0f32997ceddc4dd58697e423 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00022069752.5
0xd9cc8b713c305c05df868dbde63fbdf92de8bc1e17b1dfd638831e2352cb1620Withdraw105469702021-12-03 12:35:421 day 4 hrs ago0xce04d6c08f563009b960101477812ff02891e649 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00026344752.5
0xfe92f968fbfd972c669f56c6e6e688b5936a0a35df30c7b51eaab8b4e3eef90dWithdraw105461342021-12-03 11:53:541 day 5 hrs ago0xad942c3c274e788c4e72674a85520cd4603b53c1 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00021369752.5
0x6d1e34e7b525eb223532723450efde56a7adae6acea084c0c19bb40a16ad8b29Withdraw105446692021-12-03 10:40:391 day 6 hrs ago0x23a9f3fced110860af5880ad5ee9e9c0640979f8 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00025644752.5
0x697d65d358c836a405e7b0140d5eb5cc4b37f584a1b9ede06b7bb618353a30b4Withdraw105446332021-12-03 10:38:511 day 6 hrs ago0x0f2c7566bc07358edfac1632fac0c5dc5775087e IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00025644752.5
0xfc29399518252c97f97c64f3b2d7dd8a4a5405744158145810f1a808da69bc82Withdraw105429632021-12-03 9:15:211 day 7 hrs ago0x3aa1f581c7c8fa0abe9e1ba09caf7eb0508fb622 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00021369752.5
0x709280f11c26a33adf022f21fa4123e2e83d23ebf217b10526d480acecfc431cWithdraw105417942021-12-03 8:16:541 day 8 hrs ago0x9ffa2f7b3bac4e834c598023a60f1eed1fa44da7 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00022069752.5
0xfe45aa7aeedab5585f6ae69f38e9bd65a2e4cb6c007af588d10ebb0ae8b78a05Withdraw105413992021-12-03 7:57:091 day 9 hrs ago0xb688c4643903bb69f72c71c31c0e0ab251161012 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00026344752.5
0xc2914a3ceae8e7cb76c993e1376f785b2a9619fb8ef00606e43336c7186aa5cdWithdraw105413752021-12-03 7:55:571 day 9 hrs ago0xbddf79731430030fb6c081712909b56a12bae8c4 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00021369752.5
0x6662f2c0411459b67788406276429a43cdc9ab90c28fc392044e0e9dedcf897eWithdraw105413422021-12-03 7:54:181 day 9 hrs ago0x34e354f32053c48733ce408ef836751a8ad8b468 IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00025644752.5
0x37a581d549ddf1db8debfcb22cdd57e273eeba98bf19e3dbf98e38ced920888eWithdraw105413272021-12-03 7:53:331 day 9 hrs ago0x365ab47ef7f539ed96422fc46718af92be095f5a IN 0x3fc4769f5d8ddfc1b6bbeced34c56d91386a7a350 HT0.00021369752.5
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TransparentUpgradeableProxy

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at hecoinfo.com on 2021-10-13
*/

// Sources flattened with hardhat v2.6.4 https://hardhat.org

// File @openzeppelin/contracts/proxy/[email protected]

// SPDX-License-Identifier: MIT

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 internall 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 @openzeppelin/contracts/proxy/beacon/[email protected]



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 @openzeppelin/contracts/utils/[email protected]



pragma solidity ^0.8.0;

/**
 * @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;
        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");

        (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 @openzeppelin/contracts/utils/[email protected]



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
        }
    }
}


// File @openzeppelin/contracts/proxy/ERC1967/[email protected]



pragma solidity ^0.8.2;



/**
 * @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 _upgradeToAndCallSecure(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        address oldImplementation = _getImplementation();

        // Initial upgrade and setup call
        _setImplementation(newImplementation);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(newImplementation, data);
        }

        // Perform rollback test if not already in progress
        StorageSlot.BooleanSlot storage rollbackTesting = StorageSlot.getBooleanSlot(_ROLLBACK_SLOT);
        if (!rollbackTesting.value) {
            // Trigger rollback using upgradeTo from the new implementation
            rollbackTesting.value = true;
            Address.functionDelegateCall(
                newImplementation,
                abi.encodeWithSignature("upgradeTo(address)", oldImplementation)
            );
            rollbackTesting.value = false;
            // Check rollback was effective
            require(oldImplementation == _getImplementation(), "ERC1967Upgrade: upgrade breaks further upgrades");
            // Finally reset to the new implementation and log the upgrade
            _upgradeTo(newImplementation);
        }
    }

    /**
     * @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 @openzeppelin/contracts/proxy/ERC1967/[email protected]



pragma solidity ^0.8.0;


/**
 * @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 contracts/TransparentUpgradeableProxy.sol



pragma solidity ^0.8.0;

/**
 * @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();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"address","name":"admin_","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":[{"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"}]

608060405260405162001a1938038062001a198339818101604052810190620000299190620006c6565b828160017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd60001c6200005d919062000994565b60001b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b14620000b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b620000cd828260006200017760201b60201c565b505060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610460001c62000101919062000994565b60001b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b146200015d577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b6200016e82620001ba60201b60201c565b50505062000bef565b62000188836200021860201b60201c565b600082511180620001965750805b15620001b557620001b383836200026f60201b6200034f1760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f620001eb620002a560201b60201c565b82604051620001fc9291906200084c565b60405180910390a162000215816200030960201b60201c565b50565b6200022981620003fa60201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b60606200029d8383604051806060016040528060278152602001620019f260279139620004d060201b60201c565b905092915050565b6000620002e07fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b620005b460201b6200037c1760201c565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200037c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000373906200089d565b60405180910390fd5b80620003b67fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b620005b460201b6200037c1760201c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6200041081620005be60201b620003861760201c565b62000452576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200044990620008bf565b60405180910390fd5b806200048c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b620005b460201b6200037c1760201c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060620004e384620005be60201b60201c565b62000525576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200051c90620008e1565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff16856040516200054f919062000833565b600060405180830381855af49150503d80600081146200058c576040519150601f19603f3d011682016040523d82523d6000602084013e62000591565b606091505b5091509150620005a9828286620005d160201b60201c565b925050509392505050565b6000819050919050565b600080823b905060008111915050919050565b60608315620005e35782905062000636565b600083511115620005f75782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200062d919062000879565b60405180910390fd5b9392505050565b6000620006546200064e846200092c565b62000903565b9050828152602081018484840111156200066d57600080fd5b6200067a84828562000a0d565b509392505050565b600081519050620006938162000bd5565b92915050565b600082601f830112620006ab57600080fd5b8151620006bd8482602086016200063d565b91505092915050565b600080600060608486031215620006dc57600080fd5b6000620006ec8682870162000682565b9350506020620006ff8682870162000682565b925050604084015167ffffffffffffffff8111156200071d57600080fd5b6200072b8682870162000699565b9150509250925092565b6200074081620009cf565b82525050565b6000620007538262000962565b6200075f818562000978565b93506200077181856020860162000a0d565b80840191505092915050565b60006200078a826200096d565b62000796818562000983565b9350620007a881856020860162000a0d565b620007b38162000ad7565b840191505092915050565b6000620007cd60268362000983565b9150620007da8262000ae8565b604082019050919050565b6000620007f4602d8362000983565b9150620008018262000b37565b604082019050919050565b60006200081b60268362000983565b9150620008288262000b86565b604082019050919050565b600062000841828462000746565b915081905092915050565b600060408201905062000863600083018562000735565b62000872602083018462000735565b9392505050565b600060208201905081810360008301526200089581846200077d565b905092915050565b60006020820190508181036000830152620008b881620007be565b9050919050565b60006020820190508181036000830152620008da81620007e5565b9050919050565b60006020820190508181036000830152620008fc816200080c565b9050919050565b60006200090f62000922565b90506200091d828262000a43565b919050565b6000604051905090565b600067ffffffffffffffff8211156200094a576200094962000aa8565b5b620009558262000ad7565b9050602081019050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000620009a18262000a03565b9150620009ae8362000a03565b925082821015620009c457620009c362000a79565b5b828203905092915050565b6000620009dc82620009e3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000a2d57808201518184015260208101905062000a10565b8381111562000a3d576000848401525b50505050565b62000a4e8262000ad7565b810181811067ffffffffffffffff8211171562000a705762000a6f62000aa8565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243313936373a206e65772061646d696e20697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b62000be081620009cf565b811462000bec57600080fd5b50565b610df38062000bff6000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100675780634f1ef286146100905780635c60da1b146100ac5780638f283970146100d7578063f851a440146101005761005d565b3661005d5761005b61012b565b005b61006561012b565b005b34801561007357600080fd5b5061008e600480360381019061008991906108f2565b610145565b005b6100aa60048036038101906100a5919061091b565b6101ac565b005b3480156100b857600080fd5b506100c161024a565b6040516100ce9190610a8f565b60405180910390f35b3480156100e357600080fd5b506100fe60048036038101906100f991906108f2565b6102a2565b005b34801561010c57600080fd5b506101156102f7565b6040516101229190610a8f565b60405180910390f35b610133610399565b61014361013e610419565b610428565b565b61014d61044e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156101a05761019b816040518060200160405280600081525060006104a5565b6101a9565b6101a861012b565b5b50565b6101b461044e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561023c576102378383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060016104a5565b610245565b61024461012b565b5b505050565b600061025461044e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102965761028f610419565b905061029f565b61029e61012b565b5b90565b6102aa61044e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102eb576102e6816104d1565b6102f4565b6102f361012b565b5b50565b600061030161044e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103435761033c61044e565b905061034c565b61034b61012b565b5b90565b60606103748383604051806060016040528060278152602001610d976027913961051d565b905092915050565b6000819050919050565b600080823b905060008111915050919050565b6103a161044e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561040f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161040690610b55565b60405180910390fd5b6104176105ea565b565b60006104236105ec565b905090565b3660008037600080366000845af43d6000803e8060008114610449573d6000f35b3d6000fd5b600061047c7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b61037c565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6104ae83610643565b6000825111806104bb5750805b156104cc576104ca838361034f565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6104fa61044e565b82604051610509929190610aaa565b60405180910390a161051a81610692565b50565b606061052884610386565b610567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055e90610b35565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161058f9190610a78565b600060405180830381855af49150503d80600081146105ca576040519150601f19603f3d011682016040523d82523d6000602084013e6105cf565b606091505b50915091506105df828286610773565b925050509392505050565b565b600061061a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61037c565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61064c816107da565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f990610af5565b60405180910390fd5b8061072f7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b61037c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60608315610783578290506107d3565b6000835111156107965782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ca9190610ad3565b60405180910390fd5b9392505050565b6107e381610386565b610822576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081990610b15565b60405180910390fd5b8061084f7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61037c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000813590506108a281610d7f565b92915050565b60008083601f8401126108ba57600080fd5b8235905067ffffffffffffffff8111156108d357600080fd5b6020830191508360018202830111156108eb57600080fd5b9250929050565b60006020828403121561090457600080fd5b600061091284828501610893565b91505092915050565b60008060006040848603121561093057600080fd5b600061093e86828701610893565b935050602084013567ffffffffffffffff81111561095b57600080fd5b610967868287016108a8565b92509250509250925092565b61097c81610ba7565b82525050565b600061098d82610b75565b6109978185610b8b565b93506109a7818560208601610bd9565b80840191505092915050565b60006109be82610b80565b6109c88185610b96565b93506109d8818560208601610bd9565b6109e181610c0c565b840191505092915050565b60006109f9602683610b96565b9150610a0482610c1d565b604082019050919050565b6000610a1c602d83610b96565b9150610a2782610c6c565b604082019050919050565b6000610a3f602683610b96565b9150610a4a82610cbb565b604082019050919050565b6000610a62604283610b96565b9150610a6d82610d0a565b606082019050919050565b6000610a848284610982565b915081905092915050565b6000602082019050610aa46000830184610973565b92915050565b6000604082019050610abf6000830185610973565b610acc6020830184610973565b9392505050565b60006020820190508181036000830152610aed81846109b3565b905092915050565b60006020820190508181036000830152610b0e816109ec565b9050919050565b60006020820190508181036000830152610b2e81610a0f565b9050919050565b60006020820190508181036000830152610b4e81610a32565b9050919050565b60006020820190508181036000830152610b6e81610a55565b9050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000610bb282610bb9565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015610bf7578082015181840152602081019050610bdc565b83811115610c06576000848401525b50505050565b6000601f19601f8301169050919050565b7f455243313936373a206e65772061646d696e20697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60008201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760208201527f6574000000000000000000000000000000000000000000000000000000000000604082015250565b610d8881610ba7565b8114610d9357600080fd5b5056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122079f57b9f56cc1e996a8c8d8b3179746e76bf629ec2e4a138c9999e632270bd4164736f6c63430008020033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c656400000000000000000000000056e69ad26d30069b5948389fd8f7c2598afa55bb00000000000000000000000084d169769297874fe2852c6c51e9db80e17987d000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000044485cc95500000000000000000000000086040c76aae5cbb322364caf8820b0e8902e97e50000000000000000000000003d9a66c4ccaf90b798ef40bf55d9c2caef3f40d400000000000000000000000000000000000000000000000000000000

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

00000000000000000000000056e69ad26d30069b5948389fd8f7c2598afa55bb00000000000000000000000084d169769297874fe2852c6c51e9db80e17987d000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000044485cc95500000000000000000000000086040c76aae5cbb322364caf8820b0e8902e97e50000000000000000000000003d9a66c4ccaf90b798ef40bf55d9c2caef3f40d400000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _logic (address): 0x56e69ad26d30069b5948389fd8f7c2598afa55bb
Arg [1] : admin_ (address): 0x84d169769297874fe2852c6c51e9db80e17987d0
Arg [2] : _data (bytes): 0x485cc95500000000000000000000000086040c76aae5cbb322364caf8820b0e8902e97e50000000000000000000000003d9a66c4ccaf90b798ef40bf55d9c2caef3f40d4

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 00000000000000000000000056e69ad26d30069b5948389fd8f7c2598afa55bb
Arg [1] : 00000000000000000000000084d169769297874fe2852c6c51e9db80e17987d0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000044
Arg [4] : 485cc95500000000000000000000000086040c76aae5cbb322364caf8820b0e8
Arg [5] : 902e97e50000000000000000000000003d9a66c4ccaf90b798ef40bf55d9c2ca
Arg [6] : ef3f40d400000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

24186:3652:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3029:11;:9;:11::i;:::-;24186:3652;;2798:11;:9;:11::i;:::-;24186:3652;26651:136;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;27172:166;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;26034:131;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;26379:105;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;25465:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2435:113;2484:17;:15;:17::i;:::-;2512:28;2522:17;:15;:17::i;:::-;2512:9;:28::i;:::-;2435:113::o;26651:136::-;24920:11;:9;:11::i;:::-;24906:25;;:10;:25;;;24902:103;;;26725:54:::1;26743:17;26762:9;;;;;;;;;;;::::0;26773:5:::1;26725:17;:54::i;:::-;24902:103:::0;;;24982:11;:9;:11::i;:::-;24902:103;26651:136;:::o;27172:166::-;24920:11;:9;:11::i;:::-;24906:25;;:10;:25;;;24902:103;;;27282:48:::1;27300:17;27319:4;;27282:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27325:4;27282:17;:48::i;:::-;24902:103:::0;;;24982:11;:9;:11::i;:::-;24902:103;27172:166;;;:::o;26034:131::-;26086:23;24920:11;:9;:11::i;:::-;24906:25;;:10;:25;;;24902:103;;;26140:17:::1;:15;:17::i;:::-;26122:35;;24902:103:::0;;;24982:11;:9;:11::i;:::-;24902:103;26034:131;:::o;26379:105::-;24920:11;:9;:11::i;:::-;24906:25;;:10;:25;;;24902:103;;;26454:22:::1;26467:8;26454:12;:22::i;:::-;24902:103:::0;;;24982:11;:9;:11::i;:::-;24902:103;26379:105;:::o;25465:98::-;25508:14;24920:11;:9;:11::i;:::-;24906:25;;:10;:25;;;24902:103;;;25544:11:::1;:9;:11::i;:::-;25535:20;;24902:103:::0;;;24982:11;:9;:11::i;:::-;24902:103;25465:98;:::o;10203:200::-;10286:12;10318:77;10339:6;10347:4;10318:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;10311:84;;10203:200;;;;:::o;13567:151::-;13628:21;13696:4;13686:14;;13671:40;;;:::o;4609:387::-;4669:4;4877:12;4944:7;4932:20;4924:28;;4987:1;4980:4;:8;4973:15;;;4609:387;;;:::o;27625:210::-;27711:11;:9;:11::i;:::-;27697:25;;:10;:25;;;;27689:104;;;;;;;;;;;;:::i;:::-;;;;;;;;;27804:23;:21;:23::i;:::-;27625:210::o;22478:142::-;22545:12;22577:35;:33;:35::i;:::-;22570:42;;22478:142;:::o;1025:918::-;1368:14;1365:1;1362;1349:34;1586:1;1583;1567:14;1564:1;1548:14;1541:5;1528:60;1665:16;1662:1;1659;1644:38;1705:6;1779:1;1774:68;;;;1893:16;1890:1;1883:27;1774:68;1810:16;1807:1;1800:27;18810:124;18854:7;18881:39;18534:66;18908:11;;18881:26;:39::i;:::-;:45;;;;;;;;;;;;18874:52;;18810:124;:::o;16544:304::-;16687:29;16698:17;16687:10;:29::i;:::-;16745:1;16731:4;:11;:15;:28;;;;16750:9;16731:28;16727:114;;;16776:53;16805:17;16824:4;16776:28;:53::i;:::-;;16727:114;16544:304;;;:::o;19343:138::-;19408:35;19421:11;:9;:11::i;:::-;19434:8;19408:35;;;;;;;:::i;:::-;;;;;;;;19454:19;19464:8;19454:9;:19::i;:::-;19343:138;:::o;10597:396::-;10742:12;10775:18;10786:6;10775:10;:18::i;:::-;10767:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;10850:12;10864:23;10891:6;:19;;10911:4;10891:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10849:67;;;;10934:51;10951:7;10960:10;10972:12;10934:16;:51::i;:::-;10927:58;;;;10597:396;;;;;:::o;3337:46::-;:::o;15635:142::-;15688:7;15715:48;15354:66;15742:20;;15715:26;:48::i;:::-;:54;;;;;;;;;;;;15708:61;;15635:142;:::o;16248:155::-;16315:37;16334:17;16315:18;:37::i;:::-;16377:17;16368:27;;;;;;;;;;;;16248:155;:::o;19021:204::-;19105:1;19085:22;;:8;:22;;;;19077:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;19209:8;19161:39;18534:66;19188:11;;19161:26;:39::i;:::-;:45;;;:56;;;;;;;;;;;;;;;;;;19021:204;:::o;11221:712::-;11371:12;11400:7;11396:530;;;11431:10;11424:17;;;;11396:530;11565:1;11545:10;:17;:21;11541:374;;;11743:10;11737:17;11804:15;11791:10;11787:2;11783:19;11776:44;11691:148;11886:12;11879:20;;;;;;;;;;;:::i;:::-;;;;;;;;11221:712;;;;;;:::o;15873:262::-;15955:37;15974:17;15955:18;:37::i;:::-;15947:95;;;;;;;;;;;;:::i;:::-;;;;;;;;;16110:17;16053:48;15354:66;16080:20;;16053:26;:48::i;:::-;:54;;;:74;;;;;;;;;;;;;;;;;;15873:262;:::o;7:139:1:-;;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;59:87;;;;:::o;165:351::-;;;282:3;275:4;267:6;263:17;259:27;249:2;;300:1;297;290:12;249:2;336:6;323:20;313:30;;366:18;358:6;355:30;352:2;;;398:1;395;388:12;352:2;435:4;427:6;423:17;411:29;;489:3;481:4;473:6;469:17;459:8;455:32;452:41;449:2;;;506:1;503;496:12;449:2;239:277;;;;;:::o;522:262::-;;630:2;618:9;609:7;605:23;601:32;598:2;;;646:1;643;636:12;598:2;689:1;714:53;759:7;750:6;739:9;735:22;714:53;:::i;:::-;704:63;;660:117;588:196;;;;:::o;790:538::-;;;;934:2;922:9;913:7;909:23;905:32;902:2;;;950:1;947;940:12;902:2;993:1;1018:53;1063:7;1054:6;1043:9;1039:22;1018:53;:::i;:::-;1008:63;;964:117;1148:2;1137:9;1133:18;1120:32;1179:18;1171:6;1168:30;1165:2;;;1211:1;1208;1201:12;1165:2;1247:64;1303:7;1294:6;1283:9;1279:22;1247:64;:::i;:::-;1229:82;;;;1091:230;892:436;;;;;:::o;1334:118::-;1421:24;1439:5;1421:24;:::i;:::-;1416:3;1409:37;1399:53;;:::o;1458:373::-;;1590:38;1622:5;1590:38;:::i;:::-;1644:88;1725:6;1720:3;1644:88;:::i;:::-;1637:95;;1741:52;1786:6;1781:3;1774:4;1767:5;1763:16;1741:52;:::i;:::-;1818:6;1813:3;1809:16;1802:23;;1566:265;;;;;:::o;1837:364::-;;1953:39;1986:5;1953:39;:::i;:::-;2008:71;2072:6;2067:3;2008:71;:::i;:::-;2001:78;;2088:52;2133:6;2128:3;2121:4;2114:5;2110:16;2088:52;:::i;:::-;2165:29;2187:6;2165:29;:::i;:::-;2160:3;2156:39;2149:46;;1929:272;;;;;:::o;2207:366::-;;2370:67;2434:2;2429:3;2370:67;:::i;:::-;2363:74;;2446:93;2535:3;2446:93;:::i;:::-;2564:2;2559:3;2555:12;2548:19;;2353:220;;;:::o;2579:366::-;;2742:67;2806:2;2801:3;2742:67;:::i;:::-;2735:74;;2818:93;2907:3;2818:93;:::i;:::-;2936:2;2931:3;2927:12;2920:19;;2725:220;;;:::o;2951:366::-;;3114:67;3178:2;3173:3;3114:67;:::i;:::-;3107:74;;3190:93;3279:3;3190:93;:::i;:::-;3308:2;3303:3;3299:12;3292:19;;3097:220;;;:::o;3323:366::-;;3486:67;3550:2;3545:3;3486:67;:::i;:::-;3479:74;;3562:93;3651:3;3562:93;:::i;:::-;3680:2;3675:3;3671:12;3664:19;;3469:220;;;:::o;3695:271::-;;3847:93;3936:3;3927:6;3847:93;:::i;:::-;3840:100;;3957:3;3950:10;;3829:137;;;;:::o;3972:222::-;;4103:2;4092:9;4088:18;4080:26;;4116:71;4184:1;4173:9;4169:17;4160:6;4116:71;:::i;:::-;4070:124;;;;:::o;4200:332::-;;4359:2;4348:9;4344:18;4336:26;;4372:71;4440:1;4429:9;4425:17;4416:6;4372:71;:::i;:::-;4453:72;4521:2;4510:9;4506:18;4497:6;4453:72;:::i;:::-;4326:206;;;;;:::o;4538:313::-;;4689:2;4678:9;4674:18;4666:26;;4738:9;4732:4;4728:20;4724:1;4713:9;4709:17;4702:47;4766:78;4839:4;4830:6;4766:78;:::i;:::-;4758:86;;4656:195;;;;:::o;4857:419::-;;5061:2;5050:9;5046:18;5038:26;;5110:9;5104:4;5100:20;5096:1;5085:9;5081:17;5074:47;5138:131;5264:4;5138:131;:::i;:::-;5130:139;;5028:248;;;:::o;5282:419::-;;5486:2;5475:9;5471:18;5463:26;;5535:9;5529:4;5525:20;5521:1;5510:9;5506:17;5499:47;5563:131;5689:4;5563:131;:::i;:::-;5555:139;;5453:248;;;:::o;5707:419::-;;5911:2;5900:9;5896:18;5888:26;;5960:9;5954:4;5950:20;5946:1;5935:9;5931:17;5924:47;5988:131;6114:4;5988:131;:::i;:::-;5980:139;;5878:248;;;:::o;6132:419::-;;6336:2;6325:9;6321:18;6313:26;;6385:9;6379:4;6375:20;6371:1;6360:9;6356:17;6349:47;6413:131;6539:4;6413:131;:::i;:::-;6405:139;;6303:248;;;:::o;6557:98::-;;6642:5;6636:12;6626:22;;6615:40;;;:::o;6661:99::-;;6747:5;6741:12;6731:22;;6720:40;;;:::o;6766:147::-;;6904:3;6889:18;;6879:34;;;;:::o;6919:169::-;;7037:6;7032:3;7025:19;7077:4;7072:3;7068:14;7053:29;;7015:73;;;;:::o;7094:96::-;;7160:24;7178:5;7160:24;:::i;:::-;7149:35;;7139:51;;;:::o;7196:126::-;;7273:42;7266:5;7262:54;7251:65;;7241:81;;;:::o;7328:307::-;7396:1;7406:113;7420:6;7417:1;7414:13;7406:113;;;7505:1;7500:3;7496:11;7490:18;7486:1;7481:3;7477:11;7470:39;7442:2;7439:1;7435:10;7430:15;;7406:113;;;7537:6;7534:1;7531:13;7528:2;;;7617:1;7608:6;7603:3;7599:16;7592:27;7528:2;7377:258;;;;:::o;7641:102::-;;7733:2;7729:7;7724:2;7717:5;7713:14;7709:28;7699:38;;7689:54;;;:::o;7749:225::-;7889:34;7885:1;7877:6;7873:14;7866:58;7958:8;7953:2;7945:6;7941:15;7934:33;7855:119;:::o;7980:232::-;8120:34;8116:1;8108:6;8104:14;8097:58;8189:15;8184:2;8176:6;8172:15;8165:40;8086:126;:::o;8218:225::-;8358:34;8354:1;8346:6;8342:14;8335:58;8427:8;8422:2;8414:6;8410:15;8403:33;8324:119;:::o;8449:290::-;8589:34;8585:1;8577:6;8573:14;8566:58;8658:34;8653:2;8645:6;8641:15;8634:59;8727:4;8722:2;8714:6;8710:15;8703:29;8555:184;:::o;8745:122::-;8818:24;8836:5;8818:24;:::i;:::-;8811:5;8808:35;8798:2;;8857:1;8854;8847:12;8798:2;8788:79;:::o

Swarm Source

ipfs://79f57b9f56cc1e996a8c8d8b3179746e76bf629ec2e4a138c9999e632270bd41
Block Transaction Gas Used Reward
Age Block Fee Address Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading