ETH Price: $2,533.71 (-3.96%)
Gas: 9.73 Gwei

Token

PANDA NO MOTO (PNM)
 

Overview

Max Total Supply

8,272 PNM

Holders

1,572

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

0xc30c1d48c3c8b716f3a72e4af449918f00a2ec3c
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:
APPEggs

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 30000 runs

Other Settings:
default evmVersion
File 1 of 24 : APPEggs.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.17;

import "./interface/IAPPEggs.sol";
import "./interface/IERC721Pass.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@manifoldxyz/royalty-registry-solidity/contracts/overrides/RoyaltyOverrideCore.sol";
import "default-nft-contract/contracts/libs/TokenSupplier/TokenUriSupplier.sol";
import "contract-allow-list/contracts/proxy/interface/IContractAllowListProxy.sol";

contract APPEggs is
    IAPPEggs,
    ERC1155,
    AccessControl,
    Ownable,
    TokenUriSupplier,
    EIP2981RoyaltyOverrideCore
{
    using EnumerableSet for EnumerableSet.AddressSet;

    bytes32 public constant ADMIN = keccak256('ADMIN');
    bytes32 public constant MINTER = keccak256('MINTER');
    bytes32 public constant BURNER = keccak256('BURNER');
    string public name = "PANDA NO MOTO";
    string public symbol = "PNM";

    IContractAllowListProxy public cal;
    EnumerableSet.AddressSet localAllowedAddresses;
    uint256 public calLevel = 1;
    bool public enableRestrict = true;

    IERC721Pass public enjoyPassport;

    constructor() ERC1155("") {
        // default royalty set
        _setDefaultRoyalty(
            IEIP2981RoyaltyOverride.TokenRoyalty({bps: 1000, recipient: 0x62314D5A0F7CBed83Df49C53B9f2C687d2c18289})
        );
        _grantRole(ADMIN, msg.sender);
        _grantRole(MINTER, msg.sender);
        _grantRole(BURNER, msg.sender);
        // _mint(msg.sender, 1, 1, "");
    }

    // ==================================================================
    // external contract
    // ==================================================================
    function mint(
        address to,
        uint256 id,
        uint256 amount
    ) external override onlyRole(MINTER) {
        _mint(to, id, amount, "");
    }

    function burn(
        address from,
        uint256 id,
        uint256 amount
    ) external override onlyRole(BURNER) {
        _burn(from, id, amount);
    }

    // ==================================================================
    // interface
    // ==================================================================
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC1155, AccessControl, EIP2981RoyaltyOverrideCore)
        returns (bool)
    {
        return
            AccessControl.supportsInterface(interfaceId) ||
            ERC1155.supportsInterface(interfaceId) ||
            EIP2981RoyaltyOverrideCore.supportsInterface(interfaceId);
    }

    // ==================================================================
    // override TokenUriSupplier
    // ==================================================================
    function uri(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        return TokenUriSupplier.tokenURI(tokenId);
    }

    function setBaseURI(string memory _value)
        external
        override
        onlyRole(ADMIN)
    {
        baseURI = _value;
    }

    function setBaseExtension(string memory _value)
        external
        override
        onlyRole(ADMIN)
    {
        baseExtension = _value;
    }

    function setExternalSupplier(address _value)
        external
        override
        onlyRole(ADMIN)
    {
        externalSupplier = ITokenUriSupplier(_value);
    }

    // ==================================================================
    // Royalty
    // ==================================================================
    function setTokenRoyalties(TokenRoyaltyConfig[] calldata royaltyConfigs)
        external
        override
        onlyRole(ADMIN)
    {
        _setTokenRoyalties(royaltyConfigs);
    }

    function setDefaultRoyalty(TokenRoyalty calldata royalty)
        external
        override
        onlyRole(ADMIN)
    {
        _setDefaultRoyalty(royalty);
    }

    // ==================================================================
    // Ristrict Approve
    // ==================================================================
    function addLocalContractAllowList(address transferer)
        external
        onlyRole(ADMIN)
    {
        localAllowedAddresses.add(transferer);
    }

    function removeLocalContractAllowList(address transferer)
        external
        onlyRole(ADMIN)
    {
        localAllowedAddresses.remove(transferer);
    }

    function getLocalContractAllowList()
        external
        view
        returns (address[] memory)
    {
        return localAllowedAddresses.values();
    }

    function _isLocalAllowed(address transferer)
        internal
        view
        virtual
        returns (bool)
    {
        return localAllowedAddresses.contains(transferer);
    }

    function _isAllowed(address transferer)
        internal
        view
        virtual
        returns (bool)
    {
        if(enableRestrict == false) {
            return true;
        }

        return
            _isLocalAllowed(transferer) || cal.isAllowed(transferer, calLevel);
    }

    function setCAL(address value) external onlyRole(ADMIN) {
        cal = IContractAllowListProxy(value);
    }

    function setCALLevel(uint256 value) external onlyRole(ADMIN) {
        calLevel = value;
    }

    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        require(
            _isAllowed(operator) || approved == false,
            "RestrictApprove: Can not approve locked token"
        );
        super.setApprovalForAll(operator, approved);
    }

    function isApprovedForAll(address account, address operator)
        public
        view
        virtual
        override
        returns (bool)
    {
        if (_isAllowed(operator) == false) {
            return false;
        }
        return super.isApprovedForAll(account, operator);
    }

    function setEnableRestrict(bool value) external onlyRole(ADMIN) {
        enableRestrict = value;
    }

    // ==================================================================
    // override AccessControl
    // ==================================================================
    function grantRole(bytes32 role, address account)
        public
        override
        onlyRole(ADMIN)
    {
        require(role != ADMIN, "not admin only.");
        _grantRole(role, account);
    }

    function revokeRole(bytes32 role, address account)
        public
        override
        onlyRole(ADMIN)
    {
        require(role != ADMIN, "not admin only.");
        _revokeRole(role, account);
    }

    function grantAdmin(address account) external onlyOwner {
        _grantRole(ADMIN, account);
    }

    function revokeAdmin(address account) external onlyOwner {
        _revokeRole(ADMIN, account);
    }

    // ==================================================================
    // override ERC-1155
    // ==================================================================
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override{
        if( from != address(0)){
            if(enjoyPassport.balanceOf(from) > 0){
                enjoyPassport.refreshMetadata(enjoyPassport.tokenOfOwner(from));
            }
        }
        
        if( to != address(0)){
            if(enjoyPassport.balanceOf(to) > 0){
                enjoyPassport.refreshMetadata(enjoyPassport.tokenOfOwner(to));
            }
        }
        
        super._afterTokenTransfer(operator,from,to,ids,amounts,data);
    }

    // ==================================================================
    // onlyAdmin Setting
    // ==================================================================
    function setEnjoyPassport(IERC721Pass _enjoyPassport) external onlyRole(ADMIN) {
        enjoyPassport = _enjoyPassport;
    }
}

File 2 of 24 : IRoyaltyOverride.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @author: manifold.xyz

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

/**
 * Simple EIP2981 reference override implementation
 */
interface IEIP2981RoyaltyOverride is IERC165 {
    event TokenRoyaltyRemoved(uint256 tokenId);
    event TokenRoyaltySet(uint256 tokenId, address recipient, uint16 bps);
    event DefaultRoyaltySet(address recipient, uint16 bps);

    struct TokenRoyalty {
        address recipient;
        uint16 bps;
    }

    struct TokenRoyaltyConfig {
        uint256 tokenId;
        address recipient;
        uint16 bps;
    }

    /**
     * @dev Set per token royalties.  Passing a recipient of address(0) will delete any existing configuration
     */
    function setTokenRoyalties(TokenRoyaltyConfig[] calldata royalties) external;

    /**
     * @dev Get the number of token specific overrides.  Used to enumerate over all configurations
     */
    function getTokenRoyaltiesCount() external view returns (uint256);

    /**
     * @dev Get a token royalty configuration by index.  Use in conjunction with getTokenRoyaltiesCount to get all per token configurations
     */
    function getTokenRoyaltyByIndex(uint256 index) external view returns (TokenRoyaltyConfig memory);

    /**
     * @dev Set a default royalty configuration.  Will be used if no token specific configuration is set
     */
    function setDefaultRoyalty(TokenRoyalty calldata royalty) external;
}

File 3 of 24 : RoyaltyOverrideCore.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @author: manifold.xyz

import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";

import "./IRoyaltyOverride.sol";
import "../specs/IEIP2981.sol";

/**
 * Simple EIP2981 reference override implementation
 */
abstract contract EIP2981RoyaltyOverrideCore is IEIP2981, IEIP2981RoyaltyOverride, ERC165 {
    using EnumerableSet for EnumerableSet.UintSet;

    TokenRoyalty public defaultRoyalty;
    mapping(uint256 => TokenRoyalty) private _tokenRoyalties;
    EnumerableSet.UintSet private _tokensWithRoyalties;

    function supportsInterface(bytes4 interfaceId) public view virtual override (ERC165, IERC165) returns (bool) {
        return interfaceId == type(IEIP2981).interfaceId || interfaceId == type(IEIP2981RoyaltyOverride).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Sets token royalties. When you override this in the implementation contract
     * ensure that you access restrict it to the contract owner or admin
     */
    function _setTokenRoyalties(TokenRoyaltyConfig[] memory royaltyConfigs) internal {
        for (uint256 i = 0; i < royaltyConfigs.length; i++) {
            TokenRoyaltyConfig memory royaltyConfig = royaltyConfigs[i];
            require(royaltyConfig.bps < 10000, "Invalid bps");
            if (royaltyConfig.recipient == address(0)) {
                delete _tokenRoyalties[royaltyConfig.tokenId];
                _tokensWithRoyalties.remove(royaltyConfig.tokenId);
                emit TokenRoyaltyRemoved(royaltyConfig.tokenId);
            } else {
                _tokenRoyalties[royaltyConfig.tokenId] = TokenRoyalty(royaltyConfig.recipient, royaltyConfig.bps);
                _tokensWithRoyalties.add(royaltyConfig.tokenId);
                emit TokenRoyaltySet(royaltyConfig.tokenId, royaltyConfig.recipient, royaltyConfig.bps);
            }
        }
    }

    /**
     * @dev Sets default royalty. When you override this in the implementation contract
     * ensure that you access restrict it to the contract owner or admin
     */
    function _setDefaultRoyalty(TokenRoyalty memory royalty) internal {
        require(royalty.bps < 10000, "Invalid bps");
        defaultRoyalty = TokenRoyalty(royalty.recipient, royalty.bps);
        emit DefaultRoyaltySet(royalty.recipient, royalty.bps);
    }

    /**
     * @dev See {IEIP2981RoyaltyOverride-getTokenRoyaltiesCount}.
     */
    function getTokenRoyaltiesCount() external view override returns (uint256) {
        return _tokensWithRoyalties.length();
    }

    /**
     * @dev See {IEIP2981RoyaltyOverride-getTokenRoyaltyByIndex}.
     */
    function getTokenRoyaltyByIndex(uint256 index) external view override returns (TokenRoyaltyConfig memory) {
        uint256 tokenId = _tokensWithRoyalties.at(index);
        TokenRoyalty memory royalty = _tokenRoyalties[tokenId];
        return TokenRoyaltyConfig(tokenId, royalty.recipient, royalty.bps);
    }

    /**
     * @dev See {IEIP2981RoyaltyOverride-royaltyInfo}.
     */
    function royaltyInfo(uint256 tokenId, uint256 value) public view override returns (address, uint256) {
        if (_tokenRoyalties[tokenId].recipient != address(0)) {
            return (_tokenRoyalties[tokenId].recipient, value * _tokenRoyalties[tokenId].bps / 10000);
        }
        if (defaultRoyalty.recipient != address(0) && defaultRoyalty.bps != 0) {
            return (defaultRoyalty.recipient, value * defaultRoyalty.bps / 10000);
        }
        return (address(0), 0);
    }
}

File 4 of 24 : IEIP2981.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * EIP-2981
 */
interface IEIP2981 {
    /**
     * bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a
     *
     * => 0x2a55205a = 0x2a55205a
     */
    function royaltyInfo(uint256 tokenId, uint256 value) external view returns (address, uint256);
}

File 5 of 24 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(account),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 6 of 24 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 7 of 24 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

File 8 of 24 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

    // Mapping from account to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC1155).interfaceId ||
            interfaceId == type(IERC1155MetadataURI).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: address zero is not a valid owner");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC1155-isApprovedForAll}.
     */
    function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[account][operator];
    }

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `ids` and `amounts` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non-ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non-ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 9 of 24 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 10 of 24 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 11 of 24 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 12 of 24 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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 13 of 24 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 14 of 24 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 15 of 24 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 16 of 24 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 17 of 24 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 18 of 24 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

File 19 of 24 : IContractAllowListProxy.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;

interface IContractAllowListProxy {
    function isAllowed(address _transferer, uint256 _level)
        external
        view
        returns (bool);
}

File 20 of 24 : IAPPEggs.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;

interface IAPPEggs {
    function mint(
        address to,
        uint256 id,
        uint256 amount
    ) external;

    function burn(
        address from,
        uint256 id,
        uint256 amount
    ) external;
}

File 21 of 24 : IEnjoyPassport.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;

interface IEnjoyPassport {
    function minterMint(address _address, uint256 _amount) external;
    function burnerBurn(address _address, uint256[] calldata tokenIds) external;
    function tokenOfOwner(address owner) external view returns (uint256);

    function refreshMetadata(uint256 _tokenId) external;
	function refreshMetadata(uint256 _fromTokenId, uint256 _toTokenId) external;
}

File 22 of 24 : IERC721Pass.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;

import "./IEnjoyPassport.sol";

interface IERC721Pass is IEnjoyPassport{
    function ownerOf(uint256 tokenId) external view returns(address);
    function balanceOf(address owner) external view returns (uint256);
    function totalSupply() external view returns (uint256);
}

File 23 of 24 : ITokenUriSupplier.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.0 <0.9.0;

interface ITokenUriSupplier {
    function tokenURI(uint256 tokenId)
        external
        view
        returns (string memory);
}

File 24 of 24 : TokenUriSupplier.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.0 <0.9.0;

import "./ITokenUriSupplier.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

abstract contract TokenUriSupplier is ITokenUriSupplier {
    using Strings for uint256;

    // ==================================================================
    // Variables
    // ==================================================================
    ITokenUriSupplier public externalSupplier;

    string public baseURI = "";
    string public baseExtension = ".json";

    // ==================================================================
    // Functions
    // ==================================================================
    function tokenURI(uint256 tokenId) public virtual view returns (string memory) {
        return
            address(externalSupplier) != address(0)
                ? externalSupplier.tokenURI(tokenId)
                : _defaultTokenUri(tokenId);
    }

    function _defaultTokenUri(uint256 tokenId)
        internal
        view
        virtual
        returns (string memory)
    {
        return
            string(
                abi.encodePacked(baseURI, tokenId.toString(), baseExtension)
            );
    }

    function setBaseURI(string memory _value) external virtual;

    function setBaseExtension(string memory _value) external virtual;

    function setExternalSupplier(address value) external virtual;
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 30000
  },
  "viaIR": true,
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint16","name":"bps","type":"uint16"}],"name":"DefaultRoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TokenRoyaltyRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint16","name":"bps","type":"uint16"}],"name":"TokenRoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"ADMIN","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BURNER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"transferer","type":"address"}],"name":"addLocalContractAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cal","outputs":[{"internalType":"contract IContractAllowListProxy","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultRoyalty","outputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableRestrict","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enjoyPassport","outputs":[{"internalType":"contract IERC721Pass","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"externalSupplier","outputs":[{"internalType":"contract ITokenUriSupplier","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLocalContractAllowList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenRoyaltiesCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getTokenRoyaltyByIndex","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"internalType":"struct IEIP2981RoyaltyOverride.TokenRoyaltyConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"grantAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"transferer","type":"address"}],"name":"removeLocalContractAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"revokeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"value","type":"address"}],"name":"setCAL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setCALLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"internalType":"struct IEIP2981RoyaltyOverride.TokenRoyalty","name":"royalty","type":"tuple"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setEnableRestrict","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721Pass","name":"_enjoyPassport","type":"address"}],"name":"setEnjoyPassport","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_value","type":"address"}],"name":"setExternalSupplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"internalType":"struct IEIP2981RoyaltyOverride.TokenRoyaltyConfig[]","name":"royaltyConfigs","type":"tuple[]"}],"name":"setTokenRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60803462000418576020818101916001600160401b03831181841017620004025760409283526000809152620000376002546200043d565b601f90818111620003e1575b50600282905560048054336001600160a01b0319821681179092556001600160a01b0392919083167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08580a36200009c6006546200043d565b818111620003c0575b506000600655620000b86007546200043d565b8181116200039f575b50600a64173539b7b760d91b01600755600c54620000df906200043d565b8181116200037e575b507f50414e4441204e4f204d4f544f0000000000000000000000000000000000001a600c55600d546200011b906200043d565b8181116200035c575b5050600662504e4d60e81b01600d5560016011557f2c5ea6e4103e78cb101e796fb2dace540362fc542cbff5145eaa24af7dd8fe418460ff1992600184601254161760125561ffff620001766200041d565b917362314d5a0f7cbed83df49c53b9f2c687d2c182899283815288810193896103e891828752620001a66200041d565b9081520152600880546001600160b01b0319167503e862314d5a0f7cbed83df49c53b9f2c687d2c182891790555192518451919093168152911686820152a17fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec4292838352600393848252858420338552825260ff86852054161562000324575b507ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9808452848252858420338552825260ff868520541615620002ec575b507f9667e80708b6eeeb0053fa0cca44e028ff548e2a9f029edfeac87c118b08b7c893848452808252858420338552825260ff868520541615620002b2575b8551614ffd9081620004948239f35b84845281528483209033845252600184832091825416179055339160008051602062005491833981519152339280a43880808080620002a3565b808452848252858420338552825285842060018482541617905533903390600080516020620054918339815191528680a43862000264565b808452848252858420338552825285842060018482541617905533903390600080516020620054918339815191528680a43862000226565b6200037691600d8552858520910160051c8101906200047a565b388062000124565b600c84528484206200039891830160051c8101906200047a565b38620000e8565b60078452848420620003b991830160051c8101906200047a565b38620000c1565b60068452848420620003da91830160051c8101906200047a565b38620000a5565b60028352838320620003fb91830160051c8101906200047a565b3862000043565b634e487b7160e01b600052604160045260246000fd5b600080fd5b60408051919082016001600160401b038111838210176200040257604052565b90600182811c921680156200046f575b60208310146200045957565b634e487b7160e01b600052602260045260246000fd5b91607f16916200044d565b81811062000486575050565b600081556001016200047a56fe60806040908082526004918236101561001757600080fd5b600092833560e01c9283623f332f146136d257508262fdd58e146136a257826301ffc9a714613586578263025e332e146135225782630653aca51461342657826306fdde031461333557826307265389146133115782630e89341c1461146f5782630f4345e2146132ef578263118c4f13146132b457826314c7bf6414613233578263156e29f614612caa578263248a9ca314612c7e57826325752d1814612c1a5782632a0acc6a14612bdf5782632a55205a14612b8d5782632c42d11e14612b555782632d34567014612a695782632eb2c2d6146124445782632f2ff15d1461234757826335bb3e161461225757826336568abe146121915782634e1273f414611fa65782635136dcc714611d1f57826355f804b314611b655782636c0360eb14611aba578263715018a614611a3857826372b44d71146119f85782637885fdc7146119b45782637e9803421461199557826380f801cb146119605782638da5cb5b1461192c57826391d14854146118d757826395d89b411461182c578263a059b164146117d6578263a217fddf146117bb578263a22cb465146115e0578263b7c738f4146115ab578263c6682862146114a7578263c87b56dd1461146f578263cc835a8814611450578263d547741f146113f5578263da3ef23f1461120f578263e985e9c5146111d8578263ef60ceaf146110a7578263f242432a14610a1e578263f2fde38b146108ff578263f5298aca146102d057508163fe6d812414610291575063ff7682121461024b57600080fd5b3461028e57602060031936011261028e5761028a73ffffffffffffffffffffffffffffffffffffffff61027c613799565b610284614183565b1661476f565b5080f35b80fd5b9050346102cc57816003193601126102cc57602090517ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc98152f35b5080fd5b8382346102cc576102e0366139ad565b92917f9667e80708b6eeeb0053fa0cca44e028ff548e2a9f029edfeac87c118b08b7c89591959081600052602091600383528460002033600052835260ff85600020541615610660575073ffffffffffffffffffffffffffffffffffffffff8091169485156105de57610352886140f0565b5061035c816140f0565b50868551610369816138ce565b52878752868352848720866000528352846000205481811061055c578882899a9389938b9586528588528986208560005288520388600020558751918252858201527fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62873392a48584516103dc816138ce565b5260125460081c169383517f70a0823100000000000000000000000000000000000000000000000000000000815281848201528281602481895afa908115610552578791610521575b5061042e578580f35b8351907f294cdf0d000000000000000000000000000000000000000000000000000000008252838201528181602481885afa9182156105175786926104e1575b5050833b156104dd576024859283855196879485937fd95ba42f0000000000000000000000000000000000000000000000000000000085528401525af19081156104d457506104c0575b808080808580f35b6104c9906138ba565b61028e5780826104b8565b513d84823e3d90fd5b8480fd5b8196508092503d8311610510575b6104f98183613906565b8101031261050b57849351868061046e565b600080fd5b503d6104ef565b84513d88823e3d90fd5b809750838092503d831161054b575b61053a8183613906565b8101031261050b5786955188610425565b503d610530565b85513d89823e3d90fd5b50505060849251917f08c379a00000000000000000000000000000000000000000000000000000000083528201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152fd5b505060849251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b8385849261066d33614432565b908251610679816138ea565b604281528581019160603684378151156108d1576030835381516001908110156108a357607860218401536041905b8082116107d957505061077e5760486107379385936107469361077a97519687937f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008c8601526107028c8251928391603789019101613947565b8401917f206973206d697373696e6720726f6c6520000000000000000000000000000000603784015251809386840190613947565b01036028810185520183613906565b519384937f08c379a0000000000000000000000000000000000000000000000000000000008552840152602483019061396a565b0390fd5b60648587808751927f08c379a000000000000000000000000000000000000000000000000000000000845283015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b9091600f81166010811015610875577f3031323334353637383961626364656600000000000000000000000000000000901a6108158486614421565b53871c918015610847577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01906106a8565b6011887f4e487b71000000000000000000000000000000000000000000000000000000006000525260246000fd5b6032897f4e487b71000000000000000000000000000000000000000000000000000000006000525260246000fd5b6032877f4e487b71000000000000000000000000000000000000000000000000000000006000525260246000fd5b6032867f4e487b71000000000000000000000000000000000000000000000000000000006000525260246000fd5b90915034610a1a576020600319360112610a1a5761091b613799565b90610924613cd0565b73ffffffffffffffffffffffffffffffffffffffff8092169283156109975750805490837fffffffffffffffffffffffff00000000000000000000000000000000000000008316179055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a380f35b90602060849251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b8280fd5b915034610a1a5760a0600319360112610a1a57610a39613799565b610a416137bc565b604435906064359260843567ffffffffffffffff81116110a357610a69859136908901613acb565b9273ffffffffffffffffffffffffffffffffffffffff90610a9882851694338614908115611091575b50613e7d565b89828216928984878a7fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6283151594610acf86613f08565b610ad8836140f0565b50610ae28b6140f0565b5082885260209e8f898152828a20866000528152818360002054610b0882821015613f93565b868c528b8352848c20886000528352038360002055848a52898152828a2087600052815282600020610b3b83825461401e565b905582519485528401523392a486610f1f575b610dbc575b50503b610b5e578880f35b879460008794610bba8a51978896879586947ff23a6e61000000000000000000000000000000000000000000000000000000009c8d8752339087015260248601526044850152606484015260a0608484015260a483019061396a565b03925af160009181610d8d575b50610cd1575050600190610bd9614063565b6308c379a014610c84575b50610bf85750505b38808080808080808880f35b61077a9250519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160809060208152603460208201527f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560408201527f526563656976657220696d706c656d656e74657200000000000000000000000060608201520190565b610c8c614081565b80610c975750610be4565b61077a859185519384937f08c379a0000000000000000000000000000000000000000000000000000000008552840152602483019061396a565b7fffffffff0000000000000000000000000000000000000000000000000000000016039050610d01575050610bec565b61077a9250519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160809060208152602860208201527f455243313135353a204552433131353552656365697665722072656a6563746560408201527f6420746f6b656e7300000000000000000000000000000000000000000000000060608201520190565b610dae919250843d8611610db5575b610da68183613906565b81019061402b565b9038610bc7565b503d610d9c565b60125460081c1689517f70a08231000000000000000000000000000000000000000000000000000000008152848c8201528981602481855afa908115610ee4578391610eee575b5015610b535789517f294cdf0d000000000000000000000000000000000000000000000000000000008152848c8201528981602481855afa908115610ee4578391610eb3575b50813b15610a1a57829060248d838e5195869485937fd95ba42f0000000000000000000000000000000000000000000000000000000085528401525af18015610ea95715610b5357610e9a906138ba565b610ea5578938610b53565b8980fd5b8a513d84823e3d90fd5b8093508a8092503d8311610edd575b610ecc8183613906565b8101031261050b578b915138610e49565b503d610ec2565b8b513d85823e3d90fd5b8093508a8092503d8311610f18575b610f078183613906565b8101031261050b578b915138610e03565b503d610efd565b8160125460081c168c888d51917f70a082310000000000000000000000000000000000000000000000000000000083528201528b81602481855afa908115611056578591611060575b50610f74575b50610b4e565b8c888d51917f294cdf0d0000000000000000000000000000000000000000000000000000000083528201528b81602481855afa908115611056578591611025575b50813b156104dd57849060248f8f84905195869485937fd95ba42f0000000000000000000000000000000000000000000000000000000085528401525af1801561101b57908491611007575b50610f6e565b611010906138ba565b610a1a578238611001565b8c513d86823e3d90fd5b8095508c8092503d831161104f575b61103e8183613906565b8101031261050b578d935138610fb5565b503d611034565b8d513d87823e3d90fd5b8095508c8092503d831161108a575b6110798183613906565b8101031261050b578d935138610f68565b503d61106f565b61109d91503390614ae6565b38610a92565b8780fd5b8382346102cc57806003193601126102cc576110c1614183565b8051906110cd8261389e565b6110d5613799565b825260243561ffff8082169081830361050b57846111216127106111d29460207f2c5ea6e4103e78cb101e796fb2dace540362fc542cbff5145eaa24af7dd8fe4199019687521061464f565b73ffffffffffffffffffffffffffffffffffffffff908181511685519087516111498161389e565b81815260208684169101527fffffffffffffffffffff0000000000000000000000000000000000000000000075ffff00000000000000000000000000000000000000006008549360a01b1692161717600855511692511692519283928390929161ffff60209173ffffffffffffffffffffffffffffffffffffffff604085019616845216910152565b0390a180f35b8382346102cc57806003193601126102cc576020906112066111f8613799565b6112006137bc565b90614ae6565b90519015158152f35b833461028e5761121e36613b1d565b91611227614183565b82519067ffffffffffffffff82116113c95750611245600754613800565b601f8111611365575b50602080601f83116001146112a85750829382939261129d575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161760075580f35b015190508380611268565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0831694600785527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6889285905b87821061134d575050836001959610611316575b505050811b0160075580f35b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c1916905583808061130a565b806001859682949686015181550195019301906112f6565b600783527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688601f830160051c810191602084106113bf575b601f0160051c01905b8181106113b3575061124e565b600081556001016113a6565b909150819061139d565b8260416024927f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b915034610a1a576003193601126102cc5761144d90356114136137bc565b9061141c614183565b6114487fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42821415614b34565b613c2e565b80f35b8382346102cc57816003193601126102cc576020906011549051908152f35b90833461028e57602060031936011261028e57506114906114a39235614b99565b905191829160208352602083019061396a565b0390f35b50823461028e578060031936011261028e575080516000916007546114cb81613800565b808452906001908181169081156115655750600114611508575b50506114f6826114a3940383613906565b5191829160208352602083019061396a565b6007600090815294507fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6885b82861061154d57505050918101602001916114f6826114e5565b80546020878701810191909152909501948101611533565b6114a3965085925060209150927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006114f6941682840152151560051b82010194506114e5565b8382346102cc57816003193601126102cc5760209073ffffffffffffffffffffffffffffffffffffffff600e54169051908152f35b915034610a1a5780600319360112610a1a576115fa613799565b90602435918215801580940361050b57611613826149db565b9081156117b3575b50156117305773ffffffffffffffffffffffffffffffffffffffff16928333146116ae5750338452600160205280842083600052602052806000207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0081541660ff8416179055519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a380f35b602060849251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152fd5b60848460208451917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602d60248201527f5265737472696374417070726f76653a2043616e206e6f7420617070726f766560448201527f206c6f636b656420746f6b656e000000000000000000000000000000000000006064820152fd5b90503861161b565b8382346102cc57816003193601126102cc5751908152602090f35b8390346102cc5760206003193601126102cc573580151580910361050b576117fc614183565b60ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006012541691161760125580f35b50823461028e578060031936011261028e57508051600091600d5461185081613800565b80845290600190818116908115611565575060011461187a5750506114f6826114a3940383613906565b600d600090815294507fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb55b8286106118bf57505050918101602001916114f6826114e5565b805460208787018101919091529095019481016118a5565b90915034610a1a5781600319360112610a1a5773ffffffffffffffffffffffffffffffffffffffff8260209461190b6137bc565b9335815260038652209116600052825260ff81600020541690519015158152f35b90833461028e578060031936011261028e575073ffffffffffffffffffffffffffffffffffffffff60209254169051908152f35b8382346102cc57816003193601126102cc5760209073ffffffffffffffffffffffffffffffffffffffff600554169051908152f35b8382346102cc57816003193601126102cc57602090600a549051908152f35b8382346102cc57816003193601126102cc57600854905173ffffffffffffffffffffffffffffffffffffffff8216815260a09190911c61ffff166020820152604090f35b833461028e57602060031936011261028e5761028a73ffffffffffffffffffffffffffffffffffffffff611a2a613799565b611a32614183565b16614914565b8390346102cc57816003193601126102cc5773ffffffffffffffffffffffffffffffffffffffff600091611a6a613cd0565b8054907fffffffffffffffffffffffff000000000000000000000000000000000000000082169055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b50823461028e578060031936011261028e57508051600091600654611ade81613800565b808452906001908181169081156115655750600114611b085750506114f6826114a3940383613906565b6006600090815294507ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f5b828610611b4d57505050918101602001916114f6826114e5565b80546020878701810191909152909501948101611b33565b833461028e57611b7436613b1d565b91611b7d614183565b82519067ffffffffffffffff82116113c95750611b9b600654613800565b601f8111611cbb575b50602080601f8311600114611bfe57508293829392611bf3575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161760065580f35b015190508380611bbe565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0831694600685527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f9285905b878210611ca3575050836001959610611c6c575b505050811b0160065580f35b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c19169055838080611c60565b80600185968294968601518155019501930190611c4c565b600683527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f601f830160051c81019160208410611d15575b601f0160051c01905b818110611d095750611ba4565b60008155600101611cfc565b9091508190611cf3565b90915034610a1a57602080600319360112611fa25781359267ffffffffffffffff92838511611f9e5736602386011215611f9e578481013594848611611f9a576024916060958387890284010193368511610ea557611d7c614183565b611d85896139e4565b98611d9287519a8b613906565b895280878a019401935b858510611f1757505050505050845b8451811015611f135780611dc2611e539287613e3a565b51848685830161ffff90611ddc612710838351161061464f565b8385019173ffffffffffffffffffffffffffffffffffffffff8d8a82865116918215600014611e58575050505050505050817fa2870857763bd9ae76c957f869f16b31c18dd3bb4c7b4d3a4496dc5c57c657f992518a52600982528986812055611e4681516147c1565b50518551908152a1613e0d565b611dab565b9285969798917f389b70fb0887f01e83784eb1c4c589f740eca53b00ed0f45e41db5d079719abb9a94600987849899511694835196611e968861389e565b87528087019586528751835252209251167fffffffffffffffffffff0000000000000000000000000000000000000000000075ffff00000000000000000000000000000000000000008454935160a01b16921617179055611ef781516146b4565b50519351169151169087519283528883015286820152a1613e0d565b8580f35b8885360312611f965786519089820182811085821117611f6957885285358252611f428987016137df565b89830152878601359061ffff8216820361050b57828a928a8d950152815201940193611d9c565b836041877f4e487b7100000000000000000000000000000000000000000000000000000000600052526000fd5b8a80fd5b8680fd5b8580fd5b8380fd5b90915034610a1a5781600319360112610a1a57803567ffffffffffffffff8082116104dd57366023830112156104dd578183013590611fe4826139e4565b92611ff186519485613906565b82845260209260248486019160051b8301019136831161218d576024859101915b8383106121755750505050602435908111611f9e5761203490369085016139fc565b9282518451036120f457508151947fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe061208461206f886139e4565b9761207c8851998a613906565b8089526139e4565b0136838801375b82518110156120e257806120cd73ffffffffffffffffffffffffffffffffffffffff6120ba6120dd9487613e3a565b51166120c68388613e3a565b5190613d4f565b6120d78289613e3a565b52613e0d565b61208b565b8451828152806114a381850189613ae9565b6084918551917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152fd5b8190612180846137df565b8152019101908490612012565b8880fd5b8390346102cc57826003193601126102cc576121ab6137bc565b903373ffffffffffffffffffffffffffffffffffffffff8316036121d4579061144d9135613c2e565b60849060208551917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152fd5b8382346102cc5760206003193601126102cc57612272613799565b61227a613cd0565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec429182600052600360205273ffffffffffffffffffffffffffffffffffffffff816000209216918260005260205260ff816000205416156122d9578380f35b826000526003602052806000208260005260205260002060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d600080a48180808380f35b90915034610a1a5781600319360112610a1a5735906123646137bc565b9061236d614183565b6123997fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42841415614b34565b82600052600360205273ffffffffffffffffffffffffffffffffffffffff816000209216918260005260205260ff816000205416156123d6578380f35b826000526003602052806000208260005260205260002060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d600080a43880808380f35b90915034610a1a576003199160a083360112611fa257612462613799565b61246a6137bc565b906044359367ffffffffffffffff948581116110a35761248d90369083016139fc565b9060643586811161218d576124a590369083016139fc565b9560843590811161218d576124bd9036908301613acb565b9373ffffffffffffffffffffffffffffffffffffffff976124eb898616953387149081156110915750613e7d565b83518851036129e657888216958615159261250584613f08565b8b5b8c875182101561259157908b898c61258c9461252e85612527818f613e3a565b5195613e3a565b51938082528460209483865284842081600052865284600020549061255583831015613f93565b838552848752858520906000528652038360002055815280835220908c600052526125858c60002091825461401e565b9055613e0d565b612507565b929693979894999a959b90508a51998b8b52858a8d8d016125b29088613ae9565b60209d8e818303908201528033926125ca908d613ae9565b037f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb91a48961286d575b612719575b503b6126025780f35b899688958a51978896879586947fbc197c81000000000000000000000000000000000000000000000000000000009c8d8752339087015260248601526044850160a0905260a4850161265391613ae9565b8285820301606486015261266691613ae9565b908382030160848401526126799161396a565b03925af18691816126fa575b506126ca575050600190612697614063565b6308c379a0146126b7575b50610bf85750505b3880808080808080808980f35b6126bf614081565b80610c9757506126a2565b7fffffffff0000000000000000000000000000000000000000000000000000000016039050610d015750506126aa565b612712919250843d8611610db557610da68183613906565b9038612685565b60125460081c168a517f70a08231000000000000000000000000000000000000000000000000000000008152858d8201528a81602481855afa90811561101b57849161283c575b50156125f9578a517f294cdf0d000000000000000000000000000000000000000000000000000000008152858d8201528a81602481855afa90811561101b57849161280b575b50813b15611fa257839060248e838f5195869485937fd95ba42f0000000000000000000000000000000000000000000000000000000085528401525af18015610ee4579083916127f7575b506125f9565b612800906138ba565b6102cc5781386127f1565b8094508b8092503d8311612835575b6128248183613906565b8101031261050b578c9251386127a6565b503d61281a565b8094508b8092503d8311612866575b6128558183613906565b8101031261050b578c925138612760565b503d61284b565b8b8d8b8460125460081c169251917f70a082310000000000000000000000000000000000000000000000000000000083528201528c81602481855afa9081156129a5578f918f908e9289916129af575b506128cc575b505050506125f4565b51917f294cdf0d0000000000000000000000000000000000000000000000000000000083528201528c81602481855afa9081156129a5578691612974575b50813b15611f9e5785908f8f90836024925195869485937fd95ba42f0000000000000000000000000000000000000000000000000000000085528401525af1801561105657908591612960575b508d8b8e6128c3565b612969906138ba565b611fa2578338612957565b8096508d8092503d831161299e575b61298d8183613906565b8101031261050b578e94513861290a565b503d612983565b8e513d88823e3d90fd5b9850505050508b85813d83116129df575b6129ca8183613906565b8101031261050b578d8f958e8d9151386128bd565b503d6129c0565b60848360208951917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152fd5b8382346102cc5760206003193601126102cc57612a84613799565b612a8c613cd0565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec429182600052600360205273ffffffffffffffffffffffffffffffffffffffff816000209216918260005260205260ff816000205416612aea578380f35b82600052600360205280600020826000526020526000207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00815416905533917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b600080a48180808380f35b8382346102cc57816003193601126102cc5760209073ffffffffffffffffffffffffffffffffffffffff60125460081c169051908152f35b90833461028e578160031936011261028e5750612bb16114a3926024359035613b9b565b915173ffffffffffffffffffffffffffffffffffffffff909116815260208101919091529081906040820190565b8382346102cc57816003193601126102cc57602090517fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec428152f35b833461028e57602060031936011261028e5773ffffffffffffffffffffffffffffffffffffffff612c49613799565b612c51614183565b167fffffffffffffffffffffffff0000000000000000000000000000000000000000600554161760055580f35b90915034610a1a576020600319360112610a1a5781602093600192358152600385522001549051908152f35b915034610a1a57612cba366139ad565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9929183875260209360038552858820338952855260ff86892054161561306b57508451612d07816138ce565b87815273ffffffffffffffffffffffffffffffffffffffff93848116948515612fe957612d33846140f0565b50612d3d856140f0565b50838a52898752878a20868b528752878a20612d5a86825461401e565b9055858a8951868152878a8201527fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628b3392a460125460081c1687517f70a08231000000000000000000000000000000000000000000000000000000008152868a8201528781602481855afa908115612fdf578b91612fb2575b50612ee1575b503b612de4578780f35b8693612e4293600087948951968795869485937ff23a6e61000000000000000000000000000000000000000000000000000000009b8c865233908601528560248601526044850152606484015260a0608484015260a483019061396a565b03925af160009181612ec2575b50612e92575050600190612e61614063565b6308c379a014612e7f575b50610bf85750505b388080808080808780f35b612e87614081565b80610c975750612e6c565b7fffffffff0000000000000000000000000000000000000000000000000000000016039050610d01575050612e74565b612eda919250843d8611610db557610da68183613906565b9038612e4f565b8988517f294cdf0d000000000000000000000000000000000000000000000000000000008152878b8201528881602481865afa908115610ea9578291612f85575b50823b156102cc5760248b838c5195869485937fd95ba42f0000000000000000000000000000000000000000000000000000000085528401525af18015612f7b5715612dda57612f74909991996138ba565b9738612dda565b88513d8c823e3d90fd5b90508881813d8311612fab575b612f9c8183613906565b810103126102cc575138612f22565b503d612f92565b90508781813d8311612fd8575b612fc98183613906565b81010312611f96575138612dd4565b503d612fbf565b89513d8d823e3d90fd5b608489888a51917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152fd5b93969250505061307a33614432565b91835190613087826138ea565b6042825286820192606036853782511561320757603084538251906001918210156131db5790607860218501536041915b8183116131135750505061077e5760486107379385936107469361077a97519687937f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008c8601526107028c8251928391603789019101613947565b909192600f811660108110156131af577f3031323334353637383961626364656600000000000000000000000000000000901a6131508587614421565b53881c928015613183577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0191906130b8565b60248260118b7f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b60248360328c7f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b806032897f4e487b71000000000000000000000000000000000000000000000000000000006024945252fd5b806032887f4e487b71000000000000000000000000000000000000000000000000000000006024945252fd5b8390346102cc5760206003193601126102cc573573ffffffffffffffffffffffffffffffffffffffff811681036102cc5761326c614183565b7fffffffffffffffffffffff0000000000000000000000000000000000000000ff74ffffffffffffffffffffffffffffffffffffffff006012549260081b1691161760125580f35b8382346102cc57816003193601126102cc57602090517f9667e80708b6eeeb0053fa0cca44e028ff548e2a9f029edfeac87c118b08b7c88152f35b8390346102cc5760206003193601126102cc5761330a614183565b3560115580f35b8382346102cc57816003193601126102cc5760209060ff6012541690519015158152f35b8382346102cc57816003193601126102cc5780519082600c5461335781613800565b808552916001918083169081156133e05750600114613383575b5050506114f6826114a3940383613906565b9450600c85527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c75b8286106133c8575050506114f68260206114a39582010194613371565b805460208787018101919091529095019481016133ab565b6114a39750869350602092506114f69491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b82010194613371565b8382346102cc57602080600319360112610a1a5783358383805161344981613853565b82815282858201520152600a548110156134f6576060945082907fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80154938481526009835220908083519261349d8461389e565b549273ffffffffffffffffffffffffffffffffffffffff908185169081815261ffff809660a01c1694859101528580516134d681613853565b888152848101928352019384528551968752511690850152511690820152f35b6024846032877f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b833461028e57602060031936011261028e5773ffffffffffffffffffffffffffffffffffffffff613551613799565b613559614183565b167fffffffffffffffffffffffff0000000000000000000000000000000000000000600e541617600e5580f35b90915034610a1a576020600319360112610a1a5735907fffffffff000000000000000000000000000000000000000000000000000000008216808303611fa257602093507f7965db0b0000000000000000000000000000000000000000000000000000000081148015613693575b80938115613681575b50831561360f575b5050519015158152f35b909192507f2a55205a000000000000000000000000000000000000000000000000000000008214918215613657575b50811561364f575b50903880613605565b905038613646565b7fc69dbd8f000000000000000000000000000000000000000000000000000000001491503861363e565b61368c9194506145a7565b92386135fd565b5061369d836145a7565b6135f4565b8382346102cc57806003193601126102cc576020906136cb6136c2613799565b60243590613d4f565b9051908152f35b849150346102cc57816003193601126102cc579190600f54908184526020938481018093600f84527f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80290845b8181106137855750505081613734910382613906565b83519485948186019282875251809352850193925b82811061375857505050500390f35b835173ffffffffffffffffffffffffffffffffffffffff1685528695509381019392810192600101613749565b82548452928801926001928301920161371e565b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361050b57565b6024359073ffffffffffffffffffffffffffffffffffffffff8216820361050b57565b359073ffffffffffffffffffffffffffffffffffffffff8216820361050b57565b90600182811c92168015613849575b602083101461381a57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b91607f169161380f565b6060810190811067ffffffffffffffff82111761386f57604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040810190811067ffffffffffffffff82111761386f57604052565b67ffffffffffffffff811161386f57604052565b6020810190811067ffffffffffffffff82111761386f57604052565b6080810190811067ffffffffffffffff82111761386f57604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761386f57604052565b60005b83811061395a5750506000910152565b818101518382015260200161394a565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f6020936139a681518092818752878088019101613947565b0116010190565b600319606091011261050b5760043573ffffffffffffffffffffffffffffffffffffffff8116810361050b57906024359060443590565b67ffffffffffffffff811161386f5760051b60200190565b81601f8201121561050b57803591613a13836139e4565b92613a216040519485613906565b808452602092838086019260051b82010192831161050b578301905b828210613a4b575050505090565b81358152908301908301613a3d565b67ffffffffffffffff811161386f57601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b929192613aa082613a5a565b91613aae6040519384613906565b82948184528183011161050b578281602093846000960137010152565b9080601f8301121561050b57816020613ae693359101613a94565b90565b90815180825260208080930193019160005b828110613b09575050505090565b835185529381019392810192600101613afb565b602060031982011261050b576004359067ffffffffffffffff821161050b578060238301121561050b57816024613ae693600401359101613a94565b81810292918115918404141715613b6c57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b91906000928352600960205273ffffffffffffffffffffffffffffffffffffffff9081604085205416613c0f576008549182169182151580613bff575b613be3575050508190565b6127109294509061ffff613bfb9260a01c1690613b59565b0490565b5061ffff8160a01c161515613bd8565b613bfb9061ffff604061271094818820541696205460a01c1690613b59565b90600091808352600360205273ffffffffffffffffffffffffffffffffffffffff6040842092169182845260205260ff604084205416613c6d57505050565b808352600360205260408320828452602052604083207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0081541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4565b73ffffffffffffffffffffffffffffffffffffffff600454163303613cf157565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b73ffffffffffffffffffffffffffffffffffffffff16908115613d8957600052600060205260406000209060005260205260406000205490565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201527f616c6964206f776e6572000000000000000000000000000000000000000000006064820152fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114613b6c5760010190565b8051821015613e4e5760209160051b010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b15613e8457565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60448201527f6572206f7220617070726f7665640000000000000000000000000000000000006064820152fd5b15613f0f57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fd5b15613f9a57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152fd5b91908201809211613b6c57565b9081602091031261050b57517fffffffff000000000000000000000000000000000000000000000000000000008116810361050b5790565b60009060033d1161407057565b905060046000803e60005160e01c90565b600060443d10613ae65760405160031991823d016004833e815167ffffffffffffffff918282113d6024840111176140df578184019485519384116140e7573d850101602084870101116140df5750613ae692910160200190613906565b949350505050565b50949350505050565b604051906140fd8261389e565b60018252602082016020368237825115613e4e575290565b600a54811015613e4e57600a6000527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80190600090565b600f54811015613e4e57600f6000527f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020190600090565b3360009081527f4fe279ab14a7d0755e455be34761d47dd288652c2cace6a1aa3c1d8775ae3c7d602090815260408083205490927fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec429160ff16156141e75750505050565b6141f033614432565b918451906141fd826138ea565b604282528482019260603685378251156143f457603084538251906001918210156143f45790607860218501536041915b818311614329575050506142cd57604861077a9386936142979361428898519889937f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008a860152610702815180928c603789019101613947565b01036028810187520185613906565b519283927f08c379a00000000000000000000000000000000000000000000000000000000084526004840152602483019061396a565b6064848651907f08c379a000000000000000000000000000000000000000000000000000000000825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b909192600f811660108110156143c7577f3031323334353637383961626364656600000000000000000000000000000000901a6143668587614421565b5360041c92801561439a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01919061422e565b6024827f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b6024837f4e487b710000000000000000000000000000000000000000000000000000000081526032600452fd5b807f4e487b7100000000000000000000000000000000000000000000000000000000602492526032600452fd5b908151811015613e4e570160200190565b6040519061443f82613853565b602a8252602082016040368237825115613e4e57603090538151600190811015613e4e57607860218401536029905b8082116144dc57505061447e5790565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b9091600f81166010811015614579577f3031323334353637383961626364656600000000000000000000000000000000901a6145188486614421565b5360041c91801561454b577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019061446e565b602460007f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b602460007f4e487b710000000000000000000000000000000000000000000000000000000081526032600452fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167fd9b67a26000000000000000000000000000000000000000000000000000000008114908115614625575b81156145fe575090565b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501490565b7f0e89341c00000000000000000000000000000000000000000000000000000000811491506145f4565b1561465657565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f496e76616c6964206270730000000000000000000000000000000000000000006044820152fd5b6000818152600b602052604081205461476a57600a546801000000000000000081101561473d5790826147296146f284600160409601600a55614115565b819391549060031b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811b9283911b169119161790565b9055600a54928152600b6020522055600190565b6024827f4e487b710000000000000000000000000000000000000000000000000000000081526041600452fd5b905090565b60008181526010602052604081205461476a57600f546801000000000000000081101561473d5790826147ad6146f284600160409601600f5561414c565b9055600f5492815260106020522055600190565b6000818152600b6020526040812054909190801561490f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff908181018181116148e257600a54908382019182116148b557808203614881575b505050600a5480156148545781019061483382614115565b909182549160031b1b19169055600a558152600b6020526040812055600190565b6024847f4e487b710000000000000000000000000000000000000000000000000000000081526031600452fd5b61489f6148906146f293614115565b90549060031b1c928392614115565b90558452600b602052604084205538808061481b565b6024867f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b505090565b600081815260106020526040812054909190801561490f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff908181018181116148e257600f54908382019182116148b5578082036149a7575b505050600f548015614854578101906149868261414c565b909182549160031b1b19169055600f55815260106020526040812055600190565b6149c56149b66146f29361414c565b90549060031b1c92839261414c565b905584526010602052604084205538808061496e565b60ff6012541615614ae05773ffffffffffffffffffffffffffffffffffffffff906000908281168252601060205260408220541592831593614a1e575b50505090565b600e546011546040517ff8350ed000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff949094166004850152602484015291935060209184916044918391165afa918215614ad3578192614a95575b5050388080614a18565b9091506020813d8211614acb575b81614ab060209383613906565b810103126102cc575190811515820361028e57503880614a8b565b3d9150614aa3565b50604051903d90823e3d90fd5b50600190565b614aef826149db565b15614b2d5773ffffffffffffffffffffffffffffffffffffffff80911660005260016020526040600020911660005260205260ff6040600020541690565b5050600090565b15614b3b57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6e6f742061646d696e206f6e6c792e00000000000000000000000000000000006044820152fd5b60055473ffffffffffffffffffffffffffffffffffffffff169060008215614c8557506000906024604051809481937fc87b56dd00000000000000000000000000000000000000000000000000000000835260048301525afa908115614c7957600091614c04575090565b903d8082843e614c148184613906565b8201916020818403126102cc5780519067ffffffffffffffff8211610a1a570182601f820112156102cc57805191614c4b83613a5a565b93614c596040519586613906565b8385526020848401011161028e575090613ae69160208085019101613947565b6040513d6000823e3d90fd5b90915081817a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008281811015614fb9575b50506d04ee2d6d415b85acef810000000080831015614fac575b50662386f26fc1000080831015614f9f575b506305f5e10080831015614f92575b5061271080831015614f85575b506064821015614f77575b600a80921015614f6f575b600180820194614d36614d2087613a5a565b96614d2e6040519889613906565b808852613a5a565b93602091836021848a01967fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08099013689378a0101905b614f15575b5050506040519586938691600654614d8981613800565b90858782169182600014614ed8575050600114614e7e575b508291614db19151938491613947565b01908560075493614dc185613800565b94818116908115614e415750600114614dea575b5050505050613ae69203908101835282613906565b600782527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68897505b848210614e2b57505050019250613ae638808080614dd5565b8754848301529687019688955090820190614e12565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016855250505050811515909102019250613ae638808080614dd5565b6006895291925090877ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f5b828210614ec0575050850183019190614db1614da1565b80549782018601979097528996908501908601614ea9565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168982015282151590920288019091019350614db19050614da1565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff839101917f30313233343536373839616263646566000000000000000000000000000000008282061a835304908482614d6d5750614d72565b600101614d0e565b906064600291049101614d03565b6004919204910138614cf8565b6008919204910138614ceb565b6010919204910138614cdc565b6020919204910138614cca565b915091500460403880614cb056fea26469706673582212207a785fc3c837b701ad58cd3ed895b3988c99aff820d629fa6bd70cde6c33829464736f6c634300081100332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d

Deployed Bytecode

0x60806040908082526004918236101561001757600080fd5b600092833560e01c9283623f332f146136d257508262fdd58e146136a257826301ffc9a714613586578263025e332e146135225782630653aca51461342657826306fdde031461333557826307265389146133115782630e89341c1461146f5782630f4345e2146132ef578263118c4f13146132b457826314c7bf6414613233578263156e29f614612caa578263248a9ca314612c7e57826325752d1814612c1a5782632a0acc6a14612bdf5782632a55205a14612b8d5782632c42d11e14612b555782632d34567014612a695782632eb2c2d6146124445782632f2ff15d1461234757826335bb3e161461225757826336568abe146121915782634e1273f414611fa65782635136dcc714611d1f57826355f804b314611b655782636c0360eb14611aba578263715018a614611a3857826372b44d71146119f85782637885fdc7146119b45782637e9803421461199557826380f801cb146119605782638da5cb5b1461192c57826391d14854146118d757826395d89b411461182c578263a059b164146117d6578263a217fddf146117bb578263a22cb465146115e0578263b7c738f4146115ab578263c6682862146114a7578263c87b56dd1461146f578263cc835a8814611450578263d547741f146113f5578263da3ef23f1461120f578263e985e9c5146111d8578263ef60ceaf146110a7578263f242432a14610a1e578263f2fde38b146108ff578263f5298aca146102d057508163fe6d812414610291575063ff7682121461024b57600080fd5b3461028e57602060031936011261028e5761028a73ffffffffffffffffffffffffffffffffffffffff61027c613799565b610284614183565b1661476f565b5080f35b80fd5b9050346102cc57816003193601126102cc57602090517ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc98152f35b5080fd5b8382346102cc576102e0366139ad565b92917f9667e80708b6eeeb0053fa0cca44e028ff548e2a9f029edfeac87c118b08b7c89591959081600052602091600383528460002033600052835260ff85600020541615610660575073ffffffffffffffffffffffffffffffffffffffff8091169485156105de57610352886140f0565b5061035c816140f0565b50868551610369816138ce565b52878752868352848720866000528352846000205481811061055c578882899a9389938b9586528588528986208560005288520388600020558751918252858201527fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62873392a48584516103dc816138ce565b5260125460081c169383517f70a0823100000000000000000000000000000000000000000000000000000000815281848201528281602481895afa908115610552578791610521575b5061042e578580f35b8351907f294cdf0d000000000000000000000000000000000000000000000000000000008252838201528181602481885afa9182156105175786926104e1575b5050833b156104dd576024859283855196879485937fd95ba42f0000000000000000000000000000000000000000000000000000000085528401525af19081156104d457506104c0575b808080808580f35b6104c9906138ba565b61028e5780826104b8565b513d84823e3d90fd5b8480fd5b8196508092503d8311610510575b6104f98183613906565b8101031261050b57849351868061046e565b600080fd5b503d6104ef565b84513d88823e3d90fd5b809750838092503d831161054b575b61053a8183613906565b8101031261050b5786955188610425565b503d610530565b85513d89823e3d90fd5b50505060849251917f08c379a00000000000000000000000000000000000000000000000000000000083528201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152fd5b505060849251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b8385849261066d33614432565b908251610679816138ea565b604281528581019160603684378151156108d1576030835381516001908110156108a357607860218401536041905b8082116107d957505061077e5760486107379385936107469361077a97519687937f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008c8601526107028c8251928391603789019101613947565b8401917f206973206d697373696e6720726f6c6520000000000000000000000000000000603784015251809386840190613947565b01036028810185520183613906565b519384937f08c379a0000000000000000000000000000000000000000000000000000000008552840152602483019061396a565b0390fd5b60648587808751927f08c379a000000000000000000000000000000000000000000000000000000000845283015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b9091600f81166010811015610875577f3031323334353637383961626364656600000000000000000000000000000000901a6108158486614421565b53871c918015610847577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01906106a8565b6011887f4e487b71000000000000000000000000000000000000000000000000000000006000525260246000fd5b6032897f4e487b71000000000000000000000000000000000000000000000000000000006000525260246000fd5b6032877f4e487b71000000000000000000000000000000000000000000000000000000006000525260246000fd5b6032867f4e487b71000000000000000000000000000000000000000000000000000000006000525260246000fd5b90915034610a1a576020600319360112610a1a5761091b613799565b90610924613cd0565b73ffffffffffffffffffffffffffffffffffffffff8092169283156109975750805490837fffffffffffffffffffffffff00000000000000000000000000000000000000008316179055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a380f35b90602060849251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b8280fd5b915034610a1a5760a0600319360112610a1a57610a39613799565b610a416137bc565b604435906064359260843567ffffffffffffffff81116110a357610a69859136908901613acb565b9273ffffffffffffffffffffffffffffffffffffffff90610a9882851694338614908115611091575b50613e7d565b89828216928984878a7fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6283151594610acf86613f08565b610ad8836140f0565b50610ae28b6140f0565b5082885260209e8f898152828a20866000528152818360002054610b0882821015613f93565b868c528b8352848c20886000528352038360002055848a52898152828a2087600052815282600020610b3b83825461401e565b905582519485528401523392a486610f1f575b610dbc575b50503b610b5e578880f35b879460008794610bba8a51978896879586947ff23a6e61000000000000000000000000000000000000000000000000000000009c8d8752339087015260248601526044850152606484015260a0608484015260a483019061396a565b03925af160009181610d8d575b50610cd1575050600190610bd9614063565b6308c379a014610c84575b50610bf85750505b38808080808080808880f35b61077a9250519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160809060208152603460208201527f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560408201527f526563656976657220696d706c656d656e74657200000000000000000000000060608201520190565b610c8c614081565b80610c975750610be4565b61077a859185519384937f08c379a0000000000000000000000000000000000000000000000000000000008552840152602483019061396a565b7fffffffff0000000000000000000000000000000000000000000000000000000016039050610d01575050610bec565b61077a9250519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160809060208152602860208201527f455243313135353a204552433131353552656365697665722072656a6563746560408201527f6420746f6b656e7300000000000000000000000000000000000000000000000060608201520190565b610dae919250843d8611610db5575b610da68183613906565b81019061402b565b9038610bc7565b503d610d9c565b60125460081c1689517f70a08231000000000000000000000000000000000000000000000000000000008152848c8201528981602481855afa908115610ee4578391610eee575b5015610b535789517f294cdf0d000000000000000000000000000000000000000000000000000000008152848c8201528981602481855afa908115610ee4578391610eb3575b50813b15610a1a57829060248d838e5195869485937fd95ba42f0000000000000000000000000000000000000000000000000000000085528401525af18015610ea95715610b5357610e9a906138ba565b610ea5578938610b53565b8980fd5b8a513d84823e3d90fd5b8093508a8092503d8311610edd575b610ecc8183613906565b8101031261050b578b915138610e49565b503d610ec2565b8b513d85823e3d90fd5b8093508a8092503d8311610f18575b610f078183613906565b8101031261050b578b915138610e03565b503d610efd565b8160125460081c168c888d51917f70a082310000000000000000000000000000000000000000000000000000000083528201528b81602481855afa908115611056578591611060575b50610f74575b50610b4e565b8c888d51917f294cdf0d0000000000000000000000000000000000000000000000000000000083528201528b81602481855afa908115611056578591611025575b50813b156104dd57849060248f8f84905195869485937fd95ba42f0000000000000000000000000000000000000000000000000000000085528401525af1801561101b57908491611007575b50610f6e565b611010906138ba565b610a1a578238611001565b8c513d86823e3d90fd5b8095508c8092503d831161104f575b61103e8183613906565b8101031261050b578d935138610fb5565b503d611034565b8d513d87823e3d90fd5b8095508c8092503d831161108a575b6110798183613906565b8101031261050b578d935138610f68565b503d61106f565b61109d91503390614ae6565b38610a92565b8780fd5b8382346102cc57806003193601126102cc576110c1614183565b8051906110cd8261389e565b6110d5613799565b825260243561ffff8082169081830361050b57846111216127106111d29460207f2c5ea6e4103e78cb101e796fb2dace540362fc542cbff5145eaa24af7dd8fe4199019687521061464f565b73ffffffffffffffffffffffffffffffffffffffff908181511685519087516111498161389e565b81815260208684169101527fffffffffffffffffffff0000000000000000000000000000000000000000000075ffff00000000000000000000000000000000000000006008549360a01b1692161717600855511692511692519283928390929161ffff60209173ffffffffffffffffffffffffffffffffffffffff604085019616845216910152565b0390a180f35b8382346102cc57806003193601126102cc576020906112066111f8613799565b6112006137bc565b90614ae6565b90519015158152f35b833461028e5761121e36613b1d565b91611227614183565b82519067ffffffffffffffff82116113c95750611245600754613800565b601f8111611365575b50602080601f83116001146112a85750829382939261129d575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161760075580f35b015190508380611268565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0831694600785527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6889285905b87821061134d575050836001959610611316575b505050811b0160075580f35b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c1916905583808061130a565b806001859682949686015181550195019301906112f6565b600783527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688601f830160051c810191602084106113bf575b601f0160051c01905b8181106113b3575061124e565b600081556001016113a6565b909150819061139d565b8260416024927f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b915034610a1a576003193601126102cc5761144d90356114136137bc565b9061141c614183565b6114487fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42821415614b34565b613c2e565b80f35b8382346102cc57816003193601126102cc576020906011549051908152f35b90833461028e57602060031936011261028e57506114906114a39235614b99565b905191829160208352602083019061396a565b0390f35b50823461028e578060031936011261028e575080516000916007546114cb81613800565b808452906001908181169081156115655750600114611508575b50506114f6826114a3940383613906565b5191829160208352602083019061396a565b6007600090815294507fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6885b82861061154d57505050918101602001916114f6826114e5565b80546020878701810191909152909501948101611533565b6114a3965085925060209150927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006114f6941682840152151560051b82010194506114e5565b8382346102cc57816003193601126102cc5760209073ffffffffffffffffffffffffffffffffffffffff600e54169051908152f35b915034610a1a5780600319360112610a1a576115fa613799565b90602435918215801580940361050b57611613826149db565b9081156117b3575b50156117305773ffffffffffffffffffffffffffffffffffffffff16928333146116ae5750338452600160205280842083600052602052806000207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0081541660ff8416179055519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a380f35b602060849251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152fd5b60848460208451917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602d60248201527f5265737472696374417070726f76653a2043616e206e6f7420617070726f766560448201527f206c6f636b656420746f6b656e000000000000000000000000000000000000006064820152fd5b90503861161b565b8382346102cc57816003193601126102cc5751908152602090f35b8390346102cc5760206003193601126102cc573580151580910361050b576117fc614183565b60ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006012541691161760125580f35b50823461028e578060031936011261028e57508051600091600d5461185081613800565b80845290600190818116908115611565575060011461187a5750506114f6826114a3940383613906565b600d600090815294507fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb55b8286106118bf57505050918101602001916114f6826114e5565b805460208787018101919091529095019481016118a5565b90915034610a1a5781600319360112610a1a5773ffffffffffffffffffffffffffffffffffffffff8260209461190b6137bc565b9335815260038652209116600052825260ff81600020541690519015158152f35b90833461028e578060031936011261028e575073ffffffffffffffffffffffffffffffffffffffff60209254169051908152f35b8382346102cc57816003193601126102cc5760209073ffffffffffffffffffffffffffffffffffffffff600554169051908152f35b8382346102cc57816003193601126102cc57602090600a549051908152f35b8382346102cc57816003193601126102cc57600854905173ffffffffffffffffffffffffffffffffffffffff8216815260a09190911c61ffff166020820152604090f35b833461028e57602060031936011261028e5761028a73ffffffffffffffffffffffffffffffffffffffff611a2a613799565b611a32614183565b16614914565b8390346102cc57816003193601126102cc5773ffffffffffffffffffffffffffffffffffffffff600091611a6a613cd0565b8054907fffffffffffffffffffffffff000000000000000000000000000000000000000082169055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b50823461028e578060031936011261028e57508051600091600654611ade81613800565b808452906001908181169081156115655750600114611b085750506114f6826114a3940383613906565b6006600090815294507ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f5b828610611b4d57505050918101602001916114f6826114e5565b80546020878701810191909152909501948101611b33565b833461028e57611b7436613b1d565b91611b7d614183565b82519067ffffffffffffffff82116113c95750611b9b600654613800565b601f8111611cbb575b50602080601f8311600114611bfe57508293829392611bf3575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161760065580f35b015190508380611bbe565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0831694600685527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f9285905b878210611ca3575050836001959610611c6c575b505050811b0160065580f35b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c19169055838080611c60565b80600185968294968601518155019501930190611c4c565b600683527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f601f830160051c81019160208410611d15575b601f0160051c01905b818110611d095750611ba4565b60008155600101611cfc565b9091508190611cf3565b90915034610a1a57602080600319360112611fa25781359267ffffffffffffffff92838511611f9e5736602386011215611f9e578481013594848611611f9a576024916060958387890284010193368511610ea557611d7c614183565b611d85896139e4565b98611d9287519a8b613906565b895280878a019401935b858510611f1757505050505050845b8451811015611f135780611dc2611e539287613e3a565b51848685830161ffff90611ddc612710838351161061464f565b8385019173ffffffffffffffffffffffffffffffffffffffff8d8a82865116918215600014611e58575050505050505050817fa2870857763bd9ae76c957f869f16b31c18dd3bb4c7b4d3a4496dc5c57c657f992518a52600982528986812055611e4681516147c1565b50518551908152a1613e0d565b611dab565b9285969798917f389b70fb0887f01e83784eb1c4c589f740eca53b00ed0f45e41db5d079719abb9a94600987849899511694835196611e968861389e565b87528087019586528751835252209251167fffffffffffffffffffff0000000000000000000000000000000000000000000075ffff00000000000000000000000000000000000000008454935160a01b16921617179055611ef781516146b4565b50519351169151169087519283528883015286820152a1613e0d565b8580f35b8885360312611f965786519089820182811085821117611f6957885285358252611f428987016137df565b89830152878601359061ffff8216820361050b57828a928a8d950152815201940193611d9c565b836041877f4e487b7100000000000000000000000000000000000000000000000000000000600052526000fd5b8a80fd5b8680fd5b8580fd5b8380fd5b90915034610a1a5781600319360112610a1a57803567ffffffffffffffff8082116104dd57366023830112156104dd578183013590611fe4826139e4565b92611ff186519485613906565b82845260209260248486019160051b8301019136831161218d576024859101915b8383106121755750505050602435908111611f9e5761203490369085016139fc565b9282518451036120f457508151947fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe061208461206f886139e4565b9761207c8851998a613906565b8089526139e4565b0136838801375b82518110156120e257806120cd73ffffffffffffffffffffffffffffffffffffffff6120ba6120dd9487613e3a565b51166120c68388613e3a565b5190613d4f565b6120d78289613e3a565b52613e0d565b61208b565b8451828152806114a381850189613ae9565b6084918551917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152fd5b8190612180846137df565b8152019101908490612012565b8880fd5b8390346102cc57826003193601126102cc576121ab6137bc565b903373ffffffffffffffffffffffffffffffffffffffff8316036121d4579061144d9135613c2e565b60849060208551917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152fd5b8382346102cc5760206003193601126102cc57612272613799565b61227a613cd0565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec429182600052600360205273ffffffffffffffffffffffffffffffffffffffff816000209216918260005260205260ff816000205416156122d9578380f35b826000526003602052806000208260005260205260002060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d600080a48180808380f35b90915034610a1a5781600319360112610a1a5735906123646137bc565b9061236d614183565b6123997fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42841415614b34565b82600052600360205273ffffffffffffffffffffffffffffffffffffffff816000209216918260005260205260ff816000205416156123d6578380f35b826000526003602052806000208260005260205260002060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d600080a43880808380f35b90915034610a1a576003199160a083360112611fa257612462613799565b61246a6137bc565b906044359367ffffffffffffffff948581116110a35761248d90369083016139fc565b9060643586811161218d576124a590369083016139fc565b9560843590811161218d576124bd9036908301613acb565b9373ffffffffffffffffffffffffffffffffffffffff976124eb898616953387149081156110915750613e7d565b83518851036129e657888216958615159261250584613f08565b8b5b8c875182101561259157908b898c61258c9461252e85612527818f613e3a565b5195613e3a565b51938082528460209483865284842081600052865284600020549061255583831015613f93565b838552848752858520906000528652038360002055815280835220908c600052526125858c60002091825461401e565b9055613e0d565b612507565b929693979894999a959b90508a51998b8b52858a8d8d016125b29088613ae9565b60209d8e818303908201528033926125ca908d613ae9565b037f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb91a48961286d575b612719575b503b6126025780f35b899688958a51978896879586947fbc197c81000000000000000000000000000000000000000000000000000000009c8d8752339087015260248601526044850160a0905260a4850161265391613ae9565b8285820301606486015261266691613ae9565b908382030160848401526126799161396a565b03925af18691816126fa575b506126ca575050600190612697614063565b6308c379a0146126b7575b50610bf85750505b3880808080808080808980f35b6126bf614081565b80610c9757506126a2565b7fffffffff0000000000000000000000000000000000000000000000000000000016039050610d015750506126aa565b612712919250843d8611610db557610da68183613906565b9038612685565b60125460081c168a517f70a08231000000000000000000000000000000000000000000000000000000008152858d8201528a81602481855afa90811561101b57849161283c575b50156125f9578a517f294cdf0d000000000000000000000000000000000000000000000000000000008152858d8201528a81602481855afa90811561101b57849161280b575b50813b15611fa257839060248e838f5195869485937fd95ba42f0000000000000000000000000000000000000000000000000000000085528401525af18015610ee4579083916127f7575b506125f9565b612800906138ba565b6102cc5781386127f1565b8094508b8092503d8311612835575b6128248183613906565b8101031261050b578c9251386127a6565b503d61281a565b8094508b8092503d8311612866575b6128558183613906565b8101031261050b578c925138612760565b503d61284b565b8b8d8b8460125460081c169251917f70a082310000000000000000000000000000000000000000000000000000000083528201528c81602481855afa9081156129a5578f918f908e9289916129af575b506128cc575b505050506125f4565b51917f294cdf0d0000000000000000000000000000000000000000000000000000000083528201528c81602481855afa9081156129a5578691612974575b50813b15611f9e5785908f8f90836024925195869485937fd95ba42f0000000000000000000000000000000000000000000000000000000085528401525af1801561105657908591612960575b508d8b8e6128c3565b612969906138ba565b611fa2578338612957565b8096508d8092503d831161299e575b61298d8183613906565b8101031261050b578e94513861290a565b503d612983565b8e513d88823e3d90fd5b9850505050508b85813d83116129df575b6129ca8183613906565b8101031261050b578d8f958e8d9151386128bd565b503d6129c0565b60848360208951917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152fd5b8382346102cc5760206003193601126102cc57612a84613799565b612a8c613cd0565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec429182600052600360205273ffffffffffffffffffffffffffffffffffffffff816000209216918260005260205260ff816000205416612aea578380f35b82600052600360205280600020826000526020526000207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00815416905533917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b600080a48180808380f35b8382346102cc57816003193601126102cc5760209073ffffffffffffffffffffffffffffffffffffffff60125460081c169051908152f35b90833461028e578160031936011261028e5750612bb16114a3926024359035613b9b565b915173ffffffffffffffffffffffffffffffffffffffff909116815260208101919091529081906040820190565b8382346102cc57816003193601126102cc57602090517fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec428152f35b833461028e57602060031936011261028e5773ffffffffffffffffffffffffffffffffffffffff612c49613799565b612c51614183565b167fffffffffffffffffffffffff0000000000000000000000000000000000000000600554161760055580f35b90915034610a1a576020600319360112610a1a5781602093600192358152600385522001549051908152f35b915034610a1a57612cba366139ad565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9929183875260209360038552858820338952855260ff86892054161561306b57508451612d07816138ce565b87815273ffffffffffffffffffffffffffffffffffffffff93848116948515612fe957612d33846140f0565b50612d3d856140f0565b50838a52898752878a20868b528752878a20612d5a86825461401e565b9055858a8951868152878a8201527fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628b3392a460125460081c1687517f70a08231000000000000000000000000000000000000000000000000000000008152868a8201528781602481855afa908115612fdf578b91612fb2575b50612ee1575b503b612de4578780f35b8693612e4293600087948951968795869485937ff23a6e61000000000000000000000000000000000000000000000000000000009b8c865233908601528560248601526044850152606484015260a0608484015260a483019061396a565b03925af160009181612ec2575b50612e92575050600190612e61614063565b6308c379a014612e7f575b50610bf85750505b388080808080808780f35b612e87614081565b80610c975750612e6c565b7fffffffff0000000000000000000000000000000000000000000000000000000016039050610d01575050612e74565b612eda919250843d8611610db557610da68183613906565b9038612e4f565b8988517f294cdf0d000000000000000000000000000000000000000000000000000000008152878b8201528881602481865afa908115610ea9578291612f85575b50823b156102cc5760248b838c5195869485937fd95ba42f0000000000000000000000000000000000000000000000000000000085528401525af18015612f7b5715612dda57612f74909991996138ba565b9738612dda565b88513d8c823e3d90fd5b90508881813d8311612fab575b612f9c8183613906565b810103126102cc575138612f22565b503d612f92565b90508781813d8311612fd8575b612fc98183613906565b81010312611f96575138612dd4565b503d612fbf565b89513d8d823e3d90fd5b608489888a51917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152fd5b93969250505061307a33614432565b91835190613087826138ea565b6042825286820192606036853782511561320757603084538251906001918210156131db5790607860218501536041915b8183116131135750505061077e5760486107379385936107469361077a97519687937f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008c8601526107028c8251928391603789019101613947565b909192600f811660108110156131af577f3031323334353637383961626364656600000000000000000000000000000000901a6131508587614421565b53881c928015613183577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0191906130b8565b60248260118b7f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b60248360328c7f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b806032897f4e487b71000000000000000000000000000000000000000000000000000000006024945252fd5b806032887f4e487b71000000000000000000000000000000000000000000000000000000006024945252fd5b8390346102cc5760206003193601126102cc573573ffffffffffffffffffffffffffffffffffffffff811681036102cc5761326c614183565b7fffffffffffffffffffffff0000000000000000000000000000000000000000ff74ffffffffffffffffffffffffffffffffffffffff006012549260081b1691161760125580f35b8382346102cc57816003193601126102cc57602090517f9667e80708b6eeeb0053fa0cca44e028ff548e2a9f029edfeac87c118b08b7c88152f35b8390346102cc5760206003193601126102cc5761330a614183565b3560115580f35b8382346102cc57816003193601126102cc5760209060ff6012541690519015158152f35b8382346102cc57816003193601126102cc5780519082600c5461335781613800565b808552916001918083169081156133e05750600114613383575b5050506114f6826114a3940383613906565b9450600c85527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c75b8286106133c8575050506114f68260206114a39582010194613371565b805460208787018101919091529095019481016133ab565b6114a39750869350602092506114f69491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b82010194613371565b8382346102cc57602080600319360112610a1a5783358383805161344981613853565b82815282858201520152600a548110156134f6576060945082907fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80154938481526009835220908083519261349d8461389e565b549273ffffffffffffffffffffffffffffffffffffffff908185169081815261ffff809660a01c1694859101528580516134d681613853565b888152848101928352019384528551968752511690850152511690820152f35b6024846032877f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b833461028e57602060031936011261028e5773ffffffffffffffffffffffffffffffffffffffff613551613799565b613559614183565b167fffffffffffffffffffffffff0000000000000000000000000000000000000000600e541617600e5580f35b90915034610a1a576020600319360112610a1a5735907fffffffff000000000000000000000000000000000000000000000000000000008216808303611fa257602093507f7965db0b0000000000000000000000000000000000000000000000000000000081148015613693575b80938115613681575b50831561360f575b5050519015158152f35b909192507f2a55205a000000000000000000000000000000000000000000000000000000008214918215613657575b50811561364f575b50903880613605565b905038613646565b7fc69dbd8f000000000000000000000000000000000000000000000000000000001491503861363e565b61368c9194506145a7565b92386135fd565b5061369d836145a7565b6135f4565b8382346102cc57806003193601126102cc576020906136cb6136c2613799565b60243590613d4f565b9051908152f35b849150346102cc57816003193601126102cc579190600f54908184526020938481018093600f84527f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80290845b8181106137855750505081613734910382613906565b83519485948186019282875251809352850193925b82811061375857505050500390f35b835173ffffffffffffffffffffffffffffffffffffffff1685528695509381019392810192600101613749565b82548452928801926001928301920161371e565b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361050b57565b6024359073ffffffffffffffffffffffffffffffffffffffff8216820361050b57565b359073ffffffffffffffffffffffffffffffffffffffff8216820361050b57565b90600182811c92168015613849575b602083101461381a57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b91607f169161380f565b6060810190811067ffffffffffffffff82111761386f57604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040810190811067ffffffffffffffff82111761386f57604052565b67ffffffffffffffff811161386f57604052565b6020810190811067ffffffffffffffff82111761386f57604052565b6080810190811067ffffffffffffffff82111761386f57604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761386f57604052565b60005b83811061395a5750506000910152565b818101518382015260200161394a565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f6020936139a681518092818752878088019101613947565b0116010190565b600319606091011261050b5760043573ffffffffffffffffffffffffffffffffffffffff8116810361050b57906024359060443590565b67ffffffffffffffff811161386f5760051b60200190565b81601f8201121561050b57803591613a13836139e4565b92613a216040519485613906565b808452602092838086019260051b82010192831161050b578301905b828210613a4b575050505090565b81358152908301908301613a3d565b67ffffffffffffffff811161386f57601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b929192613aa082613a5a565b91613aae6040519384613906565b82948184528183011161050b578281602093846000960137010152565b9080601f8301121561050b57816020613ae693359101613a94565b90565b90815180825260208080930193019160005b828110613b09575050505090565b835185529381019392810192600101613afb565b602060031982011261050b576004359067ffffffffffffffff821161050b578060238301121561050b57816024613ae693600401359101613a94565b81810292918115918404141715613b6c57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b91906000928352600960205273ffffffffffffffffffffffffffffffffffffffff9081604085205416613c0f576008549182169182151580613bff575b613be3575050508190565b6127109294509061ffff613bfb9260a01c1690613b59565b0490565b5061ffff8160a01c161515613bd8565b613bfb9061ffff604061271094818820541696205460a01c1690613b59565b90600091808352600360205273ffffffffffffffffffffffffffffffffffffffff6040842092169182845260205260ff604084205416613c6d57505050565b808352600360205260408320828452602052604083207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0081541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4565b73ffffffffffffffffffffffffffffffffffffffff600454163303613cf157565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b73ffffffffffffffffffffffffffffffffffffffff16908115613d8957600052600060205260406000209060005260205260406000205490565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201527f616c6964206f776e6572000000000000000000000000000000000000000000006064820152fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114613b6c5760010190565b8051821015613e4e5760209160051b010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b15613e8457565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60448201527f6572206f7220617070726f7665640000000000000000000000000000000000006064820152fd5b15613f0f57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fd5b15613f9a57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152fd5b91908201809211613b6c57565b9081602091031261050b57517fffffffff000000000000000000000000000000000000000000000000000000008116810361050b5790565b60009060033d1161407057565b905060046000803e60005160e01c90565b600060443d10613ae65760405160031991823d016004833e815167ffffffffffffffff918282113d6024840111176140df578184019485519384116140e7573d850101602084870101116140df5750613ae692910160200190613906565b949350505050565b50949350505050565b604051906140fd8261389e565b60018252602082016020368237825115613e4e575290565b600a54811015613e4e57600a6000527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80190600090565b600f54811015613e4e57600f6000527f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020190600090565b3360009081527f4fe279ab14a7d0755e455be34761d47dd288652c2cace6a1aa3c1d8775ae3c7d602090815260408083205490927fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec429160ff16156141e75750505050565b6141f033614432565b918451906141fd826138ea565b604282528482019260603685378251156143f457603084538251906001918210156143f45790607860218501536041915b818311614329575050506142cd57604861077a9386936142979361428898519889937f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008a860152610702815180928c603789019101613947565b01036028810187520185613906565b519283927f08c379a00000000000000000000000000000000000000000000000000000000084526004840152602483019061396a565b6064848651907f08c379a000000000000000000000000000000000000000000000000000000000825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b909192600f811660108110156143c7577f3031323334353637383961626364656600000000000000000000000000000000901a6143668587614421565b5360041c92801561439a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01919061422e565b6024827f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b6024837f4e487b710000000000000000000000000000000000000000000000000000000081526032600452fd5b807f4e487b7100000000000000000000000000000000000000000000000000000000602492526032600452fd5b908151811015613e4e570160200190565b6040519061443f82613853565b602a8252602082016040368237825115613e4e57603090538151600190811015613e4e57607860218401536029905b8082116144dc57505061447e5790565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b9091600f81166010811015614579577f3031323334353637383961626364656600000000000000000000000000000000901a6145188486614421565b5360041c91801561454b577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019061446e565b602460007f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b602460007f4e487b710000000000000000000000000000000000000000000000000000000081526032600452fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167fd9b67a26000000000000000000000000000000000000000000000000000000008114908115614625575b81156145fe575090565b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501490565b7f0e89341c00000000000000000000000000000000000000000000000000000000811491506145f4565b1561465657565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f496e76616c6964206270730000000000000000000000000000000000000000006044820152fd5b6000818152600b602052604081205461476a57600a546801000000000000000081101561473d5790826147296146f284600160409601600a55614115565b819391549060031b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811b9283911b169119161790565b9055600a54928152600b6020522055600190565b6024827f4e487b710000000000000000000000000000000000000000000000000000000081526041600452fd5b905090565b60008181526010602052604081205461476a57600f546801000000000000000081101561473d5790826147ad6146f284600160409601600f5561414c565b9055600f5492815260106020522055600190565b6000818152600b6020526040812054909190801561490f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff908181018181116148e257600a54908382019182116148b557808203614881575b505050600a5480156148545781019061483382614115565b909182549160031b1b19169055600a558152600b6020526040812055600190565b6024847f4e487b710000000000000000000000000000000000000000000000000000000081526031600452fd5b61489f6148906146f293614115565b90549060031b1c928392614115565b90558452600b602052604084205538808061481b565b6024867f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b505090565b600081815260106020526040812054909190801561490f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff908181018181116148e257600f54908382019182116148b5578082036149a7575b505050600f548015614854578101906149868261414c565b909182549160031b1b19169055600f55815260106020526040812055600190565b6149c56149b66146f29361414c565b90549060031b1c92839261414c565b905584526010602052604084205538808061496e565b60ff6012541615614ae05773ffffffffffffffffffffffffffffffffffffffff906000908281168252601060205260408220541592831593614a1e575b50505090565b600e546011546040517ff8350ed000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff949094166004850152602484015291935060209184916044918391165afa918215614ad3578192614a95575b5050388080614a18565b9091506020813d8211614acb575b81614ab060209383613906565b810103126102cc575190811515820361028e57503880614a8b565b3d9150614aa3565b50604051903d90823e3d90fd5b50600190565b614aef826149db565b15614b2d5773ffffffffffffffffffffffffffffffffffffffff80911660005260016020526040600020911660005260205260ff6040600020541690565b5050600090565b15614b3b57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6e6f742061646d696e206f6e6c792e00000000000000000000000000000000006044820152fd5b60055473ffffffffffffffffffffffffffffffffffffffff169060008215614c8557506000906024604051809481937fc87b56dd00000000000000000000000000000000000000000000000000000000835260048301525afa908115614c7957600091614c04575090565b903d8082843e614c148184613906565b8201916020818403126102cc5780519067ffffffffffffffff8211610a1a570182601f820112156102cc57805191614c4b83613a5a565b93614c596040519586613906565b8385526020848401011161028e575090613ae69160208085019101613947565b6040513d6000823e3d90fd5b90915081817a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008281811015614fb9575b50506d04ee2d6d415b85acef810000000080831015614fac575b50662386f26fc1000080831015614f9f575b506305f5e10080831015614f92575b5061271080831015614f85575b506064821015614f77575b600a80921015614f6f575b600180820194614d36614d2087613a5a565b96614d2e6040519889613906565b808852613a5a565b93602091836021848a01967fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08099013689378a0101905b614f15575b5050506040519586938691600654614d8981613800565b90858782169182600014614ed8575050600114614e7e575b508291614db19151938491613947565b01908560075493614dc185613800565b94818116908115614e415750600114614dea575b5050505050613ae69203908101835282613906565b600782527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68897505b848210614e2b57505050019250613ae638808080614dd5565b8754848301529687019688955090820190614e12565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016855250505050811515909102019250613ae638808080614dd5565b6006895291925090877ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f5b828210614ec0575050850183019190614db1614da1565b80549782018601979097528996908501908601614ea9565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168982015282151590920288019091019350614db19050614da1565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff839101917f30313233343536373839616263646566000000000000000000000000000000008282061a835304908482614d6d5750614d72565b600101614d0e565b906064600291049101614d03565b6004919204910138614cf8565b6008919204910138614ceb565b6010919204910138614cdc565b6020919204910138614cca565b915091500460403880614cb056fea26469706673582212207a785fc3c837b701ad58cd3ed895b3988c99aff820d629fa6bd70cde6c33829464736f6c63430008110033

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.