ETH Price: $3,393.68 (+1.95%)

Token

Born To Die Alpha (BTDGAlpha)
 

Overview

Max Total Supply

119 BTDGAlpha

Holders

95

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 BTDGAlpha
0xced484810248d40a50938bdae862fd3a116246d3
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TransparentUpgradeableProxy

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-12-07
*/

// File: @openzeppelin/contracts/proxy/Proxy.sol
// SPDX-License-Identifier: MIT

// OpenZeppelin Contracts (last updated v4.6.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 overridden 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 internal 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 overridden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {}
}

// File: @openzeppelin/contracts/proxy/beacon/IBeacon.sol


// 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: @openzeppelin/contracts/interfaces/draft-IERC1822.sol


// 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: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.7.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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/utils/StorageSlot.sol


// OpenZeppelin Contracts (last updated v4.7.0) (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) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

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

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

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

// File: @openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol


// OpenZeppelin Contracts (last updated v4.5.0) (proxy/ERC1967/ERC1967Upgrade.sol)

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 _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: @openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol


// OpenZeppelin Contracts (last updated v4.7.0) (proxy/ERC1967/ERC1967Proxy.sol)

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 initializing the storage of the proxy like a Solidity constructor.
     */
    constructor(address _logic, bytes memory _data) payable {
        _upgradeToAndCall(_logic, _data, false);
    }

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

// File: @openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol


// OpenZeppelin Contracts (last updated v4.7.0) (proxy/transparent/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) {
        _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: contracts/TransparentUpgradeableProxy.sol



pragma solidity ^0.8.0;

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

608060405260405162001906380380620019068339818101604052810190620000299190620005c6565b82816200003f828260006200005b60201b60201c565b505062000052826200009e60201b60201c565b50505062000a9b565b6200006c83620000fc60201b60201c565b6000825111806200007a5750805b1562000099576200009783836200015360201b6200034f1760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f620000cf6200018960201b60201c565b82604051620000e092919062000758565b60405180910390a1620000f981620001ed60201b60201c565b50565b6200010d81620002de60201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b6060620001818383604051806060016040528060278152602001620018df60279139620003b460201b60201c565b905092915050565b6000620001c47fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b6200049860201b6200037c1760201c565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000260576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200025790620007a9565b60405180910390fd5b806200029a7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b6200049860201b6200037c1760201c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b620002f481620004a260201b620003861760201c565b62000336576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200032d90620007cb565b60405180910390fd5b80620003707f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6200049860201b6200037c1760201c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060620003c784620004a260201b60201c565b62000409576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200040090620007ed565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff16856040516200043391906200073f565b600060405180830381855af49150503d806000811462000470576040519150601f19603f3d011682016040523d82523d6000602084013e62000475565b606091505b50915091506200048d828286620004c560201b60201c565b925050509392505050565b6000819050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315620004d7578290506200052a565b600083511115620004eb5782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000521919062000785565b60405180910390fd5b9392505050565b600062000548620005428462000838565b6200080f565b90508281526020810184848401111562000567576200056662000974565b5b62000574848285620008d4565b509392505050565b6000815190506200058d8162000a81565b92915050565b600082601f830112620005ab57620005aa6200096f565b5b8151620005bd84826020860162000531565b91505092915050565b600080600060608486031215620005e257620005e16200097e565b5b6000620005f2868287016200057c565b935050602062000605868287016200057c565b925050604084015167ffffffffffffffff81111562000629576200062862000979565b5b620006378682870162000593565b9150509250925092565b6200064c81620008a0565b82525050565b60006200065f826200086e565b6200066b818562000884565b93506200067d818560208601620008d4565b80840191505092915050565b6000620006968262000879565b620006a281856200088f565b9350620006b4818560208601620008d4565b620006bf8162000983565b840191505092915050565b6000620006d96026836200088f565b9150620006e68262000994565b604082019050919050565b600062000700602d836200088f565b91506200070d82620009e3565b604082019050919050565b6000620007276026836200088f565b9150620007348262000a32565b604082019050919050565b60006200074d828462000652565b915081905092915050565b60006040820190506200076f600083018562000641565b6200077e602083018462000641565b9392505050565b60006020820190508181036000830152620007a1818462000689565b905092915050565b60006020820190508181036000830152620007c481620006ca565b9050919050565b60006020820190508181036000830152620007e681620006f1565b9050919050565b60006020820190508181036000830152620008088162000718565b9050919050565b60006200081b6200082e565b90506200082982826200090a565b919050565b6000604051905090565b600067ffffffffffffffff82111562000856576200085562000940565b5b620008618262000983565b9050602081019050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000620008ad82620008b4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620008f4578082015181840152602081019050620008d7565b8381111562000904576000848401525b50505050565b620009158262000983565b810181811067ffffffffffffffff8211171562000937576200093662000940565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243313936373a206e65772061646d696e20697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b62000a8c81620008a0565b811462000a9857600080fd5b50565b610e348062000aab6000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100675780634f1ef286146100905780635c60da1b146100ac5780638f283970146100d7578063f851a440146101005761005d565b3661005d5761005b61012b565b005b61006561012b565b005b34801561007357600080fd5b5061008e6004803603810190610089919061090e565b610145565b005b6100aa60048036038101906100a5919061093b565b6101ac565b005b3480156100b857600080fd5b506100c161024a565b6040516100ce9190610ab7565b60405180910390f35b3480156100e357600080fd5b506100fe60048036038101906100f9919061090e565b6102a2565b005b34801561010c57600080fd5b506101156102f7565b6040516101229190610ab7565b60405180910390f35b6101336103a9565b61014361013e610429565b610438565b565b61014d61045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156101a05761019b816040518060200160405280600081525060006104b5565b6101a9565b6101a861012b565b5b50565b6101b461045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561023c576102378383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060016104b5565b610245565b61024461012b565b5b505050565b600061025461045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102965761028f610429565b905061029f565b61029e61012b565b5b90565b6102aa61045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102eb576102e6816104e1565b6102f4565b6102f361012b565b5b50565b600061030161045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103435761033c61045e565b905061034c565b61034b61012b565b5b90565b60606103748383604051806060016040528060278152602001610dd86027913961052d565b905092915050565b6000819050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6103b161045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561041f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161041690610b7d565b60405180910390fd5b6104276105fa565b565b60006104336105fc565b905090565b3660008037600080366000845af43d6000803e8060008114610459573d6000f35b3d6000fd5b600061048c7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b61037c565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6104be83610653565b6000825111806104cb5750805b156104dc576104da838361034f565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61050a61045e565b82604051610519929190610ad2565b60405180910390a161052a816106a2565b50565b606061053884610386565b610577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056e90610b5d565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161059f9190610aa0565b600060405180830381855af49150503d80600081146105da576040519150601f19603f3d011682016040523d82523d6000602084013e6105df565b606091505b50915091506105ef828286610783565b925050509392505050565b565b600061062a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61037c565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61065c816107ea565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070990610b1d565b60405180910390fd5b8061073f7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b61037c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60608315610793578290506107e3565b6000835111156107a65782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107da9190610afb565b60405180910390fd5b9392505050565b6107f381610386565b610832576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082990610b3d565b60405180910390fd5b8061085f7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61037c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000813590506108b281610dc0565b92915050565b60008083601f8401126108ce576108cd610c39565b5b8235905067ffffffffffffffff8111156108eb576108ea610c34565b5b60208301915083600182028301111561090757610906610c3e565b5b9250929050565b60006020828403121561092457610923610c48565b5b6000610932848285016108a3565b91505092915050565b60008060006040848603121561095457610953610c48565b5b6000610962868287016108a3565b935050602084013567ffffffffffffffff81111561098357610982610c43565b5b61098f868287016108b8565b92509250509250925092565b6109a481610bcf565b82525050565b60006109b582610b9d565b6109bf8185610bb3565b93506109cf818560208601610c01565b80840191505092915050565b60006109e682610ba8565b6109f08185610bbe565b9350610a00818560208601610c01565b610a0981610c4d565b840191505092915050565b6000610a21602683610bbe565b9150610a2c82610c5e565b604082019050919050565b6000610a44602d83610bbe565b9150610a4f82610cad565b604082019050919050565b6000610a67602683610bbe565b9150610a7282610cfc565b604082019050919050565b6000610a8a604283610bbe565b9150610a9582610d4b565b606082019050919050565b6000610aac82846109aa565b915081905092915050565b6000602082019050610acc600083018461099b565b92915050565b6000604082019050610ae7600083018561099b565b610af4602083018461099b565b9392505050565b60006020820190508181036000830152610b1581846109db565b905092915050565b60006020820190508181036000830152610b3681610a14565b9050919050565b60006020820190508181036000830152610b5681610a37565b9050919050565b60006020820190508181036000830152610b7681610a5a565b9050919050565b60006020820190508181036000830152610b9681610a7d565b9050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000610bda82610be1565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015610c1f578082015181840152602081019050610c04565b83811115610c2e576000848401525b50505050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243313936373a206e65772061646d696e20697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60008201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760208201527f6574000000000000000000000000000000000000000000000000000000000000604082015250565b610dc981610bcf565b8114610dd457600080fd5b5056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122068ff00d561ab5060f27e7033bd42280feadd48f0243ce2d23c2f4552b318636364736f6c63430008070033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000d9bb4e44f33391f5534ffce6543238c17da628c8000000000000000000000000ff827e9c6f320a3d8bda8e20af5cb23b7310220d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061004e5760003560e01c80633659cfe6146100675780634f1ef286146100905780635c60da1b146100ac5780638f283970146100d7578063f851a440146101005761005d565b3661005d5761005b61012b565b005b61006561012b565b005b34801561007357600080fd5b5061008e6004803603810190610089919061090e565b610145565b005b6100aa60048036038101906100a5919061093b565b6101ac565b005b3480156100b857600080fd5b506100c161024a565b6040516100ce9190610ab7565b60405180910390f35b3480156100e357600080fd5b506100fe60048036038101906100f9919061090e565b6102a2565b005b34801561010c57600080fd5b506101156102f7565b6040516101229190610ab7565b60405180910390f35b6101336103a9565b61014361013e610429565b610438565b565b61014d61045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156101a05761019b816040518060200160405280600081525060006104b5565b6101a9565b6101a861012b565b5b50565b6101b461045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561023c576102378383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060016104b5565b610245565b61024461012b565b5b505050565b600061025461045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102965761028f610429565b905061029f565b61029e61012b565b5b90565b6102aa61045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102eb576102e6816104e1565b6102f4565b6102f361012b565b5b50565b600061030161045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103435761033c61045e565b905061034c565b61034b61012b565b5b90565b60606103748383604051806060016040528060278152602001610dd86027913961052d565b905092915050565b6000819050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6103b161045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561041f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161041690610b7d565b60405180910390fd5b6104276105fa565b565b60006104336105fc565b905090565b3660008037600080366000845af43d6000803e8060008114610459573d6000f35b3d6000fd5b600061048c7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b61037c565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6104be83610653565b6000825111806104cb5750805b156104dc576104da838361034f565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61050a61045e565b82604051610519929190610ad2565b60405180910390a161052a816106a2565b50565b606061053884610386565b610577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056e90610b5d565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161059f9190610aa0565b600060405180830381855af49150503d80600081146105da576040519150601f19603f3d011682016040523d82523d6000602084013e6105df565b606091505b50915091506105ef828286610783565b925050509392505050565b565b600061062a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61037c565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61065c816107ea565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070990610b1d565b60405180910390fd5b8061073f7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b61037c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60608315610793578290506107e3565b6000835111156107a65782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107da9190610afb565b60405180910390fd5b9392505050565b6107f381610386565b610832576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082990610b3d565b60405180910390fd5b8061085f7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61037c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000813590506108b281610dc0565b92915050565b60008083601f8401126108ce576108cd610c39565b5b8235905067ffffffffffffffff8111156108eb576108ea610c34565b5b60208301915083600182028301111561090757610906610c3e565b5b9250929050565b60006020828403121561092457610923610c48565b5b6000610932848285016108a3565b91505092915050565b60008060006040848603121561095457610953610c48565b5b6000610962868287016108a3565b935050602084013567ffffffffffffffff81111561098357610982610c43565b5b61098f868287016108b8565b92509250509250925092565b6109a481610bcf565b82525050565b60006109b582610b9d565b6109bf8185610bb3565b93506109cf818560208601610c01565b80840191505092915050565b60006109e682610ba8565b6109f08185610bbe565b9350610a00818560208601610c01565b610a0981610c4d565b840191505092915050565b6000610a21602683610bbe565b9150610a2c82610c5e565b604082019050919050565b6000610a44602d83610bbe565b9150610a4f82610cad565b604082019050919050565b6000610a67602683610bbe565b9150610a7282610cfc565b604082019050919050565b6000610a8a604283610bbe565b9150610a9582610d4b565b606082019050919050565b6000610aac82846109aa565b915081905092915050565b6000602082019050610acc600083018461099b565b92915050565b6000604082019050610ae7600083018561099b565b610af4602083018461099b565b9392505050565b60006020820190508181036000830152610b1581846109db565b905092915050565b60006020820190508181036000830152610b3681610a14565b9050919050565b60006020820190508181036000830152610b5681610a37565b9050919050565b60006020820190508181036000830152610b7681610a5a565b9050919050565b60006020820190508181036000830152610b9681610a7d565b9050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000610bda82610be1565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015610c1f578082015181840152602081019050610c04565b83811115610c2e576000848401525b50505050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243313936373a206e65772061646d696e20697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60008201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760208201527f6574000000000000000000000000000000000000000000000000000000000000604082015250565b610dc981610bcf565b8114610dd457600080fd5b5056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122068ff00d561ab5060f27e7033bd42280feadd48f0243ce2d23c2f4552b318636364736f6c63430008070033

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

000000000000000000000000d9bb4e44f33391f5534ffce6543238c17da628c8000000000000000000000000ff827e9c6f320a3d8bda8e20af5cb23b7310220d00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _logic (address): 0xD9Bb4E44F33391f5534FFCe6543238c17DA628c8
Arg [1] : admin_ (address): 0xfF827e9c6F320a3D8bDa8E20aF5Cb23b7310220D
Arg [2] : _data (bytes): 0x

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000d9bb4e44f33391f5534ffce6543238c17da628c8
Arg [1] : 000000000000000000000000ff827e9c6f320a3d8bda8e20af5cb23b7310220d
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

25747:3564:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3025:11;:9;:11::i;:::-;25747:3564;;2794:11;:9;:11::i;:::-;25747:3564;28124:136;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;28645:166;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;27507:131;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;27852:105;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;26938:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2431:113;2480:17;:15;:17::i;:::-;2508:28;2518:17;:15;:17::i;:::-;2508:9;:28::i;:::-;2431:113::o;28124:136::-;26393:11;:9;:11::i;:::-;26379:25;;:10;:25;;;26375:103;;;28198:54:::1;28216:17;28235:9;;;;;;;;;;;::::0;28246:5:::1;28198:17;:54::i;:::-;26375:103:::0;;;26455:11;:9;:11::i;:::-;26375:103;28124:136;:::o;28645:166::-;26393:11;:9;:11::i;:::-;26379:25;;:10;:25;;;26375:103;;;28755:48:::1;28773:17;28792:4;;28755:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28798:4;28755:17;:48::i;:::-;26375:103:::0;;;26455:11;:9;:11::i;:::-;26375:103;28645:166;;;:::o;27507:131::-;27559:23;26393:11;:9;:11::i;:::-;26379:25;;:10;:25;;;26375:103;;;27613:17:::1;:15;:17::i;:::-;27595:35;;26375:103:::0;;;26455:11;:9;:11::i;:::-;26375:103;27507:131;:::o;27852:105::-;26393:11;:9;:11::i;:::-;26379:25;;:10;:25;;;26375:103;;;27927:22:::1;27940:8;27927:12;:22::i;:::-;26375:103:::0;;;26455:11;:9;:11::i;:::-;26375:103;27852:105;:::o;26938:98::-;26981:14;26393:11;:9;:11::i;:::-;26379:25;;:10;:25;;;26375:103;;;27017:11:::1;:9;:11::i;:::-;27008:20;;26375:103:::0;;;26455:11;:9;:11::i;:::-;26375:103;26938:98;:::o;11587:200::-;11670:12;11702:77;11723:6;11731:4;11702:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;11695:84;;11587:200;;;;:::o;15066:195::-;15127:21;15239:4;15229:14;;15066:195;;;:::o;6054:326::-;6114:4;6371:1;6349:7;:19;;;:23;6342:30;;6054:326;;;:::o;29098:210::-;29184:11;:9;:11::i;:::-;29170:25;;:10;:25;;;;29162:104;;;;;;;;;;;;:::i;:::-;;;;;;;;;29277:23;:21;:23::i;:::-;29098:210::o;23907:142::-;23974:12;24006:35;:33;:35::i;:::-;23999:42;;23907:142;:::o;1021:918::-;1364:14;1361:1;1358;1345:34;1582:1;1579;1563:14;1560:1;1544:14;1537:5;1524:60;1661:16;1658:1;1655;1640:38;1701:6;1775:1;1770:68;;;;1889:16;1886:1;1879:27;1770:68;1806:16;1803:1;1796:27;20273:124;20317:7;20344:39;19997:66;20371:11;;20344:26;:39::i;:::-;:45;;;;;;;;;;;;20337:52;;20273:124;:::o;18297:304::-;18440:29;18451:17;18440:10;:29::i;:::-;18498:1;18484:4;:11;:15;:28;;;;18503:9;18484:28;18480:114;;;18529:53;18558:17;18577:4;18529:28;:53::i;:::-;;18480:114;18297:304;;;:::o;20806:138::-;20871:35;20884:11;:9;:11::i;:::-;20897:8;20871:35;;;;;;;:::i;:::-;;;;;;;;20917:19;20927:8;20917:9;:19::i;:::-;20806:138;:::o;11981:396::-;12126:12;12159:18;12170:6;12159:10;:18::i;:::-;12151:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;12234:12;12248:23;12275:6;:19;;12295:4;12275:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12233:67;;;;12318:51;12335:7;12344:10;12356:12;12318:16;:51::i;:::-;12311:58;;;;11981:396;;;;;:::o;3334:46::-;:::o;17388:142::-;17441:7;17468:48;17107:66;17495:20;;17468:26;:48::i;:::-;:54;;;;;;;;;;;;17461:61;;17388:142;:::o;18001:155::-;18068:37;18087:17;18068:18;:37::i;:::-;18130:17;18121:27;;;;;;;;;;;;18001:155;:::o;20484:204::-;20568:1;20548:22;;:8;:22;;;;20540:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;20672:8;20624:39;19997:66;20651:11;;20624:26;:39::i;:::-;:45;;;:56;;;;;;;;;;;;;;;;;;20484:204;:::o;12605:762::-;12755:12;12784:7;12780:580;;;12815:10;12808:17;;;;12780:580;12949:1;12929:10;:17;:21;12925:424;;;13177:10;13171:17;13238:15;13225:10;13221:2;13217:19;13210:44;12925:424;13320:12;13313:20;;;;;;;;;;;:::i;:::-;;;;;;;;12605:762;;;;;;:::o;17626:262::-;17708:37;17727:17;17708:18;:37::i;:::-;17700:95;;;;;;;;;;;;:::i;:::-;;;;;;;;;17863:17;17806:48;17107:66;17833:20;;17806:26;:48::i;:::-;:54;;;:74;;;;;;;;;;;;;;;;;;17626:262;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;165:552::-;222:8;232:6;282:3;275:4;267:6;263:17;259:27;249:122;;290:79;;:::i;:::-;249:122;403:6;390:20;380:30;;433:18;425:6;422:30;419:117;;;455:79;;:::i;:::-;419:117;569:4;561:6;557:17;545:29;;623:3;615:4;607:6;603:17;593:8;589:32;586:41;583:128;;;630:79;;:::i;:::-;583:128;165:552;;;;;:::o;723:329::-;782:6;831:2;819:9;810:7;806:23;802:32;799:119;;;837:79;;:::i;:::-;799:119;957:1;982:53;1027:7;1018:6;1007:9;1003:22;982:53;:::i;:::-;972:63;;928:117;723:329;;;;:::o;1058:672::-;1137:6;1145;1153;1202:2;1190:9;1181:7;1177:23;1173:32;1170:119;;;1208:79;;:::i;:::-;1170:119;1328:1;1353:53;1398:7;1389:6;1378:9;1374:22;1353:53;:::i;:::-;1343:63;;1299:117;1483:2;1472:9;1468:18;1455:32;1514:18;1506:6;1503:30;1500:117;;;1536:79;;:::i;:::-;1500:117;1649:64;1705:7;1696:6;1685:9;1681:22;1649:64;:::i;:::-;1631:82;;;;1426:297;1058:672;;;;;:::o;1736:118::-;1823:24;1841:5;1823:24;:::i;:::-;1818:3;1811:37;1736:118;;:::o;1860:373::-;1964:3;1992:38;2024:5;1992:38;:::i;:::-;2046:88;2127:6;2122:3;2046:88;:::i;:::-;2039:95;;2143:52;2188:6;2183:3;2176:4;2169:5;2165:16;2143:52;:::i;:::-;2220:6;2215:3;2211:16;2204:23;;1968:265;1860:373;;;;:::o;2239:364::-;2327:3;2355:39;2388:5;2355:39;:::i;:::-;2410:71;2474:6;2469:3;2410:71;:::i;:::-;2403:78;;2490:52;2535:6;2530:3;2523:4;2516:5;2512:16;2490:52;:::i;:::-;2567:29;2589:6;2567:29;:::i;:::-;2562:3;2558:39;2551:46;;2331:272;2239:364;;;;:::o;2609:366::-;2751:3;2772:67;2836:2;2831:3;2772:67;:::i;:::-;2765:74;;2848:93;2937:3;2848:93;:::i;:::-;2966:2;2961:3;2957:12;2950:19;;2609:366;;;:::o;2981:::-;3123:3;3144:67;3208:2;3203:3;3144:67;:::i;:::-;3137:74;;3220:93;3309:3;3220:93;:::i;:::-;3338:2;3333:3;3329:12;3322:19;;2981:366;;;:::o;3353:::-;3495:3;3516:67;3580:2;3575:3;3516:67;:::i;:::-;3509:74;;3592:93;3681:3;3592:93;:::i;:::-;3710:2;3705:3;3701:12;3694:19;;3353:366;;;:::o;3725:::-;3867:3;3888:67;3952:2;3947:3;3888:67;:::i;:::-;3881:74;;3964:93;4053:3;3964:93;:::i;:::-;4082:2;4077:3;4073:12;4066:19;;3725:366;;;:::o;4097:271::-;4227:3;4249:93;4338:3;4329:6;4249:93;:::i;:::-;4242:100;;4359:3;4352:10;;4097:271;;;;:::o;4374:222::-;4467:4;4505:2;4494:9;4490:18;4482:26;;4518:71;4586:1;4575:9;4571:17;4562:6;4518:71;:::i;:::-;4374:222;;;;:::o;4602:332::-;4723:4;4761:2;4750:9;4746:18;4738:26;;4774:71;4842:1;4831:9;4827:17;4818:6;4774:71;:::i;:::-;4855:72;4923:2;4912:9;4908:18;4899:6;4855:72;:::i;:::-;4602:332;;;;;:::o;4940:313::-;5053:4;5091:2;5080:9;5076:18;5068:26;;5140:9;5134:4;5130:20;5126:1;5115:9;5111:17;5104:47;5168:78;5241:4;5232:6;5168:78;:::i;:::-;5160:86;;4940:313;;;;:::o;5259:419::-;5425:4;5463:2;5452:9;5448:18;5440:26;;5512:9;5506:4;5502:20;5498:1;5487:9;5483:17;5476:47;5540:131;5666:4;5540:131;:::i;:::-;5532:139;;5259:419;;;:::o;5684:::-;5850:4;5888:2;5877:9;5873:18;5865:26;;5937:9;5931:4;5927:20;5923:1;5912:9;5908:17;5901:47;5965:131;6091:4;5965:131;:::i;:::-;5957:139;;5684:419;;;:::o;6109:::-;6275:4;6313:2;6302:9;6298:18;6290:26;;6362:9;6356:4;6352:20;6348:1;6337:9;6333:17;6326:47;6390:131;6516:4;6390:131;:::i;:::-;6382:139;;6109:419;;;:::o;6534:::-;6700:4;6738:2;6727:9;6723:18;6715:26;;6787:9;6781:4;6777:20;6773:1;6762:9;6758:17;6751:47;6815:131;6941:4;6815:131;:::i;:::-;6807:139;;6534:419;;;:::o;7040:98::-;7091:6;7125:5;7119:12;7109:22;;7040:98;;;:::o;7144:99::-;7196:6;7230:5;7224:12;7214:22;;7144:99;;;:::o;7249:147::-;7350:11;7387:3;7372:18;;7249:147;;;;:::o;7402:169::-;7486:11;7520:6;7515:3;7508:19;7560:4;7555:3;7551:14;7536:29;;7402:169;;;;:::o;7577:96::-;7614:7;7643:24;7661:5;7643:24;:::i;:::-;7632:35;;7577:96;;;:::o;7679:126::-;7716:7;7756:42;7749:5;7745:54;7734:65;;7679:126;;;:::o;7811:307::-;7879:1;7889:113;7903:6;7900:1;7897:13;7889:113;;;7988:1;7983:3;7979:11;7973:18;7969:1;7964:3;7960:11;7953:39;7925:2;7922:1;7918:10;7913:15;;7889:113;;;8020:6;8017:1;8014:13;8011:101;;;8100:1;8091:6;8086:3;8082:16;8075:27;8011:101;7860:258;7811:307;;;:::o;8124:117::-;8233:1;8230;8223:12;8247:117;8356:1;8353;8346:12;8370:117;8479:1;8476;8469:12;8493:117;8602:1;8599;8592:12;8616:117;8725:1;8722;8715:12;8739:102;8780:6;8831:2;8827:7;8822:2;8815:5;8811:14;8807:28;8797:38;;8739:102;;;:::o;8847:225::-;8987:34;8983:1;8975:6;8971:14;8964:58;9056:8;9051:2;9043:6;9039:15;9032:33;8847:225;:::o;9078:232::-;9218:34;9214:1;9206:6;9202:14;9195:58;9287:15;9282:2;9274:6;9270:15;9263:40;9078:232;:::o;9316:225::-;9456:34;9452:1;9444:6;9440:14;9433:58;9525:8;9520:2;9512:6;9508:15;9501:33;9316:225;:::o;9547:290::-;9687:34;9683:1;9675:6;9671:14;9664:58;9756:34;9751:2;9743:6;9739:15;9732:59;9825:4;9820:2;9812:6;9808:15;9801:29;9547:290;:::o;9843:122::-;9916:24;9934:5;9916:24;:::i;:::-;9909:5;9906:35;9896:63;;9955:1;9952;9945:12;9896:63;9843:122;:::o

Swarm Source

ipfs://68ff00d561ab5060f27e7033bd42280feadd48f0243ce2d23c2f4552b3186363
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.