ETH Price: $3,481.65 (+1.96%)

Token

WENmonster (WM)
 

Overview

Max Total Supply

2,222 WM

Holders

1,349

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 WM
0x5b36cc81d3b32a19597d8d7918978acb080fa393
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:
WENmonster

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-09-22
*/

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

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

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

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (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() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * 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.
 */
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 proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _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}
     *
     * _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 the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _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}
     *
     * _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: @openzeppelin/contracts/utils/Context.sol


// 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: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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: erc721a/contracts/IERC721A.sol


// 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: erc721a/contracts/ERC721A.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;


/**
 * @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: erc721a/contracts/extensions/IERC721AQueryable.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;


/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

// File: erc721a/contracts/extensions/ERC721AQueryable.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;



/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

// File: contracts/WENmonster.sol



pragma solidity ^0.8.16;







//██╗    ██╗███████╗███╗   ██╗    ███╗   ███╗ ██████╗ ███╗   ██╗███████╗████████╗███████╗██████╗     
//██║    ██║██╔════╝████╗  ██║    ████╗ ████║██╔═══██╗████╗  ██║██╔════╝╚══██╔══╝██╔════╝██╔══██╗    
//██║ █╗ ██║█████╗  ██╔██╗ ██║    ██╔████╔██║██║   ██║██╔██╗ ██║███████╗   ██║   █████╗  ██████╔╝    
//██║███╗██║██╔══╝  ██║╚██╗██║    ██║╚██╔╝██║██║   ██║██║╚██╗██║╚════██║   ██║   ██╔══╝  ██╔══██╗    
//╚███╔███╔╝███████╗██║ ╚████║    ██║ ╚═╝ ██║╚██████╔╝██║ ╚████║███████║   ██║   ███████╗██║  ██║    
// ╚══╝╚══╝ ╚══════╝╚═╝  ╚═══╝    ╚═╝     ╚═╝ ╚═════╝ ╚═╝  ╚═══╝╚══════╝   ╚═╝   ╚══════╝╚═╝  ╚═╝    
                                                                                                 


contract WENmonster is ERC721A, Ownable, ReentrancyGuard {

    using Strings for uint256;
 
    bytes32 public merkleRoot;
 
    string public uriPrefix = "";
    string public uriSuffix = ".json";
 
    uint256 public cost = 0.0033 ether;
 
    uint256 public maxSupply = 3333; 
    uint256 public maxSupplyWhitelist = 2000;
    uint256 public totalFreeMintedAmount = 0;

    
    uint256 public maxMintAmountPerTx = 3;
    uint256 public walletLimitWl = 4;
    uint256 public walletLimitPublic = 3;

    bool public mintEnabled = false;

    mapping(address => bool) public WhitelistClaimed;
    mapping(address => uint256) public nftMinted;
    mapping(address => uint256) public nftMintedFree;

    constructor() ERC721A("WENmonster", "WM") {
    }

    modifier mintCompliance(uint256 _mintAmount) {
        require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!");
        _;
    }

    modifier mintPriceCompliance(uint256 _mintAmount) {
        require(msg.value >= cost * _mintAmount, "Insufficient funds!");
        _;
    }

    function whitelistMint(bytes32[] calldata _merkleProof) public mintCompliance(1) {
        address account = msg.sender;
        require(mintEnabled,"Whitelist Mint Paused!!");
        require(tx.origin == msg.sender,"Error: Invalid Caller!");
        require(maxSupplyWhitelist >= (totalFreeMintedAmount +1), "Whitelist is OOS!" );
        require(nftMintedFree[account] < 1, "You already minted 1 for free!");
        bytes32 leaf = keccak256(abi.encodePacked(account));
        require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Invalid proof!");
        _safeMint(account, 1);
        WhitelistClaimed[account] = true;
        nftMinted[account] += 1;
        totalFreeMintedAmount = totalFreeMintedAmount + 1;
        nftMintedFree[account] += 1;
    }

    function publicMint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) {
        require(mintEnabled,"Public Mint Paused!!");
        require(tx.origin == msg.sender,"Error: Invalid Caller!");
        require(_mintAmount <= maxMintAmountPerTx, "Invalid mint amount!");
        address account = msg.sender;
        if(WhitelistClaimed[account] == true) {
            require(nftMinted[msg.sender] + _mintAmount <= 4, "Max quantity exceeded");
            _safeMint(account, _mintAmount);
            nftMinted[account] += _mintAmount;
            
        } else {
            require(nftMinted[msg.sender] + _mintAmount <= 3, "Max quantity exceeded");
            _safeMint(account, _mintAmount);
            nftMinted[account] += _mintAmount;
        }
    

    }
    /* ========================  Owner Minter ========================= */
 
    function mintTeam(address _adr, uint256 _mintAmount) public mintCompliance(_mintAmount) onlyOwner {
        _safeMint(_adr, _mintAmount);
    }

    function devMint(address _receiver, uint256 _quantity) external onlyOwner {
        require(
            maxSupply >= totalSupply() + _quantity,
            "Cannot reserve more than max supply"
        );
        _safeMint(_receiver, _quantity);
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }
 
    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");
 
        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0
            ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix))
            : '';
    }

    function enableMint(bool _status) public onlyOwner {
        mintEnabled = _status;
    }

    function setCost(uint256 _cost) public onlyOwner {
        cost = _cost;
    }


    function setUriPrefix(string memory _uriPrefix) public onlyOwner {
        uriPrefix = _uriPrefix;
    }
 
    function setUriSuffix(string memory _uriSuffix) public onlyOwner {
        uriSuffix = _uriSuffix;
    }
 
    function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }
 
    function withdraw() public onlyOwner nonReentrant {
        (bool os, ) = payable(owner()).call{value: address(this).balance}('');
        require(os);
    }
 
    function _baseURI() internal view virtual override returns (string memory) {
        return uriPrefix;
    }

    function cutMaxSupply(uint256 _amount) public onlyOwner {
        require(
            maxSupply - _amount >= totalSupply(),
            "Supply cannot fall below minted tokens."
        );
        maxSupply -= _amount;
    }
    }

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":[],"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":[{"internalType":"address","name":"","type":"address"}],"name":"WhitelistClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"cutMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"enableMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_adr","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nftMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nftMintedFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_mintAmount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","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":"totalFreeMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"walletLimitPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"walletLimitWl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405260006080908152600b906200001a9082620001fd565b50604080518082019091526005815264173539b7b760d91b6020820152600c90620000469082620001fd565b50660bb9551fc24000600d55610d05600e556107d0600f5560006010556003601181905560046012556013556014805460ff191690553480156200008957600080fd5b506040518060400160405280600a8152602001692ba2a736b7b739ba32b960b11b81525060405180604001604052806002815260200161574d60f01b8152508160029081620000d99190620001fd565b506003620000e88282620001fd565b5050600160005550620000fb3362000106565b6001600955620002c9565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018357607f821691505b602082108103620001a457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001f857600081815260208120601f850160051c81016020861015620001d35750805b601f850160051c820191505b81811015620001f457828155600101620001df565b5050505b505050565b81516001600160401b0381111562000219576200021962000158565b62000231816200022a84546200016e565b84620001aa565b602080601f831160018114620002695760008415620002505750858301515b600019600386901b1c1916600185901b178555620001f4565b600085815260208120601f198616915b828110156200029a5788860151825594840194600190910190840162000279565b5085821015620002b95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61228b80620002d96000396000f3fe6080604052600436106102515760003560e01c806362b99ad41161013957806394354fd0116100b6578063c68b33051161007a578063c68b330514610674578063c87b56dd14610694578063d1239730146106b4578063d5abeb01146106ce578063e985e9c5146106e4578063f2fde38b1461070457600080fd5b806394354fd0146105e657806395d89b41146105fc578063a22cb46514610611578063ab1686ab14610631578063b88d4fde1461066157600080fd5b80637cb64759116100fd5780637cb64759146105525780637ec4a65914610572578063887871ce146105925780638da5cb5b146105a857806393f84cfe146105c657600080fd5b806362b99ad4146104d25780636352211e146104e757806370a0823114610507578063715018a61461052757806379cafbb31461053c57600080fd5b80632eb4a7ab116101d257806342842e0e1161019657806342842e0e1461042757806344a0d68a1461043a5780634bf9bdc81461045a5780635503a0e814610470578063598aa36714610485578063627804af146104b257600080fd5b80632eb4a7ab146103995780632f6f92b3146103af578063372f657c146103dc5780633ccfd60b146103fc578063408d08ec1461041157600080fd5b806313faede61161021957806313faede61461031a57806316ba10e01461033e57806318160ddd1461035e57806323b872dd146103735780632db115441461038657600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e55780631141df20146102fa575b600080fd5b34801561026257600080fd5b50610276610271366004611ba1565b610724565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a0610776565b6040516102829190611c0e565b3480156102b957600080fd5b506102cd6102c8366004611c21565b610808565b6040516001600160a01b039091168152602001610282565b6102f86102f3366004611c56565b61084c565b005b34801561030657600080fd5b506102f8610315366004611c21565b6108ec565b34801561032657600080fd5b50610330600d5481565b604051908152602001610282565b34801561034a57600080fd5b506102f8610359366004611d0c565b610987565b34801561036a57600080fd5b5061033061099f565b6102f8610381366004611d55565b6109ad565b6102f8610394366004611c21565b610b46565b3480156103a557600080fd5b50610330600a5481565b3480156103bb57600080fd5b506103306103ca366004611d91565b60166020526000908152604090205481565b3480156103e857600080fd5b506102f86103f7366004611dac565b610e08565b34801561040857600080fd5b506102f86110e4565b34801561041d57600080fd5b5061033060105481565b6102f8610435366004611d55565b6111bc565b34801561044657600080fd5b506102f8610455366004611c21565b6111dc565b34801561046657600080fd5b50610330600f5481565b34801561047c57600080fd5b506102a06111e9565b34801561049157600080fd5b506103306104a0366004611d91565b60176020526000908152604090205481565b3480156104be57600080fd5b506102f86104cd366004611c56565b611277565b3480156104de57600080fd5b506102a06112f9565b3480156104f357600080fd5b506102cd610502366004611c21565b611306565b34801561051357600080fd5b50610330610522366004611d91565b611311565b34801561053357600080fd5b506102f8611360565b34801561054857600080fd5b5061033060125481565b34801561055e57600080fd5b506102f861056d366004611c21565b611374565b34801561057e57600080fd5b506102f861058d366004611d0c565b611381565b34801561059e57600080fd5b5061033060135481565b3480156105b457600080fd5b506008546001600160a01b03166102cd565b3480156105d257600080fd5b506102f86105e1366004611c56565b611395565b3480156105f257600080fd5b5061033060115481565b34801561060857600080fd5b506102a06113dc565b34801561061d57600080fd5b506102f861062c366004611e31565b6113eb565b34801561063d57600080fd5b5061027661064c366004611d91565b60156020526000908152604090205460ff1681565b6102f861066f366004611e64565b611457565b34801561068057600080fd5b506102f861068f366004611ee0565b61149b565b3480156106a057600080fd5b506102a06106af366004611c21565b6114b6565b3480156106c057600080fd5b506014546102769060ff1681565b3480156106da57600080fd5b50610330600e5481565b3480156106f057600080fd5b506102766106ff366004611efb565b611584565b34801561071057600080fd5b506102f861071f366004611d91565b6115b2565b60006301ffc9a760e01b6001600160e01b03198316148061075557506380ac58cd60e01b6001600160e01b03198316145b806107705750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461078590611f25565b80601f01602080910402602001604051908101604052809291908181526020018280546107b190611f25565b80156107fe5780601f106107d3576101008083540402835291602001916107fe565b820191906000526020600020905b8154815290600101906020018083116107e157829003601f168201915b5050505050905090565b60006108138261162b565b610830576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061085782611306565b9050336001600160a01b03821614610890576108738133611584565b610890576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6108f4611660565b6108fc61099f565b81600e5461090a9190611f75565b101561096d5760405162461bcd60e51b815260206004820152602760248201527f537570706c792063616e6e6f742066616c6c2062656c6f77206d696e746564206044820152663a37b5b2b7399760c91b60648201526084015b60405180910390fd5b80600e600082825461097f9190611f75565b909155505050565b61098f611660565b600c61099b8282611fce565b5050565b600154600054036000190190565b60006109b8826116ba565b9050836001600160a01b0316816001600160a01b0316146109eb5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610a3857610a1b8633611584565b610a3857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a5f57604051633a954ecd60e21b815260040160405180910390fd5b8015610a6a57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610afc57600184016000818152600460205260408120549003610afa576000548114610afa5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b80600e5481610b5361099f565b610b5d919061208e565b1115610b7b5760405162461bcd60e51b8152600401610964906120a1565b8180600d54610b8a91906120cf565b341015610bcf5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610964565b60145460ff16610c185760405162461bcd60e51b81526020600482015260146024820152735075626c6963204d696e7420506175736564212160601b6044820152606401610964565b323314610c605760405162461bcd60e51b81526020600482015260166024820152754572726f723a20496e76616c69642043616c6c65722160501b6044820152606401610964565b601154831115610ca95760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610964565b3360008181526015602052604090205460ff161515600103610d665733600090815260166020526040902054600490610ce390869061208e565b1115610d295760405162461bcd60e51b815260206004820152601560248201527413585e081c5d585b9d1a5d1e48195e18d959591959605a1b6044820152606401610964565b610d338185611729565b6001600160a01b03811660009081526016602052604081208054869290610d5b90849061208e565b90915550610e029050565b33600090815260166020526040902054600390610d8490869061208e565b1115610dca5760405162461bcd60e51b815260206004820152601560248201527413585e081c5d585b9d1a5d1e48195e18d959591959605a1b6044820152606401610964565b610dd48185611729565b6001600160a01b03811660009081526016602052604081208054869290610dfc90849061208e565b90915550505b50505050565b6001600e5481610e1661099f565b610e20919061208e565b1115610e3e5760405162461bcd60e51b8152600401610964906120a1565b601454339060ff16610e925760405162461bcd60e51b815260206004820152601760248201527f57686974656c697374204d696e742050617573656421210000000000000000006044820152606401610964565b323314610eda5760405162461bcd60e51b81526020600482015260166024820152754572726f723a20496e76616c69642043616c6c65722160501b6044820152606401610964565b601054610ee890600161208e565b600f541015610f2d5760405162461bcd60e51b815260206004820152601160248201527057686974656c697374206973204f4f532160781b6044820152606401610964565b6001600160a01b038116600090815260176020526040902054600111610f955760405162461bcd60e51b815260206004820152601e60248201527f596f7520616c7265616479206d696e746564203120666f7220667265652100006044820152606401610964565b6040516bffffffffffffffffffffffff19606083901b16602082015260009060340160405160208183030381529060405280519060200120905061101085858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a549150849050611743565b61104d5760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610964565b611058826001611729565b6001600160a01b0382166000908152601560209081526040808320805460ff191660019081179091556016909252822080549192909161109990849061208e565b90915550506010546110ac90600161208e565b6010556001600160a01b03821660009081526017602052604081208054600192906110d890849061208e565b90915550505050505050565b6110ec611660565b60026009540361113e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610964565b600260095560006111576008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146111a1576040519150601f19603f3d011682016040523d82523d6000602084013e6111a6565b606091505b50509050806111b457600080fd5b506001600955565b6111d783838360405180602001604052806000815250611457565b505050565b6111e4611660565b600d55565b600c80546111f690611f25565b80601f016020809104026020016040519081016040528092919081815260200182805461122290611f25565b801561126f5780601f106112445761010080835404028352916020019161126f565b820191906000526020600020905b81548152906001019060200180831161125257829003601f168201915b505050505081565b61127f611660565b8061128861099f565b611292919061208e565b600e5410156112ef5760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f742072657365727665206d6f7265207468616e206d617820737570604482015262706c7960e81b6064820152608401610964565b61099b8282611729565b600b80546111f690611f25565b6000610770826116ba565b60006001600160a01b03821661133a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b611368611660565b6113726000611759565b565b61137c611660565b600a55565b611389611660565b600b61099b8282611fce565b80600e54816113a261099f565b6113ac919061208e565b11156113ca5760405162461bcd60e51b8152600401610964906120a1565b6113d2611660565b6111d78383611729565b60606003805461078590611f25565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114628484846109ad565b6001600160a01b0383163b15610e025761147e848484846117ab565b610e02576040516368d2bf6b60e11b815260040160405180910390fd5b6114a3611660565b6014805460ff1916911515919091179055565b60606114c18261162b565b6115255760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610964565b600061152f611897565b9050600081511161154f576040518060200160405280600081525061157d565b80611559846118a6565b600c60405160200161156d939291906120ee565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6115ba611660565b6001600160a01b03811661161f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610964565b61162881611759565b50565b60008160011115801561163f575060005482105b8015610770575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b031633146113725760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610964565b60008180600111611710576000548110156117105760008181526004602052604081205490600160e01b8216900361170e575b8060000361157d5750600019016000818152600460205260409020546116ed565b505b604051636f96cda160e11b815260040160405180910390fd5b61099b8282604051806020016040528060008152506119a7565b6000826117508584611a14565b14949350505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906117e090339089908890889060040161218e565b6020604051808303816000875af192505050801561181b575060408051601f3d908101601f19168201909252611818918101906121cb565b60015b611879573d808015611849576040519150601f19603f3d011682016040523d82523d6000602084013e61184e565b606091505b508051600003611871576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b805461078590611f25565b6060816000036118cd5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118f757806118e1816121e8565b91506118f09050600a83612217565b91506118d1565b60008167ffffffffffffffff81111561191257611912611c80565b6040519080825280601f01601f19166020018201604052801561193c576020820181803683370190505b5090505b841561188f57611951600183611f75565b915061195e600a8661222b565b61196990603061208e565b60f81b81838151811061197e5761197e61223f565b60200101906001600160f81b031916908160001a9053506119a0600a86612217565b9450611940565b6119b18383611a61565b6001600160a01b0383163b156111d7576000548281035b6119db60008683806001019450866117ab565b6119f8576040516368d2bf6b60e11b815260040160405180910390fd5b8181106119c8578160005414611a0d57600080fd5b5050505050565b600081815b8451811015611a5957611a4582868381518110611a3857611a3861223f565b6020026020010151611b5f565b915080611a51816121e8565b915050611a19565b509392505050565b6000805490829003611a865760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611b3557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611afd565b5081600003611b5657604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000818310611b7b57600082815260208490526040902061157d565b5060009182526020526040902090565b6001600160e01b03198116811461162857600080fd5b600060208284031215611bb357600080fd5b813561157d81611b8b565b60005b83811015611bd9578181015183820152602001611bc1565b50506000910152565b60008151808452611bfa816020860160208601611bbe565b601f01601f19169290920160200192915050565b60208152600061157d6020830184611be2565b600060208284031215611c3357600080fd5b5035919050565b80356001600160a01b0381168114611c5157600080fd5b919050565b60008060408385031215611c6957600080fd5b611c7283611c3a565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611cb157611cb1611c80565b604051601f8501601f19908116603f01168101908282118183101715611cd957611cd9611c80565b81604052809350858152868686011115611cf257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611d1e57600080fd5b813567ffffffffffffffff811115611d3557600080fd5b8201601f81018413611d4657600080fd5b61188f84823560208401611c96565b600080600060608486031215611d6a57600080fd5b611d7384611c3a565b9250611d8160208501611c3a565b9150604084013590509250925092565b600060208284031215611da357600080fd5b61157d82611c3a565b60008060208385031215611dbf57600080fd5b823567ffffffffffffffff80821115611dd757600080fd5b818501915085601f830112611deb57600080fd5b813581811115611dfa57600080fd5b8660208260051b8501011115611e0f57600080fd5b60209290920196919550909350505050565b80358015158114611c5157600080fd5b60008060408385031215611e4457600080fd5b611e4d83611c3a565b9150611e5b60208401611e21565b90509250929050565b60008060008060808587031215611e7a57600080fd5b611e8385611c3a565b9350611e9160208601611c3a565b925060408501359150606085013567ffffffffffffffff811115611eb457600080fd5b8501601f81018713611ec557600080fd5b611ed487823560208401611c96565b91505092959194509250565b600060208284031215611ef257600080fd5b61157d82611e21565b60008060408385031215611f0e57600080fd5b611f1783611c3a565b9150611e5b60208401611c3a565b600181811c90821680611f3957607f821691505b602082108103611f5957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561077057610770611f5f565b601f8211156111d757600081815260208120601f850160051c81016020861015611faf5750805b601f850160051c820191505b81811015610b3e57828155600101611fbb565b815167ffffffffffffffff811115611fe857611fe8611c80565b611ffc81611ff68454611f25565b84611f88565b602080601f83116001811461203157600084156120195750858301515b600019600386901b1c1916600185901b178555610b3e565b600085815260208120601f198616915b8281101561206057888601518255948401946001909101908401612041565b508582101561207e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8082018082111561077057610770611f5f565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b60008160001904831182151516156120e9576120e9611f5f565b500290565b6000845160206121018285838a01611bbe565b8551918401916121148184848a01611bbe565b855492019160009061212581611f25565b6001828116801561213d57600181146121525761217e565b60ff198416875282151583028701945061217e565b896000528560002060005b848110156121765781548982015290830190870161215d565b505082870194505b50929a9950505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121c190830184611be2565b9695505050505050565b6000602082840312156121dd57600080fd5b815161157d81611b8b565b6000600182016121fa576121fa611f5f565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261222657612226612201565b500490565b60008261223a5761223a612201565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212206b9ecd004421e0f5e8a1a90cdf520bfe7c13bc43b3291dde58c2cf4cefb70eb864736f6c63430008100033

Deployed Bytecode

0x6080604052600436106102515760003560e01c806362b99ad41161013957806394354fd0116100b6578063c68b33051161007a578063c68b330514610674578063c87b56dd14610694578063d1239730146106b4578063d5abeb01146106ce578063e985e9c5146106e4578063f2fde38b1461070457600080fd5b806394354fd0146105e657806395d89b41146105fc578063a22cb46514610611578063ab1686ab14610631578063b88d4fde1461066157600080fd5b80637cb64759116100fd5780637cb64759146105525780637ec4a65914610572578063887871ce146105925780638da5cb5b146105a857806393f84cfe146105c657600080fd5b806362b99ad4146104d25780636352211e146104e757806370a0823114610507578063715018a61461052757806379cafbb31461053c57600080fd5b80632eb4a7ab116101d257806342842e0e1161019657806342842e0e1461042757806344a0d68a1461043a5780634bf9bdc81461045a5780635503a0e814610470578063598aa36714610485578063627804af146104b257600080fd5b80632eb4a7ab146103995780632f6f92b3146103af578063372f657c146103dc5780633ccfd60b146103fc578063408d08ec1461041157600080fd5b806313faede61161021957806313faede61461031a57806316ba10e01461033e57806318160ddd1461035e57806323b872dd146103735780632db115441461038657600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e55780631141df20146102fa575b600080fd5b34801561026257600080fd5b50610276610271366004611ba1565b610724565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a0610776565b6040516102829190611c0e565b3480156102b957600080fd5b506102cd6102c8366004611c21565b610808565b6040516001600160a01b039091168152602001610282565b6102f86102f3366004611c56565b61084c565b005b34801561030657600080fd5b506102f8610315366004611c21565b6108ec565b34801561032657600080fd5b50610330600d5481565b604051908152602001610282565b34801561034a57600080fd5b506102f8610359366004611d0c565b610987565b34801561036a57600080fd5b5061033061099f565b6102f8610381366004611d55565b6109ad565b6102f8610394366004611c21565b610b46565b3480156103a557600080fd5b50610330600a5481565b3480156103bb57600080fd5b506103306103ca366004611d91565b60166020526000908152604090205481565b3480156103e857600080fd5b506102f86103f7366004611dac565b610e08565b34801561040857600080fd5b506102f86110e4565b34801561041d57600080fd5b5061033060105481565b6102f8610435366004611d55565b6111bc565b34801561044657600080fd5b506102f8610455366004611c21565b6111dc565b34801561046657600080fd5b50610330600f5481565b34801561047c57600080fd5b506102a06111e9565b34801561049157600080fd5b506103306104a0366004611d91565b60176020526000908152604090205481565b3480156104be57600080fd5b506102f86104cd366004611c56565b611277565b3480156104de57600080fd5b506102a06112f9565b3480156104f357600080fd5b506102cd610502366004611c21565b611306565b34801561051357600080fd5b50610330610522366004611d91565b611311565b34801561053357600080fd5b506102f8611360565b34801561054857600080fd5b5061033060125481565b34801561055e57600080fd5b506102f861056d366004611c21565b611374565b34801561057e57600080fd5b506102f861058d366004611d0c565b611381565b34801561059e57600080fd5b5061033060135481565b3480156105b457600080fd5b506008546001600160a01b03166102cd565b3480156105d257600080fd5b506102f86105e1366004611c56565b611395565b3480156105f257600080fd5b5061033060115481565b34801561060857600080fd5b506102a06113dc565b34801561061d57600080fd5b506102f861062c366004611e31565b6113eb565b34801561063d57600080fd5b5061027661064c366004611d91565b60156020526000908152604090205460ff1681565b6102f861066f366004611e64565b611457565b34801561068057600080fd5b506102f861068f366004611ee0565b61149b565b3480156106a057600080fd5b506102a06106af366004611c21565b6114b6565b3480156106c057600080fd5b506014546102769060ff1681565b3480156106da57600080fd5b50610330600e5481565b3480156106f057600080fd5b506102766106ff366004611efb565b611584565b34801561071057600080fd5b506102f861071f366004611d91565b6115b2565b60006301ffc9a760e01b6001600160e01b03198316148061075557506380ac58cd60e01b6001600160e01b03198316145b806107705750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461078590611f25565b80601f01602080910402602001604051908101604052809291908181526020018280546107b190611f25565b80156107fe5780601f106107d3576101008083540402835291602001916107fe565b820191906000526020600020905b8154815290600101906020018083116107e157829003601f168201915b5050505050905090565b60006108138261162b565b610830576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061085782611306565b9050336001600160a01b03821614610890576108738133611584565b610890576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6108f4611660565b6108fc61099f565b81600e5461090a9190611f75565b101561096d5760405162461bcd60e51b815260206004820152602760248201527f537570706c792063616e6e6f742066616c6c2062656c6f77206d696e746564206044820152663a37b5b2b7399760c91b60648201526084015b60405180910390fd5b80600e600082825461097f9190611f75565b909155505050565b61098f611660565b600c61099b8282611fce565b5050565b600154600054036000190190565b60006109b8826116ba565b9050836001600160a01b0316816001600160a01b0316146109eb5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610a3857610a1b8633611584565b610a3857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a5f57604051633a954ecd60e21b815260040160405180910390fd5b8015610a6a57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610afc57600184016000818152600460205260408120549003610afa576000548114610afa5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b80600e5481610b5361099f565b610b5d919061208e565b1115610b7b5760405162461bcd60e51b8152600401610964906120a1565b8180600d54610b8a91906120cf565b341015610bcf5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610964565b60145460ff16610c185760405162461bcd60e51b81526020600482015260146024820152735075626c6963204d696e7420506175736564212160601b6044820152606401610964565b323314610c605760405162461bcd60e51b81526020600482015260166024820152754572726f723a20496e76616c69642043616c6c65722160501b6044820152606401610964565b601154831115610ca95760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610964565b3360008181526015602052604090205460ff161515600103610d665733600090815260166020526040902054600490610ce390869061208e565b1115610d295760405162461bcd60e51b815260206004820152601560248201527413585e081c5d585b9d1a5d1e48195e18d959591959605a1b6044820152606401610964565b610d338185611729565b6001600160a01b03811660009081526016602052604081208054869290610d5b90849061208e565b90915550610e029050565b33600090815260166020526040902054600390610d8490869061208e565b1115610dca5760405162461bcd60e51b815260206004820152601560248201527413585e081c5d585b9d1a5d1e48195e18d959591959605a1b6044820152606401610964565b610dd48185611729565b6001600160a01b03811660009081526016602052604081208054869290610dfc90849061208e565b90915550505b50505050565b6001600e5481610e1661099f565b610e20919061208e565b1115610e3e5760405162461bcd60e51b8152600401610964906120a1565b601454339060ff16610e925760405162461bcd60e51b815260206004820152601760248201527f57686974656c697374204d696e742050617573656421210000000000000000006044820152606401610964565b323314610eda5760405162461bcd60e51b81526020600482015260166024820152754572726f723a20496e76616c69642043616c6c65722160501b6044820152606401610964565b601054610ee890600161208e565b600f541015610f2d5760405162461bcd60e51b815260206004820152601160248201527057686974656c697374206973204f4f532160781b6044820152606401610964565b6001600160a01b038116600090815260176020526040902054600111610f955760405162461bcd60e51b815260206004820152601e60248201527f596f7520616c7265616479206d696e746564203120666f7220667265652100006044820152606401610964565b6040516bffffffffffffffffffffffff19606083901b16602082015260009060340160405160208183030381529060405280519060200120905061101085858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a549150849050611743565b61104d5760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610964565b611058826001611729565b6001600160a01b0382166000908152601560209081526040808320805460ff191660019081179091556016909252822080549192909161109990849061208e565b90915550506010546110ac90600161208e565b6010556001600160a01b03821660009081526017602052604081208054600192906110d890849061208e565b90915550505050505050565b6110ec611660565b60026009540361113e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610964565b600260095560006111576008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146111a1576040519150601f19603f3d011682016040523d82523d6000602084013e6111a6565b606091505b50509050806111b457600080fd5b506001600955565b6111d783838360405180602001604052806000815250611457565b505050565b6111e4611660565b600d55565b600c80546111f690611f25565b80601f016020809104026020016040519081016040528092919081815260200182805461122290611f25565b801561126f5780601f106112445761010080835404028352916020019161126f565b820191906000526020600020905b81548152906001019060200180831161125257829003601f168201915b505050505081565b61127f611660565b8061128861099f565b611292919061208e565b600e5410156112ef5760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f742072657365727665206d6f7265207468616e206d617820737570604482015262706c7960e81b6064820152608401610964565b61099b8282611729565b600b80546111f690611f25565b6000610770826116ba565b60006001600160a01b03821661133a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b611368611660565b6113726000611759565b565b61137c611660565b600a55565b611389611660565b600b61099b8282611fce565b80600e54816113a261099f565b6113ac919061208e565b11156113ca5760405162461bcd60e51b8152600401610964906120a1565b6113d2611660565b6111d78383611729565b60606003805461078590611f25565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114628484846109ad565b6001600160a01b0383163b15610e025761147e848484846117ab565b610e02576040516368d2bf6b60e11b815260040160405180910390fd5b6114a3611660565b6014805460ff1916911515919091179055565b60606114c18261162b565b6115255760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610964565b600061152f611897565b9050600081511161154f576040518060200160405280600081525061157d565b80611559846118a6565b600c60405160200161156d939291906120ee565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6115ba611660565b6001600160a01b03811661161f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610964565b61162881611759565b50565b60008160011115801561163f575060005482105b8015610770575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b031633146113725760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610964565b60008180600111611710576000548110156117105760008181526004602052604081205490600160e01b8216900361170e575b8060000361157d5750600019016000818152600460205260409020546116ed565b505b604051636f96cda160e11b815260040160405180910390fd5b61099b8282604051806020016040528060008152506119a7565b6000826117508584611a14565b14949350505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906117e090339089908890889060040161218e565b6020604051808303816000875af192505050801561181b575060408051601f3d908101601f19168201909252611818918101906121cb565b60015b611879573d808015611849576040519150601f19603f3d011682016040523d82523d6000602084013e61184e565b606091505b508051600003611871576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b805461078590611f25565b6060816000036118cd5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118f757806118e1816121e8565b91506118f09050600a83612217565b91506118d1565b60008167ffffffffffffffff81111561191257611912611c80565b6040519080825280601f01601f19166020018201604052801561193c576020820181803683370190505b5090505b841561188f57611951600183611f75565b915061195e600a8661222b565b61196990603061208e565b60f81b81838151811061197e5761197e61223f565b60200101906001600160f81b031916908160001a9053506119a0600a86612217565b9450611940565b6119b18383611a61565b6001600160a01b0383163b156111d7576000548281035b6119db60008683806001019450866117ab565b6119f8576040516368d2bf6b60e11b815260040160405180910390fd5b8181106119c8578160005414611a0d57600080fd5b5050505050565b600081815b8451811015611a5957611a4582868381518110611a3857611a3861223f565b6020026020010151611b5f565b915080611a51816121e8565b915050611a19565b509392505050565b6000805490829003611a865760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611b3557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611afd565b5081600003611b5657604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000818310611b7b57600082815260208490526040902061157d565b5060009182526020526040902090565b6001600160e01b03198116811461162857600080fd5b600060208284031215611bb357600080fd5b813561157d81611b8b565b60005b83811015611bd9578181015183820152602001611bc1565b50506000910152565b60008151808452611bfa816020860160208601611bbe565b601f01601f19169290920160200192915050565b60208152600061157d6020830184611be2565b600060208284031215611c3357600080fd5b5035919050565b80356001600160a01b0381168114611c5157600080fd5b919050565b60008060408385031215611c6957600080fd5b611c7283611c3a565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611cb157611cb1611c80565b604051601f8501601f19908116603f01168101908282118183101715611cd957611cd9611c80565b81604052809350858152868686011115611cf257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611d1e57600080fd5b813567ffffffffffffffff811115611d3557600080fd5b8201601f81018413611d4657600080fd5b61188f84823560208401611c96565b600080600060608486031215611d6a57600080fd5b611d7384611c3a565b9250611d8160208501611c3a565b9150604084013590509250925092565b600060208284031215611da357600080fd5b61157d82611c3a565b60008060208385031215611dbf57600080fd5b823567ffffffffffffffff80821115611dd757600080fd5b818501915085601f830112611deb57600080fd5b813581811115611dfa57600080fd5b8660208260051b8501011115611e0f57600080fd5b60209290920196919550909350505050565b80358015158114611c5157600080fd5b60008060408385031215611e4457600080fd5b611e4d83611c3a565b9150611e5b60208401611e21565b90509250929050565b60008060008060808587031215611e7a57600080fd5b611e8385611c3a565b9350611e9160208601611c3a565b925060408501359150606085013567ffffffffffffffff811115611eb457600080fd5b8501601f81018713611ec557600080fd5b611ed487823560208401611c96565b91505092959194509250565b600060208284031215611ef257600080fd5b61157d82611e21565b60008060408385031215611f0e57600080fd5b611f1783611c3a565b9150611e5b60208401611c3a565b600181811c90821680611f3957607f821691505b602082108103611f5957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561077057610770611f5f565b601f8211156111d757600081815260208120601f850160051c81016020861015611faf5750805b601f850160051c820191505b81811015610b3e57828155600101611fbb565b815167ffffffffffffffff811115611fe857611fe8611c80565b611ffc81611ff68454611f25565b84611f88565b602080601f83116001811461203157600084156120195750858301515b600019600386901b1c1916600185901b178555610b3e565b600085815260208120601f198616915b8281101561206057888601518255948401946001909101908401612041565b508582101561207e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8082018082111561077057610770611f5f565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b60008160001904831182151516156120e9576120e9611f5f565b500290565b6000845160206121018285838a01611bbe565b8551918401916121148184848a01611bbe565b855492019160009061212581611f25565b6001828116801561213d57600181146121525761217e565b60ff198416875282151583028701945061217e565b896000528560002060005b848110156121765781548982015290830190870161215d565b505082870194505b50929a9950505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121c190830184611be2565b9695505050505050565b6000602082840312156121dd57600080fd5b815161157d81611b8b565b6000600182016121fa576121fa611f5f565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261222657612226612201565b500490565b60008261223a5761223a612201565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212206b9ecd004421e0f5e8a1a90cdf520bfe7c13bc43b3291dde58c2cf4cefb70eb864736f6c63430008100033

Deployed Bytecode Sourcemap

79702:4789:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35978:639;;;;;;;;;;-1:-1:-1;35978:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;35978:639:0;;;;;;;;36880:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43371:218::-;;;;;;;;;;-1:-1:-1;43371:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;43371:218:0;1533:203:1;42804:408:0;;;;;;:::i;:::-;;:::i;:::-;;84253:231;;;;;;;;;;-1:-1:-1;84253:231:0;;;;;:::i;:::-;;:::i;79916:34::-;;;;;;;;;;;;;;;;;;;2324:25:1;;;2312:2;2297:18;79916:34:0;2178:177:1;83738:106:0;;;;;;;;;;-1:-1:-1;83738:106:0;;;;;:::i;:::-;;:::i;32631:323::-;;;;;;;;;;;;;:::i;47010:2825::-;;;;;;:::i;:::-;;:::i;81587:829::-;;;;;;:::i;:::-;;:::i;79803:25::-;;;;;;;;;;;;;;;;80324:44;;;;;;;;;;-1:-1:-1;80324:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;80799:780;;;;;;;;;;-1:-1:-1;80799:780:0;;;;;:::i;:::-;;:::i;83966:160::-;;;;;;;;;;;;;:::i;80046:40::-;;;;;;;;;;;;;;;;49931:193;;;;;;:::i;:::-;;:::i;83533:80::-;;;;;;;;;;-1:-1:-1;83533:80:0;;;;;:::i;:::-;;:::i;79999:40::-;;;;;;;;;;;;;;;;79873:33;;;;;;;;;;;;;:::i;80375:48::-;;;;;;;;;;-1:-1:-1;80375:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;82654:258;;;;;;;;;;-1:-1:-1;82654:258:0;;;;;:::i;:::-;;:::i;79838:28::-;;;;;;;;;;;;;:::i;38273:152::-;;;;;;;;;;-1:-1:-1;38273:152:0;;;;;:::i;:::-;;:::i;33815:233::-;;;;;;;;;;-1:-1:-1;33815:233:0;;;;;:::i;:::-;;:::i;16757:103::-;;;;;;;;;;;;;:::i;80145:32::-;;;;;;;;;;;;;;;;83853:104;;;;;;;;;;-1:-1:-1;83853:104:0;;;;;:::i;:::-;;:::i;83623:106::-;;;;;;;;;;-1:-1:-1;83623:106:0;;;;;:::i;:::-;;:::i;80184:36::-;;;;;;;;;;;;;;;;16109:87;;;;;;;;;;-1:-1:-1;16182:6:0;;-1:-1:-1;;;;;16182:6:0;16109:87;;82501:145;;;;;;;;;;-1:-1:-1;82501:145:0;;;;;:::i;:::-;;:::i;80101:37::-;;;;;;;;;;;;;;;;37056:104;;;;;;;;;;;;;:::i;43929:234::-;;;;;;;;;;-1:-1:-1;43929:234:0;;;;;:::i;:::-;;:::i;80269:48::-;;;;;;;;;;-1:-1:-1;80269:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;50722:407;;;;;;:::i;:::-;;:::i;83434:91::-;;;;;;;;;;-1:-1:-1;83434:91:0;;;;;:::i;:::-;;:::i;83030:396::-;;;;;;;;;;-1:-1:-1;83030:396:0;;;;;:::i;:::-;;:::i;80229:31::-;;;;;;;;;;-1:-1:-1;80229:31:0;;;;;;;;79960;;;;;;;;;;;;;;;;44320:164;;;;;;;;;;-1:-1:-1;44320:164:0;;;;;:::i;:::-;;:::i;17015:201::-;;;;;;;;;;-1:-1:-1;17015:201:0;;;;;:::i;:::-;;:::i;35978:639::-;36063:4;-1:-1:-1;;;;;;;;;36387:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;36464:25:0;;;36387:102;:179;;;-1:-1:-1;;;;;;;;;;36541:25:0;;;36387:179;36367:199;35978:639;-1:-1:-1;;35978:639:0:o;36880:100::-;36934:13;36967:5;36960:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36880:100;:::o;43371:218::-;43447:7;43472:16;43480:7;43472;:16::i;:::-;43467:64;;43497:34;;-1:-1:-1;;;43497:34:0;;;;;;;;;;;43467:64;-1:-1:-1;43551:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;43551:30:0;;43371:218::o;42804:408::-;42893:13;42909:16;42917:7;42909;:16::i;:::-;42893:32;-1:-1:-1;67137:10:0;-1:-1:-1;;;;;42942:28:0;;;42938:175;;42990:44;43007:5;67137:10;44320:164;:::i;42990:44::-;42985:128;;43062:35;;-1:-1:-1;;;43062:35:0;;;;;;;;;;;42985:128;43125:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;43125:35:0;-1:-1:-1;;;;;43125:35:0;;;;;;;;;43176:28;;43125:24;;43176:28;;;;;;;42882:330;42804:408;;:::o;84253:231::-;15995:13;:11;:13::i;:::-;84365::::1;:11;:13::i;:::-;84354:7;84342:9;;:19;;;;:::i;:::-;:36;;84320:125;;;::::0;-1:-1:-1;;;84320:125:0;;7494:2:1;84320:125:0::1;::::0;::::1;7476:21:1::0;7533:2;7513:18;;;7506:30;7572:34;7552:18;;;7545:62;-1:-1:-1;;;7623:18:1;;;7616:37;7670:19;;84320:125:0::1;;;;;;;;;84469:7;84456:9;;:20;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;84253:231:0:o;83738:106::-;15995:13;:11;:13::i;:::-;83814:9:::1;:22;83826:10:::0;83814:9;:22:::1;:::i;:::-;;83738:106:::0;:::o;32631:323::-;83012:1;32905:12;32692:7;32889:13;:28;-1:-1:-1;;32889:46:0;;32631:323::o;47010:2825::-;47152:27;47182;47201:7;47182:18;:27::i;:::-;47152:57;;47267:4;-1:-1:-1;;;;;47226:45:0;47242:19;-1:-1:-1;;;;;47226:45:0;;47222:86;;47280:28;;-1:-1:-1;;;47280:28:0;;;;;;;;;;;47222:86;47322:27;46118:24;;;:15;:24;;;;;46346:26;;67137:10;45743:30;;;-1:-1:-1;;;;;45436:28:0;;45721:20;;;45718:56;47508:180;;47601:43;47618:4;67137:10;44320:164;:::i;47601:43::-;47596:92;;47653:35;;-1:-1:-1;;;47653:35:0;;;;;;;;;;;47596:92;-1:-1:-1;;;;;47705:16:0;;47701:52;;47730:23;;-1:-1:-1;;;47730:23:0;;;;;;;;;;;47701:52;47902:15;47899:160;;;48042:1;48021:19;48014:30;47899:160;-1:-1:-1;;;;;48439:24:0;;;;;;;:18;:24;;;;;;48437:26;;-1:-1:-1;;48437:26:0;;;48508:22;;;;;;;;;48506:24;;-1:-1:-1;48506:24:0;;;41662:11;41637:23;41633:41;41620:63;-1:-1:-1;;;41620:63:0;48801:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;49096:47:0;;:52;;49092:627;;49201:1;49191:11;;49169:19;49324:30;;;:17;:30;;;;;;:35;;49320:384;;49462:13;;49447:11;:28;49443:242;;49609:30;;;;:17;:30;;;;;:52;;;49443:242;49150:569;49092:627;49766:7;49762:2;-1:-1:-1;;;;;49747:27:0;49756:4;-1:-1:-1;;;;;49747:27:0;;;;;;;;;;;49785:42;47141:2694;;;47010:2825;;;:::o;81587:829::-;81658:11;80585:9;;80570:11;80554:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;80546:73;;;;-1:-1:-1;;;80546:73:0;;;;;;;:::i;:::-;81691:11:::1;80736;80729:4;;:18;;;;:::i;:::-;80716:9;:31;;80708:63;;;::::0;-1:-1:-1;;;80708:63:0;;10758:2:1;80708:63:0::1;::::0;::::1;10740:21:1::0;10797:2;10777:18;;;10770:30;-1:-1:-1;;;10816:18:1;;;10809:49;10875:18;;80708:63:0::1;10556:343:1::0;80708:63:0::1;81723:11:::2;::::0;::::2;;81715:43;;;::::0;-1:-1:-1;;;81715:43:0;;11106:2:1;81715:43:0::2;::::0;::::2;11088:21:1::0;11145:2;11125:18;;;11118:30;-1:-1:-1;;;11164:18:1;;;11157:50;11224:18;;81715:43:0::2;10904:344:1::0;81715:43:0::2;81777:9;81790:10;81777:23;81769:57;;;::::0;-1:-1:-1;;;81769:57:0;;11455:2:1;81769:57:0::2;::::0;::::2;11437:21:1::0;11494:2;11474:18;;;11467:30;-1:-1:-1;;;11513:18:1;;;11506:52;11575:18;;81769:57:0::2;11253:346:1::0;81769:57:0::2;81860:18;;81845:11;:33;;81837:66;;;::::0;-1:-1:-1;;;81837:66:0;;11806:2:1;81837:66:0::2;::::0;::::2;11788:21:1::0;11845:2;11825:18;;;11818:30;-1:-1:-1;;;11864:18:1;;;11857:50;11924:18;;81837:66:0::2;11604:344:1::0;81837:66:0::2;81932:10;81914:15;81956:25:::0;;;:16:::2;:25;::::0;;;;;::::2;;:33;;:25:::0;:33;81953:448:::2;;82024:10;82014:21;::::0;;;:9:::2;:21;::::0;;;;;82053:1:::2;::::0;82014:35:::2;::::0;82038:11;;82014:35:::2;:::i;:::-;:40;;82006:74;;;::::0;-1:-1:-1;;;82006:74:0;;12155:2:1;82006:74:0::2;::::0;::::2;12137:21:1::0;12194:2;12174:18;;;12167:30;-1:-1:-1;;;12213:18:1;;;12206:51;12274:18;;82006:74:0::2;11953:345:1::0;82006:74:0::2;82095:31;82105:7;82114:11;82095:9;:31::i;:::-;-1:-1:-1::0;;;;;82141:18:0;::::2;;::::0;;;:9:::2;:18;::::0;;;;:33;;82163:11;;82141:18;:33:::2;::::0;82163:11;;82141:33:::2;:::i;:::-;::::0;;;-1:-1:-1;81953:448:0::2;::::0;-1:-1:-1;81953:448:0::2;;82239:10;82229:21;::::0;;;:9:::2;:21;::::0;;;;;82268:1:::2;::::0;82229:35:::2;::::0;82253:11;;82229:35:::2;:::i;:::-;:40;;82221:74;;;::::0;-1:-1:-1;;;82221:74:0;;12155:2:1;82221:74:0::2;::::0;::::2;12137:21:1::0;12194:2;12174:18;;;12167:30;-1:-1:-1;;;12213:18:1;;;12206:51;12274:18;;82221:74:0::2;11953:345:1::0;82221:74:0::2;82310:31;82320:7;82329:11;82310:9;:31::i;:::-;-1:-1:-1::0;;;;;82356:18:0;::::2;;::::0;;;:9:::2;:18;::::0;;;;:33;;82378:11;;82356:18;:33:::2;::::0;82378:11;;82356:33:::2;:::i;:::-;::::0;;;-1:-1:-1;;81953:448:0::2;81704:712;80630:1:::1;81587:829:::0;;:::o;80799:780::-;80877:1;80585:9;;80570:11;80554:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;80546:73;;;;-1:-1:-1;;;80546:73:0;;;;;;;:::i;:::-;80938:11:::1;::::0;80909:10:::1;::::0;80938:11:::1;;80930:46;;;::::0;-1:-1:-1;;;80930:46:0;;12505:2:1;80930:46:0::1;::::0;::::1;12487:21:1::0;12544:2;12524:18;;;12517:30;12583:25;12563:18;;;12556:53;12626:18;;80930:46:0::1;12303:347:1::0;80930:46:0::1;80995:9;81008:10;80995:23;80987:57;;;::::0;-1:-1:-1;;;80987:57:0;;11455:2:1;80987:57:0::1;::::0;::::1;11437:21:1::0;11494:2;11474:18;;;11467:30;-1:-1:-1;;;11513:18:1;;;11506:52;11575:18;;80987:57:0::1;11253:346:1::0;80987:57:0::1;81086:21;::::0;:24:::1;::::0;81109:1:::1;81086:24;:::i;:::-;81063:18;;:48;;81055:79;;;::::0;-1:-1:-1;;;81055:79:0;;12857:2:1;81055:79:0::1;::::0;::::1;12839:21:1::0;12896:2;12876:18;;;12869:30;-1:-1:-1;;;12915:18:1;;;12908:47;12972:18;;81055:79:0::1;12655:341:1::0;81055:79:0::1;-1:-1:-1::0;;;;;81153:22:0;::::1;;::::0;;;:13:::1;:22;::::0;;;;;81178:1:::1;-1:-1:-1::0;81145:69:0::1;;;::::0;-1:-1:-1;;;81145:69:0;;13203:2:1;81145:69:0::1;::::0;::::1;13185:21:1::0;13242:2;13222:18;;;13215:30;13281:32;13261:18;;;13254:60;13331:18;;81145:69:0::1;13001:354:1::0;81145:69:0::1;81250:25;::::0;-1:-1:-1;;13509:2:1;13505:15;;;13501:53;81250:25:0::1;::::0;::::1;13489:66:1::0;81225:12:0::1;::::0;13571::1;;81250:25:0::1;;;;;;;;;;;;81240:36;;;;;;81225:51;;81295:50;81314:12;;81295:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;81328:10:0::1;::::0;;-1:-1:-1;81340:4:0;;-1:-1:-1;81295:18:0::1;:50::i;:::-;81287:77;;;::::0;-1:-1:-1;;;81287:77:0;;13796:2:1;81287:77:0::1;::::0;::::1;13778:21:1::0;13835:2;13815:18;;;13808:30;-1:-1:-1;;;13854:18:1;;;13847:44;13908:18;;81287:77:0::1;13594:338:1::0;81287:77:0::1;81375:21;81385:7;81394:1;81375:9;:21::i;:::-;-1:-1:-1::0;;;;;81407:25:0;::::1;;::::0;;;:16:::1;:25;::::0;;;;;;;:32;;-1:-1:-1;;81407:32:0::1;81435:4;81407:32:::0;;::::1;::::0;;;81450:9:::1;:18:::0;;;;;:23;;81435:4;;81450:18;;:23:::1;::::0;81435:4;;81450:23:::1;:::i;:::-;::::0;;;-1:-1:-1;;81508:21:0::1;::::0;:25:::1;::::0;81532:1:::1;81508:25;:::i;:::-;81484:21;:49:::0;-1:-1:-1;;;;;81544:22:0;::::1;;::::0;;;:13:::1;:22;::::0;;;;:27;;81570:1:::1;::::0;81544:22;:27:::1;::::0;81570:1;;81544:27:::1;:::i;:::-;::::0;;;-1:-1:-1;;;;;;;80799:780:0:o;83966:160::-;15995:13;:11;:13::i;:::-;4309:1:::1;4907:7;;:19:::0;4899:63:::1;;;::::0;-1:-1:-1;;;4899:63:0;;14139:2:1;4899:63:0::1;::::0;::::1;14121:21:1::0;14178:2;14158:18;;;14151:30;14217:33;14197:18;;;14190:61;14268:18;;4899:63:0::1;13937:355:1::0;4899:63:0::1;4309:1;5040:7;:18:::0;84028:7:::2;84049;16182:6:::0;;-1:-1:-1;;;;;16182:6:0;;16109:87;84049:7:::2;-1:-1:-1::0;;;;;84041:21:0::2;84070;84041:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84027:69;;;84115:2;84107:11;;;::::0;::::2;;-1:-1:-1::0;4265:1:0::1;5219:7;:22:::0;83966:160::o;49931:193::-;50077:39;50094:4;50100:2;50104:7;50077:39;;;;;;;;;;;;:16;:39::i;:::-;49931:193;;;:::o;83533:80::-;15995:13;:11;:13::i;:::-;83593:4:::1;:12:::0;83533:80::o;79873:33::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;82654:258::-;15995:13;:11;:13::i;:::-;82790:9:::1;82774:13;:11;:13::i;:::-;:25;;;;:::i;:::-;82761:9;;:38;;82739:123;;;::::0;-1:-1:-1;;;82739:123:0;;14709:2:1;82739:123:0::1;::::0;::::1;14691:21:1::0;14748:2;14728:18;;;14721:30;14787:34;14767:18;;;14760:62;-1:-1:-1;;;14838:18:1;;;14831:33;14881:19;;82739:123:0::1;14507:399:1::0;82739:123:0::1;82873:31;82883:9;82894;82873;:31::i;79838:28::-:0;;;;;;;:::i;38273:152::-;38345:7;38388:27;38407:7;38388:18;:27::i;33815:233::-;33887:7;-1:-1:-1;;;;;33911:19:0;;33907:60;;33939:28;;-1:-1:-1;;;33939:28:0;;;;;;;;;;;33907:60;-1:-1:-1;;;;;;33985:25:0;;;;;:18;:25;;;;;;27974:13;33985:55;;33815:233::o;16757:103::-;15995:13;:11;:13::i;:::-;16822:30:::1;16849:1;16822:18;:30::i;:::-;16757:103::o:0;83853:104::-;15995:13;:11;:13::i;:::-;83925:10:::1;:24:::0;83853:104::o;83623:106::-;15995:13;:11;:13::i;:::-;83699:9:::1;:22;83711:10:::0;83699:9;:22:::1;:::i;82501:145::-:0;82576:11;80585:9;;80570:11;80554:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;80546:73;;;;-1:-1:-1;;;80546:73:0;;;;;;;:::i;:::-;15995:13:::1;:11;:13::i;:::-;82610:28:::2;82620:4;82626:11;82610:9;:28::i;37056:104::-:0;37112:13;37145:7;37138:14;;;;;:::i;43929:234::-;67137:10;44024:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;44024:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;44024:60:0;;;;;;;;;;44100:55;;540:41:1;;;44024:49:0;;67137:10;44100:55;;513:18:1;44100:55:0;;;;;;;43929:234;;:::o;50722:407::-;50897:31;50910:4;50916:2;50920:7;50897:12;:31::i;:::-;-1:-1:-1;;;;;50943:14:0;;;:19;50939:183;;50982:56;51013:4;51019:2;51023:7;51032:5;50982:30;:56::i;:::-;50977:145;;51066:40;;-1:-1:-1;;;51066:40:0;;;;;;;;;;;83434:91;15995:13;:11;:13::i;:::-;83496:11:::1;:21:::0;;-1:-1:-1;;83496:21:0::1;::::0;::::1;;::::0;;;::::1;::::0;;83434:91::o;83030:396::-;83104:13;83138:17;83146:8;83138:7;:17::i;:::-;83130:77;;;;-1:-1:-1;;;83130:77:0;;15113:2:1;83130:77:0;;;15095:21:1;15152:2;15132:18;;;15125:30;15191:34;15171:18;;;15164:62;-1:-1:-1;;;15242:18:1;;;15235:45;15297:19;;83130:77:0;14911:411:1;83130:77:0;83221:28;83252:10;:8;:10::i;:::-;83221:41;;83311:1;83286:14;83280:28;:32;:138;;;;;;;;;;;;;;;;;83352:14;83368:19;:8;:17;:19::i;:::-;83389:9;83335:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;83280:138;83273:145;83030:396;-1:-1:-1;;;83030:396:0:o;44320:164::-;-1:-1:-1;;;;;44441:25:0;;;44417:4;44441:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44320:164::o;17015:201::-;15995:13;:11;:13::i;:::-;-1:-1:-1;;;;;17104:22:0;::::1;17096:73;;;::::0;-1:-1:-1;;;17096:73:0;;16790:2:1;17096:73:0::1;::::0;::::1;16772:21:1::0;16829:2;16809:18;;;16802:30;16868:34;16848:18;;;16841:62;-1:-1:-1;;;16919:18:1;;;16912:36;16965:19;;17096:73:0::1;16588:402:1::0;17096:73:0::1;17180:28;17199:8;17180:18;:28::i;:::-;17015:201:::0;:::o;44742:282::-;44807:4;44863:7;83012:1;44844:26;;:66;;;;;44897:13;;44887:7;:23;44844:66;:153;;;;-1:-1:-1;;44948:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;44948:44:0;:49;;44742:282::o;16274:132::-;16182:6;;-1:-1:-1;;;;;16182:6:0;67137:10;16338:23;16330:68;;;;-1:-1:-1;;;16330:68:0;;17197:2:1;16330:68:0;;;17179:21:1;;;17216:18;;;17209:30;17275:34;17255:18;;;17248:62;17327:18;;16330:68:0;16995:356:1;39428:1275:0;39495:7;39530;;83012:1;39579:23;39575:1061;;39632:13;;39625:4;:20;39621:1015;;;39670:14;39687:23;;;:17;:23;;;;;;;-1:-1:-1;;;39776:24:0;;:29;;39772:845;;40441:113;40448:6;40458:1;40448:11;40441:113;;-1:-1:-1;;;40519:6:0;40501:25;;;;:17;:25;;;;;;40441:113;;39772:845;39647:989;39621:1015;40664:31;;-1:-1:-1;;;40664:31:0;;;;;;;;;;;60882:112;60959:27;60969:2;60973:8;60959:27;;;;;;;;;;;;:9;:27::i;6475:190::-;6600:4;6653;6624:25;6637:5;6644:4;6624:12;:25::i;:::-;:33;;6475:190;-1:-1:-1;;;;6475:190:0:o;17376:191::-;17469:6;;;-1:-1:-1;;;;;17486:17:0;;;-1:-1:-1;;;;;;17486:17:0;;;;;;;17519:40;;17469:6;;;17486:17;17469:6;;17519:40;;17450:16;;17519:40;17439:128;17376:191;:::o;53213:716::-;53397:88;;-1:-1:-1;;;53397:88:0;;53376:4;;-1:-1:-1;;;;;53397:45:0;;;;;:88;;67137:10;;53464:4;;53470:7;;53479:5;;53397:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53397:88:0;;;;;;;;-1:-1:-1;;53397:88:0;;;;;;;;;;;;:::i;:::-;;;53393:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53680:6;:13;53697:1;53680:18;53676:235;;53726:40;;-1:-1:-1;;;53726:40:0;;;;;;;;;;;53676:235;53869:6;53863:13;53854:6;53850:2;53846:15;53839:38;53393:529;-1:-1:-1;;;;;;53556:64:0;-1:-1:-1;;;53556:64:0;;-1:-1:-1;53393:529:0;53213:716;;;;;;:::o;84135:110::-;84195:13;84228:9;84221:16;;;;;:::i;430:723::-;486:13;707:5;716:1;707:10;703:53;;-1:-1:-1;;734:10:0;;;;;;;;;;;;-1:-1:-1;;;734:10:0;;;;;430:723::o;703:53::-;781:5;766:12;822:78;829:9;;822:78;;855:8;;;;:::i;:::-;;-1:-1:-1;878:10:0;;-1:-1:-1;886:2:0;878:10;;:::i;:::-;;;822:78;;;910:19;942:6;932:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;932:17:0;;910:39;;960:154;967:10;;960:154;;994:11;1004:1;994:11;;:::i;:::-;;-1:-1:-1;1063:10:0;1071:2;1063:5;:10;:::i;:::-;1050:24;;:2;:24;:::i;:::-;1037:39;;1020:6;1027;1020:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1020:56:0;;;;;;;;-1:-1:-1;1091:11:0;1100:2;1091:11;;:::i;:::-;;;960:154;;60109:689;60240:19;60246:2;60250:8;60240:5;:19::i;:::-;-1:-1:-1;;;;;60301:14:0;;;:19;60297:483;;60341:11;60355:13;60403:14;;;60436:233;60467:62;60506:1;60510:2;60514:7;;;;;;60523:5;60467:30;:62::i;:::-;60462:167;;60565:40;;-1:-1:-1;;;60565:40:0;;;;;;;;;;;60462:167;60664:3;60656:5;:11;60436:233;;60751:3;60734:13;;:20;60730:34;;60756:8;;;60730:34;60322:458;;60109:689;;;:::o;7342:296::-;7425:7;7468:4;7425:7;7483:118;7507:5;:12;7503:1;:16;7483:118;;;7556:33;7566:12;7580:5;7586:1;7580:8;;;;;;;;:::i;:::-;;;;;;;7556:9;:33::i;:::-;7541:48;-1:-1:-1;7521:3:0;;;;:::i;:::-;;;;7483:118;;;-1:-1:-1;7618:12:0;7342:296;-1:-1:-1;;;7342:296:0:o;54391:2966::-;54464:20;54487:13;;;54515;;;54511:44;;54537:18;;-1:-1:-1;;;54537:18:0;;;;;;;;;;;54511:44;-1:-1:-1;;;;;55043:22:0;;;;;;:18;:22;;;;28112:2;55043:22;;;:71;;55081:32;55069:45;;55043:71;;;55357:31;;;:17;:31;;;;;-1:-1:-1;42093:15:0;;42067:24;42063:46;41662:11;41637:23;41633:41;41630:52;41620:63;;55357:173;;55592:23;;;;55357:31;;55043:22;;56357:25;55043:22;;56210:335;56871:1;56857:12;56853:20;56811:346;56912:3;56903:7;56900:16;56811:346;;57130:7;57120:8;57117:1;57090:25;57087:1;57084;57079:59;56965:1;56952:15;56811:346;;;56815:77;57190:8;57202:1;57190:13;57186:45;;57212:19;;-1:-1:-1;;;57212:19:0;;;;;;;;;;;57186:45;57248:13;:19;-1:-1:-1;49931:193:0;;;:::o;13549:149::-;13612:7;13643:1;13639;:5;:51;;13774:13;13868:15;;;13904:4;13897:15;;;13951:4;13935:21;;13639:51;;;-1:-1:-1;13774:13:0;13868:15;;;13904:4;13897:15;13951:4;13935:21;;;13549:149::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:127::-;2421:10;2416:3;2412:20;2409:1;2402:31;2452:4;2449:1;2442:15;2476:4;2473:1;2466:15;2492:632;2557:5;2587:18;2628:2;2620:6;2617:14;2614:40;;;2634:18;;:::i;:::-;2709:2;2703:9;2677:2;2763:15;;-1:-1:-1;;2759:24:1;;;2785:2;2755:33;2751:42;2739:55;;;2809:18;;;2829:22;;;2806:46;2803:72;;;2855:18;;:::i;:::-;2895:10;2891:2;2884:22;2924:6;2915:15;;2954:6;2946;2939:22;2994:3;2985:6;2980:3;2976:16;2973:25;2970:45;;;3011:1;3008;3001:12;2970:45;3061:6;3056:3;3049:4;3041:6;3037:17;3024:44;3116:1;3109:4;3100:6;3092;3088:19;3084:30;3077:41;;;;2492:632;;;;;:::o;3129:451::-;3198:6;3251:2;3239:9;3230:7;3226:23;3222:32;3219:52;;;3267:1;3264;3257:12;3219:52;3307:9;3294:23;3340:18;3332:6;3329:30;3326:50;;;3372:1;3369;3362:12;3326:50;3395:22;;3448:4;3440:13;;3436:27;-1:-1:-1;3426:55:1;;3477:1;3474;3467:12;3426:55;3500:74;3566:7;3561:2;3548:16;3543:2;3539;3535:11;3500:74;:::i;3585:328::-;3662:6;3670;3678;3731:2;3719:9;3710:7;3706:23;3702:32;3699:52;;;3747:1;3744;3737:12;3699:52;3770:29;3789:9;3770:29;:::i;:::-;3760:39;;3818:38;3852:2;3841:9;3837:18;3818:38;:::i;:::-;3808:48;;3903:2;3892:9;3888:18;3875:32;3865:42;;3585:328;;;;;:::o;4100:186::-;4159:6;4212:2;4200:9;4191:7;4187:23;4183:32;4180:52;;;4228:1;4225;4218:12;4180:52;4251:29;4270:9;4251:29;:::i;4291:615::-;4377:6;4385;4438:2;4426:9;4417:7;4413:23;4409:32;4406:52;;;4454:1;4451;4444:12;4406:52;4494:9;4481:23;4523:18;4564:2;4556:6;4553:14;4550:34;;;4580:1;4577;4570:12;4550:34;4618:6;4607:9;4603:22;4593:32;;4663:7;4656:4;4652:2;4648:13;4644:27;4634:55;;4685:1;4682;4675:12;4634:55;4725:2;4712:16;4751:2;4743:6;4740:14;4737:34;;;4767:1;4764;4757:12;4737:34;4820:7;4815:2;4805:6;4802:1;4798:14;4794:2;4790:23;4786:32;4783:45;4780:65;;;4841:1;4838;4831:12;4780:65;4872:2;4864:11;;;;;4894:6;;-1:-1:-1;4291:615:1;;-1:-1:-1;;;;4291:615:1:o;5096:160::-;5161:20;;5217:13;;5210:21;5200:32;;5190:60;;5246:1;5243;5236:12;5261:254;5326:6;5334;5387:2;5375:9;5366:7;5362:23;5358:32;5355:52;;;5403:1;5400;5393:12;5355:52;5426:29;5445:9;5426:29;:::i;:::-;5416:39;;5474:35;5505:2;5494:9;5490:18;5474:35;:::i;:::-;5464:45;;5261:254;;;;;:::o;5520:667::-;5615:6;5623;5631;5639;5692:3;5680:9;5671:7;5667:23;5663:33;5660:53;;;5709:1;5706;5699:12;5660:53;5732:29;5751:9;5732:29;:::i;:::-;5722:39;;5780:38;5814:2;5803:9;5799:18;5780:38;:::i;:::-;5770:48;;5865:2;5854:9;5850:18;5837:32;5827:42;;5920:2;5909:9;5905:18;5892:32;5947:18;5939:6;5936:30;5933:50;;;5979:1;5976;5969:12;5933:50;6002:22;;6055:4;6047:13;;6043:27;-1:-1:-1;6033:55:1;;6084:1;6081;6074:12;6033:55;6107:74;6173:7;6168:2;6155:16;6150:2;6146;6142:11;6107:74;:::i;:::-;6097:84;;;5520:667;;;;;;;:::o;6192:180::-;6248:6;6301:2;6289:9;6280:7;6276:23;6272:32;6269:52;;;6317:1;6314;6307:12;6269:52;6340:26;6356:9;6340:26;:::i;6377:260::-;6445:6;6453;6506:2;6494:9;6485:7;6481:23;6477:32;6474:52;;;6522:1;6519;6512:12;6474:52;6545:29;6564:9;6545:29;:::i;:::-;6535:39;;6593:38;6627:2;6616:9;6612:18;6593:38;:::i;6642:380::-;6721:1;6717:12;;;;6764;;;6785:61;;6839:4;6831:6;6827:17;6817:27;;6785:61;6892:2;6884:6;6881:14;6861:18;6858:38;6855:161;;6938:10;6933:3;6929:20;6926:1;6919:31;6973:4;6970:1;6963:15;7001:4;6998:1;6991:15;6855:161;;6642:380;;;:::o;7027:127::-;7088:10;7083:3;7079:20;7076:1;7069:31;7119:4;7116:1;7109:15;7143:4;7140:1;7133:15;7159:128;7226:9;;;7247:11;;;7244:37;;;7261:18;;:::i;7826:545::-;7928:2;7923:3;7920:11;7917:448;;;7964:1;7989:5;7985:2;7978:17;8034:4;8030:2;8020:19;8104:2;8092:10;8088:19;8085:1;8081:27;8075:4;8071:38;8140:4;8128:10;8125:20;8122:47;;;-1:-1:-1;8163:4:1;8122:47;8218:2;8213:3;8209:12;8206:1;8202:20;8196:4;8192:31;8182:41;;8273:82;8291:2;8284:5;8281:13;8273:82;;;8336:17;;;8317:1;8306:13;8273:82;;8547:1352;8673:3;8667:10;8700:18;8692:6;8689:30;8686:56;;;8722:18;;:::i;:::-;8751:97;8841:6;8801:38;8833:4;8827:11;8801:38;:::i;:::-;8795:4;8751:97;:::i;:::-;8903:4;;8967:2;8956:14;;8984:1;8979:663;;;;9686:1;9703:6;9700:89;;;-1:-1:-1;9755:19:1;;;9749:26;9700:89;-1:-1:-1;;8504:1:1;8500:11;;;8496:24;8492:29;8482:40;8528:1;8524:11;;;8479:57;9802:81;;8949:944;;8979:663;7773:1;7766:14;;;7810:4;7797:18;;-1:-1:-1;;9015:20:1;;;9133:236;9147:7;9144:1;9141:14;9133:236;;;9236:19;;;9230:26;9215:42;;9328:27;;;;9296:1;9284:14;;;;9163:19;;9133:236;;;9137:3;9397:6;9388:7;9385:19;9382:201;;;9458:19;;;9452:26;-1:-1:-1;;9541:1:1;9537:14;;;9553:3;9533:24;9529:37;9525:42;9510:58;9495:74;;9382:201;-1:-1:-1;;;;;9629:1:1;9613:14;;;9609:22;9596:36;;-1:-1:-1;8547:1352:1:o;9904:125::-;9969:9;;;9990:10;;;9987:36;;;10003:18;;:::i;10034:344::-;10236:2;10218:21;;;10275:2;10255:18;;;10248:30;-1:-1:-1;;;10309:2:1;10294:18;;10287:50;10369:2;10354:18;;10034:344::o;10383:168::-;10423:7;10489:1;10485;10481:6;10477:14;10474:1;10471:21;10466:1;10459:9;10452:17;10448:45;10445:71;;;10496:18;;:::i;:::-;-1:-1:-1;10536:9:1;;10383:168::o;15327:1256::-;15551:3;15589:6;15583:13;15615:4;15628:64;15685:6;15680:3;15675:2;15667:6;15663:15;15628:64;:::i;:::-;15755:13;;15714:16;;;;15777:68;15755:13;15714:16;15812:15;;;15777:68;:::i;:::-;15934:13;;15867:20;;;15907:1;;15972:36;15934:13;15972:36;:::i;:::-;16027:1;16044:18;;;16071:141;;;;16226:1;16221:337;;;;16037:521;;16071:141;-1:-1:-1;;16106:24:1;;16092:39;;16183:16;;16176:24;16162:39;;16151:51;;;-1:-1:-1;16071:141:1;;16221:337;16252:6;16249:1;16242:17;16300:2;16297:1;16287:16;16325:1;16339:169;16353:8;16350:1;16347:15;16339:169;;;16435:14;;16420:13;;;16413:37;16478:16;;;;16370:10;;16339:169;;;16343:3;;16539:8;16532:5;16528:20;16521:27;;16037:521;-1:-1:-1;16574:3:1;;15327:1256;-1:-1:-1;;;;;;;;;;15327:1256:1:o;17356:489::-;-1:-1:-1;;;;;17625:15:1;;;17607:34;;17677:15;;17672:2;17657:18;;17650:43;17724:2;17709:18;;17702:34;;;17772:3;17767:2;17752:18;;17745:31;;;17550:4;;17793:46;;17819:19;;17811:6;17793:46;:::i;:::-;17785:54;17356:489;-1:-1:-1;;;;;;17356:489:1:o;17850:249::-;17919:6;17972:2;17960:9;17951:7;17947:23;17943:32;17940:52;;;17988:1;17985;17978:12;17940:52;18020:9;18014:16;18039:30;18063:5;18039:30;:::i;18104:135::-;18143:3;18164:17;;;18161:43;;18184:18;;:::i;:::-;-1:-1:-1;18231:1:1;18220:13;;18104:135::o;18244:127::-;18305:10;18300:3;18296:20;18293:1;18286:31;18336:4;18333:1;18326:15;18360:4;18357:1;18350:15;18376:120;18416:1;18442;18432:35;;18447:18;;:::i;:::-;-1:-1:-1;18481:9:1;;18376:120::o;18501:112::-;18533:1;18559;18549:35;;18564:18;;:::i;:::-;-1:-1:-1;18598:9:1;;18501:112::o;18618:127::-;18679:10;18674:3;18670:20;18667:1;18660:31;18710:4;18707:1;18700:15;18734:4;18731:1;18724:15

Swarm Source

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