BNB Price: $694.99 (-2.11%)
Gas: 1 GWei
 

Overview

Max Total Supply

21,000,000AGP (CSupply: 20,999,993.7)

Holders

1,270,805

Market

Price

$0.00 @ 0.000000 BNB

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 6 Decimals)

Filtered by Token Holder
USD Coin: USDC Token
Balance
6.3 AGP

Value
$0.00
0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
TransparentUpgradeableProxy

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2022-06-27
*/

/**
 *Submitted for verification at BscScan.com on 2022-06-07
*/

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/transparent/ProxyAdmin.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
  abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

/**
 * @dev This is an auxiliary contract meant to be assigned as the admin of a {TransparentUpgradeableProxy}. For an
 * explanation of why you would want to use this see the documentation for {TransparentUpgradeableProxy}.
 */
contract ProxyAdmin is Ownable {
    /**
     * @dev Returns the current implementation of `proxy`.
     *
     * Requirements:
     *
     * - This contract must be the admin of `proxy`.
     */
    function getProxyImplementation(TransparentUpgradeableProxy proxy) public view virtual returns (address) {
        // We need to manually run the static call since the getter cannot be flagged as view
        // bytes4(keccak256("implementation()")) == 0x5c60da1b
        (bool success, bytes memory returndata) = address(proxy).staticcall(hex"5c60da1b");
        require(success);
        return abi.decode(returndata, (address));
    }

    /**
     * @dev Returns the current admin of `proxy`.
     *
     * Requirements:
     *
     * - This contract must be the admin of `proxy`.
     */
    function getProxyAdmin(TransparentUpgradeableProxy proxy) public view virtual returns (address) {
        // We need to manually run the static call since the getter cannot be flagged as view
        // bytes4(keccak256("admin()")) == 0xf851a440
        (bool success, bytes memory returndata) = address(proxy).staticcall(hex"f851a440");
        require(success);
        return abi.decode(returndata, (address));
    }

    /**
     * @dev Changes the admin of `proxy` to `newAdmin`.
     *
     * Requirements:
     *
     * - This contract must be the current admin of `proxy`.
     */
    function changeProxyAdmin(TransparentUpgradeableProxy proxy, address newAdmin) public virtual onlyOwner {
        proxy.changeAdmin(newAdmin);
    }

    /**
     * @dev Upgrades `proxy` to `implementation`. See {TransparentUpgradeableProxy-upgradeTo}.
     *
     * Requirements:
     *
     * - This contract must be the admin of `proxy`.
     */
    function upgrade(TransparentUpgradeableProxy proxy, address implementation) public virtual onlyOwner {
        proxy.upgradeTo(implementation);
    }

    /**
     * @dev Upgrades `proxy` to `implementation` and calls a function on the new implementation. See
     * {TransparentUpgradeableProxy-upgradeToAndCall}.
     *
     * Requirements:
     *
     * - This contract must be the admin of `proxy`.
     */
    function upgradeAndCall(
        TransparentUpgradeableProxy proxy,
        address implementation,
        bytes memory data
    ) public payable virtual onlyOwner {
        proxy.upgradeToAndCall{value: msg.value}(implementation, data);
    }
}

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

60806040526040516200190638038062001906833981810160405281019062000029919062000733565b82816200003f828260006200005b60201b60201c565b505062000052826200009e60201b60201c565b50505062000a9b565b6200006c83620000fc60201b60201c565b6000825111806200007a5750805b1562000099576200009783836200015360201b6200034f1760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f620000cf6200018960201b60201c565b82604051620000e0929190620007bf565b60405180910390a1620000f981620001ed60201b60201c565b50565b6200010d81620002de60201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b6060620001818383604051806060016040528060278152602001620018df60279139620003b460201b60201c565b905092915050565b6000620001c47fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b6200049860201b6200037c1760201c565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000260576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002579062000873565b60405180910390fd5b806200029a7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b6200049860201b6200037c1760201c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b620002f481620004a260201b620003861760201c565b62000336576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200032d906200090b565b60405180910390fd5b80620003707f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6200049860201b6200037c1760201c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060620003c784620004a260201b60201c565b62000409576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200040090620009a3565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff168560405162000433919062000a12565b600060405180830381855af49150503d806000811462000470576040519150601f19603f3d011682016040523d82523d6000602084013e62000475565b606091505b50915091506200048d828286620004c560201b60201c565b925050509392505050565b6000819050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315620004d7578290506200052a565b600083511115620004eb5782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000521919062000a77565b60405180910390fd5b9392505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005728262000545565b9050919050565b620005848162000565565b81146200059057600080fd5b50565b600081519050620005a48162000579565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620005ff82620005b4565b810181811067ffffffffffffffff82111715620006215762000620620005c5565b5b80604052505050565b60006200063662000531565b9050620006448282620005f4565b919050565b600067ffffffffffffffff821115620006675762000666620005c5565b5b6200067282620005b4565b9050602081019050919050565b60005b838110156200069f57808201518184015260208101905062000682565b83811115620006af576000848401525b50505050565b6000620006cc620006c68462000649565b6200062a565b905082815260208101848484011115620006eb57620006ea620005af565b5b620006f88482856200067f565b509392505050565b600082601f830112620007185762000717620005aa565b5b81516200072a848260208601620006b5565b91505092915050565b6000806000606084860312156200074f576200074e6200053b565b5b60006200075f8682870162000593565b9350506020620007728682870162000593565b925050604084015167ffffffffffffffff81111562000796576200079562000540565b5b620007a48682870162000700565b9150509250925092565b620007b98162000565565b82525050565b6000604082019050620007d66000830185620007ae565b620007e56020830184620007ae565b9392505050565b600082825260208201905092915050565b7f455243313936373a206e65772061646d696e20697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006200085b602683620007ec565b91506200086882620007fd565b604082019050919050565b600060208201905081810360008301526200088e816200084c565b9050919050565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b6000620008f3602d83620007ec565b9150620009008262000895565b604082019050919050565b600060208201905081810360008301526200092681620008e4565b9050919050565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b60006200098b602683620007ec565b915062000998826200092d565b604082019050919050565b60006020820190508181036000830152620009be816200097c565b9050919050565b600081519050919050565b600081905092915050565b6000620009e882620009c5565b620009f48185620009d0565b935062000a068185602086016200067f565b80840191505092915050565b600062000a208284620009db565b915081905092915050565b600081519050919050565b600062000a438262000a2b565b62000a4f8185620007ec565b935062000a618185602086016200067f565b62000a6c81620005b4565b840191505092915050565b6000602082019050818103600083015262000a93818462000a36565b905092915050565b610e348062000aab6000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100675780634f1ef286146100905780635c60da1b146100ac5780638f283970146100d7578063f851a440146101005761005d565b3661005d5761005b61012b565b005b61006561012b565b005b34801561007357600080fd5b5061008e6004803603810190610089919061090b565b610145565b005b6100aa60048036038101906100a5919061099d565b6101ac565b005b3480156100b857600080fd5b506100c161024a565b6040516100ce9190610a0c565b60405180910390f35b3480156100e357600080fd5b506100fe60048036038101906100f9919061090b565b6102a2565b005b34801561010c57600080fd5b506101156102f7565b6040516101229190610a0c565b60405180910390f35b6101336103a9565b61014361013e610429565b610438565b565b61014d61045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156101a05761019b816040518060200160405280600081525060006104b5565b6101a9565b6101a861012b565b5b50565b6101b461045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561023c576102378383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060016104b5565b610245565b61024461012b565b5b505050565b600061025461045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102965761028f610429565b905061029f565b61029e61012b565b5b90565b6102aa61045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102eb576102e6816104e1565b6102f4565b6102f361012b565b5b50565b600061030161045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103435761033c61045e565b905061034c565b61034b61012b565b5b90565b60606103748383604051806060016040528060278152602001610dd86027913961052d565b905092915050565b6000819050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6103b161045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561041f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161041690610ad0565b60405180910390fd5b6104276105fa565b565b60006104336105fc565b905090565b3660008037600080366000845af43d6000803e8060008114610459573d6000f35b3d6000fd5b600061048c7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b61037c565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6104be83610653565b6000825111806104cb5750805b156104dc576104da838361034f565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61050a61045e565b82604051610519929190610af0565b60405180910390a161052a816106a2565b50565b606061053884610386565b610577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056e90610b8b565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161059f9190610c25565b600060405180830381855af49150503d80600081146105da576040519150601f19603f3d011682016040523d82523d6000602084013e6105df565b606091505b50915091506105ef828286610783565b925050509392505050565b565b600061062a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61037c565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61065c816107ea565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070990610cae565b60405180910390fd5b8061073f7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b61037c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60608315610793578290506107e3565b6000835111156107a65782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107da9190610d23565b60405180910390fd5b9392505050565b6107f381610386565b610832576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082990610db7565b60405180910390fd5b8061085f7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61037c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006108d8826108ad565b9050919050565b6108e8816108cd565b81146108f357600080fd5b50565b600081359050610905816108df565b92915050565b600060208284031215610921576109206108a3565b5b600061092f848285016108f6565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261095d5761095c610938565b5b8235905067ffffffffffffffff81111561097a5761097961093d565b5b60208301915083600182028301111561099657610995610942565b5b9250929050565b6000806000604084860312156109b6576109b56108a3565b5b60006109c4868287016108f6565b935050602084013567ffffffffffffffff8111156109e5576109e46108a8565b5b6109f186828701610947565b92509250509250925092565b610a06816108cd565b82525050565b6000602082019050610a2160008301846109fd565b92915050565b600082825260208201905092915050565b7f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60008201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760208201527f6574000000000000000000000000000000000000000000000000000000000000604082015250565b6000610aba604283610a27565b9150610ac582610a38565b606082019050919050565b60006020820190508181036000830152610ae981610aad565b9050919050565b6000604082019050610b0560008301856109fd565b610b1260208301846109fd565b9392505050565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b6000610b75602683610a27565b9150610b8082610b19565b604082019050919050565b60006020820190508181036000830152610ba481610b68565b9050919050565b600081519050919050565b600081905092915050565b60005b83811015610bdf578082015181840152602081019050610bc4565b83811115610bee576000848401525b50505050565b6000610bff82610bab565b610c098185610bb6565b9350610c19818560208601610bc1565b80840191505092915050565b6000610c318284610bf4565b915081905092915050565b7f455243313936373a206e65772061646d696e20697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000610c98602683610a27565b9150610ca382610c3c565b604082019050919050565b60006020820190508181036000830152610cc781610c8b565b9050919050565b600081519050919050565b6000601f19601f8301169050919050565b6000610cf582610cce565b610cff8185610a27565b9350610d0f818560208601610bc1565b610d1881610cd9565b840191505092915050565b60006020820190508181036000830152610d3d8184610cea565b905092915050565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b6000610da1602d83610a27565b9150610dac82610d45565b604082019050919050565b60006020820190508181036000830152610dd081610d94565b905091905056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212206b9bb48684f1b9908c16e59a31bac215ce2d604d222a9c9eb8421bacbd97d5e764736f6c634300080a0033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000a0c23429494f3ee52846afcac2b2bb68ffd26e520000000000000000000000004050f7a3cf48f149591e3af3717e30170214481f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061004e5760003560e01c80633659cfe6146100675780634f1ef286146100905780635c60da1b146100ac5780638f283970146100d7578063f851a440146101005761005d565b3661005d5761005b61012b565b005b61006561012b565b005b34801561007357600080fd5b5061008e6004803603810190610089919061090b565b610145565b005b6100aa60048036038101906100a5919061099d565b6101ac565b005b3480156100b857600080fd5b506100c161024a565b6040516100ce9190610a0c565b60405180910390f35b3480156100e357600080fd5b506100fe60048036038101906100f9919061090b565b6102a2565b005b34801561010c57600080fd5b506101156102f7565b6040516101229190610a0c565b60405180910390f35b6101336103a9565b61014361013e610429565b610438565b565b61014d61045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156101a05761019b816040518060200160405280600081525060006104b5565b6101a9565b6101a861012b565b5b50565b6101b461045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561023c576102378383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060016104b5565b610245565b61024461012b565b5b505050565b600061025461045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102965761028f610429565b905061029f565b61029e61012b565b5b90565b6102aa61045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102eb576102e6816104e1565b6102f4565b6102f361012b565b5b50565b600061030161045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103435761033c61045e565b905061034c565b61034b61012b565b5b90565b60606103748383604051806060016040528060278152602001610dd86027913961052d565b905092915050565b6000819050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6103b161045e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561041f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161041690610ad0565b60405180910390fd5b6104276105fa565b565b60006104336105fc565b905090565b3660008037600080366000845af43d6000803e8060008114610459573d6000f35b3d6000fd5b600061048c7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b61037c565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6104be83610653565b6000825111806104cb5750805b156104dc576104da838361034f565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61050a61045e565b82604051610519929190610af0565b60405180910390a161052a816106a2565b50565b606061053884610386565b610577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056e90610b8b565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161059f9190610c25565b600060405180830381855af49150503d80600081146105da576040519150601f19603f3d011682016040523d82523d6000602084013e6105df565b606091505b50915091506105ef828286610783565b925050509392505050565b565b600061062a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61037c565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61065c816107ea565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070990610cae565b60405180910390fd5b8061073f7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b61037c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60608315610793578290506107e3565b6000835111156107a65782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107da9190610d23565b60405180910390fd5b9392505050565b6107f381610386565b610832576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082990610db7565b60405180910390fd5b8061085f7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61037c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006108d8826108ad565b9050919050565b6108e8816108cd565b81146108f357600080fd5b50565b600081359050610905816108df565b92915050565b600060208284031215610921576109206108a3565b5b600061092f848285016108f6565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261095d5761095c610938565b5b8235905067ffffffffffffffff81111561097a5761097961093d565b5b60208301915083600182028301111561099657610995610942565b5b9250929050565b6000806000604084860312156109b6576109b56108a3565b5b60006109c4868287016108f6565b935050602084013567ffffffffffffffff8111156109e5576109e46108a8565b5b6109f186828701610947565b92509250509250925092565b610a06816108cd565b82525050565b6000602082019050610a2160008301846109fd565b92915050565b600082825260208201905092915050565b7f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60008201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760208201527f6574000000000000000000000000000000000000000000000000000000000000604082015250565b6000610aba604283610a27565b9150610ac582610a38565b606082019050919050565b60006020820190508181036000830152610ae981610aad565b9050919050565b6000604082019050610b0560008301856109fd565b610b1260208301846109fd565b9392505050565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b6000610b75602683610a27565b9150610b8082610b19565b604082019050919050565b60006020820190508181036000830152610ba481610b68565b9050919050565b600081519050919050565b600081905092915050565b60005b83811015610bdf578082015181840152602081019050610bc4565b83811115610bee576000848401525b50505050565b6000610bff82610bab565b610c098185610bb6565b9350610c19818560208601610bc1565b80840191505092915050565b6000610c318284610bf4565b915081905092915050565b7f455243313936373a206e65772061646d696e20697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000610c98602683610a27565b9150610ca382610c3c565b604082019050919050565b60006020820190508181036000830152610cc781610c8b565b9050919050565b600081519050919050565b6000601f19601f8301169050919050565b6000610cf582610cce565b610cff8185610a27565b9350610d0f818560208601610bc1565b610d1881610cd9565b840191505092915050565b60006020820190508181036000830152610d3d8184610cea565b905092915050565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b6000610da1602d83610a27565b9150610dac82610d45565b604082019050919050565b60006020820190508181036000830152610dd081610d94565b905091905056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212206b9bb48684f1b9908c16e59a31bac215ce2d604d222a9c9eb8421bacbd97d5e764736f6c634300080a0033

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

000000000000000000000000a0c23429494f3ee52846afcac2b2bb68ffd26e520000000000000000000000004050f7a3cf48f149591e3af3717e30170214481f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

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

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000a0c23429494f3ee52846afcac2b2bb68ffd26e52
Arg [1] : 0000000000000000000000004050f7a3cf48f149591e3af3717e30170214481f
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

22441:3564:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2436:11;:9;:11::i;:::-;22441:3564;;2205:11;:9;:11::i;:::-;22441:3564;24818:136;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;25339:166;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;24201:131;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;24546:105;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;23632:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1842:113;1891:17;:15;:17::i;:::-;1919:28;1929:17;:15;:17::i;:::-;1919:9;:28::i;:::-;1842:113::o;24818:136::-;23087:11;:9;:11::i;:::-;23073:25;;:10;:25;;;23069:103;;;24892:54:::1;24910:17;24929:9;;;;;;;;;;;::::0;24940:5:::1;24892:17;:54::i;:::-;23069:103:::0;;;23149:11;:9;:11::i;:::-;23069:103;24818:136;:::o;25339:166::-;23087:11;:9;:11::i;:::-;23073:25;;:10;:25;;;23069:103;;;25449:48:::1;25467:17;25486:4;;25449:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25492:4;25449:17;:48::i;:::-;23069:103:::0;;;23149:11;:9;:11::i;:::-;23069:103;25339:166;;;:::o;24201:131::-;24253:23;23087:11;:9;:11::i;:::-;23073:25;;:10;:25;;;23069:103;;;24307:17:::1;:15;:17::i;:::-;24289:35;;23069:103:::0;;;23149:11;:9;:11::i;:::-;23069:103;24201:131;:::o;24546:105::-;23087:11;:9;:11::i;:::-;23073:25;;:10;:25;;;23069:103;;;24621:22:::1;24634:8;24621:12;:22::i;:::-;23069:103:::0;;;23149:11;:9;:11::i;:::-;23069:103;24546:105;:::o;23632:98::-;23675:14;23087:11;:9;:11::i;:::-;23073:25;;:10;:25;;;23069:103;;;23711:11:::1;:9;:11::i;:::-;23702:20;;23069:103:::0;;;23149:11;:9;:11::i;:::-;23069:103;23632:98;:::o;10857:200::-;10940:12;10972:77;10993:6;11001:4;10972:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;10965:84;;10857:200;;;;:::o;3151:195::-;3212:21;3324:4;3314:14;;3151:195;;;:::o;5324:326::-;5384:4;5641:1;5619:7;:19;;;:23;5612:30;;5324:326;;;:::o;25792:210::-;25878:11;:9;:11::i;:::-;25864:25;;:10;:25;;;;25856:104;;;;;;;;;;;;:::i;:::-;;;;;;;;;25971:23;:21;:23::i;:::-;25792:210::o;20821:142::-;20888:12;20920:35;:33;:35::i;:::-;20913:42;;20821:142;:::o;432:918::-;775:14;772:1;769;756:34;993:1;990;974:14;971:1;955:14;948:5;935:60;1072:16;1069:1;1066;1051:38;1112:6;1186:1;1181:68;;;;1300:16;1297:1;1290:27;1181:68;1217:16;1214:1;1207:27;17371:124;17415:7;17442:39;17095:66;17469:11;;17442:26;:39::i;:::-;:45;;;;;;;;;;;;17435:52;;17371:124;:::o;15395:304::-;15538:29;15549:17;15538:10;:29::i;:::-;15596:1;15582:4;:11;:15;:28;;;;15601:9;15582:28;15578:114;;;15627:53;15656:17;15675:4;15627:28;:53::i;:::-;;15578:114;15395:304;;;:::o;17904:138::-;17969:35;17982:11;:9;:11::i;:::-;17995:8;17969:35;;;;;;;:::i;:::-;;;;;;;;18015:19;18025:8;18015:9;:19::i;:::-;17904:138;:::o;11251:396::-;11396:12;11429:18;11440:6;11429:10;:18::i;:::-;11421:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;11504:12;11518:23;11545:6;:19;;11565:4;11545:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11503:67;;;;11588:51;11605:7;11614:10;11626:12;11588:16;:51::i;:::-;11581:58;;;;11251:396;;;;;:::o;2745:46::-;:::o;14486:142::-;14539:7;14566:48;14205:66;14593:20;;14566:26;:48::i;:::-;:54;;;;;;;;;;;;14559:61;;14486:142;:::o;15099:155::-;15166:37;15185:17;15166:18;:37::i;:::-;15228:17;15219:27;;;;;;;;;;;;15099:155;:::o;17582:204::-;17666:1;17646:22;;:8;:22;;;;17638:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;17770:8;17722:39;17095:66;17749:11;;17722:26;:39::i;:::-;:45;;;:56;;;;;;;;;;;;;;;;;;17582:204;:::o;11875:762::-;12025:12;12054:7;12050:580;;;12085:10;12078:17;;;;12050:580;12219:1;12199:10;:17;:21;12195:424;;;12447:10;12441:17;12508:15;12495:10;12491:2;12487:19;12480:44;12195:424;12590:12;12583:20;;;;;;;;;;;:::i;:::-;;;;;;;;11875:762;;;;;;:::o;14724:262::-;14806:37;14825:17;14806:18;:37::i;:::-;14798:95;;;;;;;;;;;;:::i;:::-;;;;;;;;;14961:17;14904:48;14205:66;14931:20;;14904:26;:48::i;:::-;:54;;;:74;;;;;;;;;;;;;;;;;;14724:262;:::o;88:117:1:-;197:1;194;187:12;211:117;320:1;317;310:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:139::-;742:5;780:6;767:20;758:29;;796:33;823:5;796:33;:::i;:::-;696:139;;;;:::o;841:329::-;900:6;949:2;937:9;928:7;924:23;920:32;917:119;;;955:79;;:::i;:::-;917:119;1075:1;1100:53;1145:7;1136:6;1125:9;1121:22;1100:53;:::i;:::-;1090:63;;1046:117;841:329;;;;:::o;1176:117::-;1285:1;1282;1275:12;1299:117;1408:1;1405;1398:12;1422:117;1531:1;1528;1521:12;1558:552;1615:8;1625:6;1675:3;1668:4;1660:6;1656:17;1652:27;1642:122;;1683:79;;:::i;:::-;1642:122;1796:6;1783:20;1773:30;;1826:18;1818:6;1815:30;1812:117;;;1848:79;;:::i;:::-;1812:117;1962:4;1954:6;1950:17;1938:29;;2016:3;2008:4;2000:6;1996:17;1986:8;1982:32;1979:41;1976:128;;;2023:79;;:::i;:::-;1976:128;1558:552;;;;;:::o;2116:672::-;2195:6;2203;2211;2260:2;2248:9;2239:7;2235:23;2231:32;2228:119;;;2266:79;;:::i;:::-;2228:119;2386:1;2411:53;2456:7;2447:6;2436:9;2432:22;2411:53;:::i;:::-;2401:63;;2357:117;2541:2;2530:9;2526:18;2513:32;2572:18;2564:6;2561:30;2558:117;;;2594:79;;:::i;:::-;2558:117;2707:64;2763:7;2754:6;2743:9;2739:22;2707:64;:::i;:::-;2689:82;;;;2484:297;2116:672;;;;;:::o;2794:118::-;2881:24;2899:5;2881:24;:::i;:::-;2876:3;2869:37;2794:118;;:::o;2918:222::-;3011:4;3049:2;3038:9;3034:18;3026:26;;3062:71;3130:1;3119:9;3115:17;3106:6;3062:71;:::i;:::-;2918:222;;;;:::o;3146:169::-;3230:11;3264:6;3259:3;3252:19;3304:4;3299:3;3295:14;3280:29;;3146:169;;;;:::o;3321:290::-;3461:34;3457:1;3449:6;3445:14;3438:58;3530:34;3525:2;3517:6;3513:15;3506:59;3599:4;3594:2;3586:6;3582:15;3575:29;3321:290;:::o;3617:366::-;3759:3;3780:67;3844:2;3839:3;3780:67;:::i;:::-;3773:74;;3856:93;3945:3;3856:93;:::i;:::-;3974:2;3969:3;3965:12;3958:19;;3617:366;;;:::o;3989:419::-;4155:4;4193:2;4182:9;4178:18;4170:26;;4242:9;4236:4;4232:20;4228:1;4217:9;4213:17;4206:47;4270:131;4396:4;4270:131;:::i;:::-;4262:139;;3989:419;;;:::o;4414:332::-;4535:4;4573:2;4562:9;4558:18;4550:26;;4586:71;4654:1;4643:9;4639:17;4630:6;4586:71;:::i;:::-;4667:72;4735:2;4724:9;4720:18;4711:6;4667:72;:::i;:::-;4414:332;;;;;:::o;4752:225::-;4892:34;4888:1;4880:6;4876:14;4869:58;4961:8;4956:2;4948:6;4944:15;4937:33;4752:225;:::o;4983:366::-;5125:3;5146:67;5210:2;5205:3;5146:67;:::i;:::-;5139:74;;5222:93;5311:3;5222:93;:::i;:::-;5340:2;5335:3;5331:12;5324:19;;4983:366;;;:::o;5355:419::-;5521:4;5559:2;5548:9;5544:18;5536:26;;5608:9;5602:4;5598:20;5594:1;5583:9;5579:17;5572:47;5636:131;5762:4;5636:131;:::i;:::-;5628:139;;5355:419;;;:::o;5780:98::-;5831:6;5865:5;5859:12;5849:22;;5780:98;;;:::o;5884:147::-;5985:11;6022:3;6007:18;;5884:147;;;;:::o;6037:307::-;6105:1;6115:113;6129:6;6126:1;6123:13;6115:113;;;6214:1;6209:3;6205:11;6199:18;6195:1;6190:3;6186:11;6179:39;6151:2;6148:1;6144:10;6139:15;;6115:113;;;6246:6;6243:1;6240:13;6237:101;;;6326:1;6317:6;6312:3;6308:16;6301:27;6237:101;6086:258;6037:307;;;:::o;6350:373::-;6454:3;6482:38;6514:5;6482:38;:::i;:::-;6536:88;6617:6;6612:3;6536:88;:::i;:::-;6529:95;;6633:52;6678:6;6673:3;6666:4;6659:5;6655:16;6633:52;:::i;:::-;6710:6;6705:3;6701:16;6694:23;;6458:265;6350:373;;;;:::o;6729:271::-;6859:3;6881:93;6970:3;6961:6;6881:93;:::i;:::-;6874:100;;6991:3;6984:10;;6729:271;;;;:::o;7006:225::-;7146:34;7142:1;7134:6;7130:14;7123:58;7215:8;7210:2;7202:6;7198:15;7191:33;7006:225;:::o;7237:366::-;7379:3;7400:67;7464:2;7459:3;7400:67;:::i;:::-;7393:74;;7476:93;7565:3;7476:93;:::i;:::-;7594:2;7589:3;7585:12;7578:19;;7237:366;;;:::o;7609:419::-;7775:4;7813:2;7802:9;7798:18;7790:26;;7862:9;7856:4;7852:20;7848:1;7837:9;7833:17;7826:47;7890:131;8016:4;7890:131;:::i;:::-;7882:139;;7609:419;;;:::o;8034:99::-;8086:6;8120:5;8114:12;8104:22;;8034:99;;;:::o;8139:102::-;8180:6;8231:2;8227:7;8222:2;8215:5;8211:14;8207:28;8197:38;;8139:102;;;:::o;8247:364::-;8335:3;8363:39;8396:5;8363:39;:::i;:::-;8418:71;8482:6;8477:3;8418:71;:::i;:::-;8411:78;;8498:52;8543:6;8538:3;8531:4;8524:5;8520:16;8498:52;:::i;:::-;8575:29;8597:6;8575:29;:::i;:::-;8570:3;8566:39;8559:46;;8339:272;8247:364;;;;:::o;8617:313::-;8730:4;8768:2;8757:9;8753:18;8745:26;;8817:9;8811:4;8807:20;8803:1;8792:9;8788:17;8781:47;8845:78;8918:4;8909:6;8845:78;:::i;:::-;8837:86;;8617:313;;;;:::o;8936:232::-;9076:34;9072:1;9064:6;9060:14;9053:58;9145:15;9140:2;9132:6;9128:15;9121:40;8936:232;:::o;9174:366::-;9316:3;9337:67;9401:2;9396:3;9337:67;:::i;:::-;9330:74;;9413:93;9502:3;9413:93;:::i;:::-;9531:2;9526:3;9522:12;9515:19;;9174:366;;;:::o;9546:419::-;9712:4;9750:2;9739:9;9735:18;9727:26;;9799:9;9793:4;9789:20;9785:1;9774:9;9770:17;9763:47;9827:131;9953:4;9827:131;:::i;:::-;9819:139;;9546:419;;;:::o

Swarm Source

ipfs://6b9bb48684f1b9908c16e59a31bac215ce2d604d222a9c9eb8421bacbd97d5e7
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.