ETH Price: $2,619.59 (+7.30%)
 

Overview

TokenID

26

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x924599eD...76d411006
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
CometHockeyToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.9;

import "../extensions/ERC721Airdroppable.sol";

contract CometHockeyToken is ERC721Airdroppable {
    /**
     * @notice A struct defining the token receiver.
     *
     * @param to The address to receive the token.
     * @param tokenId The token ID.
     */
    struct TokenReceiver {
        address to;
        uint256 tokenId;
    }

    /// @notice The admin wallet that holds the unclaimed tokens.
    address private _administrator;

    event AdministratorUpdated(address administrator);
    event TokensRedeemed(uint256 count);

    error NewAdministratorIsZeroAddress();
    error OnlyOwnerOrAdministrator();

    modifier onlyOwnerOrAdministrator() virtual {
        if (msg.sender != owner()) {
            if (msg.sender != _administrator) {
                revert OnlyOwnerOrAdministrator();
            }
        }
        _;
    }

    /**
     * @notice CometHockeyToken constructor.
     *
     * @param name The token name.
     * @param symbol The token symbol.
     * @param maxSupply The max supply of the token.
     * @param baseTokenURI The base token URI.
     * @param contractURI The contract URI.
     * @param administrator The wallet holding the collection prior to transfer.
     * @param royalties The royalties wallet.
     */
    constructor(
        string memory name,
        string memory symbol,
        uint256 maxSupply,
        string memory baseTokenURI,
        string memory contractURI,
        address administrator,
        address royalties
    ) ERC721Airdroppable(name, symbol) {
        // Initial maxSupply
        _maxSupply = maxSupply;

        // Initial token base URI
        _baseTokenURI = baseTokenURI;

        // Initial contract URI
        _contractURI = contractURI;

        // Initial administrator
        _administrator = administrator;

        // Initial royalties wallet
        _royalties = royalties;

        // Mint the supply out to the contract
        _mintERC2309(administrator, _maxSupply);
    }

    /**
     * @notice Set the administrator.
     *
     * @param newAdministrator The address of the administrator.
     */
    function setAdministrator(address newAdministrator) external onlyOwner {
        if (newAdministrator == address(0)) {
            revert NewAdministratorIsZeroAddress();
        }

        _administrator = newAdministrator;

        emit AdministratorUpdated(newAdministrator);
    }

    /**
     * @notice Redeem a single token to an address.
     *
     * @param to The receiving wallet address.
     * @param tokenId The token ID.
     */
    function redeem(
        address to,
        uint256 tokenId
    ) external onlyOwnerOrAdministrator {
        safeTransferFrom(_administrator, to, tokenId);
    }

    /**
     * @notice Redeem an array of tokens.
     *
     * @param receivers The array of token receivers.
     */
    function bulkRedeem(
        TokenReceiver[] memory receivers
    ) external onlyOwnerOrAdministrator {
        uint256 receiversLength = receivers.length;

        for (uint256 i = 0; i < receiversLength; i++) {
            safeTransferFrom(
                _administrator,
                receivers[i].to,
                receivers[i].tokenId
            );
        }

        emit TokensRedeemed(receiversLength);
    }
}

File 2 of 17 : 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 3 of 17 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 4 of 17 : 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 5 of 17 : 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 6 of 17 : MessageConstants.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

library MessageConstants {
    string public constant MAX_SUPPLY = "Max supply will be exceeded";
}

File 7 of 17 : ERC721Comet.sol
/*
╭━━━╮╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭━━━╮╱╱╱╱╱╱╱╱╭╮
┃╭━╮┃╱╱╱╱╱╱╱╱╱╱╱╱╱╱┃╭━╮┃╱╱╱╱╱╱╱╭╯╰╮
┃┃╱┃┣━┳━━┳━╮╭━━┳━━╮┃┃╱╰╋━━┳╮╭┳━┻╮╭╯
┃┃╱┃┃╭┫╭╮┃╭╮┫╭╮┃┃━┫┃┃╱╭┫╭╮┃╰╯┃┃━┫┃
┃╰━╯┃┃┃╭╮┃┃┃┃╰╯┃┃━┫┃╰━╯┃╰╯┃┃┃┃┃━┫╰╮
╰━━━┻╯╰╯╰┻╯╰┻━╮┣━━╯╰━━━┻━━┻┻┻┻━━┻━╯
╱╱╱╱╱╱╱╱╱╱╱╱╭━╯┃
╱╱╱╱╱╱╱╱╱╱╱╱╰━━╯
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "erc721a/contracts/ERC721A.sol";
import { IERC2981, IERC165 } from "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "./utils/Uri.sol";
import "./interfaces/ICometEvents.sol";

/**
 * @title  ERC721Comet
 * @author Orange Comet
 *
 * @notice Orange Comet standard ERC721 contract
 */
abstract contract ERC721Comet is ERC721A, Uri, ICometEvents, IERC2981 {
    /// @notice The provenanceHash
    bytes32 internal _provenanceHash;

    // The royalty percentage as a percent (e.g. 10 for 10%)
    uint256 internal _royaltyPercent;

    // The max supply of tokens in this contract.
    uint256 internal _maxSupply;

    // The beneficiary wallet.
    address internal _beneficiary;

    // The royalties wallet.
    address internal _royalties;

    /**
     * @notice ERC721 Auctionable constructor.
     *
     * @param name The token name.
     * @param symbol The token symbol.
     */
    constructor(
        string memory name,
        string memory symbol
    ) ERC721A(name, symbol) {
        // set default royalty percent to 10;
        _royaltyPercent = 10;

        // set the default royalty payout to the owner for safety
        _royalties = owner();

        // set the default beneficiary payout to the owner for safety
        _beneficiary = owner();
    }

    /**
     * @notice Sets the provenance hash.
     *
     * @param value The provenance hash.
     */
    function setProvenanceHash(bytes32 value) external onlyOwner {
        _provenanceHash = value;
    }

    /**
     * @notice Returns the provenance hash.
     */
    function provenanceHash() external view returns (bytes32) {
        return _provenanceHash;
    }

    /**
     * @notice Returns the beneficiary.
     */
    function beneficiary() external view returns (address) {
        return _beneficiary;
    }

    /**
     * @notice Returns the royalties wallet.
     */
    function royalties() external view returns (address) {
        return _royalties;
    }

    /**
     * @notice Returns the maxSupply of the contract.
     */
    function maxSupply() external view returns (uint256) {
        return _maxSupply;
    }

    /**
     * @notice Sets the beneficiary wallet address.
     *
     * @param wallet The new wallet address.
     */
    function setBeneficiary(address wallet) public onlyOwner {
        _beneficiary = wallet;
    }

    /**
     * @notice Sets the max supply of tokens.
     *
     * @param value The max supply.
     */
    function setMaxSupply(uint256 value) public onlyOwner {
        _maxSupply = value;

        emit MaxSupplyUpdated(value);
    }

    /**
     * @notice Sets the royalties wallet address.
     *
     * @param wallet The new wallet address.
     */
    function setRoyalties(address wallet) public onlyOwner {
        _royalties = wallet;
    }

    /**
     * @notice Sets the royalty percentage.
     *
     * @param value The value as an integer (e.g. 10 for 10%).
     */
    function setRoyaltyPercent(uint256 value) external onlyOwner {
        _royaltyPercent = value;
    }

    /**
     * @notice Sets the drop config in a single call.
     *
     * @param newMaxSupply The max supply of the contract.
     * @param newRoyalties The address of the royatlies wallet.
     * @param newBeneficiary The address of the beneficiary wallet.
     * @param newBaseURI The metadata baseURI.
     * @param newContractURI The metadata contractURI.
     */
    function setConfig(
        uint256 newMaxSupply,
        address newRoyalties,
        address newBeneficiary,
        string memory newBaseURI,
        string memory newContractURI
    ) external onlyOwner {
        require(
            _totalMinted() == 0,
            "Cannot set config after minting has begun"
        );

        setMaxSupply(newMaxSupply);
        setRoyalties(newRoyalties);
        setBeneficiary(newBeneficiary);
        setBaseURI(newBaseURI);
        setContractURI(newContractURI);

        emit ContractConfigUpdated(
            newMaxSupply,
            newRoyalties,
            newBeneficiary,
            newBaseURI,
            newContractURI
        );
    }

    /**
     * @notice Supporting ERC721, IER165
     *         https://eips.ethereum.org/EIPS/eip-165
     * @param interfaceId The interface identifier, as specified in ERC-165
     * @return `true` if the contract implements `interfaceId`
     */
    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override(ERC721A, IERC165) returns (bool) {
        return
            interfaceId == type(IERC2981).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @notice Gets the Base URI of the token API.
     */
    function _baseURI() internal view override returns (string memory) {
        return _baseTokenURI;
    }

    /**
     * @notice Override start token ID with #1.
     */
    function _startTokenId() internal pure virtual override returns (uint256) {
        return 1;
    }
}

File 8 of 17 : ERC721OperatorFilter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "./ERC721Comet.sol";

/**
 * @title  ERC721OperatorFilter
 *
 * @notice Implementation of the OpenSea OperatorFilter for ERC721.
 *         This is now required to deploy a contract and receive
 *         royatlies when trading on OpenSea.
 */
abstract contract ERC721OperatorFilter is ERC721Comet, DefaultOperatorFilterer {
    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        override
        onlyAllowedOperatorApproval(operator)
    {
        super.setApprovalForAll(operator, approved);
    }

    /**
     * @dev Equivalent to `_approve(to, tokenId, false)`.
     */
    function approve(address operator, uint256 tokenId)
        public
        payable
        override
        onlyAllowedOperatorApproval(operator)
    {
        super.approve(operator, tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public payable override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }
}

File 9 of 17 : ERC721Airdroppable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

import "erc721a/contracts/ERC721A.sol";
import "./IERC721Auctionable.sol";
import "../ERC721OperatorFilter.sol";
import "../constants/MessageConstants.sol";

/**
 * @dev This implements an optional extension of {ERC721A} defined in the EIP.
 */
abstract contract ERC721Airdroppable is
    ERC721OperatorFilter,
    IERC721Auctionable
{
    // A token receiver
    struct Receiver {
        address to;
        uint256 quantity;
    }

    /**
     * @notice ERC721 Airdrop constructor.
     *
     * @param name The token name.
     * @param symbol The token symbol.
     */
    constructor(
        string memory name,
        string memory symbol
    ) ERC721Comet(name, symbol) {}

    /**
     * @notice Owner can mint to specified address
     *
     * @param to The address to mint to.
     * @param quantity The number of tokens to mint.
     */
    function ownerMint(address to, uint256 quantity) external onlyOwner {
        _internalMint(to, quantity);
    }

    /**
     * @notice Airdrop to multiple receivers.
     *
     * @param receivers - the receiver tuple with to address and quantity.
     */
    function airDrop(Receiver[] memory receivers) external onlyOwner {
        uint256 amount = _totalQuantity(receivers);
        require(
            totalSupply() + amount <= _maxSupply,
            MessageConstants.MAX_SUPPLY
        );

        for (uint256 i = 0; i < receivers.length; i++) {
            _internalMint(receivers[i].to, receivers[i].quantity);
        }
    }

    /**
     * @notice Called with the sale price to determine how much royalty
     *         is owed and to whom.
     * @param _tokenId - the NFT asset queried for royalty information
     * @param _salePrice - the sale price of the NFT asset specified by _tokenId
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for _salePrice
     */
    function royaltyInfo(
        uint256 _tokenId,
        uint256 _salePrice
    ) external view returns (address, uint256 royaltyAmount) {
        // Silence solc unused parameter warning.
        // All tokens have the same royalty.
        _tokenId;
        royaltyAmount = (_salePrice / 100) * _royaltyPercent;

        return (_royalties, royaltyAmount);
    }

    /**
     * @notice Mint next available token(s) to addres using ERC721A _safeMint
     *
     * @param to The address to mint to.
     * @param quantity The number of tokens to mint.
     */
    function _internalMint(address to, uint256 quantity) private {
        require(
            totalSupply() + quantity <= _maxSupply,
            MessageConstants.MAX_SUPPLY
        );

        _safeMint(to, quantity);
    }

    /**
     * @notice Return total quantity of tokens from an array of receivers.
     *
     * @return uint256 - the total quantity within the receivers array
     */
    function _totalQuantity(
        Receiver[] memory receivers
    ) private pure returns (uint256) {
        uint256 totalQuantity = 0;

        for (uint256 i = 0; i < receivers.length; i++) {
            totalQuantity += receivers[i].quantity;
        }

        return totalQuantity;
    }
}

File 10 of 17 : IERC721Auctionable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

import "erc721a/contracts/IERC721A.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Auctionable {
    /**
     * @notice Owner can mint to specified address
     *
     * @param to The address to mint to.
     * @param quantity The number of tokens to mint
     */
    function ownerMint(address to, uint256 quantity) external;
}

File 11 of 17 : ICometEvents.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

interface ICometEvents {
    /**
     * @dev Emit an event when the contract configuration is updated.
     */
    event ContractConfigUpdated(
        uint256 maxSupply,
        address royalties,
        address beneficiary,
        string baseURI,
        string contractURI
    );

    /**
     * @dev Emit an event when the max supply is updated.
     */
    event MaxSupplyUpdated(uint256 maxSupply);
}

File 12 of 17 : Uri.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/access/Ownable.sol";

abstract contract Uri is Ownable {
    // The token metadata base URI
    string _baseTokenURI;

    // The contract base URI
    string _contractURI;

    /**
     * @notice Token metadata base URI.
     */
    function baseURI() external view returns (string memory) {
        return _baseTokenURI;
    }

    /**
     * @notice Sets the Base URI for the token API. "public" modifier is used
     *         so internal methods can call.
     * @param uri The new URI to set
     */
    function setBaseURI(string memory uri) public onlyOwner {
        _baseTokenURI = uri;
    }

    /**
     * @notice Sets the Contract URI for marketplace APIs.
     * @param uri The new URI to set
     */
    function setContractURI(string memory uri) public onlyOwner {
        _contractURI = uri;
    }

    /**
     * @notice OpenSea contract level metdata standard for displaying on
     *         storefront.
     *         Reference: https://docs.opensea.io/docs/contract-level-metadata
     */
    function contractURI() public view returns (string memory) {
        return _contractURI;
    }
}

File 13 of 17 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

    // Mapping from token ID to approved address.
    mapping(uint256 => TokenApprovalRef) private _tokenApprovals;

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 14 of 17 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables
     * (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`,
     * checking first that contract recipients are aware of the ERC721 protocol
     * to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move
     * this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom}
     * whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external payable;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 15 of 17 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 16 of 17 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

File 17 of 17 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"string","name":"contractURI","type":"string"},{"internalType":"address","name":"administrator","type":"address"},{"internalType":"address","name":"royalties","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NewAdministratorIsZeroAddress","type":"error"},{"inputs":[],"name":"OnlyOwnerOrAdministrator","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"administrator","type":"address"}],"name":"AdministratorUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","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":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxSupply","type":"uint256"},{"indexed":false,"internalType":"address","name":"royalties","type":"address"},{"indexed":false,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"string","name":"baseURI","type":"string"},{"indexed":false,"internalType":"string","name":"contractURI","type":"string"}],"name":"ContractConfigUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"MaxSupplyUpdated","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":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"TokensRedeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"internalType":"struct ERC721Airdroppable.Receiver[]","name":"receivers","type":"tuple[]"}],"name":"airDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beneficiary","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"internalType":"struct CometHockeyToken.TokenReceiver[]","name":"receivers","type":"tuple[]"}],"name":"bulkRedeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royalties","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdministrator","type":"address"}],"name":"setAdministrator","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":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"setBeneficiary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"},{"internalType":"address","name":"newRoyalties","type":"address"},{"internalType":"address","name":"newBeneficiary","type":"address"},{"internalType":"string","name":"newBaseURI","type":"string"},{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"value","type":"bytes32"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setRoyaltyPercent","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":[],"name":"totalSupply","outputs":[{"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":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162004a7b38038062004a7b833981810160405281019062000037919062000a06565b8686733cc6cdda760b79bafa08df41ecfa224f810dceb6600183838181816002908162000065919062000d76565b50806003908162000077919062000d76565b50620000886200042160201b60201c565b6000819055505050620000b0620000a46200042a60201b60201c565b6200043260201b60201c565b600a600c81905550620000c8620004f860201b60201c565b600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000118620004f860201b60201c565b600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156200034f57801562000215576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001db92919062000e6e565b600060405180830381600087803b158015620001f657600080fd5b505af11580156200020b573d6000803e3d6000fd5b505050506200034e565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002cf576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200029592919062000e6e565b600060405180830381600087803b158015620002b057600080fd5b505af1158015620002c5573d6000803e3d6000fd5b505050506200034d565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000318919062000e9b565b600060405180830381600087803b1580156200033357600080fd5b505af115801562000348573d6000803e3d6000fd5b505050505b5b5b5050505084600d8190555083600990816200036b919062000d76565b5082600a90816200037d919062000d76565b5081601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200041482600d546200052260201b60201c565b5050505050505062000ee6565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200058f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203620005ca576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61138882111562000607576040517f3db1f9af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200061c60008483856200075360201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550620006ab836200068d60008660006200075960201b60201c565b6200069e856200078960201b60201c565b176200079960201b60201c565b60046000838152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff16827fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d60018686010360405162000728919062000ec9565b60405180910390a48181016000819055506200074e6000848385620007c460201b60201c565b505050565b50505050565b60008060e883901c905060e862000778868684620007ca60201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60009392505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200083c82620007f1565b810181811067ffffffffffffffff821117156200085e576200085d62000802565b5b80604052505050565b600062000873620007d3565b905062000881828262000831565b919050565b600067ffffffffffffffff821115620008a457620008a362000802565b5b620008af82620007f1565b9050602081019050919050565b60005b83811015620008dc578082015181840152602081019050620008bf565b60008484015250505050565b6000620008ff620008f98462000886565b62000867565b9050828152602081018484840111156200091e576200091d620007ec565b5b6200092b848285620008bc565b509392505050565b600082601f8301126200094b576200094a620007e7565b5b81516200095d848260208601620008e8565b91505092915050565b6000819050919050565b6200097b8162000966565b81146200098757600080fd5b50565b6000815190506200099b8162000970565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620009ce82620009a1565b9050919050565b620009e081620009c1565b8114620009ec57600080fd5b50565b60008151905062000a0081620009d5565b92915050565b600080600080600080600060e0888a03121562000a285762000a27620007dd565b5b600088015167ffffffffffffffff81111562000a495762000a48620007e2565b5b62000a578a828b0162000933565b975050602088015167ffffffffffffffff81111562000a7b5762000a7a620007e2565b5b62000a898a828b0162000933565b965050604062000a9c8a828b016200098a565b955050606088015167ffffffffffffffff81111562000ac05762000abf620007e2565b5b62000ace8a828b0162000933565b945050608088015167ffffffffffffffff81111562000af25762000af1620007e2565b5b62000b008a828b0162000933565b93505060a062000b138a828b01620009ef565b92505060c062000b268a828b01620009ef565b91505092959891949750929550565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000b8857607f821691505b60208210810362000b9e5762000b9d62000b40565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000c087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000bc9565b62000c14868362000bc9565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000c5762000c5162000c4b8462000966565b62000c2c565b62000966565b9050919050565b6000819050919050565b62000c738362000c36565b62000c8b62000c828262000c5e565b84845462000bd6565b825550505050565b600090565b62000ca262000c93565b62000caf81848462000c68565b505050565b5b8181101562000cd75762000ccb60008262000c98565b60018101905062000cb5565b5050565b601f82111562000d265762000cf08162000ba4565b62000cfb8462000bb9565b8101602085101562000d0b578190505b62000d2362000d1a8562000bb9565b83018262000cb4565b50505b505050565b600082821c905092915050565b600062000d4b6000198460080262000d2b565b1980831691505092915050565b600062000d66838362000d38565b9150826002028217905092915050565b62000d818262000b35565b67ffffffffffffffff81111562000d9d5762000d9c62000802565b5b62000da9825462000b6f565b62000db682828562000cdb565b600060209050601f83116001811462000dee576000841562000dd9578287015190505b62000de5858262000d58565b86555062000e55565b601f19841662000dfe8662000ba4565b60005b8281101562000e285784890151825560018201915060208501945060208101905062000e01565b8683101562000e48578489015162000e44601f89168262000d38565b8355505b6001600288020188555050505b505050505050565b62000e6881620009c1565b82525050565b600060408201905062000e85600083018562000e5d565b62000e94602083018462000e5d565b9392505050565b600060208201905062000eb2600083018462000e5d565b92915050565b62000ec38162000966565b82525050565b600060208201905062000ee0600083018462000eb8565b92915050565b613b858062000ef66000396000f3fe6080604052600436106102255760003560e01c80636f8b44b011610123578063b98c27e6116100ab578063e8a3d4851161006f578063e8a3d485146107b8578063e985e9c5146107e3578063ef1b7f6914610820578063f053dc5c14610849578063f2fde38b1461087457610225565b8063b98c27e6146106d3578063c6ab67a3146106fc578063c87b56dd14610727578063d5abeb0114610764578063df8089ef1461078f57610225565b8063938e3d7b116100f2578063938e3d7b1461061157806395d89b411461063a5780639a4fc64014610665578063a22cb4651461068e578063b88d4fde146106b757610225565b80636f8b44b01461056957806370a0823114610592578063715018a6146105cf5780638da5cb5b146105e657610225565b80632a55205a116101b157806342842e0e1161017557806342842e0e14610493578063484b973c146104af57806355f804b3146104d85780636352211e146105015780636c0360eb1461053e57610225565b80632a55205a146103ad5780632a9e63c6146103eb5780632eff1a721461041457806338af3eed1461043d57806341f434341461046857610225565b8063099b6bfa116101f8578063099b6bfa146102eb57806318160ddd146103145780631c31f7101461033f5780631e9a69501461036857806323b872dd1461039157610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190612843565b61089d565b60405161025e919061288b565b60405180910390f35b34801561027357600080fd5b5061027c610917565b6040516102899190612936565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b4919061298e565b6109a9565b6040516102c691906129fc565b60405180910390f35b6102e960048036038101906102e49190612a43565b610a28565b005b3480156102f757600080fd5b50610312600480360381019061030d9190612ab9565b610a41565b005b34801561032057600080fd5b50610329610a53565b6040516103369190612af5565b60405180910390f35b34801561034b57600080fd5b5061036660048036038101906103619190612b10565b610a6a565b005b34801561037457600080fd5b5061038f600480360381019061038a9190612a43565b610ab6565b005b6103ab60048036038101906103a69190612b3d565b610ba9565b005b3480156103b957600080fd5b506103d460048036038101906103cf9190612b90565b610bf8565b6040516103e2929190612bd0565b60405180910390f35b3480156103f757600080fd5b50610412600480360381019061040d9190612b10565b610c43565b005b34801561042057600080fd5b5061043b60048036038101906104369190612d96565b610c8f565b005b34801561044957600080fd5b50610452610e1a565b60405161045f91906129fc565b60405180910390f35b34801561047457600080fd5b5061047d610e44565b60405161048a9190612e3e565b60405180910390f35b6104ad60048036038101906104a89190612b3d565b610e56565b005b3480156104bb57600080fd5b506104d660048036038101906104d19190612a43565b610ea5565b005b3480156104e457600080fd5b506104ff60048036038101906104fa9190612f0e565b610ebb565b005b34801561050d57600080fd5b506105286004803603810190610523919061298e565b610ed6565b60405161053591906129fc565b60405180910390f35b34801561054a57600080fd5b50610553610ee8565b6040516105609190612936565b60405180910390f35b34801561057557600080fd5b50610590600480360381019061058b919061298e565b610f7a565b005b34801561059e57600080fd5b506105b960048036038101906105b49190612b10565b610fc3565b6040516105c69190612af5565b60405180910390f35b3480156105db57600080fd5b506105e461107b565b005b3480156105f257600080fd5b506105fb61108f565b60405161060891906129fc565b60405180910390f35b34801561061d57600080fd5b5061063860048036038101906106339190612f0e565b6110b9565b005b34801561064657600080fd5b5061064f6110d4565b60405161065c9190612936565b60405180910390f35b34801561067157600080fd5b5061068c6004803603810190610687919061298e565b611166565b005b34801561069a57600080fd5b506106b560048036038101906106b09190612f83565b611178565b005b6106d160048036038101906106cc9190613064565b611191565b005b3480156106df57600080fd5b506106fa60048036038101906106f591906131fa565b6111e2565b005b34801561070857600080fd5b506107116112f1565b60405161071e9190613252565b60405180910390f35b34801561073357600080fd5b5061074e6004803603810190610749919061298e565b6112fb565b60405161075b9190612936565b60405180910390f35b34801561077057600080fd5b50610779611399565b6040516107869190612af5565b60405180910390f35b34801561079b57600080fd5b506107b660048036038101906107b19190612b10565b6113a3565b005b3480156107c457600080fd5b506107cd61148c565b6040516107da9190612936565b60405180910390f35b3480156107ef57600080fd5b5061080a6004803603810190610805919061326d565b61151e565b604051610817919061288b565b60405180910390f35b34801561082c57600080fd5b50610847600480360381019061084291906132ad565b6115b2565b005b34801561085557600080fd5b5061085e611677565b60405161086b91906129fc565b60405180910390f35b34801561088057600080fd5b5061089b60048036038101906108969190612b10565b6116a1565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610910575061090f82611724565b5b9050919050565b6060600280546109269061338f565b80601f01602080910402602001604051908101604052809291908181526020018280546109529061338f565b801561099f5780601f106109745761010080835404028352916020019161099f565b820191906000526020600020905b81548152906001019060200180831161098257829003601f168201915b5050505050905090565b60006109b4826117b6565b6109ea576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610a3281611815565b610a3c8383611912565b505050565b610a49611a56565b80600b8190555050565b6000610a5d611ad4565b6001546000540303905090565b610a72611a56565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610abe61108f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b7857601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b77576040517f59d9793700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610ba5601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168383610e56565b5050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610be757610be633611815565b5b610bf2848484611add565b50505050565b600080600c54606484610c0b919061341e565b610c15919061344f565b9050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691509250929050565b610c4b611a56565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c9761108f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d5157601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d50576040517f59d9793700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b60008151905060005b81811015610dde57610dcb601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16848381518110610d9b57610d9a613491565b5b602002602001015160000151858481518110610dba57610db9613491565b5b602002602001015160200151610e56565b8080610dd6906134c0565b915050610d5a565b507f0fc399b6a319506ac01c303dceed03055883167f9773ca7fa23d96a183506c2c81604051610e0e9190612af5565b60405180910390a15050565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e9457610e9333611815565b5b610e9f848484611dff565b50505050565b610ead611a56565b610eb78282611e1f565b5050565b610ec3611a56565b8060099081610ed291906136aa565b5050565b6000610ee182611ebd565b9050919050565b606060098054610ef79061338f565b80601f0160208091040260200160405190810160405280929190818152602001828054610f239061338f565b8015610f705780601f10610f4557610100808354040283529160200191610f70565b820191906000526020600020905b815481529060010190602001808311610f5357829003601f168201915b5050505050905090565b610f82611a56565b80600d819055507f7810bd47de260c3e9ee10061cf438099dd12256c79485f12f94dbccc981e806c81604051610fb89190612af5565b60405180910390a150565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361102a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611083611a56565b61108d6000611f89565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6110c1611a56565b80600a90816110d091906136aa565b5050565b6060600380546110e39061338f565b80601f016020809104026020016040519081016040528092919081815260200182805461110f9061338f565b801561115c5780601f106111315761010080835404028352916020019161115c565b820191906000526020600020905b81548152906001019060200180831161113f57829003601f168201915b5050505050905090565b61116e611a56565b80600c8190555050565b8161118281611815565b61118c838361204f565b505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111cf576111ce33611815565b5b6111db8585858561215a565b5050505050565b6111ea611a56565b60006111f5826121cd565b9050600d5481611203610a53565b61120d919061377c565b11156040518060400160405280601b81526020017f4d617820737570706c792077696c6c206265206578636565646564000000000081525090611286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127d9190612936565b60405180910390fd5b5060005b82518110156112ec576112d98382815181106112a9576112a8613491565b5b6020026020010151600001518483815181106112c8576112c7613491565b5b602002602001015160200151611e1f565b80806112e4906134c0565b91505061128a565b505050565b6000600b54905090565b6060611306826117b6565b61133c576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611346612229565b905060008151036113665760405180602001604052806000815250611391565b80611370846122bb565b6040516020016113819291906137ec565b6040516020818303038152906040525b915050919050565b6000600d54905090565b6113ab611a56565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611411576040517fd4daf9fc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f8a99bb12510d87c60fe05e5000ed6cd7dd6e1ccc3c11ab703562b101807f3d7c8160405161148191906129fc565b60405180910390a150565b6060600a805461149b9061338f565b80601f01602080910402602001604051908101604052809291908181526020018280546114c79061338f565b80156115145780601f106114e957610100808354040283529160200191611514565b820191906000526020600020905b8154815290600101906020018083116114f757829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115ba611a56565b60006115c461230b565b14611604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fb90613882565b60405180910390fd5b61160d85610f7a565b61161684610c43565b61161f83610a6a565b61162882610ebb565b611631816110b9565b7facf9cef4a200d5fe543321e9664ea8b4fe21c59ecbf1506f1155e3316442487285858585856040516116689594939291906138a2565b60405180910390a15050505050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116a9611a56565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170f90613975565b60405180910390fd5b61172181611f89565b50565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061177f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806117af5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6000816117c1611ad4565b111580156117d0575060005482105b801561180e575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561190f576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161188c929190613995565b602060405180830381865afa1580156118a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cd91906139d3565b61190e57806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161190591906129fc565b60405180910390fd5b5b50565b600061191d82610ed6565b90508073ffffffffffffffffffffffffffffffffffffffff1661193e61231e565b73ffffffffffffffffffffffffffffffffffffffff16146119a15761196a8161196561231e565b61151e565b6119a0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b611a5e612326565b73ffffffffffffffffffffffffffffffffffffffff16611a7c61108f565b73ffffffffffffffffffffffffffffffffffffffff1614611ad2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac990613a4c565b60405180910390fd5b565b60006001905090565b6000611ae882611ebd565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b4f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611b5b8461232e565b91509150611b718187611b6c61231e565b612355565b611bbd57611b8686611b8161231e565b61151e565b611bbc576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611c23576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c308686866001612399565b8015611c3b57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611d0985611ce588888761239f565b7c0200000000000000000000000000000000000000000000000000000000176123c7565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603611d8f5760006001850190506000600460008381526020019081526020016000205403611d8d576000548114611d8c578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611df786868660016123f2565b505050505050565b611e1a83838360405180602001604052806000815250611191565b505050565b600d5481611e2b610a53565b611e35919061377c565b11156040518060400160405280601b81526020017f4d617820737570706c792077696c6c206265206578636565646564000000000081525090611eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea59190612936565b60405180910390fd5b50611eb982826123f8565b5050565b60008082905080611ecc611ad4565b11611f5257600054811015611f515760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611f4f575b60008103611f45576004600083600190039350838152602001908152602001600020549050611f1b565b8092505050611f84565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b806007600061205c61231e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661210961231e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161214e919061288b565b60405180910390a35050565b612165848484610ba9565b60008373ffffffffffffffffffffffffffffffffffffffff163b146121c75761219084848484612416565b6121c6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000806000905060005b835181101561221f578381815181106121f3576121f2613491565b5b6020026020010151602001518261220a919061377c565b91508080612217906134c0565b9150506121d7565b5080915050919050565b6060600980546122389061338f565b80601f01602080910402602001604051908101604052809291908181526020018280546122649061338f565b80156122b15780601f10612286576101008083540402835291602001916122b1565b820191906000526020600020905b81548152906001019060200180831161229457829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b6001156122f657600184039350600a81066030018453600a81049050806122d4575b50828103602084039350808452505050919050565b6000612315611ad4565b60005403905090565b600033905090565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86123b6868684612566565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61241282826040518060200160405280600081525061256f565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261243c61231e565b8786866040518563ffffffff1660e01b815260040161245e9493929190613ac1565b6020604051808303816000875af192505050801561249a57506040513d601f19601f820116820180604052508101906124979190613b22565b60015b612513573d80600081146124ca576040519150601f19603f3d011682016040523d82523d6000602084013e6124cf565b606091505b50600081510361250b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b612579838361260c565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461260757600080549050600083820390505b6125b96000868380600101945086612416565b6125ef576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106125a657816000541461260457600080fd5b50505b505050565b6000805490506000820361264c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126596000848385612399565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506126d0836126c1600086600061239f565b6126ca856127c7565b176123c7565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461277157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612736565b50600082036127ac576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506127c260008483856123f2565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612820816127eb565b811461282b57600080fd5b50565b60008135905061283d81612817565b92915050565b600060208284031215612859576128586127e1565b5b60006128678482850161282e565b91505092915050565b60008115159050919050565b61288581612870565b82525050565b60006020820190506128a0600083018461287c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156128e05780820151818401526020810190506128c5565b60008484015250505050565b6000601f19601f8301169050919050565b6000612908826128a6565b61291281856128b1565b93506129228185602086016128c2565b61292b816128ec565b840191505092915050565b6000602082019050818103600083015261295081846128fd565b905092915050565b6000819050919050565b61296b81612958565b811461297657600080fd5b50565b60008135905061298881612962565b92915050565b6000602082840312156129a4576129a36127e1565b5b60006129b284828501612979565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129e6826129bb565b9050919050565b6129f6816129db565b82525050565b6000602082019050612a1160008301846129ed565b92915050565b612a20816129db565b8114612a2b57600080fd5b50565b600081359050612a3d81612a17565b92915050565b60008060408385031215612a5a57612a596127e1565b5b6000612a6885828601612a2e565b9250506020612a7985828601612979565b9150509250929050565b6000819050919050565b612a9681612a83565b8114612aa157600080fd5b50565b600081359050612ab381612a8d565b92915050565b600060208284031215612acf57612ace6127e1565b5b6000612add84828501612aa4565b91505092915050565b612aef81612958565b82525050565b6000602082019050612b0a6000830184612ae6565b92915050565b600060208284031215612b2657612b256127e1565b5b6000612b3484828501612a2e565b91505092915050565b600080600060608486031215612b5657612b556127e1565b5b6000612b6486828701612a2e565b9350506020612b7586828701612a2e565b9250506040612b8686828701612979565b9150509250925092565b60008060408385031215612ba757612ba66127e1565b5b6000612bb585828601612979565b9250506020612bc685828601612979565b9150509250929050565b6000604082019050612be560008301856129ed565b612bf26020830184612ae6565b9392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612c36826128ec565b810181811067ffffffffffffffff82111715612c5557612c54612bfe565b5b80604052505050565b6000612c686127d7565b9050612c748282612c2d565b919050565b600067ffffffffffffffff821115612c9457612c93612bfe565b5b602082029050602081019050919050565b600080fd5b600080fd5b600060408284031215612cc557612cc4612caa565b5b612ccf6040612c5e565b90506000612cdf84828501612a2e565b6000830152506020612cf384828501612979565b60208301525092915050565b6000612d12612d0d84612c79565b612c5e565b90508083825260208201905060408402830185811115612d3557612d34612ca5565b5b835b81811015612d5e5780612d4a8882612caf565b845260208401935050604081019050612d37565b5050509392505050565b600082601f830112612d7d57612d7c612bf9565b5b8135612d8d848260208601612cff565b91505092915050565b600060208284031215612dac57612dab6127e1565b5b600082013567ffffffffffffffff811115612dca57612dc96127e6565b5b612dd684828501612d68565b91505092915050565b6000819050919050565b6000612e04612dff612dfa846129bb565b612ddf565b6129bb565b9050919050565b6000612e1682612de9565b9050919050565b6000612e2882612e0b565b9050919050565b612e3881612e1d565b82525050565b6000602082019050612e536000830184612e2f565b92915050565b600080fd5b600067ffffffffffffffff821115612e7957612e78612bfe565b5b612e82826128ec565b9050602081019050919050565b82818337600083830152505050565b6000612eb1612eac84612e5e565b612c5e565b905082815260208101848484011115612ecd57612ecc612e59565b5b612ed8848285612e8f565b509392505050565b600082601f830112612ef557612ef4612bf9565b5b8135612f05848260208601612e9e565b91505092915050565b600060208284031215612f2457612f236127e1565b5b600082013567ffffffffffffffff811115612f4257612f416127e6565b5b612f4e84828501612ee0565b91505092915050565b612f6081612870565b8114612f6b57600080fd5b50565b600081359050612f7d81612f57565b92915050565b60008060408385031215612f9a57612f996127e1565b5b6000612fa885828601612a2e565b9250506020612fb985828601612f6e565b9150509250929050565b600067ffffffffffffffff821115612fde57612fdd612bfe565b5b612fe7826128ec565b9050602081019050919050565b600061300761300284612fc3565b612c5e565b90508281526020810184848401111561302357613022612e59565b5b61302e848285612e8f565b509392505050565b600082601f83011261304b5761304a612bf9565b5b813561305b848260208601612ff4565b91505092915050565b6000806000806080858703121561307e5761307d6127e1565b5b600061308c87828801612a2e565b945050602061309d87828801612a2e565b93505060406130ae87828801612979565b925050606085013567ffffffffffffffff8111156130cf576130ce6127e6565b5b6130db87828801613036565b91505092959194509250565b600067ffffffffffffffff82111561310257613101612bfe565b5b602082029050602081019050919050565b60006040828403121561312957613128612caa565b5b6131336040612c5e565b9050600061314384828501612a2e565b600083015250602061315784828501612979565b60208301525092915050565b6000613176613171846130e7565b612c5e565b9050808382526020820190506040840283018581111561319957613198612ca5565b5b835b818110156131c257806131ae8882613113565b84526020840193505060408101905061319b565b5050509392505050565b600082601f8301126131e1576131e0612bf9565b5b81356131f1848260208601613163565b91505092915050565b6000602082840312156132105761320f6127e1565b5b600082013567ffffffffffffffff81111561322e5761322d6127e6565b5b61323a848285016131cc565b91505092915050565b61324c81612a83565b82525050565b60006020820190506132676000830184613243565b92915050565b60008060408385031215613284576132836127e1565b5b600061329285828601612a2e565b92505060206132a385828601612a2e565b9150509250929050565b600080600080600060a086880312156132c9576132c86127e1565b5b60006132d788828901612979565b95505060206132e888828901612a2e565b94505060406132f988828901612a2e565b935050606086013567ffffffffffffffff81111561331a576133196127e6565b5b61332688828901612ee0565b925050608086013567ffffffffffffffff811115613347576133466127e6565b5b61335388828901612ee0565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806133a757607f821691505b6020821081036133ba576133b9613360565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061342982612958565b915061343483612958565b925082613444576134436133c0565b5b828204905092915050565b600061345a82612958565b915061346583612958565b925082820261347381612958565b9150828204841483151761348a576134896133ef565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006134cb82612958565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036134fd576134fc6133ef565b5b600182019050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261356a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261352d565b613574868361352d565b95508019841693508086168417925050509392505050565b60006135a76135a261359d84612958565b612ddf565b612958565b9050919050565b6000819050919050565b6135c18361358c565b6135d56135cd826135ae565b84845461353a565b825550505050565b600090565b6135ea6135dd565b6135f58184846135b8565b505050565b5b818110156136195761360e6000826135e2565b6001810190506135fb565b5050565b601f82111561365e5761362f81613508565b6136388461351d565b81016020851015613647578190505b61365b6136538561351d565b8301826135fa565b50505b505050565b600082821c905092915050565b600061368160001984600802613663565b1980831691505092915050565b600061369a8383613670565b9150826002028217905092915050565b6136b3826128a6565b67ffffffffffffffff8111156136cc576136cb612bfe565b5b6136d6825461338f565b6136e182828561361d565b600060209050601f8311600181146137145760008415613702578287015190505b61370c858261368e565b865550613774565b601f19841661372286613508565b60005b8281101561374a57848901518255600182019150602085019450602081019050613725565b868310156137675784890151613763601f891682613670565b8355505b6001600288020188555050505b505050505050565b600061378782612958565b915061379283612958565b92508282019050808211156137aa576137a96133ef565b5b92915050565b600081905092915050565b60006137c6826128a6565b6137d081856137b0565b93506137e08185602086016128c2565b80840191505092915050565b60006137f882856137bb565b915061380482846137bb565b91508190509392505050565b7f43616e6e6f742073657420636f6e666967206166746572206d696e74696e672060008201527f68617320626567756e0000000000000000000000000000000000000000000000602082015250565b600061386c6029836128b1565b915061387782613810565b604082019050919050565b6000602082019050818103600083015261389b8161385f565b9050919050565b600060a0820190506138b76000830188612ae6565b6138c460208301876129ed565b6138d160408301866129ed565b81810360608301526138e381856128fd565b905081810360808301526138f781846128fd565b90509695505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061395f6026836128b1565b915061396a82613903565b604082019050919050565b6000602082019050818103600083015261398e81613952565b9050919050565b60006040820190506139aa60008301856129ed565b6139b760208301846129ed565b9392505050565b6000815190506139cd81612f57565b92915050565b6000602082840312156139e9576139e86127e1565b5b60006139f7848285016139be565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a366020836128b1565b9150613a4182613a00565b602082019050919050565b60006020820190508181036000830152613a6581613a29565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613a9382613a6c565b613a9d8185613a77565b9350613aad8185602086016128c2565b613ab6816128ec565b840191505092915050565b6000608082019050613ad660008301876129ed565b613ae360208301866129ed565b613af06040830185612ae6565b8181036060830152613b028184613a88565b905095945050505050565b600081519050613b1c81612817565b92915050565b600060208284031215613b3857613b376127e1565b5b6000613b4684828501613b0d565b9150509291505056fea2646970667358221220a8ffe60c207dc0a0abe80ab3c60ae4d55f73000b9e31236e1b4fe78ebea48b4764736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002bc000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000c90a1b9a8045581ab3cc65a4512c48d03ad2c8b0000000000000000000000001e70dcbb058a9f9dd968702c3f48877169b02c60000000000000000000000000000000000000000000000000000000000000000f4b72616b656e20446f75626c6f6f6e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f4b52414b454e2d444f55424c4f4f4e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f6170692e6f72616e6765636f6d65742e696f2f636f6c6c65637469626c652d6d657461646174612f6b72616b656e2d646f75626c6f6f6e2f000000000000000000000000000000000000000000000000000000000000004868747470733a2f2f6170692e6f72616e6765636f6d65742e696f2f636f6c6c65637469626c652d636f6e7472616374732f6b72616b656e2d646f75626c6f6f6e2f6f70656e736561000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102255760003560e01c80636f8b44b011610123578063b98c27e6116100ab578063e8a3d4851161006f578063e8a3d485146107b8578063e985e9c5146107e3578063ef1b7f6914610820578063f053dc5c14610849578063f2fde38b1461087457610225565b8063b98c27e6146106d3578063c6ab67a3146106fc578063c87b56dd14610727578063d5abeb0114610764578063df8089ef1461078f57610225565b8063938e3d7b116100f2578063938e3d7b1461061157806395d89b411461063a5780639a4fc64014610665578063a22cb4651461068e578063b88d4fde146106b757610225565b80636f8b44b01461056957806370a0823114610592578063715018a6146105cf5780638da5cb5b146105e657610225565b80632a55205a116101b157806342842e0e1161017557806342842e0e14610493578063484b973c146104af57806355f804b3146104d85780636352211e146105015780636c0360eb1461053e57610225565b80632a55205a146103ad5780632a9e63c6146103eb5780632eff1a721461041457806338af3eed1461043d57806341f434341461046857610225565b8063099b6bfa116101f8578063099b6bfa146102eb57806318160ddd146103145780631c31f7101461033f5780631e9a69501461036857806323b872dd1461039157610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190612843565b61089d565b60405161025e919061288b565b60405180910390f35b34801561027357600080fd5b5061027c610917565b6040516102899190612936565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b4919061298e565b6109a9565b6040516102c691906129fc565b60405180910390f35b6102e960048036038101906102e49190612a43565b610a28565b005b3480156102f757600080fd5b50610312600480360381019061030d9190612ab9565b610a41565b005b34801561032057600080fd5b50610329610a53565b6040516103369190612af5565b60405180910390f35b34801561034b57600080fd5b5061036660048036038101906103619190612b10565b610a6a565b005b34801561037457600080fd5b5061038f600480360381019061038a9190612a43565b610ab6565b005b6103ab60048036038101906103a69190612b3d565b610ba9565b005b3480156103b957600080fd5b506103d460048036038101906103cf9190612b90565b610bf8565b6040516103e2929190612bd0565b60405180910390f35b3480156103f757600080fd5b50610412600480360381019061040d9190612b10565b610c43565b005b34801561042057600080fd5b5061043b60048036038101906104369190612d96565b610c8f565b005b34801561044957600080fd5b50610452610e1a565b60405161045f91906129fc565b60405180910390f35b34801561047457600080fd5b5061047d610e44565b60405161048a9190612e3e565b60405180910390f35b6104ad60048036038101906104a89190612b3d565b610e56565b005b3480156104bb57600080fd5b506104d660048036038101906104d19190612a43565b610ea5565b005b3480156104e457600080fd5b506104ff60048036038101906104fa9190612f0e565b610ebb565b005b34801561050d57600080fd5b506105286004803603810190610523919061298e565b610ed6565b60405161053591906129fc565b60405180910390f35b34801561054a57600080fd5b50610553610ee8565b6040516105609190612936565b60405180910390f35b34801561057557600080fd5b50610590600480360381019061058b919061298e565b610f7a565b005b34801561059e57600080fd5b506105b960048036038101906105b49190612b10565b610fc3565b6040516105c69190612af5565b60405180910390f35b3480156105db57600080fd5b506105e461107b565b005b3480156105f257600080fd5b506105fb61108f565b60405161060891906129fc565b60405180910390f35b34801561061d57600080fd5b5061063860048036038101906106339190612f0e565b6110b9565b005b34801561064657600080fd5b5061064f6110d4565b60405161065c9190612936565b60405180910390f35b34801561067157600080fd5b5061068c6004803603810190610687919061298e565b611166565b005b34801561069a57600080fd5b506106b560048036038101906106b09190612f83565b611178565b005b6106d160048036038101906106cc9190613064565b611191565b005b3480156106df57600080fd5b506106fa60048036038101906106f591906131fa565b6111e2565b005b34801561070857600080fd5b506107116112f1565b60405161071e9190613252565b60405180910390f35b34801561073357600080fd5b5061074e6004803603810190610749919061298e565b6112fb565b60405161075b9190612936565b60405180910390f35b34801561077057600080fd5b50610779611399565b6040516107869190612af5565b60405180910390f35b34801561079b57600080fd5b506107b660048036038101906107b19190612b10565b6113a3565b005b3480156107c457600080fd5b506107cd61148c565b6040516107da9190612936565b60405180910390f35b3480156107ef57600080fd5b5061080a6004803603810190610805919061326d565b61151e565b604051610817919061288b565b60405180910390f35b34801561082c57600080fd5b50610847600480360381019061084291906132ad565b6115b2565b005b34801561085557600080fd5b5061085e611677565b60405161086b91906129fc565b60405180910390f35b34801561088057600080fd5b5061089b60048036038101906108969190612b10565b6116a1565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610910575061090f82611724565b5b9050919050565b6060600280546109269061338f565b80601f01602080910402602001604051908101604052809291908181526020018280546109529061338f565b801561099f5780601f106109745761010080835404028352916020019161099f565b820191906000526020600020905b81548152906001019060200180831161098257829003601f168201915b5050505050905090565b60006109b4826117b6565b6109ea576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610a3281611815565b610a3c8383611912565b505050565b610a49611a56565b80600b8190555050565b6000610a5d611ad4565b6001546000540303905090565b610a72611a56565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610abe61108f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b7857601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b77576040517f59d9793700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610ba5601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168383610e56565b5050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610be757610be633611815565b5b610bf2848484611add565b50505050565b600080600c54606484610c0b919061341e565b610c15919061344f565b9050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691509250929050565b610c4b611a56565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c9761108f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d5157601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d50576040517f59d9793700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b60008151905060005b81811015610dde57610dcb601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16848381518110610d9b57610d9a613491565b5b602002602001015160000151858481518110610dba57610db9613491565b5b602002602001015160200151610e56565b8080610dd6906134c0565b915050610d5a565b507f0fc399b6a319506ac01c303dceed03055883167f9773ca7fa23d96a183506c2c81604051610e0e9190612af5565b60405180910390a15050565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e9457610e9333611815565b5b610e9f848484611dff565b50505050565b610ead611a56565b610eb78282611e1f565b5050565b610ec3611a56565b8060099081610ed291906136aa565b5050565b6000610ee182611ebd565b9050919050565b606060098054610ef79061338f565b80601f0160208091040260200160405190810160405280929190818152602001828054610f239061338f565b8015610f705780601f10610f4557610100808354040283529160200191610f70565b820191906000526020600020905b815481529060010190602001808311610f5357829003601f168201915b5050505050905090565b610f82611a56565b80600d819055507f7810bd47de260c3e9ee10061cf438099dd12256c79485f12f94dbccc981e806c81604051610fb89190612af5565b60405180910390a150565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361102a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611083611a56565b61108d6000611f89565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6110c1611a56565b80600a90816110d091906136aa565b5050565b6060600380546110e39061338f565b80601f016020809104026020016040519081016040528092919081815260200182805461110f9061338f565b801561115c5780601f106111315761010080835404028352916020019161115c565b820191906000526020600020905b81548152906001019060200180831161113f57829003601f168201915b5050505050905090565b61116e611a56565b80600c8190555050565b8161118281611815565b61118c838361204f565b505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111cf576111ce33611815565b5b6111db8585858561215a565b5050505050565b6111ea611a56565b60006111f5826121cd565b9050600d5481611203610a53565b61120d919061377c565b11156040518060400160405280601b81526020017f4d617820737570706c792077696c6c206265206578636565646564000000000081525090611286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127d9190612936565b60405180910390fd5b5060005b82518110156112ec576112d98382815181106112a9576112a8613491565b5b6020026020010151600001518483815181106112c8576112c7613491565b5b602002602001015160200151611e1f565b80806112e4906134c0565b91505061128a565b505050565b6000600b54905090565b6060611306826117b6565b61133c576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611346612229565b905060008151036113665760405180602001604052806000815250611391565b80611370846122bb565b6040516020016113819291906137ec565b6040516020818303038152906040525b915050919050565b6000600d54905090565b6113ab611a56565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611411576040517fd4daf9fc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f8a99bb12510d87c60fe05e5000ed6cd7dd6e1ccc3c11ab703562b101807f3d7c8160405161148191906129fc565b60405180910390a150565b6060600a805461149b9061338f565b80601f01602080910402602001604051908101604052809291908181526020018280546114c79061338f565b80156115145780601f106114e957610100808354040283529160200191611514565b820191906000526020600020905b8154815290600101906020018083116114f757829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115ba611a56565b60006115c461230b565b14611604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fb90613882565b60405180910390fd5b61160d85610f7a565b61161684610c43565b61161f83610a6a565b61162882610ebb565b611631816110b9565b7facf9cef4a200d5fe543321e9664ea8b4fe21c59ecbf1506f1155e3316442487285858585856040516116689594939291906138a2565b60405180910390a15050505050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116a9611a56565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170f90613975565b60405180910390fd5b61172181611f89565b50565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061177f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806117af5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6000816117c1611ad4565b111580156117d0575060005482105b801561180e575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561190f576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161188c929190613995565b602060405180830381865afa1580156118a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cd91906139d3565b61190e57806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161190591906129fc565b60405180910390fd5b5b50565b600061191d82610ed6565b90508073ffffffffffffffffffffffffffffffffffffffff1661193e61231e565b73ffffffffffffffffffffffffffffffffffffffff16146119a15761196a8161196561231e565b61151e565b6119a0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b611a5e612326565b73ffffffffffffffffffffffffffffffffffffffff16611a7c61108f565b73ffffffffffffffffffffffffffffffffffffffff1614611ad2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac990613a4c565b60405180910390fd5b565b60006001905090565b6000611ae882611ebd565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b4f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611b5b8461232e565b91509150611b718187611b6c61231e565b612355565b611bbd57611b8686611b8161231e565b61151e565b611bbc576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611c23576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c308686866001612399565b8015611c3b57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611d0985611ce588888761239f565b7c0200000000000000000000000000000000000000000000000000000000176123c7565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603611d8f5760006001850190506000600460008381526020019081526020016000205403611d8d576000548114611d8c578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611df786868660016123f2565b505050505050565b611e1a83838360405180602001604052806000815250611191565b505050565b600d5481611e2b610a53565b611e35919061377c565b11156040518060400160405280601b81526020017f4d617820737570706c792077696c6c206265206578636565646564000000000081525090611eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea59190612936565b60405180910390fd5b50611eb982826123f8565b5050565b60008082905080611ecc611ad4565b11611f5257600054811015611f515760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611f4f575b60008103611f45576004600083600190039350838152602001908152602001600020549050611f1b565b8092505050611f84565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b806007600061205c61231e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661210961231e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161214e919061288b565b60405180910390a35050565b612165848484610ba9565b60008373ffffffffffffffffffffffffffffffffffffffff163b146121c75761219084848484612416565b6121c6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000806000905060005b835181101561221f578381815181106121f3576121f2613491565b5b6020026020010151602001518261220a919061377c565b91508080612217906134c0565b9150506121d7565b5080915050919050565b6060600980546122389061338f565b80601f01602080910402602001604051908101604052809291908181526020018280546122649061338f565b80156122b15780601f10612286576101008083540402835291602001916122b1565b820191906000526020600020905b81548152906001019060200180831161229457829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b6001156122f657600184039350600a81066030018453600a81049050806122d4575b50828103602084039350808452505050919050565b6000612315611ad4565b60005403905090565b600033905090565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86123b6868684612566565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61241282826040518060200160405280600081525061256f565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261243c61231e565b8786866040518563ffffffff1660e01b815260040161245e9493929190613ac1565b6020604051808303816000875af192505050801561249a57506040513d601f19601f820116820180604052508101906124979190613b22565b60015b612513573d80600081146124ca576040519150601f19603f3d011682016040523d82523d6000602084013e6124cf565b606091505b50600081510361250b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b612579838361260c565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461260757600080549050600083820390505b6125b96000868380600101945086612416565b6125ef576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106125a657816000541461260457600080fd5b50505b505050565b6000805490506000820361264c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126596000848385612399565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506126d0836126c1600086600061239f565b6126ca856127c7565b176123c7565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461277157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612736565b50600082036127ac576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506127c260008483856123f2565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612820816127eb565b811461282b57600080fd5b50565b60008135905061283d81612817565b92915050565b600060208284031215612859576128586127e1565b5b60006128678482850161282e565b91505092915050565b60008115159050919050565b61288581612870565b82525050565b60006020820190506128a0600083018461287c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156128e05780820151818401526020810190506128c5565b60008484015250505050565b6000601f19601f8301169050919050565b6000612908826128a6565b61291281856128b1565b93506129228185602086016128c2565b61292b816128ec565b840191505092915050565b6000602082019050818103600083015261295081846128fd565b905092915050565b6000819050919050565b61296b81612958565b811461297657600080fd5b50565b60008135905061298881612962565b92915050565b6000602082840312156129a4576129a36127e1565b5b60006129b284828501612979565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129e6826129bb565b9050919050565b6129f6816129db565b82525050565b6000602082019050612a1160008301846129ed565b92915050565b612a20816129db565b8114612a2b57600080fd5b50565b600081359050612a3d81612a17565b92915050565b60008060408385031215612a5a57612a596127e1565b5b6000612a6885828601612a2e565b9250506020612a7985828601612979565b9150509250929050565b6000819050919050565b612a9681612a83565b8114612aa157600080fd5b50565b600081359050612ab381612a8d565b92915050565b600060208284031215612acf57612ace6127e1565b5b6000612add84828501612aa4565b91505092915050565b612aef81612958565b82525050565b6000602082019050612b0a6000830184612ae6565b92915050565b600060208284031215612b2657612b256127e1565b5b6000612b3484828501612a2e565b91505092915050565b600080600060608486031215612b5657612b556127e1565b5b6000612b6486828701612a2e565b9350506020612b7586828701612a2e565b9250506040612b8686828701612979565b9150509250925092565b60008060408385031215612ba757612ba66127e1565b5b6000612bb585828601612979565b9250506020612bc685828601612979565b9150509250929050565b6000604082019050612be560008301856129ed565b612bf26020830184612ae6565b9392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612c36826128ec565b810181811067ffffffffffffffff82111715612c5557612c54612bfe565b5b80604052505050565b6000612c686127d7565b9050612c748282612c2d565b919050565b600067ffffffffffffffff821115612c9457612c93612bfe565b5b602082029050602081019050919050565b600080fd5b600080fd5b600060408284031215612cc557612cc4612caa565b5b612ccf6040612c5e565b90506000612cdf84828501612a2e565b6000830152506020612cf384828501612979565b60208301525092915050565b6000612d12612d0d84612c79565b612c5e565b90508083825260208201905060408402830185811115612d3557612d34612ca5565b5b835b81811015612d5e5780612d4a8882612caf565b845260208401935050604081019050612d37565b5050509392505050565b600082601f830112612d7d57612d7c612bf9565b5b8135612d8d848260208601612cff565b91505092915050565b600060208284031215612dac57612dab6127e1565b5b600082013567ffffffffffffffff811115612dca57612dc96127e6565b5b612dd684828501612d68565b91505092915050565b6000819050919050565b6000612e04612dff612dfa846129bb565b612ddf565b6129bb565b9050919050565b6000612e1682612de9565b9050919050565b6000612e2882612e0b565b9050919050565b612e3881612e1d565b82525050565b6000602082019050612e536000830184612e2f565b92915050565b600080fd5b600067ffffffffffffffff821115612e7957612e78612bfe565b5b612e82826128ec565b9050602081019050919050565b82818337600083830152505050565b6000612eb1612eac84612e5e565b612c5e565b905082815260208101848484011115612ecd57612ecc612e59565b5b612ed8848285612e8f565b509392505050565b600082601f830112612ef557612ef4612bf9565b5b8135612f05848260208601612e9e565b91505092915050565b600060208284031215612f2457612f236127e1565b5b600082013567ffffffffffffffff811115612f4257612f416127e6565b5b612f4e84828501612ee0565b91505092915050565b612f6081612870565b8114612f6b57600080fd5b50565b600081359050612f7d81612f57565b92915050565b60008060408385031215612f9a57612f996127e1565b5b6000612fa885828601612a2e565b9250506020612fb985828601612f6e565b9150509250929050565b600067ffffffffffffffff821115612fde57612fdd612bfe565b5b612fe7826128ec565b9050602081019050919050565b600061300761300284612fc3565b612c5e565b90508281526020810184848401111561302357613022612e59565b5b61302e848285612e8f565b509392505050565b600082601f83011261304b5761304a612bf9565b5b813561305b848260208601612ff4565b91505092915050565b6000806000806080858703121561307e5761307d6127e1565b5b600061308c87828801612a2e565b945050602061309d87828801612a2e565b93505060406130ae87828801612979565b925050606085013567ffffffffffffffff8111156130cf576130ce6127e6565b5b6130db87828801613036565b91505092959194509250565b600067ffffffffffffffff82111561310257613101612bfe565b5b602082029050602081019050919050565b60006040828403121561312957613128612caa565b5b6131336040612c5e565b9050600061314384828501612a2e565b600083015250602061315784828501612979565b60208301525092915050565b6000613176613171846130e7565b612c5e565b9050808382526020820190506040840283018581111561319957613198612ca5565b5b835b818110156131c257806131ae8882613113565b84526020840193505060408101905061319b565b5050509392505050565b600082601f8301126131e1576131e0612bf9565b5b81356131f1848260208601613163565b91505092915050565b6000602082840312156132105761320f6127e1565b5b600082013567ffffffffffffffff81111561322e5761322d6127e6565b5b61323a848285016131cc565b91505092915050565b61324c81612a83565b82525050565b60006020820190506132676000830184613243565b92915050565b60008060408385031215613284576132836127e1565b5b600061329285828601612a2e565b92505060206132a385828601612a2e565b9150509250929050565b600080600080600060a086880312156132c9576132c86127e1565b5b60006132d788828901612979565b95505060206132e888828901612a2e565b94505060406132f988828901612a2e565b935050606086013567ffffffffffffffff81111561331a576133196127e6565b5b61332688828901612ee0565b925050608086013567ffffffffffffffff811115613347576133466127e6565b5b61335388828901612ee0565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806133a757607f821691505b6020821081036133ba576133b9613360565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061342982612958565b915061343483612958565b925082613444576134436133c0565b5b828204905092915050565b600061345a82612958565b915061346583612958565b925082820261347381612958565b9150828204841483151761348a576134896133ef565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006134cb82612958565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036134fd576134fc6133ef565b5b600182019050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261356a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261352d565b613574868361352d565b95508019841693508086168417925050509392505050565b60006135a76135a261359d84612958565b612ddf565b612958565b9050919050565b6000819050919050565b6135c18361358c565b6135d56135cd826135ae565b84845461353a565b825550505050565b600090565b6135ea6135dd565b6135f58184846135b8565b505050565b5b818110156136195761360e6000826135e2565b6001810190506135fb565b5050565b601f82111561365e5761362f81613508565b6136388461351d565b81016020851015613647578190505b61365b6136538561351d565b8301826135fa565b50505b505050565b600082821c905092915050565b600061368160001984600802613663565b1980831691505092915050565b600061369a8383613670565b9150826002028217905092915050565b6136b3826128a6565b67ffffffffffffffff8111156136cc576136cb612bfe565b5b6136d6825461338f565b6136e182828561361d565b600060209050601f8311600181146137145760008415613702578287015190505b61370c858261368e565b865550613774565b601f19841661372286613508565b60005b8281101561374a57848901518255600182019150602085019450602081019050613725565b868310156137675784890151613763601f891682613670565b8355505b6001600288020188555050505b505050505050565b600061378782612958565b915061379283612958565b92508282019050808211156137aa576137a96133ef565b5b92915050565b600081905092915050565b60006137c6826128a6565b6137d081856137b0565b93506137e08185602086016128c2565b80840191505092915050565b60006137f882856137bb565b915061380482846137bb565b91508190509392505050565b7f43616e6e6f742073657420636f6e666967206166746572206d696e74696e672060008201527f68617320626567756e0000000000000000000000000000000000000000000000602082015250565b600061386c6029836128b1565b915061387782613810565b604082019050919050565b6000602082019050818103600083015261389b8161385f565b9050919050565b600060a0820190506138b76000830188612ae6565b6138c460208301876129ed565b6138d160408301866129ed565b81810360608301526138e381856128fd565b905081810360808301526138f781846128fd565b90509695505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061395f6026836128b1565b915061396a82613903565b604082019050919050565b6000602082019050818103600083015261398e81613952565b9050919050565b60006040820190506139aa60008301856129ed565b6139b760208301846129ed565b9392505050565b6000815190506139cd81612f57565b92915050565b6000602082840312156139e9576139e86127e1565b5b60006139f7848285016139be565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a366020836128b1565b9150613a4182613a00565b602082019050919050565b60006020820190508181036000830152613a6581613a29565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613a9382613a6c565b613a9d8185613a77565b9350613aad8185602086016128c2565b613ab6816128ec565b840191505092915050565b6000608082019050613ad660008301876129ed565b613ae360208301866129ed565b613af06040830185612ae6565b8181036060830152613b028184613a88565b905095945050505050565b600081519050613b1c81612817565b92915050565b600060208284031215613b3857613b376127e1565b5b6000613b4684828501613b0d565b9150509291505056fea2646970667358221220a8ffe60c207dc0a0abe80ab3c60ae4d55f73000b9e31236e1b4fe78ebea48b4764736f6c63430008110033

Loading...
Loading
Loading...
Loading
[ 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.