ETH Price: $4,050.52 (+5.05%)

Token

Wild Cats (WILDCAT)
 

Overview

Max Total Supply

525 WILDCAT

Holders

104

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
12 WILDCAT
0x3f45787a672dd73d7e0f831816a1140ef6d25c0c
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
WildCats

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : wild-cats.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "@manifoldxyz/royalty-registry-solidity/contracts/overrides/RoyaltyOverrideCore.sol";
import "@manifoldxyz/royalty-registry-solidity/contracts/specs/IEIP2981.sol";

contract WildCats is
    ERC721A,
    Ownable,
    ReentrancyGuard,
    DefaultOperatorFilterer,
    EIP2981RoyaltyOverrideCore
{
    enum MintState {
        ALLOW,
        PUBLIC,
        FREE,
        DISABLED
    }

    struct Config {
        uint8 mintState;
        uint256 mintPrice;
        uint16 maxSupply;
        uint256 totalSupply;
        uint8 maxMintsPerTx;
    }

    bytes32 public allowlistMerkleRoot =
        0x84a78ec4e2639195409c837e9e47cdcf116459efda6ec0fbab3f90c20c5940c0;
    bytes32 public freelistMerkleRoot = 0x0;
    string public baseTokenURI = "https://wcaa.io/api/tokens/";
    uint256 public mintPrice = 0.00001 ether;
    MintState public mintState = MintState.DISABLED;
    uint16 public maxSupply = 3333;
    uint16 public freeMintSupply = 0;
    uint8 public maxMintsPerTx = 200;
    address public fundsReceiver = 0xD177ED2c4E6adfa9EBA67381818D476975C2B5F5;
    mapping(bytes32 => bool) public freeMintedList;
    uint8 public freeListVersion = 0;

    // MODIFIERS
    modifier mintCompliance(uint256 _mintAmount) {
        require(mintState != MintState.DISABLED, "Mint disabled");
        require(
            _mintAmount > 0 && _mintAmount <= maxMintsPerTx,
            "Invalid mint amount"
        );

        require(
            totalSupply() + _mintAmount <= maxSupply,
            "Max supply exceeded"
        );
        _;
    }

    constructor() ERC721A("Wild Cats", "WILDCAT") {
        defaultRoyalty = TokenRoyalty(fundsReceiver, 500);
    }

    // OVERRIDES
    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }

    function setApprovalForAll(
        address operator,
        bool approved
    ) public override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(
        address operator,
        uint256 tokenId
    ) public payable override onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public payable override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }

    // MESSAGES
    function setMaxSupply(uint16 _maxSupply) public onlyOwner {
        require(_maxSupply < maxSupply, "Cannot increase the supply");
        maxSupply = _maxSupply;
    }

    function setBaseTokenURI(string memory newBaseUri) public onlyOwner {
        baseTokenURI = newBaseUri;
    }

    function setMintState(
        MintState _mintState,
        uint8 _maxMintsPerTx
    ) public onlyOwner {
        mintState = _mintState;
        maxMintsPerTx = _maxMintsPerTx;
    }

    function setAllowlistMerkleRoot(
        bytes32 _allowlistMerkleRoot
    ) public onlyOwner {
        allowlistMerkleRoot = _allowlistMerkleRoot;
    }

    function setFreeListMintData(
        bytes32 _freeListMerkleRoot,
        uint16 _freeMintListCount
    ) public onlyOwner {
        freelistMerkleRoot = _freeListMerkleRoot;
        freeMintSupply = _freeMintListCount;
    }

    function publicMint(uint256 amount) public payable mintCompliance(amount) {
        require(mintState == MintState.PUBLIC, "Public mint is disabled");
        require(msg.value == mintPrice * amount, "Insufficient funds");
        require(
            totalSupply() + amount <= maxSupply - freeMintSupply,
            "Can't mint that many"
        );

        _safeMint(msg.sender, amount);
    }

    function allowlistMint(
        uint256 amount,
        bytes32[] calldata proof
    ) public payable mintCompliance(amount) {
        require(mintState == MintState.ALLOW, "Allow list mint is disabled");
        require(msg.value == mintPrice * amount, "Insufficient funds");
        require(
            totalSupply() + amount <= maxSupply - freeMintSupply,
            "Can't mint that many"
        );
        require(_verifyAllowlist(proof, msg.sender), "Invalid proof");

        _safeMint(msg.sender, amount);
    }

    function freeMint(bytes32[] calldata proof) public nonReentrant {
        bytes32 key = keccak256(abi.encodePacked(freeListVersion, msg.sender));
        require(mintState == MintState.FREE, "Free mint is disabled");
        require(totalSupply() + 1 <= maxSupply, "Can't mint that many");
        require(_verifyFreeMint(proof, msg.sender), "Invalid proof");
        require(freeMintedList[key] == false, "Can't mint more than 1 token");

        _safeMint(msg.sender, 1);

        freeMintedList[key] = true;
    }

    function resetFreeList() public onlyOwner {
        freeListVersion++;
    }

    function withdrawFunds() public onlyOwner {
        uint256 contractBalance = address(this).balance;
        // solhint-disable-next-line
        (bool success, ) = payable(fundsReceiver).call{value: contractBalance}(
            ""
        );

        require(success, "Transfer failed");
    }

    function setMintPrice(uint256 _mintPrice) public onlyOwner {
        mintPrice = _mintPrice;
    }

    /**
     * @dev See {IEIP2981RoyaltyOverride-setTokenRoyalties}.
     */
    function setTokenRoyalties(
        TokenRoyaltyConfig[] calldata royaltyConfigs
    ) external override onlyOwner {
        _setTokenRoyalties(royaltyConfigs);
    }

    /**
     * @dev See {IEIP2981RoyaltyOverride-setDefaultRoyalty}.
     */
    function setDefaultRoyalty(
        TokenRoyalty calldata royalty
    ) external override onlyOwner {
        _setDefaultRoyalty(royalty);
    }

    // MERKLE TREE
    function _verifyAllowlist(
        bytes32[] memory proof,
        address account
    ) internal view returns (bool) {
        bytes32 leaf = _leaf(account);
        return MerkleProof.verify(proof, allowlistMerkleRoot, leaf);
    }

    function _verifyFreeMint(
        bytes32[] memory proof,
        address account
    ) internal view returns (bool) {
        bytes32 leaf = _leaf(account);
        return MerkleProof.verify(proof, freelistMerkleRoot, leaf);
    }

    function _leaf(address account) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(account));
    }

    // QUERIES
    function getOwnerTokens(
        address _owner
    ) public view returns (uint256[] memory) {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory ownerTokens = new uint256[](ownerTokenCount);
        uint256 ownerTokenIdx = 0;
        for (
            uint256 tokenIdx = _startTokenId();
            tokenIdx <= totalSupply();
            tokenIdx++
        ) {
            if (ownerOf(tokenIdx) == _owner) {
                ownerTokens[ownerTokenIdx] = tokenIdx;
                ownerTokenIdx++;
            }
        }
        return ownerTokens;
    }

    function getConfig() public view returns (Config memory) {
        Config memory config = Config({
            mintState: uint8(mintState),
            mintPrice: mintPrice,
            maxSupply: maxSupply,
            totalSupply: totalSupply(),
            maxMintsPerTx: maxMintsPerTx
        });
        return config;
    }

    function supportsInterface(
        bytes4 interfaceId
    )
        public
        view
        virtual
        override(ERC721A, EIP2981RoyaltyOverrideCore)
        returns (bool)
    {
        return
            ERC721A.supportsInterface(interfaceId) ||
            EIP2981RoyaltyOverrideCore.supportsInterface(interfaceId);
    }

    function hasUserFreeMinted(address owner) public view returns (bool) {
        return
            freeMintedList[keccak256(abi.encodePacked(freeListVersion, owner))];
    }
}

File 2 of 16 : 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);
            }
        }
    }
}

File 3 of 16 : 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 4 of 16 : 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 5 of 16 : 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 6 of 16 : 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 7 of 16 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }
}

File 8 of 16 : 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 9 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 10 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 11 of 16 : 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 12 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 13 of 16 : 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 14 of 16 : IEIP2981.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 15 of 16 : RoyaltyOverrideCore.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @author: manifold.xyz

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/// @author: manifold.xyz

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

/**
 * Simple EIP2981 reference override implementation
 */
interface IEIP2981RoyaltyOverride is IERC165 {

    event TokenRoyaltyRemoved(uint256 tokenId);
    event TokenRoyaltySet(uint256 tokenId, address recipient, uint16 bps);
    event DefaultRoyaltySet(address recipient, uint16 bps);

    struct TokenRoyalty {
        address recipient;
        uint16 bps;
    }

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

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

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

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

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

}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":[{"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":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":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint16","name":"bps","type":"uint16"}],"name":"DefaultRoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TokenRoyaltyRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint16","name":"bps","type":"uint16"}],"name":"TokenRoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":[],"name":"allowlistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultRoyalty","outputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeListVersion","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMintSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"freeMintedList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fundsReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getConfig","outputs":[{"components":[{"internalType":"uint8","name":"mintState","type":"uint8"},{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint16","name":"maxSupply","type":"uint16"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint8","name":"maxMintsPerTx","type":"uint8"}],"internalType":"struct WildCats.Config","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getOwnerTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenRoyaltiesCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getTokenRoyaltyByIndex","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"internalType":"struct IEIP2981RoyaltyOverride.TokenRoyaltyConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"hasUserFreeMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"maxMintsPerTx","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintState","outputs":[{"internalType":"enum WildCats.MintState","name":"","type":"uint8"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetFreeList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":"bytes32","name":"_allowlistMerkleRoot","type":"bytes32"}],"name":"setAllowlistMerkleRoot","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":"newBaseUri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"internalType":"struct IEIP2981RoyaltyOverride.TokenRoyalty","name":"royalty","type":"tuple"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_freeListMerkleRoot","type":"bytes32"},{"internalType":"uint16","name":"_freeMintListCount","type":"uint16"}],"name":"setFreeListMintData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_maxSupply","type":"uint16"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum WildCats.MintState","name":"_mintState","type":"uint8"},{"internalType":"uint8","name":"_maxMintsPerTx","type":"uint8"}],"name":"setMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"internalType":"struct IEIP2981RoyaltyOverride.TokenRoyaltyConfig[]","name":"royaltyConfigs","type":"tuple[]"}],"name":"setTokenRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040527f84a78ec4e2639195409c837e9e47cdcf116459efda6ec0fbab3f90c20c5940c060001b600e556000801b600f556040518060400160405280601b81526020017f68747470733a2f2f776361612e696f2f6170692f746f6b656e732f00000000008152506010908162000078919062000880565b506509184e72a0006011556003601260006101000a81548160ff02191690836003811115620000ac57620000ab62000967565b5b0217905550610d05601260016101000a81548161ffff021916908361ffff1602179055506000601260036101000a81548161ffff021916908361ffff16021790555060c8601260056101000a81548160ff021916908360ff16021790555073d177ed2c4e6adfa9eba67381818d476975c2b5f5601260066101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601460006101000a81548160ff021916908360ff1602179055503480156200018857600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600981526020017f57696c64204361747300000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f57494c444341540000000000000000000000000000000000000000000000000081525081600290816200021d919062000880565b5080600390816200022f919062000880565b50620002406200052f60201b60201c565b6000819055505050620002686200025c6200053860201b60201c565b6200054060201b60201c565b600160098190555060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620004655780156200032b576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620002f1929190620009db565b600060405180830381600087803b1580156200030c57600080fd5b505af115801562000321573d6000803e3d6000fd5b5050505062000464565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620003e5576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620003ab929190620009db565b600060405180830381600087803b158015620003c657600080fd5b505af1158015620003db573d6000803e3d6000fd5b5050505062000463565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200042e919062000a08565b600060405180830381600087803b1580156200044957600080fd5b505af11580156200045e573d6000803e3d6000fd5b505050505b5b5b50506040518060400160405280601260069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016101f461ffff16815250600a60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548161ffff021916908361ffff16021790555090505062000a25565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200068857607f821691505b6020821081036200069e576200069d62000640565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620006c9565b620007148683620006c9565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620007616200075b62000755846200072c565b62000736565b6200072c565b9050919050565b6000819050919050565b6200077d8362000740565b620007956200078c8262000768565b848454620006d6565b825550505050565b600090565b620007ac6200079d565b620007b981848462000772565b505050565b5b81811015620007e157620007d5600082620007a2565b600181019050620007bf565b5050565b601f8211156200083057620007fa81620006a4565b6200080584620006b9565b8101602085101562000815578190505b6200082d6200082485620006b9565b830182620007be565b50505b505050565b600082821c905092915050565b6000620008556000198460080262000835565b1980831691505092915050565b600062000870838362000842565b9150826002028217905092915050565b6200088b8262000606565b67ffffffffffffffff811115620008a757620008a662000611565b5b620008b382546200066f565b620008c0828285620007e5565b600060209050601f831160018114620008f85760008415620008e3578287015190505b620008ef858262000862565b8655506200095f565b601f1984166200090886620006a4565b60005b8281101562000932578489015182556001820191506020850194506020810190506200090b565b868310156200095257848901516200094e601f89168262000842565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620009c38262000996565b9050919050565b620009d581620009b6565b82525050565b6000604082019050620009f26000830185620009ca565b62000a016020830184620009ca565b9392505050565b600060208201905062000a1f6000830184620009ca565b92915050565b6159b68062000a356000396000f3fe6080604052600436106102ae5760003560e01c8063715018a611610175578063c87b56dd116100dc578063e985e9c511610095578063f4a0a5281161006f578063f4a0a52814610a64578063f523c3b214610a8d578063f95df41414610ab6578063fe5e27a014610adf576102ae565b8063e985e9c5146109d5578063ef60ceaf14610a12578063f2fde38b14610a3b576102ae565b8063c87b56dd146108af578063d547cfb7146108ec578063d5abeb0114610917578063d63d4af014610942578063dc30158b1461097f578063e150007e146109aa576102ae565b806395d89b411161012e57806395d89b41146107d2578063a22cb465146107fd578063b88d4fde14610826578063bba8edf214610842578063c051e38a14610859578063c3f909d414610884576102ae565b8063715018a6146106f45780637885fdc71461070b5780637bc9200e146107375780637e9803421461075357806388d15d501461077e5780638da5cb5b146107a7576102ae565b8063293108e01161021957806349a52b7d116101d257806349a52b7d146105d25780635136dcc7146105fd5780635e32bec2146106265780636352211e1461064f5780636817c76c1461068c57806370a08231146106b7576102ae565b8063293108e0146104dd5780632a55205a146105085780632db115441461054657806330176e131461056257806341f434341461058b57806342842e0e146105b6576102ae565b80630c1b6e521161026b5780630c1b6e52146103da57806318160ddd1461041757806323b872dd1461044257806323c7e09c1461045e57806324600fc31461048957806328d96c8e146104a0576102ae565b806301ffc9a7146102b357806306421c2f146102f05780630653aca51461031957806306fdde0314610356578063081812fc14610381578063095ea7b3146103be575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190613b9b565b610b0a565b6040516102e79190613be3565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613c38565b610b2c565b005b34801561032557600080fd5b50610340600480360381019061033b9190613c9b565b610bae565b60405161034d9190613d69565b60405180910390f35b34801561036257600080fd5b5061036b610cac565b6040516103789190613e14565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a39190613c9b565b610d3e565b6040516103b59190613e45565b60405180910390f35b6103d860048036038101906103d39190613e8c565b610dbd565b005b3480156103e657600080fd5b5061040160048036038101906103fc9190613f02565b610dd6565b60405161040e9190613be3565b60405180910390f35b34801561042357600080fd5b5061042c610df6565b6040516104399190613f3e565b60405180910390f35b61045c60048036038101906104579190613f59565b610e0d565b005b34801561046a57600080fd5b50610473610e5c565b6040516104809190613e45565b60405180910390f35b34801561049557600080fd5b5061049e610e82565b005b3480156104ac57600080fd5b506104c760048036038101906104c29190613fac565b610f61565b6040516104d49190613be3565b60405180910390f35b3480156104e957600080fd5b506104f2610fc2565b6040516104ff9190613fe8565b60405180910390f35b34801561051457600080fd5b5061052f600480360381019061052a9190614003565b610fc8565b60405161053d929190614043565b60405180910390f35b610560600480360381019061055b9190613c9b565b6111a3565b005b34801561056e57600080fd5b50610589600480360381019061058491906141a1565b61143a565b005b34801561059757600080fd5b506105a0611455565b6040516105ad9190614249565b60405180910390f35b6105d060048036038101906105cb9190613f59565b611467565b005b3480156105de57600080fd5b506105e76114b6565b6040516105f49190614280565b60405180910390f35b34801561060957600080fd5b50610624600480360381019061061f91906142fb565b6114c9565b005b34801561063257600080fd5b5061064d60048036038101906106489190614348565b611534565b005b34801561065b57600080fd5b5061067660048036038101906106719190613c9b565b611564565b6040516106839190613e45565b60405180910390f35b34801561069857600080fd5b506106a1611576565b6040516106ae9190613f3e565b60405180910390f35b3480156106c357600080fd5b506106de60048036038101906106d99190613fac565b61157c565b6040516106eb9190613f3e565b60405180910390f35b34801561070057600080fd5b50610709611634565b005b34801561071757600080fd5b50610720611648565b60405161072e929190614397565b60405180910390f35b610751600480360381019061074c9190614416565b611688565b005b34801561075f57600080fd5b506107686119ab565b6040516107759190613f3e565b60405180910390f35b34801561078a57600080fd5b506107a560048036038101906107a09190614476565b6119bc565b005b3480156107b357600080fd5b506107bc611c15565b6040516107c99190613e45565b60405180910390f35b3480156107de57600080fd5b506107e7611c3f565b6040516107f49190613e14565b60405180910390f35b34801561080957600080fd5b50610824600480360381019061081f91906144ef565b611cd1565b005b610840600480360381019061083b91906145d0565b611cea565b005b34801561084e57600080fd5b50610857611d3b565b005b34801561086557600080fd5b5061086e611d7d565b60405161087b91906146ca565b60405180910390f35b34801561089057600080fd5b50610899611d90565b6040516108a6919061475c565b60405180910390f35b3480156108bb57600080fd5b506108d660048036038101906108d19190613c9b565b611e1d565b6040516108e39190613e14565b60405180910390f35b3480156108f857600080fd5b50610901611ebb565b60405161090e9190613e14565b60405180910390f35b34801561092357600080fd5b5061092c611f49565b6040516109399190614777565b60405180910390f35b34801561094e57600080fd5b5061096960048036038101906109649190613fac565b611f5d565b6040516109769190614841565b60405180910390f35b34801561098b57600080fd5b5061099461205e565b6040516109a19190614280565b60405180910390f35b3480156109b657600080fd5b506109bf612071565b6040516109cc9190614777565b60405180910390f35b3480156109e157600080fd5b506109fc60048036038101906109f79190614863565b612085565b604051610a099190613be3565b60405180910390f35b348015610a1e57600080fd5b50610a396004803603810190610a3491906148c7565b612119565b005b348015610a4757600080fd5b50610a626004803603810190610a5d9190613fac565b61213d565b005b348015610a7057600080fd5b50610a8b6004803603810190610a869190613c9b565b6121c0565b005b348015610a9957600080fd5b50610ab46004803603810190610aaf9190614945565b6121d2565b005b348015610ac257600080fd5b50610add6004803603810190610ad89190613f02565b612223565b005b348015610aeb57600080fd5b50610af4612235565b604051610b019190613fe8565b60405180910390f35b6000610b158261223b565b80610b255750610b24826122cd565b5b9050919050565b610b346123af565b601260019054906101000a900461ffff1661ffff168161ffff1610610b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b85906149d1565b60405180910390fd5b80601260016101000a81548161ffff021916908361ffff16021790555050565b610bb6613abb565b6000610bcc83600c61242d90919063ffffffff16565b90506000600b60008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff168152505090506040518060600160405280838152602001826000015173ffffffffffffffffffffffffffffffffffffffff168152602001826020015161ffff1681525092505050919050565b606060028054610cbb90614a20565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce790614a20565b8015610d345780601f10610d0957610100808354040283529160200191610d34565b820191906000526020600020905b815481529060010190602001808311610d1757829003601f168201915b5050505050905090565b6000610d4982612447565b610d7f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610dc7816124a6565b610dd183836125a3565b505050565b60136020528060005260406000206000915054906101000a900460ff1681565b6000610e006126e7565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e4b57610e4a336124a6565b5b610e568484846126f0565b50505050565b601260069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e8a6123af565b60004790506000601260069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610ed790614a82565b60006040518083038185875af1925050503d8060008114610f14576040519150601f19603f3d011682016040523d82523d6000602084013e610f19565b606091505b5050905080610f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5490614ae3565b60405180910390fd5b5050565b600060136000601460009054906101000a900460ff1684604051602001610f89929190614b81565b60405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a900460ff169050919050565b600e5481565b600080600073ffffffffffffffffffffffffffffffffffffffff16600b600086815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110b657600b600085815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600b600087815260200190815260200160002060000160149054906101000a900461ffff1661ffff16856110a39190614bdc565b6110ad9190614c4d565b9150915061119c565b600073ffffffffffffffffffffffffffffffffffffffff16600a60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415801561113057506000600a60000160149054906101000a900461ffff1661ffff1614155b1561119457600a60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600a60000160149054906101000a900461ffff1661ffff16856111819190614bdc565b61118b9190614c4d565b9150915061119c565b600080915091505b9250929050565b806003808111156111b7576111b6614653565b5b601260009054906101000a900460ff1660038111156111d9576111d8614653565b5b03611219576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121090614cca565b60405180910390fd5b60008111801561123b5750601260059054906101000a900460ff1660ff168111155b61127a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127190614d36565b60405180910390fd5b601260019054906101000a900461ffff1661ffff1681611298610df6565b6112a29190614d56565b11156112e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112da90614dd6565b60405180910390fd5b600160038111156112f7576112f6614653565b5b601260009054906101000a900460ff16600381111561131957611318614653565b5b14611359576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135090614e42565b60405180910390fd5b816011546113679190614bdc565b34146113a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139f90614eae565b60405180910390fd5b601260039054906101000a900461ffff16601260019054906101000a900461ffff166113d49190614ece565b61ffff16826113e1610df6565b6113eb9190614d56565b111561142c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142390614f50565b60405180910390fd5b6114363383612a12565b5050565b6114426123af565b80601090816114519190615112565b5050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114a5576114a4336124a6565b5b6114b0848484612a30565b50505050565b601460009054906101000a900460ff1681565b6114d16123af565b6115308282808060200260200160405190810160405280939291908181526020016000905b8282101561152657848483905060600201803603810190611517919061524d565b815260200190600101906114f6565b5050505050612a50565b5050565b61153c6123af565b81600f8190555080601260036101000a81548161ffff021916908361ffff1602179055505050565b600061156f82612ce2565b9050919050565b60115481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115e3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61163c6123af565b6116466000612dae565b565b600a8060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900461ffff16905082565b8260038081111561169c5761169b614653565b5b601260009054906101000a900460ff1660038111156116be576116bd614653565b5b036116fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f590614cca565b60405180910390fd5b6000811180156117205750601260059054906101000a900460ff1660ff168111155b61175f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175690614d36565b60405180910390fd5b601260019054906101000a900461ffff1661ffff168161177d610df6565b6117879190614d56565b11156117c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bf90614dd6565b60405180910390fd5b600060038111156117dc576117db614653565b5b601260009054906101000a900460ff1660038111156117fe576117fd614653565b5b1461183e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611835906152c6565b60405180910390fd5b8360115461184c9190614bdc565b341461188d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188490614eae565b60405180910390fd5b601260039054906101000a900461ffff16601260019054906101000a900461ffff166118b99190614ece565b61ffff16846118c6610df6565b6118d09190614d56565b1115611911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190890614f50565b60405180910390fd5b61195c838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505033612e74565b61199b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199290615332565b60405180910390fd5b6119a53385612a12565b50505050565b60006119b7600c612e98565b905090565b6119c4612ead565b6000601460009054906101000a900460ff16336040516020016119e8929190614b81565b60405160208183030381529060405280519060200120905060026003811115611a1457611a13614653565b5b601260009054906101000a900460ff166003811115611a3657611a35614653565b5b14611a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6d9061539e565b60405180910390fd5b601260019054906101000a900461ffff1661ffff166001611a95610df6565b611a9f9190614d56565b1115611ae0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad790614f50565b60405180910390fd5b611b2b838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505033612efc565b611b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6190615332565b60405180910390fd5b600015156013600083815260200190815260200160002060009054906101000a900460ff16151514611bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc89061540a565b60405180910390fd5b611bdc336001612a12565b60016013600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050611c11612f20565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611c4e90614a20565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7a90614a20565b8015611cc75780601f10611c9c57610100808354040283529160200191611cc7565b820191906000526020600020905b815481529060010190602001808311611caa57829003601f168201915b5050505050905090565b81611cdb816124a6565b611ce58383612f2a565b505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611d2857611d27336124a6565b5b611d3485858585613035565b5050505050565b611d436123af565b6014600081819054906101000a900460ff1680929190611d629061542a565b91906101000a81548160ff021916908360ff16021790555050565b601260009054906101000a900460ff1681565b611d98613af6565b60006040518060a00160405280601260009054906101000a900460ff166003811115611dc757611dc6614653565b5b60ff1681526020016011548152602001601260019054906101000a900461ffff1661ffff168152602001611df9610df6565b8152602001601260059054906101000a900460ff1660ff1681525090508091505090565b6060611e2882612447565b611e5e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611e686130a8565b90506000815103611e885760405180602001604052806000815250611eb3565b80611e928461313a565b604051602001611ea392919061548f565b6040516020818303038152906040525b915050919050565b60108054611ec890614a20565b80601f0160208091040260200160405190810160405280929190818152602001828054611ef490614a20565b8015611f415780601f10611f1657610100808354040283529160200191611f41565b820191906000526020600020905b815481529060010190602001808311611f2457829003601f168201915b505050505081565b601260019054906101000a900461ffff1681565b60606000611f6a8361157c565b905060008167ffffffffffffffff811115611f8857611f87614076565b5b604051908082528060200260200182016040528015611fb65781602001602082028036833780820191505090505b509050600080611fc46126e7565b90505b611fcf610df6565b8111612052578573ffffffffffffffffffffffffffffffffffffffff16611ff582611564565b73ffffffffffffffffffffffffffffffffffffffff160361203f5780838381518110612024576120236154b3565b5b602002602001018181525050818061203b906154e2565b9250505b808061204a906154e2565b915050611fc7565b50819350505050919050565b601260059054906101000a900460ff1681565b601260039054906101000a900461ffff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6121216123af565b61213a81803603810190612135919061557a565b61318a565b50565b6121456123af565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036121b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ab90615619565b60405180910390fd5b6121bd81612dae565b50565b6121c86123af565b8060118190555050565b6121da6123af565b81601260006101000a81548160ff021916908360038111156121ff576121fe614653565b5b021790555080601260056101000a81548160ff021916908360ff1602179055505050565b61222b6123af565b80600e8190555050565b600f5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061229657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806122c65750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061239857507fc69dbd8f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806123a857506123a7826132c0565b5b9050919050565b6123b761332a565b73ffffffffffffffffffffffffffffffffffffffff166123d5611c15565b73ffffffffffffffffffffffffffffffffffffffff161461242b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242290615685565b60405180910390fd5b565b600061243c8360000183613332565b60001c905092915050565b6000816124526126e7565b11158015612461575060005482105b801561249f575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156125a0576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161251d9291906156a5565b602060405180830381865afa15801561253a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255e91906156e3565b61259f57806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016125969190613e45565b60405180910390fd5b5b50565b60006125ae82611564565b90508073ffffffffffffffffffffffffffffffffffffffff166125cf61335d565b73ffffffffffffffffffffffffffffffffffffffff1614612632576125fb816125f661335d565b612085565b612631576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b60006126fb82612ce2565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612762576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061276e84613365565b91509150612784818761277f61335d565b61338c565b6127d0576127998661279461335d565b612085565b6127cf576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612836576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61284386868660016133d0565b801561284e57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061291c856128f88888876133d6565b7c0200000000000000000000000000000000000000000000000000000000176133fe565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036129a257600060018501905060006004600083815260200190815260200160002054036129a057600054811461299f578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a0a8686866001613429565b505050505050565b612a2c82826040518060200160405280600081525061342f565b5050565b612a4b83838360405180602001604052806000815250611cea565b505050565b60005b8151811015612cde576000828281518110612a7157612a706154b3565b5b60200260200101519050612710816040015161ffff1610612ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abe9061575c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16816020015173ffffffffffffffffffffffffffffffffffffffff1603612bae57600b600082600001518152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549061ffff02191690555050612b6d8160000151600c6134cc90919063ffffffff16565b507fa2870857763bd9ae76c957f869f16b31c18dd3bb4c7b4d3a4496dc5c57c657f98160000151604051612ba19190613f3e565b60405180910390a1612cca565b6040518060400160405280826020015173ffffffffffffffffffffffffffffffffffffffff168152602001826040015161ffff16815250600b60008360000151815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548161ffff021916908361ffff160217905550905050612c818160000151600c6134e690919063ffffffff16565b507f389b70fb0887f01e83784eb1c4c589f740eca53b00ed0f45e41db5d079719abb816000015182602001518360400151604051612cc19392919061577c565b60405180910390a15b508080612cd6906154e2565b915050612a53565b5050565b60008082905080612cf16126e7565b11612d7757600054811015612d765760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612d74575b60008103612d6a576004600083600190039350838152602001908152602001600020549050612d40565b8092505050612da9565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080612e8083613500565b9050612e8f84600e5483613530565b91505092915050565b6000612ea682600001613547565b9050919050565b600260095403612ef2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ee9906157ff565b60405180910390fd5b6002600981905550565b600080612f0883613500565b9050612f1784600f5483613530565b91505092915050565b6001600981905550565b8060076000612f3761335d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612fe461335d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130299190613be3565b60405180910390a35050565b613040848484610e0d565b60008373ffffffffffffffffffffffffffffffffffffffff163b146130a25761306b84848484613558565b6130a1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060601080546130b790614a20565b80601f01602080910402602001604051908101604052809291908181526020018280546130e390614a20565b80156131305780601f1061310557610100808354040283529160200191613130565b820191906000526020600020905b81548152906001019060200180831161311357829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b60011561317557600184039350600a81066030018453600a8104905080613153575b50828103602084039350808452505050919050565b612710816020015161ffff16106131d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131cd9061575c565b60405180910390fd5b6040518060400160405280826000015173ffffffffffffffffffffffffffffffffffffffff168152602001826020015161ffff16815250600a60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548161ffff021916908361ffff1602179055509050507f2c5ea6e4103e78cb101e796fb2dace540362fc542cbff5145eaa24af7dd8fe41816000015182602001516040516132b5929190614397565b60405180910390a150565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600082600001828154811061334a576133496154b3565b5b9060005260206000200154905092915050565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86133ed8686846136a8565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61343983836136b1565b60008373ffffffffffffffffffffffffffffffffffffffff163b146134c757600080549050600083820390505b6134796000868380600101945086613558565b6134af576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106134665781600054146134c457600080fd5b50505b505050565b60006134de836000018360001b61386c565b905092915050565b60006134f8836000018360001b613980565b905092915050565b600081604051602001613513919061581f565b604051602081830303815290604052805190602001209050919050565b60008261353d85846139f0565b1490509392505050565b600081600001805490509050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261357e61335d565b8786866040518563ffffffff1660e01b81526004016135a0949392919061588f565b6020604051808303816000875af19250505080156135dc57506040513d601f19601f820116820180604052508101906135d991906158f0565b60015b613655573d806000811461360c576040519150601f19603f3d011682016040523d82523d6000602084013e613611565b606091505b50600081510361364d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b600080549050600082036136f1576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6136fe60008483856133d0565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506137758361376660008660006133d6565b61376f85613a46565b176133fe565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461381657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506137db565b5060008203613851576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506138676000848385613429565b505050565b6000808360010160008481526020019081526020016000205490506000811461397457600060018261389e919061591d565b90506000600186600001805490506138b6919061591d565b90508181146139255760008660000182815481106138d7576138d66154b3565b5b90600052602060002001549050808760000184815481106138fb576138fa6154b3565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b8560000180548061393957613938615951565b5b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061397a565b60009150505b92915050565b600061398c8383613a56565b6139e55782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506139ea565b600090505b92915050565b60008082905060005b8451811015613a3b57613a2682868381518110613a1957613a186154b3565b5b6020026020010151613a79565b91508080613a33906154e2565b9150506139f9565b508091505092915050565b60006001821460e11b9050919050565b600080836001016000848152602001908152602001600020541415905092915050565b6000818310613a9157613a8c8284613aa4565b613a9c565b613a9b8383613aa4565b5b905092915050565b600082600052816020526040600020905092915050565b604051806060016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600061ffff1681525090565b6040518060a00160405280600060ff16815260200160008152602001600061ffff16815260200160008152602001600060ff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b7881613b43565b8114613b8357600080fd5b50565b600081359050613b9581613b6f565b92915050565b600060208284031215613bb157613bb0613b39565b5b6000613bbf84828501613b86565b91505092915050565b60008115159050919050565b613bdd81613bc8565b82525050565b6000602082019050613bf86000830184613bd4565b92915050565b600061ffff82169050919050565b613c1581613bfe565b8114613c2057600080fd5b50565b600081359050613c3281613c0c565b92915050565b600060208284031215613c4e57613c4d613b39565b5b6000613c5c84828501613c23565b91505092915050565b6000819050919050565b613c7881613c65565b8114613c8357600080fd5b50565b600081359050613c9581613c6f565b92915050565b600060208284031215613cb157613cb0613b39565b5b6000613cbf84828501613c86565b91505092915050565b613cd181613c65565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d0282613cd7565b9050919050565b613d1281613cf7565b82525050565b613d2181613bfe565b82525050565b606082016000820151613d3d6000850182613cc8565b506020820151613d506020850182613d09565b506040820151613d636040850182613d18565b50505050565b6000606082019050613d7e6000830184613d27565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613dbe578082015181840152602081019050613da3565b60008484015250505050565b6000601f19601f8301169050919050565b6000613de682613d84565b613df08185613d8f565b9350613e00818560208601613da0565b613e0981613dca565b840191505092915050565b60006020820190508181036000830152613e2e8184613ddb565b905092915050565b613e3f81613cf7565b82525050565b6000602082019050613e5a6000830184613e36565b92915050565b613e6981613cf7565b8114613e7457600080fd5b50565b600081359050613e8681613e60565b92915050565b60008060408385031215613ea357613ea2613b39565b5b6000613eb185828601613e77565b9250506020613ec285828601613c86565b9150509250929050565b6000819050919050565b613edf81613ecc565b8114613eea57600080fd5b50565b600081359050613efc81613ed6565b92915050565b600060208284031215613f1857613f17613b39565b5b6000613f2684828501613eed565b91505092915050565b613f3881613c65565b82525050565b6000602082019050613f536000830184613f2f565b92915050565b600080600060608486031215613f7257613f71613b39565b5b6000613f8086828701613e77565b9350506020613f9186828701613e77565b9250506040613fa286828701613c86565b9150509250925092565b600060208284031215613fc257613fc1613b39565b5b6000613fd084828501613e77565b91505092915050565b613fe281613ecc565b82525050565b6000602082019050613ffd6000830184613fd9565b92915050565b6000806040838503121561401a57614019613b39565b5b600061402885828601613c86565b925050602061403985828601613c86565b9150509250929050565b60006040820190506140586000830185613e36565b6140656020830184613f2f565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6140ae82613dca565b810181811067ffffffffffffffff821117156140cd576140cc614076565b5b80604052505050565b60006140e0613b2f565b90506140ec82826140a5565b919050565b600067ffffffffffffffff82111561410c5761410b614076565b5b61411582613dca565b9050602081019050919050565b82818337600083830152505050565b600061414461413f846140f1565b6140d6565b9050828152602081018484840111156141605761415f614071565b5b61416b848285614122565b509392505050565b600082601f8301126141885761418761406c565b5b8135614198848260208601614131565b91505092915050565b6000602082840312156141b7576141b6613b39565b5b600082013567ffffffffffffffff8111156141d5576141d4613b3e565b5b6141e184828501614173565b91505092915050565b6000819050919050565b600061420f61420a61420584613cd7565b6141ea565b613cd7565b9050919050565b6000614221826141f4565b9050919050565b600061423382614216565b9050919050565b61424381614228565b82525050565b600060208201905061425e600083018461423a565b92915050565b600060ff82169050919050565b61427a81614264565b82525050565b60006020820190506142956000830184614271565b92915050565b600080fd5b600080fd5b60008083601f8401126142bb576142ba61406c565b5b8235905067ffffffffffffffff8111156142d8576142d761429b565b5b6020830191508360608202830111156142f4576142f36142a0565b5b9250929050565b6000806020838503121561431257614311613b39565b5b600083013567ffffffffffffffff8111156143305761432f613b3e565b5b61433c858286016142a5565b92509250509250929050565b6000806040838503121561435f5761435e613b39565b5b600061436d85828601613eed565b925050602061437e85828601613c23565b9150509250929050565b61439181613bfe565b82525050565b60006040820190506143ac6000830185613e36565b6143b96020830184614388565b9392505050565b60008083601f8401126143d6576143d561406c565b5b8235905067ffffffffffffffff8111156143f3576143f261429b565b5b60208301915083602082028301111561440f5761440e6142a0565b5b9250929050565b60008060006040848603121561442f5761442e613b39565b5b600061443d86828701613c86565b935050602084013567ffffffffffffffff81111561445e5761445d613b3e565b5b61446a868287016143c0565b92509250509250925092565b6000806020838503121561448d5761448c613b39565b5b600083013567ffffffffffffffff8111156144ab576144aa613b3e565b5b6144b7858286016143c0565b92509250509250929050565b6144cc81613bc8565b81146144d757600080fd5b50565b6000813590506144e9816144c3565b92915050565b6000806040838503121561450657614505613b39565b5b600061451485828601613e77565b9250506020614525858286016144da565b9150509250929050565b600067ffffffffffffffff82111561454a57614549614076565b5b61455382613dca565b9050602081019050919050565b600061457361456e8461452f565b6140d6565b90508281526020810184848401111561458f5761458e614071565b5b61459a848285614122565b509392505050565b600082601f8301126145b7576145b661406c565b5b81356145c7848260208601614560565b91505092915050565b600080600080608085870312156145ea576145e9613b39565b5b60006145f887828801613e77565b945050602061460987828801613e77565b935050604061461a87828801613c86565b925050606085013567ffffffffffffffff81111561463b5761463a613b3e565b5b614647878288016145a2565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811061469357614692614653565b5b50565b60008190506146a482614682565b919050565b60006146b482614696565b9050919050565b6146c4816146a9565b82525050565b60006020820190506146df60008301846146bb565b92915050565b6146ee81614264565b82525050565b60a08201600082015161470a60008501826146e5565b50602082015161471d6020850182613cc8565b5060408201516147306040850182613d18565b5060608201516147436060850182613cc8565b50608082015161475660808501826146e5565b50505050565b600060a08201905061477160008301846146f4565b92915050565b600060208201905061478c6000830184614388565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60006147ca8383613cc8565b60208301905092915050565b6000602082019050919050565b60006147ee82614792565b6147f8818561479d565b9350614803836147ae565b8060005b8381101561483457815161481b88826147be565b9750614826836147d6565b925050600181019050614807565b5085935050505092915050565b6000602082019050818103600083015261485b81846147e3565b905092915050565b6000806040838503121561487a57614879613b39565b5b600061488885828601613e77565b925050602061489985828601613e77565b9150509250929050565b600080fd5b6000604082840312156148be576148bd6148a3565b5b81905092915050565b6000604082840312156148dd576148dc613b39565b5b60006148eb848285016148a8565b91505092915050565b6004811061490157600080fd5b50565b600081359050614913816148f4565b92915050565b61492281614264565b811461492d57600080fd5b50565b60008135905061493f81614919565b92915050565b6000806040838503121561495c5761495b613b39565b5b600061496a85828601614904565b925050602061497b85828601614930565b9150509250929050565b7f43616e6e6f7420696e6372656173652074686520737570706c79000000000000600082015250565b60006149bb601a83613d8f565b91506149c682614985565b602082019050919050565b600060208201905081810360008301526149ea816149ae565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614a3857607f821691505b602082108103614a4b57614a4a6149f1565b5b50919050565b600081905092915050565b50565b6000614a6c600083614a51565b9150614a7782614a5c565b600082019050919050565b6000614a8d82614a5f565b9150819050919050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000614acd600f83613d8f565b9150614ad882614a97565b602082019050919050565b60006020820190508181036000830152614afc81614ac0565b9050919050565b60008160f81b9050919050565b6000614b1b82614b03565b9050919050565b614b33614b2e82614264565b614b10565b82525050565b60008160601b9050919050565b6000614b5182614b39565b9050919050565b6000614b6382614b46565b9050919050565b614b7b614b7682613cf7565b614b58565b82525050565b6000614b8d8285614b22565b600182019150614b9d8284614b6a565b6014820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614be782613c65565b9150614bf283613c65565b9250828202614c0081613c65565b91508282048414831517614c1757614c16614bad565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c5882613c65565b9150614c6383613c65565b925082614c7357614c72614c1e565b5b828204905092915050565b7f4d696e742064697361626c656400000000000000000000000000000000000000600082015250565b6000614cb4600d83613d8f565b9150614cbf82614c7e565b602082019050919050565b60006020820190508181036000830152614ce381614ca7565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7400000000000000000000000000600082015250565b6000614d20601383613d8f565b9150614d2b82614cea565b602082019050919050565b60006020820190508181036000830152614d4f81614d13565b9050919050565b6000614d6182613c65565b9150614d6c83613c65565b9250828201905080821115614d8457614d83614bad565b5b92915050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b6000614dc0601383613d8f565b9150614dcb82614d8a565b602082019050919050565b60006020820190508181036000830152614def81614db3565b9050919050565b7f5075626c6963206d696e742069732064697361626c6564000000000000000000600082015250565b6000614e2c601783613d8f565b9150614e3782614df6565b602082019050919050565b60006020820190508181036000830152614e5b81614e1f565b9050919050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b6000614e98601283613d8f565b9150614ea382614e62565b602082019050919050565b60006020820190508181036000830152614ec781614e8b565b9050919050565b6000614ed982613bfe565b9150614ee483613bfe565b9250828203905061ffff811115614efe57614efd614bad565b5b92915050565b7f43616e2774206d696e742074686174206d616e79000000000000000000000000600082015250565b6000614f3a601483613d8f565b9150614f4582614f04565b602082019050919050565b60006020820190508181036000830152614f6981614f2d565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614fd27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614f95565b614fdc8683614f95565b95508019841693508086168417925050509392505050565b600061500f61500a61500584613c65565b6141ea565b613c65565b9050919050565b6000819050919050565b61502983614ff4565b61503d61503582615016565b848454614fa2565b825550505050565b600090565b615052615045565b61505d818484615020565b505050565b5b818110156150815761507660008261504a565b600181019050615063565b5050565b601f8211156150c65761509781614f70565b6150a084614f85565b810160208510156150af578190505b6150c36150bb85614f85565b830182615062565b50505b505050565b600082821c905092915050565b60006150e9600019846008026150cb565b1980831691505092915050565b600061510283836150d8565b9150826002028217905092915050565b61511b82613d84565b67ffffffffffffffff81111561513457615133614076565b5b61513e8254614a20565b615149828285615085565b600060209050601f83116001811461517c576000841561516a578287015190505b61517485826150f6565b8655506151dc565b601f19841661518a86614f70565b60005b828110156151b25784890151825560018201915060208501945060208101905061518d565b868310156151cf57848901516151cb601f8916826150d8565b8355505b6001600288020188555050505b505050505050565b600080fd5b6000606082840312156151ff576151fe6151e4565b5b61520960606140d6565b9050600061521984828501613c86565b600083015250602061522d84828501613e77565b602083015250604061524184828501613c23565b60408301525092915050565b60006060828403121561526357615262613b39565b5b6000615271848285016151e9565b91505092915050565b7f416c6c6f77206c697374206d696e742069732064697361626c65640000000000600082015250565b60006152b0601b83613d8f565b91506152bb8261527a565b602082019050919050565b600060208201905081810360008301526152df816152a3565b9050919050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b600061531c600d83613d8f565b9150615327826152e6565b602082019050919050565b6000602082019050818103600083015261534b8161530f565b9050919050565b7f46726565206d696e742069732064697361626c65640000000000000000000000600082015250565b6000615388601583613d8f565b915061539382615352565b602082019050919050565b600060208201905081810360008301526153b78161537b565b9050919050565b7f43616e2774206d696e74206d6f7265207468616e203120746f6b656e00000000600082015250565b60006153f4601c83613d8f565b91506153ff826153be565b602082019050919050565b60006020820190508181036000830152615423816153e7565b9050919050565b600061543582614264565b915060ff820361544857615447614bad565b5b600182019050919050565b600081905092915050565b600061546982613d84565b6154738185615453565b9350615483818560208601613da0565b80840191505092915050565b600061549b828561545e565b91506154a7828461545e565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006154ed82613c65565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361551f5761551e614bad565b5b600182019050919050565b6000604082840312156155405761553f6151e4565b5b61554a60406140d6565b9050600061555a84828501613e77565b600083015250602061556e84828501613c23565b60208301525092915050565b6000604082840312156155905761558f613b39565b5b600061559e8482850161552a565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615603602683613d8f565b915061560e826155a7565b604082019050919050565b60006020820190508181036000830152615632816155f6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061566f602083613d8f565b915061567a82615639565b602082019050919050565b6000602082019050818103600083015261569e81615662565b9050919050565b60006040820190506156ba6000830185613e36565b6156c76020830184613e36565b9392505050565b6000815190506156dd816144c3565b92915050565b6000602082840312156156f9576156f8613b39565b5b6000615707848285016156ce565b91505092915050565b7f496e76616c696420627073000000000000000000000000000000000000000000600082015250565b6000615746600b83613d8f565b915061575182615710565b602082019050919050565b6000602082019050818103600083015261577581615739565b9050919050565b60006060820190506157916000830186613f2f565b61579e6020830185613e36565b6157ab6040830184614388565b949350505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006157e9601f83613d8f565b91506157f4826157b3565b602082019050919050565b60006020820190508181036000830152615818816157dc565b9050919050565b600061582b8284614b6a565b60148201915081905092915050565b600081519050919050565b600082825260208201905092915050565b60006158618261583a565b61586b8185615845565b935061587b818560208601613da0565b61588481613dca565b840191505092915050565b60006080820190506158a46000830187613e36565b6158b16020830186613e36565b6158be6040830185613f2f565b81810360608301526158d08184615856565b905095945050505050565b6000815190506158ea81613b6f565b92915050565b60006020828403121561590657615905613b39565b5b6000615914848285016158db565b91505092915050565b600061592882613c65565b915061593383613c65565b925082820390508181111561594b5761594a614bad565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122075542148245b0891e37c9c60afa4219222a5b16657f151f9404e7fce16caae6d64736f6c63430008110033

Deployed Bytecode

0x6080604052600436106102ae5760003560e01c8063715018a611610175578063c87b56dd116100dc578063e985e9c511610095578063f4a0a5281161006f578063f4a0a52814610a64578063f523c3b214610a8d578063f95df41414610ab6578063fe5e27a014610adf576102ae565b8063e985e9c5146109d5578063ef60ceaf14610a12578063f2fde38b14610a3b576102ae565b8063c87b56dd146108af578063d547cfb7146108ec578063d5abeb0114610917578063d63d4af014610942578063dc30158b1461097f578063e150007e146109aa576102ae565b806395d89b411161012e57806395d89b41146107d2578063a22cb465146107fd578063b88d4fde14610826578063bba8edf214610842578063c051e38a14610859578063c3f909d414610884576102ae565b8063715018a6146106f45780637885fdc71461070b5780637bc9200e146107375780637e9803421461075357806388d15d501461077e5780638da5cb5b146107a7576102ae565b8063293108e01161021957806349a52b7d116101d257806349a52b7d146105d25780635136dcc7146105fd5780635e32bec2146106265780636352211e1461064f5780636817c76c1461068c57806370a08231146106b7576102ae565b8063293108e0146104dd5780632a55205a146105085780632db115441461054657806330176e131461056257806341f434341461058b57806342842e0e146105b6576102ae565b80630c1b6e521161026b5780630c1b6e52146103da57806318160ddd1461041757806323b872dd1461044257806323c7e09c1461045e57806324600fc31461048957806328d96c8e146104a0576102ae565b806301ffc9a7146102b357806306421c2f146102f05780630653aca51461031957806306fdde0314610356578063081812fc14610381578063095ea7b3146103be575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190613b9b565b610b0a565b6040516102e79190613be3565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613c38565b610b2c565b005b34801561032557600080fd5b50610340600480360381019061033b9190613c9b565b610bae565b60405161034d9190613d69565b60405180910390f35b34801561036257600080fd5b5061036b610cac565b6040516103789190613e14565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a39190613c9b565b610d3e565b6040516103b59190613e45565b60405180910390f35b6103d860048036038101906103d39190613e8c565b610dbd565b005b3480156103e657600080fd5b5061040160048036038101906103fc9190613f02565b610dd6565b60405161040e9190613be3565b60405180910390f35b34801561042357600080fd5b5061042c610df6565b6040516104399190613f3e565b60405180910390f35b61045c60048036038101906104579190613f59565b610e0d565b005b34801561046a57600080fd5b50610473610e5c565b6040516104809190613e45565b60405180910390f35b34801561049557600080fd5b5061049e610e82565b005b3480156104ac57600080fd5b506104c760048036038101906104c29190613fac565b610f61565b6040516104d49190613be3565b60405180910390f35b3480156104e957600080fd5b506104f2610fc2565b6040516104ff9190613fe8565b60405180910390f35b34801561051457600080fd5b5061052f600480360381019061052a9190614003565b610fc8565b60405161053d929190614043565b60405180910390f35b610560600480360381019061055b9190613c9b565b6111a3565b005b34801561056e57600080fd5b50610589600480360381019061058491906141a1565b61143a565b005b34801561059757600080fd5b506105a0611455565b6040516105ad9190614249565b60405180910390f35b6105d060048036038101906105cb9190613f59565b611467565b005b3480156105de57600080fd5b506105e76114b6565b6040516105f49190614280565b60405180910390f35b34801561060957600080fd5b50610624600480360381019061061f91906142fb565b6114c9565b005b34801561063257600080fd5b5061064d60048036038101906106489190614348565b611534565b005b34801561065b57600080fd5b5061067660048036038101906106719190613c9b565b611564565b6040516106839190613e45565b60405180910390f35b34801561069857600080fd5b506106a1611576565b6040516106ae9190613f3e565b60405180910390f35b3480156106c357600080fd5b506106de60048036038101906106d99190613fac565b61157c565b6040516106eb9190613f3e565b60405180910390f35b34801561070057600080fd5b50610709611634565b005b34801561071757600080fd5b50610720611648565b60405161072e929190614397565b60405180910390f35b610751600480360381019061074c9190614416565b611688565b005b34801561075f57600080fd5b506107686119ab565b6040516107759190613f3e565b60405180910390f35b34801561078a57600080fd5b506107a560048036038101906107a09190614476565b6119bc565b005b3480156107b357600080fd5b506107bc611c15565b6040516107c99190613e45565b60405180910390f35b3480156107de57600080fd5b506107e7611c3f565b6040516107f49190613e14565b60405180910390f35b34801561080957600080fd5b50610824600480360381019061081f91906144ef565b611cd1565b005b610840600480360381019061083b91906145d0565b611cea565b005b34801561084e57600080fd5b50610857611d3b565b005b34801561086557600080fd5b5061086e611d7d565b60405161087b91906146ca565b60405180910390f35b34801561089057600080fd5b50610899611d90565b6040516108a6919061475c565b60405180910390f35b3480156108bb57600080fd5b506108d660048036038101906108d19190613c9b565b611e1d565b6040516108e39190613e14565b60405180910390f35b3480156108f857600080fd5b50610901611ebb565b60405161090e9190613e14565b60405180910390f35b34801561092357600080fd5b5061092c611f49565b6040516109399190614777565b60405180910390f35b34801561094e57600080fd5b5061096960048036038101906109649190613fac565b611f5d565b6040516109769190614841565b60405180910390f35b34801561098b57600080fd5b5061099461205e565b6040516109a19190614280565b60405180910390f35b3480156109b657600080fd5b506109bf612071565b6040516109cc9190614777565b60405180910390f35b3480156109e157600080fd5b506109fc60048036038101906109f79190614863565b612085565b604051610a099190613be3565b60405180910390f35b348015610a1e57600080fd5b50610a396004803603810190610a3491906148c7565b612119565b005b348015610a4757600080fd5b50610a626004803603810190610a5d9190613fac565b61213d565b005b348015610a7057600080fd5b50610a8b6004803603810190610a869190613c9b565b6121c0565b005b348015610a9957600080fd5b50610ab46004803603810190610aaf9190614945565b6121d2565b005b348015610ac257600080fd5b50610add6004803603810190610ad89190613f02565b612223565b005b348015610aeb57600080fd5b50610af4612235565b604051610b019190613fe8565b60405180910390f35b6000610b158261223b565b80610b255750610b24826122cd565b5b9050919050565b610b346123af565b601260019054906101000a900461ffff1661ffff168161ffff1610610b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b85906149d1565b60405180910390fd5b80601260016101000a81548161ffff021916908361ffff16021790555050565b610bb6613abb565b6000610bcc83600c61242d90919063ffffffff16565b90506000600b60008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff168152505090506040518060600160405280838152602001826000015173ffffffffffffffffffffffffffffffffffffffff168152602001826020015161ffff1681525092505050919050565b606060028054610cbb90614a20565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce790614a20565b8015610d345780601f10610d0957610100808354040283529160200191610d34565b820191906000526020600020905b815481529060010190602001808311610d1757829003601f168201915b5050505050905090565b6000610d4982612447565b610d7f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610dc7816124a6565b610dd183836125a3565b505050565b60136020528060005260406000206000915054906101000a900460ff1681565b6000610e006126e7565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e4b57610e4a336124a6565b5b610e568484846126f0565b50505050565b601260069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e8a6123af565b60004790506000601260069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610ed790614a82565b60006040518083038185875af1925050503d8060008114610f14576040519150601f19603f3d011682016040523d82523d6000602084013e610f19565b606091505b5050905080610f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5490614ae3565b60405180910390fd5b5050565b600060136000601460009054906101000a900460ff1684604051602001610f89929190614b81565b60405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a900460ff169050919050565b600e5481565b600080600073ffffffffffffffffffffffffffffffffffffffff16600b600086815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110b657600b600085815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600b600087815260200190815260200160002060000160149054906101000a900461ffff1661ffff16856110a39190614bdc565b6110ad9190614c4d565b9150915061119c565b600073ffffffffffffffffffffffffffffffffffffffff16600a60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415801561113057506000600a60000160149054906101000a900461ffff1661ffff1614155b1561119457600a60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600a60000160149054906101000a900461ffff1661ffff16856111819190614bdc565b61118b9190614c4d565b9150915061119c565b600080915091505b9250929050565b806003808111156111b7576111b6614653565b5b601260009054906101000a900460ff1660038111156111d9576111d8614653565b5b03611219576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121090614cca565b60405180910390fd5b60008111801561123b5750601260059054906101000a900460ff1660ff168111155b61127a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127190614d36565b60405180910390fd5b601260019054906101000a900461ffff1661ffff1681611298610df6565b6112a29190614d56565b11156112e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112da90614dd6565b60405180910390fd5b600160038111156112f7576112f6614653565b5b601260009054906101000a900460ff16600381111561131957611318614653565b5b14611359576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135090614e42565b60405180910390fd5b816011546113679190614bdc565b34146113a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139f90614eae565b60405180910390fd5b601260039054906101000a900461ffff16601260019054906101000a900461ffff166113d49190614ece565b61ffff16826113e1610df6565b6113eb9190614d56565b111561142c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142390614f50565b60405180910390fd5b6114363383612a12565b5050565b6114426123af565b80601090816114519190615112565b5050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114a5576114a4336124a6565b5b6114b0848484612a30565b50505050565b601460009054906101000a900460ff1681565b6114d16123af565b6115308282808060200260200160405190810160405280939291908181526020016000905b8282101561152657848483905060600201803603810190611517919061524d565b815260200190600101906114f6565b5050505050612a50565b5050565b61153c6123af565b81600f8190555080601260036101000a81548161ffff021916908361ffff1602179055505050565b600061156f82612ce2565b9050919050565b60115481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115e3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61163c6123af565b6116466000612dae565b565b600a8060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900461ffff16905082565b8260038081111561169c5761169b614653565b5b601260009054906101000a900460ff1660038111156116be576116bd614653565b5b036116fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f590614cca565b60405180910390fd5b6000811180156117205750601260059054906101000a900460ff1660ff168111155b61175f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175690614d36565b60405180910390fd5b601260019054906101000a900461ffff1661ffff168161177d610df6565b6117879190614d56565b11156117c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bf90614dd6565b60405180910390fd5b600060038111156117dc576117db614653565b5b601260009054906101000a900460ff1660038111156117fe576117fd614653565b5b1461183e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611835906152c6565b60405180910390fd5b8360115461184c9190614bdc565b341461188d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188490614eae565b60405180910390fd5b601260039054906101000a900461ffff16601260019054906101000a900461ffff166118b99190614ece565b61ffff16846118c6610df6565b6118d09190614d56565b1115611911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190890614f50565b60405180910390fd5b61195c838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505033612e74565b61199b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199290615332565b60405180910390fd5b6119a53385612a12565b50505050565b60006119b7600c612e98565b905090565b6119c4612ead565b6000601460009054906101000a900460ff16336040516020016119e8929190614b81565b60405160208183030381529060405280519060200120905060026003811115611a1457611a13614653565b5b601260009054906101000a900460ff166003811115611a3657611a35614653565b5b14611a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6d9061539e565b60405180910390fd5b601260019054906101000a900461ffff1661ffff166001611a95610df6565b611a9f9190614d56565b1115611ae0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad790614f50565b60405180910390fd5b611b2b838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505033612efc565b611b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6190615332565b60405180910390fd5b600015156013600083815260200190815260200160002060009054906101000a900460ff16151514611bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc89061540a565b60405180910390fd5b611bdc336001612a12565b60016013600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050611c11612f20565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611c4e90614a20565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7a90614a20565b8015611cc75780601f10611c9c57610100808354040283529160200191611cc7565b820191906000526020600020905b815481529060010190602001808311611caa57829003601f168201915b5050505050905090565b81611cdb816124a6565b611ce58383612f2a565b505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611d2857611d27336124a6565b5b611d3485858585613035565b5050505050565b611d436123af565b6014600081819054906101000a900460ff1680929190611d629061542a565b91906101000a81548160ff021916908360ff16021790555050565b601260009054906101000a900460ff1681565b611d98613af6565b60006040518060a00160405280601260009054906101000a900460ff166003811115611dc757611dc6614653565b5b60ff1681526020016011548152602001601260019054906101000a900461ffff1661ffff168152602001611df9610df6565b8152602001601260059054906101000a900460ff1660ff1681525090508091505090565b6060611e2882612447565b611e5e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611e686130a8565b90506000815103611e885760405180602001604052806000815250611eb3565b80611e928461313a565b604051602001611ea392919061548f565b6040516020818303038152906040525b915050919050565b60108054611ec890614a20565b80601f0160208091040260200160405190810160405280929190818152602001828054611ef490614a20565b8015611f415780601f10611f1657610100808354040283529160200191611f41565b820191906000526020600020905b815481529060010190602001808311611f2457829003601f168201915b505050505081565b601260019054906101000a900461ffff1681565b60606000611f6a8361157c565b905060008167ffffffffffffffff811115611f8857611f87614076565b5b604051908082528060200260200182016040528015611fb65781602001602082028036833780820191505090505b509050600080611fc46126e7565b90505b611fcf610df6565b8111612052578573ffffffffffffffffffffffffffffffffffffffff16611ff582611564565b73ffffffffffffffffffffffffffffffffffffffff160361203f5780838381518110612024576120236154b3565b5b602002602001018181525050818061203b906154e2565b9250505b808061204a906154e2565b915050611fc7565b50819350505050919050565b601260059054906101000a900460ff1681565b601260039054906101000a900461ffff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6121216123af565b61213a81803603810190612135919061557a565b61318a565b50565b6121456123af565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036121b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ab90615619565b60405180910390fd5b6121bd81612dae565b50565b6121c86123af565b8060118190555050565b6121da6123af565b81601260006101000a81548160ff021916908360038111156121ff576121fe614653565b5b021790555080601260056101000a81548160ff021916908360ff1602179055505050565b61222b6123af565b80600e8190555050565b600f5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061229657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806122c65750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061239857507fc69dbd8f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806123a857506123a7826132c0565b5b9050919050565b6123b761332a565b73ffffffffffffffffffffffffffffffffffffffff166123d5611c15565b73ffffffffffffffffffffffffffffffffffffffff161461242b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242290615685565b60405180910390fd5b565b600061243c8360000183613332565b60001c905092915050565b6000816124526126e7565b11158015612461575060005482105b801561249f575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156125a0576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161251d9291906156a5565b602060405180830381865afa15801561253a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255e91906156e3565b61259f57806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016125969190613e45565b60405180910390fd5b5b50565b60006125ae82611564565b90508073ffffffffffffffffffffffffffffffffffffffff166125cf61335d565b73ffffffffffffffffffffffffffffffffffffffff1614612632576125fb816125f661335d565b612085565b612631576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b60006126fb82612ce2565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612762576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061276e84613365565b91509150612784818761277f61335d565b61338c565b6127d0576127998661279461335d565b612085565b6127cf576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612836576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61284386868660016133d0565b801561284e57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061291c856128f88888876133d6565b7c0200000000000000000000000000000000000000000000000000000000176133fe565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036129a257600060018501905060006004600083815260200190815260200160002054036129a057600054811461299f578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a0a8686866001613429565b505050505050565b612a2c82826040518060200160405280600081525061342f565b5050565b612a4b83838360405180602001604052806000815250611cea565b505050565b60005b8151811015612cde576000828281518110612a7157612a706154b3565b5b60200260200101519050612710816040015161ffff1610612ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abe9061575c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16816020015173ffffffffffffffffffffffffffffffffffffffff1603612bae57600b600082600001518152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549061ffff02191690555050612b6d8160000151600c6134cc90919063ffffffff16565b507fa2870857763bd9ae76c957f869f16b31c18dd3bb4c7b4d3a4496dc5c57c657f98160000151604051612ba19190613f3e565b60405180910390a1612cca565b6040518060400160405280826020015173ffffffffffffffffffffffffffffffffffffffff168152602001826040015161ffff16815250600b60008360000151815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548161ffff021916908361ffff160217905550905050612c818160000151600c6134e690919063ffffffff16565b507f389b70fb0887f01e83784eb1c4c589f740eca53b00ed0f45e41db5d079719abb816000015182602001518360400151604051612cc19392919061577c565b60405180910390a15b508080612cd6906154e2565b915050612a53565b5050565b60008082905080612cf16126e7565b11612d7757600054811015612d765760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612d74575b60008103612d6a576004600083600190039350838152602001908152602001600020549050612d40565b8092505050612da9565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080612e8083613500565b9050612e8f84600e5483613530565b91505092915050565b6000612ea682600001613547565b9050919050565b600260095403612ef2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ee9906157ff565b60405180910390fd5b6002600981905550565b600080612f0883613500565b9050612f1784600f5483613530565b91505092915050565b6001600981905550565b8060076000612f3761335d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612fe461335d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130299190613be3565b60405180910390a35050565b613040848484610e0d565b60008373ffffffffffffffffffffffffffffffffffffffff163b146130a25761306b84848484613558565b6130a1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060601080546130b790614a20565b80601f01602080910402602001604051908101604052809291908181526020018280546130e390614a20565b80156131305780601f1061310557610100808354040283529160200191613130565b820191906000526020600020905b81548152906001019060200180831161311357829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b60011561317557600184039350600a81066030018453600a8104905080613153575b50828103602084039350808452505050919050565b612710816020015161ffff16106131d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131cd9061575c565b60405180910390fd5b6040518060400160405280826000015173ffffffffffffffffffffffffffffffffffffffff168152602001826020015161ffff16815250600a60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548161ffff021916908361ffff1602179055509050507f2c5ea6e4103e78cb101e796fb2dace540362fc542cbff5145eaa24af7dd8fe41816000015182602001516040516132b5929190614397565b60405180910390a150565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600082600001828154811061334a576133496154b3565b5b9060005260206000200154905092915050565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86133ed8686846136a8565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61343983836136b1565b60008373ffffffffffffffffffffffffffffffffffffffff163b146134c757600080549050600083820390505b6134796000868380600101945086613558565b6134af576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106134665781600054146134c457600080fd5b50505b505050565b60006134de836000018360001b61386c565b905092915050565b60006134f8836000018360001b613980565b905092915050565b600081604051602001613513919061581f565b604051602081830303815290604052805190602001209050919050565b60008261353d85846139f0565b1490509392505050565b600081600001805490509050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261357e61335d565b8786866040518563ffffffff1660e01b81526004016135a0949392919061588f565b6020604051808303816000875af19250505080156135dc57506040513d601f19601f820116820180604052508101906135d991906158f0565b60015b613655573d806000811461360c576040519150601f19603f3d011682016040523d82523d6000602084013e613611565b606091505b50600081510361364d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b600080549050600082036136f1576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6136fe60008483856133d0565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506137758361376660008660006133d6565b61376f85613a46565b176133fe565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461381657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506137db565b5060008203613851576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506138676000848385613429565b505050565b6000808360010160008481526020019081526020016000205490506000811461397457600060018261389e919061591d565b90506000600186600001805490506138b6919061591d565b90508181146139255760008660000182815481106138d7576138d66154b3565b5b90600052602060002001549050808760000184815481106138fb576138fa6154b3565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b8560000180548061393957613938615951565b5b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061397a565b60009150505b92915050565b600061398c8383613a56565b6139e55782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506139ea565b600090505b92915050565b60008082905060005b8451811015613a3b57613a2682868381518110613a1957613a186154b3565b5b6020026020010151613a79565b91508080613a33906154e2565b9150506139f9565b508091505092915050565b60006001821460e11b9050919050565b600080836001016000848152602001908152602001600020541415905092915050565b6000818310613a9157613a8c8284613aa4565b613a9c565b613a9b8383613aa4565b5b905092915050565b600082600052816020526040600020905092915050565b604051806060016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600061ffff1681525090565b6040518060a00160405280600060ff16815260200160008152602001600061ffff16815260200160008152602001600060ff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b7881613b43565b8114613b8357600080fd5b50565b600081359050613b9581613b6f565b92915050565b600060208284031215613bb157613bb0613b39565b5b6000613bbf84828501613b86565b91505092915050565b60008115159050919050565b613bdd81613bc8565b82525050565b6000602082019050613bf86000830184613bd4565b92915050565b600061ffff82169050919050565b613c1581613bfe565b8114613c2057600080fd5b50565b600081359050613c3281613c0c565b92915050565b600060208284031215613c4e57613c4d613b39565b5b6000613c5c84828501613c23565b91505092915050565b6000819050919050565b613c7881613c65565b8114613c8357600080fd5b50565b600081359050613c9581613c6f565b92915050565b600060208284031215613cb157613cb0613b39565b5b6000613cbf84828501613c86565b91505092915050565b613cd181613c65565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d0282613cd7565b9050919050565b613d1281613cf7565b82525050565b613d2181613bfe565b82525050565b606082016000820151613d3d6000850182613cc8565b506020820151613d506020850182613d09565b506040820151613d636040850182613d18565b50505050565b6000606082019050613d7e6000830184613d27565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613dbe578082015181840152602081019050613da3565b60008484015250505050565b6000601f19601f8301169050919050565b6000613de682613d84565b613df08185613d8f565b9350613e00818560208601613da0565b613e0981613dca565b840191505092915050565b60006020820190508181036000830152613e2e8184613ddb565b905092915050565b613e3f81613cf7565b82525050565b6000602082019050613e5a6000830184613e36565b92915050565b613e6981613cf7565b8114613e7457600080fd5b50565b600081359050613e8681613e60565b92915050565b60008060408385031215613ea357613ea2613b39565b5b6000613eb185828601613e77565b9250506020613ec285828601613c86565b9150509250929050565b6000819050919050565b613edf81613ecc565b8114613eea57600080fd5b50565b600081359050613efc81613ed6565b92915050565b600060208284031215613f1857613f17613b39565b5b6000613f2684828501613eed565b91505092915050565b613f3881613c65565b82525050565b6000602082019050613f536000830184613f2f565b92915050565b600080600060608486031215613f7257613f71613b39565b5b6000613f8086828701613e77565b9350506020613f9186828701613e77565b9250506040613fa286828701613c86565b9150509250925092565b600060208284031215613fc257613fc1613b39565b5b6000613fd084828501613e77565b91505092915050565b613fe281613ecc565b82525050565b6000602082019050613ffd6000830184613fd9565b92915050565b6000806040838503121561401a57614019613b39565b5b600061402885828601613c86565b925050602061403985828601613c86565b9150509250929050565b60006040820190506140586000830185613e36565b6140656020830184613f2f565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6140ae82613dca565b810181811067ffffffffffffffff821117156140cd576140cc614076565b5b80604052505050565b60006140e0613b2f565b90506140ec82826140a5565b919050565b600067ffffffffffffffff82111561410c5761410b614076565b5b61411582613dca565b9050602081019050919050565b82818337600083830152505050565b600061414461413f846140f1565b6140d6565b9050828152602081018484840111156141605761415f614071565b5b61416b848285614122565b509392505050565b600082601f8301126141885761418761406c565b5b8135614198848260208601614131565b91505092915050565b6000602082840312156141b7576141b6613b39565b5b600082013567ffffffffffffffff8111156141d5576141d4613b3e565b5b6141e184828501614173565b91505092915050565b6000819050919050565b600061420f61420a61420584613cd7565b6141ea565b613cd7565b9050919050565b6000614221826141f4565b9050919050565b600061423382614216565b9050919050565b61424381614228565b82525050565b600060208201905061425e600083018461423a565b92915050565b600060ff82169050919050565b61427a81614264565b82525050565b60006020820190506142956000830184614271565b92915050565b600080fd5b600080fd5b60008083601f8401126142bb576142ba61406c565b5b8235905067ffffffffffffffff8111156142d8576142d761429b565b5b6020830191508360608202830111156142f4576142f36142a0565b5b9250929050565b6000806020838503121561431257614311613b39565b5b600083013567ffffffffffffffff8111156143305761432f613b3e565b5b61433c858286016142a5565b92509250509250929050565b6000806040838503121561435f5761435e613b39565b5b600061436d85828601613eed565b925050602061437e85828601613c23565b9150509250929050565b61439181613bfe565b82525050565b60006040820190506143ac6000830185613e36565b6143b96020830184614388565b9392505050565b60008083601f8401126143d6576143d561406c565b5b8235905067ffffffffffffffff8111156143f3576143f261429b565b5b60208301915083602082028301111561440f5761440e6142a0565b5b9250929050565b60008060006040848603121561442f5761442e613b39565b5b600061443d86828701613c86565b935050602084013567ffffffffffffffff81111561445e5761445d613b3e565b5b61446a868287016143c0565b92509250509250925092565b6000806020838503121561448d5761448c613b39565b5b600083013567ffffffffffffffff8111156144ab576144aa613b3e565b5b6144b7858286016143c0565b92509250509250929050565b6144cc81613bc8565b81146144d757600080fd5b50565b6000813590506144e9816144c3565b92915050565b6000806040838503121561450657614505613b39565b5b600061451485828601613e77565b9250506020614525858286016144da565b9150509250929050565b600067ffffffffffffffff82111561454a57614549614076565b5b61455382613dca565b9050602081019050919050565b600061457361456e8461452f565b6140d6565b90508281526020810184848401111561458f5761458e614071565b5b61459a848285614122565b509392505050565b600082601f8301126145b7576145b661406c565b5b81356145c7848260208601614560565b91505092915050565b600080600080608085870312156145ea576145e9613b39565b5b60006145f887828801613e77565b945050602061460987828801613e77565b935050604061461a87828801613c86565b925050606085013567ffffffffffffffff81111561463b5761463a613b3e565b5b614647878288016145a2565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811061469357614692614653565b5b50565b60008190506146a482614682565b919050565b60006146b482614696565b9050919050565b6146c4816146a9565b82525050565b60006020820190506146df60008301846146bb565b92915050565b6146ee81614264565b82525050565b60a08201600082015161470a60008501826146e5565b50602082015161471d6020850182613cc8565b5060408201516147306040850182613d18565b5060608201516147436060850182613cc8565b50608082015161475660808501826146e5565b50505050565b600060a08201905061477160008301846146f4565b92915050565b600060208201905061478c6000830184614388565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60006147ca8383613cc8565b60208301905092915050565b6000602082019050919050565b60006147ee82614792565b6147f8818561479d565b9350614803836147ae565b8060005b8381101561483457815161481b88826147be565b9750614826836147d6565b925050600181019050614807565b5085935050505092915050565b6000602082019050818103600083015261485b81846147e3565b905092915050565b6000806040838503121561487a57614879613b39565b5b600061488885828601613e77565b925050602061489985828601613e77565b9150509250929050565b600080fd5b6000604082840312156148be576148bd6148a3565b5b81905092915050565b6000604082840312156148dd576148dc613b39565b5b60006148eb848285016148a8565b91505092915050565b6004811061490157600080fd5b50565b600081359050614913816148f4565b92915050565b61492281614264565b811461492d57600080fd5b50565b60008135905061493f81614919565b92915050565b6000806040838503121561495c5761495b613b39565b5b600061496a85828601614904565b925050602061497b85828601614930565b9150509250929050565b7f43616e6e6f7420696e6372656173652074686520737570706c79000000000000600082015250565b60006149bb601a83613d8f565b91506149c682614985565b602082019050919050565b600060208201905081810360008301526149ea816149ae565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614a3857607f821691505b602082108103614a4b57614a4a6149f1565b5b50919050565b600081905092915050565b50565b6000614a6c600083614a51565b9150614a7782614a5c565b600082019050919050565b6000614a8d82614a5f565b9150819050919050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000614acd600f83613d8f565b9150614ad882614a97565b602082019050919050565b60006020820190508181036000830152614afc81614ac0565b9050919050565b60008160f81b9050919050565b6000614b1b82614b03565b9050919050565b614b33614b2e82614264565b614b10565b82525050565b60008160601b9050919050565b6000614b5182614b39565b9050919050565b6000614b6382614b46565b9050919050565b614b7b614b7682613cf7565b614b58565b82525050565b6000614b8d8285614b22565b600182019150614b9d8284614b6a565b6014820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614be782613c65565b9150614bf283613c65565b9250828202614c0081613c65565b91508282048414831517614c1757614c16614bad565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c5882613c65565b9150614c6383613c65565b925082614c7357614c72614c1e565b5b828204905092915050565b7f4d696e742064697361626c656400000000000000000000000000000000000000600082015250565b6000614cb4600d83613d8f565b9150614cbf82614c7e565b602082019050919050565b60006020820190508181036000830152614ce381614ca7565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7400000000000000000000000000600082015250565b6000614d20601383613d8f565b9150614d2b82614cea565b602082019050919050565b60006020820190508181036000830152614d4f81614d13565b9050919050565b6000614d6182613c65565b9150614d6c83613c65565b9250828201905080821115614d8457614d83614bad565b5b92915050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b6000614dc0601383613d8f565b9150614dcb82614d8a565b602082019050919050565b60006020820190508181036000830152614def81614db3565b9050919050565b7f5075626c6963206d696e742069732064697361626c6564000000000000000000600082015250565b6000614e2c601783613d8f565b9150614e3782614df6565b602082019050919050565b60006020820190508181036000830152614e5b81614e1f565b9050919050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b6000614e98601283613d8f565b9150614ea382614e62565b602082019050919050565b60006020820190508181036000830152614ec781614e8b565b9050919050565b6000614ed982613bfe565b9150614ee483613bfe565b9250828203905061ffff811115614efe57614efd614bad565b5b92915050565b7f43616e2774206d696e742074686174206d616e79000000000000000000000000600082015250565b6000614f3a601483613d8f565b9150614f4582614f04565b602082019050919050565b60006020820190508181036000830152614f6981614f2d565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614fd27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614f95565b614fdc8683614f95565b95508019841693508086168417925050509392505050565b600061500f61500a61500584613c65565b6141ea565b613c65565b9050919050565b6000819050919050565b61502983614ff4565b61503d61503582615016565b848454614fa2565b825550505050565b600090565b615052615045565b61505d818484615020565b505050565b5b818110156150815761507660008261504a565b600181019050615063565b5050565b601f8211156150c65761509781614f70565b6150a084614f85565b810160208510156150af578190505b6150c36150bb85614f85565b830182615062565b50505b505050565b600082821c905092915050565b60006150e9600019846008026150cb565b1980831691505092915050565b600061510283836150d8565b9150826002028217905092915050565b61511b82613d84565b67ffffffffffffffff81111561513457615133614076565b5b61513e8254614a20565b615149828285615085565b600060209050601f83116001811461517c576000841561516a578287015190505b61517485826150f6565b8655506151dc565b601f19841661518a86614f70565b60005b828110156151b25784890151825560018201915060208501945060208101905061518d565b868310156151cf57848901516151cb601f8916826150d8565b8355505b6001600288020188555050505b505050505050565b600080fd5b6000606082840312156151ff576151fe6151e4565b5b61520960606140d6565b9050600061521984828501613c86565b600083015250602061522d84828501613e77565b602083015250604061524184828501613c23565b60408301525092915050565b60006060828403121561526357615262613b39565b5b6000615271848285016151e9565b91505092915050565b7f416c6c6f77206c697374206d696e742069732064697361626c65640000000000600082015250565b60006152b0601b83613d8f565b91506152bb8261527a565b602082019050919050565b600060208201905081810360008301526152df816152a3565b9050919050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b600061531c600d83613d8f565b9150615327826152e6565b602082019050919050565b6000602082019050818103600083015261534b8161530f565b9050919050565b7f46726565206d696e742069732064697361626c65640000000000000000000000600082015250565b6000615388601583613d8f565b915061539382615352565b602082019050919050565b600060208201905081810360008301526153b78161537b565b9050919050565b7f43616e2774206d696e74206d6f7265207468616e203120746f6b656e00000000600082015250565b60006153f4601c83613d8f565b91506153ff826153be565b602082019050919050565b60006020820190508181036000830152615423816153e7565b9050919050565b600061543582614264565b915060ff820361544857615447614bad565b5b600182019050919050565b600081905092915050565b600061546982613d84565b6154738185615453565b9350615483818560208601613da0565b80840191505092915050565b600061549b828561545e565b91506154a7828461545e565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006154ed82613c65565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361551f5761551e614bad565b5b600182019050919050565b6000604082840312156155405761553f6151e4565b5b61554a60406140d6565b9050600061555a84828501613e77565b600083015250602061556e84828501613c23565b60208301525092915050565b6000604082840312156155905761558f613b39565b5b600061559e8482850161552a565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615603602683613d8f565b915061560e826155a7565b604082019050919050565b60006020820190508181036000830152615632816155f6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061566f602083613d8f565b915061567a82615639565b602082019050919050565b6000602082019050818103600083015261569e81615662565b9050919050565b60006040820190506156ba6000830185613e36565b6156c76020830184613e36565b9392505050565b6000815190506156dd816144c3565b92915050565b6000602082840312156156f9576156f8613b39565b5b6000615707848285016156ce565b91505092915050565b7f496e76616c696420627073000000000000000000000000000000000000000000600082015250565b6000615746600b83613d8f565b915061575182615710565b602082019050919050565b6000602082019050818103600083015261577581615739565b9050919050565b60006060820190506157916000830186613f2f565b61579e6020830185613e36565b6157ab6040830184614388565b949350505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006157e9601f83613d8f565b91506157f4826157b3565b602082019050919050565b60006020820190508181036000830152615818816157dc565b9050919050565b600061582b8284614b6a565b60148201915081905092915050565b600081519050919050565b600082825260208201905092915050565b60006158618261583a565b61586b8185615845565b935061587b818560208601613da0565b61588481613dca565b840191505092915050565b60006080820190506158a46000830187613e36565b6158b16020830186613e36565b6158be6040830185613f2f565b81810360608301526158d08184615856565b905095945050505050565b6000815190506158ea81613b6f565b92915050565b60006020828403121561590657615905613b39565b5b6000615914848285016158db565b91505092915050565b600061592882613c65565b915061593383613c65565b925082820390508181111561594b5761594a614bad565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122075542148245b0891e37c9c60afa4219222a5b16657f151f9404e7fce16caae6d64736f6c63430008110033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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