ETH Price: $3,419.23 (+0.82%)
Gas: 2.75 Gwei

Token

Grifterz (GRIFTERZ)
 

Overview

Max Total Supply

6,969 GRIFTERZ

Holders

711

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 GRIFTERZ
0xb56a4947a25be223e3dec9ecc53beb499d968901
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:
Grifterz

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-11-27
*/

// SPDX-License-Identifier: MIT

// Developer: Fazel Pejmanfar, Twitter: @Pejmanfarfazel
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;


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

// File: @openzeppelin/contracts/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.20;


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

// File: @openzeppelin/contracts/token/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.20;



/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo;

    /**
     * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);

    /**
     * @dev The default royalty receiver is invalid.
     */
    error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);

    /**
     * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);

    /**
     * @dev The royalty receiver for `tokenId` is invalid.
     */
    error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));
        }

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));
        }

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

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


// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.20;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the Merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates Merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     *@dev The multiproof provided is not valid.
     */
    error MerkleProofInvalidMultiproof();

    /**
     * @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}
     */
    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.
     */
    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}
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

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

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

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds 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 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen != totalHashes + 1) {
            revert MerkleProofInvalidMultiproof();
        }

        // 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 from 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) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds 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 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen != totalHashes + 1) {
            revert MerkleProofInvalidMultiproof();
        }

        // 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 from 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) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Sorts the pair (a, b) and hashes the result.
     */
    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    /**
     * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory.
     */
    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/security/ReentrancyGuard.sol


// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

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


// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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 v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;


/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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: contracts/GrifterzV2.sol



// https://www.grifterz.co
// https://twitter.com/grifterzco

//    $$$$$$\  $$$$$$$\  $$$$$$\ $$$$$$$$\ $$$$$$$$\ $$$$$$$$\ $$$$$$$\   $$$$$$\
//   $$  __$$\ $$  __$$\ \_$$  _|$$  _____|\__$$  __|$$  _____|$$  __$$\ $$  __$$\
//   $$ /  \__|$$ |  $$ |  $$ |  $$ |         $$ |   $$ |      $$ |  $$ |$$ /  \__|
//   $$ |$$$$\ $$$$$$$  |  $$ |  $$$$$\       $$ |   $$$$$\    $$$$$$$  |\$$$$$$\
//   $$ |\_$$ |$$  __$$<   $$ |  $$  __|      $$ |   $$  __|   $$  __$$<  \____$$\
//   $$ |  $$ |$$ |  $$ |  $$ |  $$ |         $$ |   $$ |      $$ |  $$ |$$\   $$ |
//   \$$$$$$  |$$ |  $$ |$$$$$$\ $$ |         $$ |   $$$$$$$$\ $$ |  $$ |\$$$$$$  |
//    \______/ \__|  \__|\______|\__|         \__|   \________|\__|  \__| \______/

pragma solidity >=0.7.0 <0.9.0;






contract Grifterz is ERC721A, Ownable, ReentrancyGuard, ERC2981 {
    string public baseURI;
    string public notRevealedUri;
    uint256 public cost = 0.0029 ether;
    uint256 public maxSupply = 10000;
    uint256 public MaxperWallet = 50;
    bool public paused = true;
    bool public revealed = false;
    bytes32 public merkleRoot;
    mapping(address => bool) public isMintedForFree;

    constructor(address _owner) ERC721A("Grifterz", "GRIFTERZ") Ownable(_owner){}

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

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

    /// @dev Public mint
    function mint(uint256 tokens) public payable nonReentrant {
        require(!paused, "GRIFTERZ: Sale is paused");
        require(
            tokens <= MaxperWallet,
            "GRIFTERZ: max mint amount per tx exceeded"
        );
        require(totalSupply() + tokens <= maxSupply, "GRIFTERZ: Soldout");
        require(
            numberMinted(_msgSenderERC721A()) + tokens <= MaxperWallet,
            "GRIFTERZ: Max NFT Per Wallet exceeded"
        );

        if (!isMintedForFree[_msgSenderERC721A()]) {
            uint256 pricetopay = tokens - 1;
            require(
                msg.value >= cost * pricetopay,
                "GRIFTERZ: insufficient funds"
            );
            isMintedForFree[_msgSenderERC721A()] = true;
        } else {
            require(msg.value >= cost * tokens, "GRIFTERZ: insufficient funds");
        }

        _safeMint(_msgSenderERC721A(), tokens);
    }



    /// @dev use it for giveaway and team mint
    function teamMint(uint256 _mintAmount, address[] calldata destination)
        public
        onlyOwner
        nonReentrant
    {
        uint256 totalnft = _mintAmount * destination.length;
        require(
            totalSupply() + totalnft <= maxSupply,
            "max NFT limit exceeded"
        );
        for (uint256 i = 0; i < destination.length; i++) {
            _safeMint(destination[i], _mintAmount);
        }
    }

    /// @notice returns metadata link of tokenid
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721AMetadata: URI query for nonexistent token"
        );

        if (revealed == false) {
            return notRevealedUri;
        }

        string memory currentBaseURI = _baseURI();
        return
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        _toString(tokenId),
                        ".json"
                    )
                )
                : "";
    }

    /// @notice return the total number minted by an address
    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    /// @notice return all tokens owned by an address
    function tokensOfOwner(address owner)
        public
        view
        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;
        }
    }

    /// @dev to reveal collection, true for reveal
    function reveal(bool _state) public onlyOwner {
        revealed = _state;
    }

    /// @dev change the public max per wallet
    function setMaxPerWallet(uint256 _limit) public onlyOwner {
        MaxperWallet = _limit;
    }


    /// @dev change the public price(amount need to be in wei)
    function setCost(uint256 _newCost) public onlyOwner {
        cost = _newCost;
    }

    /// @dev cut the supply if we dont sold out
    function setMaxsupply(uint256 _newsupply) public onlyOwner {
        maxSupply = _newsupply;
    }

    /// @dev set your baseuri
    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    /// @dev set hidden uri
    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedUri = _notRevealedURI;
    }

    /// @dev to pause and unpause your contract(use booleans true or false)
    function pause(bool _state) public onlyOwner {
        paused = _state;
    }


    /// @dev withdraw funds from contract
    function withdraw() public payable onlyOwner nonReentrant {
        uint256 balance = address(this).balance;
        payable(_msgSenderERC721A()).transfer(balance);
    }

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

    /// @dev set royalty %, eg. 500 = 5%
    function setRoyaltyInfo(address _receiver, uint96 _feeNumerator)
        external
        onlyOwner
    {
        _setDefaultRoyalty(_receiver, _feeNumerator);
    }

    function deleteRoyalty() external onlyOwner {
        _deleteDefaultRoyalty();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":[],"name":"MaxperWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deleteRoyalty","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":[{"internalType":"address","name":"","type":"address"}],"name":"isMintedForFree","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","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":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newsupply","type":"uint256"}],"name":"setMaxsupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setRoyaltyInfo","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":"_mintAmount","type":"uint256"},{"internalType":"address[]","name":"destination","type":"address[]"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","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":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052660a4d88ddd94000600e55612710600f5560326010556011805461ffff1916600117905534801562000034575f80fd5b506040516200239138038062002391833981016040819052620000579162000158565b806040518060400160405280600881526020016723b934b33a32b93d60c11b8152506040518060400160405280600881526020016723a924a32a22a92d60c11b8152508160029081620000ab919062000227565b506003620000ba828262000227565b5060015f5550506001600160a01b038116620000ef57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b620000fa8162000107565b50506001600955620002ef565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f6020828403121562000169575f80fd5b81516001600160a01b038116811462000180575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620001b057607f821691505b602082108103620001cf57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000222575f81815260208120601f850160051c81016020861015620001fd5750805b601f850160051c820191505b818110156200021e5782815560010162000209565b5050505b505050565b81516001600160401b0381111562000243576200024362000187565b6200025b816200025484546200019b565b84620001d5565b602080601f83116001811462000291575f8415620002795750858301515b5f19600386901b1c1916600185901b1785556200021e565b5f85815260208120601f198616915b82811015620002c157888601518255948401946001909101908401620002a0565b5085821015620002df57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b61209480620002fd5f395ff3fe60806040526004361061023e575f3560e01c80636352211e11610134578063a0712d68116100b3578063d5abeb0111610078578063d5abeb0114610643578063dc33e68114610658578063e268e4d314610677578063e985e9c514610696578063f2c4ce1e146106b5578063f2fde38b146106d4575f80fd5b8063a0712d68146105ca578063a22cb465146105dd578063b88d4fde146105fc578063bd7a19981461060f578063c87b56dd14610624575f80fd5b806382785214116100f9578063827852141461053a5780638462151c1461054e5780638da5cb5b1461057a578063940cd05b1461059757806395d89b41146105b6575f80fd5b80636352211e146104b55780636c0360eb146104d457806370a08231146104e8578063715018a61461050757806382750d7a1461051b575f80fd5b806323b872dd116101c057806342842e0e1161018557806342842e0e1461042d57806344a0d68a14610440578063518302271461045f57806355f804b31461047d5780635c975abb1461049c575f80fd5b806323b872dd146103915780632a55205a146103a45780632eb4a7ab146103e257806331940f3f146103f75780633ccfd60b14610425575f80fd5b8063081c8c4411610206578063081c8c441461030e578063095ea7b31461032257806313faede614610335578063149835a01461035857806318160ddd14610377575f80fd5b806301ffc9a71461024257806302329a291461027657806302fa7c471461029757806306fdde03146102b6578063081812fc146102d7575b5f80fd5b34801561024d575f80fd5b5061026161025c3660046119fb565b6106f3565b60405190151581526020015b60405180910390f35b348015610281575f80fd5b50610295610290366004611a2a565b610712565b005b3480156102a2575f80fd5b506102956102b1366004611a59565b61072d565b3480156102c1575f80fd5b506102ca610743565b60405161026d9190611ae6565b3480156102e2575f80fd5b506102f66102f1366004611af8565b6107d3565b6040516001600160a01b03909116815260200161026d565b348015610319575f80fd5b506102ca610815565b610295610330366004611b0f565b6108a1565b348015610340575f80fd5b5061034a600e5481565b60405190815260200161026d565b348015610363575f80fd5b50610295610372366004611af8565b61093f565b348015610382575f80fd5b506001545f54035f190161034a565b61029561039f366004611b37565b61094c565b3480156103af575f80fd5b506103c36103be366004611b70565b610adc565b604080516001600160a01b03909316835260208301919091520161026d565b3480156103ed575f80fd5b5061034a60125481565b348015610402575f80fd5b50610261610411366004611b90565b60136020525f908152604090205460ff1681565b610295610b86565b61029561043b366004611b37565b610bd0565b34801561044b575f80fd5b5061029561045a366004611af8565b610bef565b34801561046a575f80fd5b5060115461026190610100900460ff1681565b348015610488575f80fd5b50610295610497366004611c30565b610bfc565b3480156104a7575f80fd5b506011546102619060ff1681565b3480156104c0575f80fd5b506102f66104cf366004611af8565b610c10565b3480156104df575f80fd5b506102ca610c1a565b3480156104f3575f80fd5b5061034a610502366004611b90565b610c27565b348015610512575f80fd5b50610295610c74565b348015610526575f80fd5b50610295610535366004611c75565b610c85565b348015610545575f80fd5b50610295610d65565b348015610559575f80fd5b5061056d610568366004611b90565b610d76565b60405161026d9190611ced565b348015610585575f80fd5b506008546001600160a01b03166102f6565b3480156105a2575f80fd5b506102956105b1366004611a2a565b610e7b565b3480156105c1575f80fd5b506102ca610e9d565b6102956105d8366004611af8565b610eac565b3480156105e8575f80fd5b506102956105f7366004611d24565b61114d565b61029561060a366004611d55565b6111b8565b34801561061a575f80fd5b5061034a60105481565b34801561062f575f80fd5b506102ca61063e366004611af8565b611202565b34801561064e575f80fd5b5061034a600f5481565b348015610663575f80fd5b5061034a610672366004611b90565b61136e565b348015610682575f80fd5b50610295610691366004611af8565b611398565b3480156106a1575f80fd5b506102616106b0366004611dcc565b6113a5565b3480156106c0575f80fd5b506102956106cf366004611c30565b6113d2565b3480156106df575f80fd5b506102956106ee366004611b90565b6113e6565b5f6106fd82611420565b8061070c575061070c8261146d565b92915050565b61071a6114a1565b6011805460ff1916911515919091179055565b6107356114a1565b61073f82826114ce565b5050565b60606002805461075290611df4565b80601f016020809104026020016040519081016040528092919081815260200182805461077e90611df4565b80156107c95780601f106107a0576101008083540402835291602001916107c9565b820191905f5260205f20905b8154815290600101906020018083116107ac57829003601f168201915b5050505050905090565b5f6107dd82611570565b6107fa576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b600d805461082290611df4565b80601f016020809104026020016040519081016040528092919081815260200182805461084e90611df4565b80156108995780601f1061087057610100808354040283529160200191610899565b820191905f5260205f20905b81548152906001019060200180831161087c57829003601f168201915b505050505081565b5f6108ab82610c10565b9050336001600160a01b038216146108e4576108c781336113a5565b6108e4576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6109476114a1565b600f55565b5f610956826115a2565b9050836001600160a01b0316816001600160a01b0316146109895760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b038816909114176109d5576109b886336113a5565b6109d557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109fc57604051633a954ecd60e21b815260040160405180910390fd5b8015610a06575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610a9257600184015f818152600460205260408120549003610a90575f548114610a90575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b5f828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610b50575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f9061271090610b6e906001600160601b031687611e40565b610b789190611e57565b915196919550909350505050565b610b8e6114a1565b610b9661160b565b6040514790339082156108fc029083905f818181858888f19350505050158015610bc2573d5f803e3d5ffd5b5050610bce6001600955565b565b610bea83838360405180602001604052805f8152506111b8565b505050565b610bf76114a1565b600e55565b610c046114a1565b600c61073f8282611ebb565b5f61070c826115a2565b600c805461082290611df4565b5f6001600160a01b038216610c4f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610c7c6114a1565b610bce5f611664565b610c8d6114a1565b610c9561160b565b5f610ca08285611e40565b9050600f5481610cb76001545f545f199190030190565b610cc19190611f77565b1115610d0d5760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b60448201526064015b60405180910390fd5b5f5b82811015610d5957610d47848483818110610d2c57610d2c611f8a565b9050602002016020810190610d419190611b90565b866116b5565b80610d5181611f9e565b915050610d0f565b5050610bea6001600955565b610d6d6114a1565b610bce5f600a55565b60605f805f610d8485610c27565b90505f8167ffffffffffffffff811115610da057610da0611ba9565b604051908082528060200260200182016040528015610dc9578160200160208202803683370190505b509050610df5604080516080810182525f80825260208201819052918101829052606081019190915290565b60015b838614610e6f57610e08816116ce565b91508160400151610e675781516001600160a01b031615610e2857815194505b876001600160a01b0316856001600160a01b031603610e675780838780600101985081518110610e5a57610e5a611f8a565b6020026020010181815250505b600101610df8565b50909695505050505050565b610e836114a1565b601180549115156101000261ff0019909216919091179055565b60606003805461075290611df4565b610eb461160b565b60115460ff1615610f075760405162461bcd60e51b815260206004820152601860248201527f475249465445525a3a2053616c652069732070617573656400000000000000006044820152606401610d04565b601054811115610f6b5760405162461bcd60e51b815260206004820152602960248201527f475249465445525a3a206d6178206d696e7420616d6f756e742070657220747860448201526808195e18d95959195960ba1b6064820152608401610d04565b600f546001545f54839190035f1901610f849190611f77565b1115610fc65760405162461bcd60e51b815260206004820152601160248201527011d49251951154968e8814dbdb191bdd5d607a1b6044820152606401610d04565b60105481610fd33361136e565b610fdd9190611f77565b11156110395760405162461bcd60e51b815260206004820152602560248201527f475249465445525a3a204d6178204e4654205065722057616c6c657420657863604482015264195959195960da1b6064820152608401610d04565b335f9081526013602052604090205460ff166110d9575f61105b600183611fb6565b905080600e5461106b9190611e40565b3410156110ba5760405162461bcd60e51b815260206004820152601c60248201527f475249465445525a3a20696e73756666696369656e742066756e6473000000006044820152606401610d04565b50335f908152601360205260409020805460ff19166001179055611136565b80600e546110e79190611e40565b3410156111365760405162461bcd60e51b815260206004820152601c60248201527f475249465445525a3a20696e73756666696369656e742066756e6473000000006044820152606401610d04565b61114033826116b5565b61114a6001600955565b50565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111c384848461094c565b6001600160a01b0383163b156111fc576111df8484848461174b565b6111fc576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061120d82611570565b6112725760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b6064820152608401610d04565b601154610100900460ff1615155f0361131557600d805461129290611df4565b80601f01602080910402602001604051908101604052809291908181526020018280546112be90611df4565b80156113095780601f106112e057610100808354040283529160200191611309565b820191905f5260205f20905b8154815290600101906020018083116112ec57829003601f168201915b50505050509050919050565b5f61131e611833565b90505f81511161133c5760405180602001604052805f815250611367565b8061134684611842565b604051602001611357929190611fc9565b6040516020818303038152906040525b9392505050565b6001600160a01b0381165f908152600560205260408082205467ffffffffffffffff911c1661070c565b6113a06114a1565b601055565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b6113da6114a1565b600d61073f8282611ebb565b6113ee6114a1565b6001600160a01b03811661141757604051631e4fbdf760e01b81525f6004820152602401610d04565b61114a81611664565b5f6301ffc9a760e01b6001600160e01b03198316148061145057506380ac58cd60e01b6001600160e01b03198316145b8061070c5750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b148061070c57506301ffc9a760e01b6001600160e01b031983161461070c565b6008546001600160a01b03163314610bce5760405163118cdaa760e01b8152336004820152602401610d04565b6127106001600160601b03821681101561150d57604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401610d04565b6001600160a01b03831661153657604051635b6cc80560e11b81525f6004820152602401610d04565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b5f8160011115801561158257505f5482105b801561070c5750505f90815260046020526040902054600160e01b161590565b5f81806001116115f2575f548110156115f2575f8181526004602052604081205490600160e01b821690036115f0575b805f0361136757505f19015f818152600460205260409020546115d2565b505b604051636f96cda160e11b815260040160405180910390fd5b60026009540361165d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d04565b6002600955565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b61073f828260405180602001604052805f815250611885565b604080516080810182525f8082526020820181905291810182905260608101919091525f8281526004602052604090205461070c90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061177f903390899088908890600401612007565b6020604051808303815f875af19250505080156117b9575060408051601f3d908101601f191682019092526117b691810190612043565b60015b611815573d8080156117e6576040519150601f19603f3d011682016040523d82523d5f602084013e6117eb565b606091505b5080515f0361180d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600c805461075290611df4565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a90048061185b5750819003601f19909101908152919050565b61188f83836118ee565b6001600160a01b0383163b15610bea575f548281035b6118b75f86838060010194508661174b565b6118d4576040516368d2bf6b60e11b815260040160405180910390fd5b8181106118a557815f54146118e7575f80fd5b5050505050565b5f8054908290036119125760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146119be5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101611988565b50815f036119de57604051622e076360e81b815260040160405180910390fd5b5f5550505050565b6001600160e01b03198116811461114a575f80fd5b5f60208284031215611a0b575f80fd5b8135611367816119e6565b80358015158114611a25575f80fd5b919050565b5f60208284031215611a3a575f80fd5b61136782611a16565b80356001600160a01b0381168114611a25575f80fd5b5f8060408385031215611a6a575f80fd5b611a7383611a43565b915060208301356001600160601b0381168114611a8e575f80fd5b809150509250929050565b5f5b83811015611ab3578181015183820152602001611a9b565b50505f910152565b5f8151808452611ad2816020860160208601611a99565b601f01601f19169290920160200192915050565b602081525f6113676020830184611abb565b5f60208284031215611b08575f80fd5b5035919050565b5f8060408385031215611b20575f80fd5b611b2983611a43565b946020939093013593505050565b5f805f60608486031215611b49575f80fd5b611b5284611a43565b9250611b6060208501611a43565b9150604084013590509250925092565b5f8060408385031215611b81575f80fd5b50508035926020909101359150565b5f60208284031215611ba0575f80fd5b61136782611a43565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115611bd757611bd7611ba9565b604051601f8501601f19908116603f01168101908282118183101715611bff57611bff611ba9565b81604052809350858152868686011115611c17575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611c40575f80fd5b813567ffffffffffffffff811115611c56575f80fd5b8201601f81018413611c66575f80fd5b61182b84823560208401611bbd565b5f805f60408486031215611c87575f80fd5b83359250602084013567ffffffffffffffff80821115611ca5575f80fd5b818601915086601f830112611cb8575f80fd5b813581811115611cc6575f80fd5b8760208260051b8501011115611cda575f80fd5b6020830194508093505050509250925092565b602080825282518282018190525f9190848201906040850190845b81811015610e6f57835183529284019291840191600101611d08565b5f8060408385031215611d35575f80fd5b611d3e83611a43565b9150611d4c60208401611a16565b90509250929050565b5f805f8060808587031215611d68575f80fd5b611d7185611a43565b9350611d7f60208601611a43565b925060408501359150606085013567ffffffffffffffff811115611da1575f80fd5b8501601f81018713611db1575f80fd5b611dc087823560208401611bbd565b91505092959194509250565b5f8060408385031215611ddd575f80fd5b611de683611a43565b9150611d4c60208401611a43565b600181811c90821680611e0857607f821691505b602082108103611e2657634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761070c5761070c611e2c565b5f82611e7157634e487b7160e01b5f52601260045260245ffd5b500490565b601f821115610bea575f81815260208120601f850160051c81016020861015611e9c5750805b601f850160051c820191505b81811015610ad457828155600101611ea8565b815167ffffffffffffffff811115611ed557611ed5611ba9565b611ee981611ee38454611df4565b84611e76565b602080601f831160018114611f1c575f8415611f055750858301515b5f19600386901b1c1916600185901b178555610ad4565b5f85815260208120601f198616915b82811015611f4a57888601518255948401946001909101908401611f2b565b5085821015611f6757878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b8082018082111561070c5761070c611e2c565b634e487b7160e01b5f52603260045260245ffd5b5f60018201611faf57611faf611e2c565b5060010190565b8181038181111561070c5761070c611e2c565b5f8351611fda818460208801611a99565b835190830190611fee818360208801611a99565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061203990830184611abb565b9695505050505050565b5f60208284031215612053575f80fd5b8151611367816119e656fea2646970667358221220ea7ed3149e3292803c0cb3d4f82e88a730905ff71ff08367bb3ce45fcafd497764736f6c634300081400330000000000000000000000007ff3bbe3a2436ccbaa1b43a69f536a4a54d86b01

Deployed Bytecode

0x60806040526004361061023e575f3560e01c80636352211e11610134578063a0712d68116100b3578063d5abeb0111610078578063d5abeb0114610643578063dc33e68114610658578063e268e4d314610677578063e985e9c514610696578063f2c4ce1e146106b5578063f2fde38b146106d4575f80fd5b8063a0712d68146105ca578063a22cb465146105dd578063b88d4fde146105fc578063bd7a19981461060f578063c87b56dd14610624575f80fd5b806382785214116100f9578063827852141461053a5780638462151c1461054e5780638da5cb5b1461057a578063940cd05b1461059757806395d89b41146105b6575f80fd5b80636352211e146104b55780636c0360eb146104d457806370a08231146104e8578063715018a61461050757806382750d7a1461051b575f80fd5b806323b872dd116101c057806342842e0e1161018557806342842e0e1461042d57806344a0d68a14610440578063518302271461045f57806355f804b31461047d5780635c975abb1461049c575f80fd5b806323b872dd146103915780632a55205a146103a45780632eb4a7ab146103e257806331940f3f146103f75780633ccfd60b14610425575f80fd5b8063081c8c4411610206578063081c8c441461030e578063095ea7b31461032257806313faede614610335578063149835a01461035857806318160ddd14610377575f80fd5b806301ffc9a71461024257806302329a291461027657806302fa7c471461029757806306fdde03146102b6578063081812fc146102d7575b5f80fd5b34801561024d575f80fd5b5061026161025c3660046119fb565b6106f3565b60405190151581526020015b60405180910390f35b348015610281575f80fd5b50610295610290366004611a2a565b610712565b005b3480156102a2575f80fd5b506102956102b1366004611a59565b61072d565b3480156102c1575f80fd5b506102ca610743565b60405161026d9190611ae6565b3480156102e2575f80fd5b506102f66102f1366004611af8565b6107d3565b6040516001600160a01b03909116815260200161026d565b348015610319575f80fd5b506102ca610815565b610295610330366004611b0f565b6108a1565b348015610340575f80fd5b5061034a600e5481565b60405190815260200161026d565b348015610363575f80fd5b50610295610372366004611af8565b61093f565b348015610382575f80fd5b506001545f54035f190161034a565b61029561039f366004611b37565b61094c565b3480156103af575f80fd5b506103c36103be366004611b70565b610adc565b604080516001600160a01b03909316835260208301919091520161026d565b3480156103ed575f80fd5b5061034a60125481565b348015610402575f80fd5b50610261610411366004611b90565b60136020525f908152604090205460ff1681565b610295610b86565b61029561043b366004611b37565b610bd0565b34801561044b575f80fd5b5061029561045a366004611af8565b610bef565b34801561046a575f80fd5b5060115461026190610100900460ff1681565b348015610488575f80fd5b50610295610497366004611c30565b610bfc565b3480156104a7575f80fd5b506011546102619060ff1681565b3480156104c0575f80fd5b506102f66104cf366004611af8565b610c10565b3480156104df575f80fd5b506102ca610c1a565b3480156104f3575f80fd5b5061034a610502366004611b90565b610c27565b348015610512575f80fd5b50610295610c74565b348015610526575f80fd5b50610295610535366004611c75565b610c85565b348015610545575f80fd5b50610295610d65565b348015610559575f80fd5b5061056d610568366004611b90565b610d76565b60405161026d9190611ced565b348015610585575f80fd5b506008546001600160a01b03166102f6565b3480156105a2575f80fd5b506102956105b1366004611a2a565b610e7b565b3480156105c1575f80fd5b506102ca610e9d565b6102956105d8366004611af8565b610eac565b3480156105e8575f80fd5b506102956105f7366004611d24565b61114d565b61029561060a366004611d55565b6111b8565b34801561061a575f80fd5b5061034a60105481565b34801561062f575f80fd5b506102ca61063e366004611af8565b611202565b34801561064e575f80fd5b5061034a600f5481565b348015610663575f80fd5b5061034a610672366004611b90565b61136e565b348015610682575f80fd5b50610295610691366004611af8565b611398565b3480156106a1575f80fd5b506102616106b0366004611dcc565b6113a5565b3480156106c0575f80fd5b506102956106cf366004611c30565b6113d2565b3480156106df575f80fd5b506102956106ee366004611b90565b6113e6565b5f6106fd82611420565b8061070c575061070c8261146d565b92915050565b61071a6114a1565b6011805460ff1916911515919091179055565b6107356114a1565b61073f82826114ce565b5050565b60606002805461075290611df4565b80601f016020809104026020016040519081016040528092919081815260200182805461077e90611df4565b80156107c95780601f106107a0576101008083540402835291602001916107c9565b820191905f5260205f20905b8154815290600101906020018083116107ac57829003601f168201915b5050505050905090565b5f6107dd82611570565b6107fa576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b600d805461082290611df4565b80601f016020809104026020016040519081016040528092919081815260200182805461084e90611df4565b80156108995780601f1061087057610100808354040283529160200191610899565b820191905f5260205f20905b81548152906001019060200180831161087c57829003601f168201915b505050505081565b5f6108ab82610c10565b9050336001600160a01b038216146108e4576108c781336113a5565b6108e4576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6109476114a1565b600f55565b5f610956826115a2565b9050836001600160a01b0316816001600160a01b0316146109895760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b038816909114176109d5576109b886336113a5565b6109d557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109fc57604051633a954ecd60e21b815260040160405180910390fd5b8015610a06575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610a9257600184015f818152600460205260408120549003610a90575f548114610a90575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b5f828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610b50575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f9061271090610b6e906001600160601b031687611e40565b610b789190611e57565b915196919550909350505050565b610b8e6114a1565b610b9661160b565b6040514790339082156108fc029083905f818181858888f19350505050158015610bc2573d5f803e3d5ffd5b5050610bce6001600955565b565b610bea83838360405180602001604052805f8152506111b8565b505050565b610bf76114a1565b600e55565b610c046114a1565b600c61073f8282611ebb565b5f61070c826115a2565b600c805461082290611df4565b5f6001600160a01b038216610c4f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610c7c6114a1565b610bce5f611664565b610c8d6114a1565b610c9561160b565b5f610ca08285611e40565b9050600f5481610cb76001545f545f199190030190565b610cc19190611f77565b1115610d0d5760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b60448201526064015b60405180910390fd5b5f5b82811015610d5957610d47848483818110610d2c57610d2c611f8a565b9050602002016020810190610d419190611b90565b866116b5565b80610d5181611f9e565b915050610d0f565b5050610bea6001600955565b610d6d6114a1565b610bce5f600a55565b60605f805f610d8485610c27565b90505f8167ffffffffffffffff811115610da057610da0611ba9565b604051908082528060200260200182016040528015610dc9578160200160208202803683370190505b509050610df5604080516080810182525f80825260208201819052918101829052606081019190915290565b60015b838614610e6f57610e08816116ce565b91508160400151610e675781516001600160a01b031615610e2857815194505b876001600160a01b0316856001600160a01b031603610e675780838780600101985081518110610e5a57610e5a611f8a565b6020026020010181815250505b600101610df8565b50909695505050505050565b610e836114a1565b601180549115156101000261ff0019909216919091179055565b60606003805461075290611df4565b610eb461160b565b60115460ff1615610f075760405162461bcd60e51b815260206004820152601860248201527f475249465445525a3a2053616c652069732070617573656400000000000000006044820152606401610d04565b601054811115610f6b5760405162461bcd60e51b815260206004820152602960248201527f475249465445525a3a206d6178206d696e7420616d6f756e742070657220747860448201526808195e18d95959195960ba1b6064820152608401610d04565b600f546001545f54839190035f1901610f849190611f77565b1115610fc65760405162461bcd60e51b815260206004820152601160248201527011d49251951154968e8814dbdb191bdd5d607a1b6044820152606401610d04565b60105481610fd33361136e565b610fdd9190611f77565b11156110395760405162461bcd60e51b815260206004820152602560248201527f475249465445525a3a204d6178204e4654205065722057616c6c657420657863604482015264195959195960da1b6064820152608401610d04565b335f9081526013602052604090205460ff166110d9575f61105b600183611fb6565b905080600e5461106b9190611e40565b3410156110ba5760405162461bcd60e51b815260206004820152601c60248201527f475249465445525a3a20696e73756666696369656e742066756e6473000000006044820152606401610d04565b50335f908152601360205260409020805460ff19166001179055611136565b80600e546110e79190611e40565b3410156111365760405162461bcd60e51b815260206004820152601c60248201527f475249465445525a3a20696e73756666696369656e742066756e6473000000006044820152606401610d04565b61114033826116b5565b61114a6001600955565b50565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111c384848461094c565b6001600160a01b0383163b156111fc576111df8484848461174b565b6111fc576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061120d82611570565b6112725760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b6064820152608401610d04565b601154610100900460ff1615155f0361131557600d805461129290611df4565b80601f01602080910402602001604051908101604052809291908181526020018280546112be90611df4565b80156113095780601f106112e057610100808354040283529160200191611309565b820191905f5260205f20905b8154815290600101906020018083116112ec57829003601f168201915b50505050509050919050565b5f61131e611833565b90505f81511161133c5760405180602001604052805f815250611367565b8061134684611842565b604051602001611357929190611fc9565b6040516020818303038152906040525b9392505050565b6001600160a01b0381165f908152600560205260408082205467ffffffffffffffff911c1661070c565b6113a06114a1565b601055565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b6113da6114a1565b600d61073f8282611ebb565b6113ee6114a1565b6001600160a01b03811661141757604051631e4fbdf760e01b81525f6004820152602401610d04565b61114a81611664565b5f6301ffc9a760e01b6001600160e01b03198316148061145057506380ac58cd60e01b6001600160e01b03198316145b8061070c5750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b148061070c57506301ffc9a760e01b6001600160e01b031983161461070c565b6008546001600160a01b03163314610bce5760405163118cdaa760e01b8152336004820152602401610d04565b6127106001600160601b03821681101561150d57604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401610d04565b6001600160a01b03831661153657604051635b6cc80560e11b81525f6004820152602401610d04565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b5f8160011115801561158257505f5482105b801561070c5750505f90815260046020526040902054600160e01b161590565b5f81806001116115f2575f548110156115f2575f8181526004602052604081205490600160e01b821690036115f0575b805f0361136757505f19015f818152600460205260409020546115d2565b505b604051636f96cda160e11b815260040160405180910390fd5b60026009540361165d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d04565b6002600955565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b61073f828260405180602001604052805f815250611885565b604080516080810182525f8082526020820181905291810182905260608101919091525f8281526004602052604090205461070c90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061177f903390899088908890600401612007565b6020604051808303815f875af19250505080156117b9575060408051601f3d908101601f191682019092526117b691810190612043565b60015b611815573d8080156117e6576040519150601f19603f3d011682016040523d82523d5f602084013e6117eb565b606091505b5080515f0361180d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600c805461075290611df4565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a90048061185b5750819003601f19909101908152919050565b61188f83836118ee565b6001600160a01b0383163b15610bea575f548281035b6118b75f86838060010194508661174b565b6118d4576040516368d2bf6b60e11b815260040160405180910390fd5b8181106118a557815f54146118e7575f80fd5b5050505050565b5f8054908290036119125760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146119be5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101611988565b50815f036119de57604051622e076360e81b815260040160405180910390fd5b5f5550505050565b6001600160e01b03198116811461114a575f80fd5b5f60208284031215611a0b575f80fd5b8135611367816119e6565b80358015158114611a25575f80fd5b919050565b5f60208284031215611a3a575f80fd5b61136782611a16565b80356001600160a01b0381168114611a25575f80fd5b5f8060408385031215611a6a575f80fd5b611a7383611a43565b915060208301356001600160601b0381168114611a8e575f80fd5b809150509250929050565b5f5b83811015611ab3578181015183820152602001611a9b565b50505f910152565b5f8151808452611ad2816020860160208601611a99565b601f01601f19169290920160200192915050565b602081525f6113676020830184611abb565b5f60208284031215611b08575f80fd5b5035919050565b5f8060408385031215611b20575f80fd5b611b2983611a43565b946020939093013593505050565b5f805f60608486031215611b49575f80fd5b611b5284611a43565b9250611b6060208501611a43565b9150604084013590509250925092565b5f8060408385031215611b81575f80fd5b50508035926020909101359150565b5f60208284031215611ba0575f80fd5b61136782611a43565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115611bd757611bd7611ba9565b604051601f8501601f19908116603f01168101908282118183101715611bff57611bff611ba9565b81604052809350858152868686011115611c17575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611c40575f80fd5b813567ffffffffffffffff811115611c56575f80fd5b8201601f81018413611c66575f80fd5b61182b84823560208401611bbd565b5f805f60408486031215611c87575f80fd5b83359250602084013567ffffffffffffffff80821115611ca5575f80fd5b818601915086601f830112611cb8575f80fd5b813581811115611cc6575f80fd5b8760208260051b8501011115611cda575f80fd5b6020830194508093505050509250925092565b602080825282518282018190525f9190848201906040850190845b81811015610e6f57835183529284019291840191600101611d08565b5f8060408385031215611d35575f80fd5b611d3e83611a43565b9150611d4c60208401611a16565b90509250929050565b5f805f8060808587031215611d68575f80fd5b611d7185611a43565b9350611d7f60208601611a43565b925060408501359150606085013567ffffffffffffffff811115611da1575f80fd5b8501601f81018713611db1575f80fd5b611dc087823560208401611bbd565b91505092959194509250565b5f8060408385031215611ddd575f80fd5b611de683611a43565b9150611d4c60208401611a43565b600181811c90821680611e0857607f821691505b602082108103611e2657634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761070c5761070c611e2c565b5f82611e7157634e487b7160e01b5f52601260045260245ffd5b500490565b601f821115610bea575f81815260208120601f850160051c81016020861015611e9c5750805b601f850160051c820191505b81811015610ad457828155600101611ea8565b815167ffffffffffffffff811115611ed557611ed5611ba9565b611ee981611ee38454611df4565b84611e76565b602080601f831160018114611f1c575f8415611f055750858301515b5f19600386901b1c1916600185901b178555610ad4565b5f85815260208120601f198616915b82811015611f4a57888601518255948401946001909101908401611f2b565b5085821015611f6757878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b8082018082111561070c5761070c611e2c565b634e487b7160e01b5f52603260045260245ffd5b5f60018201611faf57611faf611e2c565b5060010190565b8181038181111561070c5761070c611e2c565b5f8351611fda818460208801611a99565b835190830190611fee818360208801611a99565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061203990830184611abb565b9695505050505050565b5f60208284031215612053575f80fd5b8151611367816119e656fea2646970667358221220ea7ed3149e3292803c0cb3d4f82e88a730905ff71ff08367bb3ce45fcafd497764736f6c63430008140033

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

0000000000000000000000007ff3bbe3a2436ccbaa1b43a69f536a4a54d86b01

-----Decoded View---------------
Arg [0] : _owner (address): 0x7Ff3BBe3A2436ccBAa1B43a69F536A4a54D86B01

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007ff3bbe3a2436ccbaa1b43a69f536a4a54d86b01


Deployed Bytecode Sourcemap

77628:6155:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83175:291;;;;;;;;;;-1:-1:-1;83175:291:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;83175:291:0;;;;;;;;82836:79;;;;;;;;;;-1:-1:-1;82836:79:0;;;;;:::i;:::-;;:::i;:::-;;83516:170;;;;;;;;;;-1:-1:-1;83516:170:0;;;;;:::i;:::-;;:::i;44673:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;51164:218::-;;;;;;;;;;-1:-1:-1;51164:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2596:32:1;;;2578:51;;2566:2;2551:18;51164:218:0;2432:203:1;77727:28:0;;;;;;;;;;;;;:::i;50597:408::-;;;;;;:::i;:::-;;:::i;77762:34::-;;;;;;;;;;;;;;;;;;;3045:25:1;;;3033:2;3018:18;77762:34:0;2899:177:1;82345:100:0;;;;;;;;;;-1:-1:-1;82345:100:0;;;;;:::i;:::-;;:::i;40424:323::-;;;;;;;;;;-1:-1:-1;78346:1:0;40698:12;40485:7;40682:13;:28;-1:-1:-1;;40682:46:0;40424:323;;54803:2825;;;;;;:::i;:::-;;:::i;5169:429::-;;;;;;;;;;-1:-1:-1;5169:429:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3859:32:1;;;3841:51;;3923:2;3908:18;;3901:34;;;;3814:18;5169:429:0;3667:274:1;77948:25:0;;;;;;;;;;;;;;;;77980:47;;;;;;;;;;-1:-1:-1;77980:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;82968:173;;;:::i;57724:193::-;;;;;;:::i;:::-;;:::i;82202:86::-;;;;;;;;;;-1:-1:-1;82202:86:0;;;;;:::i;:::-;;:::i;77913:28::-;;;;;;;;;;-1:-1:-1;77913:28:0;;;;;;;;;;;82484:104;;;;;;;;;;-1:-1:-1;82484:104:0;;;;;:::i;:::-;;:::i;77881:25::-;;;;;;;;;;-1:-1:-1;77881:25:0;;;;;;;;46066:152;;;;;;;;;;-1:-1:-1;46066:152:0;;;;;:::i;:::-;;:::i;77699:21::-;;;;;;;;;;;;;:::i;41608:233::-;;;;;;;;;;-1:-1:-1;41608:233:0;;;;;:::i;:::-;;:::i;24531:103::-;;;;;;;;;;;;;:::i;79383:447::-;;;;;;;;;;-1:-1:-1;79383:447:0;;;;;:::i;:::-;;:::i;83694:86::-;;;;;;;;;;;;;:::i;80854:979::-;;;;;;;;;;-1:-1:-1;80854:979:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;23856:87::-;;;;;;;;;;-1:-1:-1;23929:6:0;;-1:-1:-1;;;;;23929:6:0;23856:87;;81893:82;;;;;;;;;;-1:-1:-1;81893:82:0;;;;;:::i;:::-;;:::i;44849:104::-;;;;;;;;;;;;;:::i;78389:934::-;;;;;;:::i;:::-;;:::i;51722:234::-;;;;;;;;;;-1:-1:-1;51722:234:0;;;;;:::i;:::-;;:::i;58515:407::-;;;;;;:::i;:::-;;:::i;77842:32::-;;;;;;;;;;;;;;;;79888:720;;;;;;;;;;-1:-1:-1;79888:720:0;;;;;:::i;:::-;;:::i;77803:32::-;;;;;;;;;;;;;;;;80678:113;;;;;;;;;;-1:-1:-1;80678:113:0;;;;;:::i;:::-;;:::i;82030:98::-;;;;;;;;;;-1:-1:-1;82030:98:0;;;;;:::i;:::-;;:::i;52113:164::-;;;;;;;;;;-1:-1:-1;52113:164:0;;;;;:::i;:::-;;:::i;82625:126::-;;;;;;;;;;-1:-1:-1;82625:126:0;;;;;:::i;:::-;;:::i;24789:220::-;;;;;;;;;;-1:-1:-1;24789:220:0;;;;;:::i;:::-;;:::i;83175:291::-;83323:4;83365:38;83391:11;83365:25;:38::i;:::-;:93;;;;83420:38;83446:11;83420:25;:38::i;:::-;83345:113;83175:291;-1:-1:-1;;83175:291:0:o;82836:79::-;23742:13;:11;:13::i;:::-;82892:6:::1;:15:::0;;-1:-1:-1;;82892:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;82836:79::o;83516:170::-;23742:13;:11;:13::i;:::-;83634:44:::1;83653:9;83664:13;83634:18;:44::i;:::-;83516:170:::0;;:::o;44673:100::-;44727:13;44760:5;44753:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44673:100;:::o;51164:218::-;51240:7;51265:16;51273:7;51265;:16::i;:::-;51260:64;;51290:34;;-1:-1:-1;;;51290:34:0;;;;;;;;;;;51260:64;-1:-1:-1;51344:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;51344:30:0;;51164:218::o;77727:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;50597:408::-;50686:13;50702:16;50710:7;50702;:16::i;:::-;50686:32;-1:-1:-1;74930:10:0;-1:-1:-1;;;;;50735:28:0;;;50731:175;;50783:44;50800:5;74930:10;52113:164;:::i;50783:44::-;50778:128;;50855:35;;-1:-1:-1;;;50855:35:0;;;;;;;;;;;50778:128;50918:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;50918:35:0;-1:-1:-1;;;;;50918:35:0;;;;;;;;;50969:28;;50918:24;;50969:28;;;;;;;50675:330;50597:408;;:::o;82345:100::-;23742:13;:11;:13::i;:::-;82415:9:::1;:22:::0;82345:100::o;54803:2825::-;54945:27;54975;54994:7;54975:18;:27::i;:::-;54945:57;;55060:4;-1:-1:-1;;;;;55019:45:0;55035:19;-1:-1:-1;;;;;55019:45:0;;55015:86;;55073:28;;-1:-1:-1;;;55073:28:0;;;;;;;;;;;55015:86;55115:27;53911:24;;;:15;:24;;;;;54139:26;;74930:10;53536:30;;;-1:-1:-1;;;;;53229:28:0;;53514:20;;;53511:56;55301:180;;55394:43;55411:4;74930:10;52113:164;:::i;55394:43::-;55389:92;;55446:35;;-1:-1:-1;;;55446:35:0;;;;;;;;;;;55389:92;-1:-1:-1;;;;;55498:16:0;;55494:52;;55523:23;;-1:-1:-1;;;55523:23:0;;;;;;;;;;;55494:52;55695:15;55692:160;;;55835:1;55814:19;55807:30;55692:160;-1:-1:-1;;;;;56232:24:0;;;;;;;:18;:24;;;;;;56230:26;;-1:-1:-1;;56230:26:0;;;56301:22;;;;;;;;;56299:24;;-1:-1:-1;56299:24:0;;;49455:11;49430:23;49426:41;49413:63;-1:-1:-1;;;49413:63:0;56594:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;56889:47:0;;:52;;56885:627;;56994:1;56984:11;;56962:19;57117:30;;;:17;:30;;;;;;:35;;57113:384;;57255:13;;57240:11;:28;57236:242;;57402:30;;;;:17;:30;;;;;:52;;;57236:242;56943:569;56885:627;57559:7;57555:2;-1:-1:-1;;;;;57540:27:0;57549:4;-1:-1:-1;;;;;57540:27:0;;;;;;;;;;;57578:42;54934:2694;;;54803:2825;;;:::o;5169:429::-;5255:7;5313:26;;;:17;:26;;;;;;;;5284:55;;;;;;;;;-1:-1:-1;;;;;5284:55:0;;;;;-1:-1:-1;;;5284:55:0;;;-1:-1:-1;;;;;5284:55:0;;;;;;;;5255:7;;5352:92;;-1:-1:-1;5403:29:0;;;;;;;;;5413:19;5403:29;-1:-1:-1;;;;;5403:29:0;;;;-1:-1:-1;;;5403:29:0;;-1:-1:-1;;;;;5403:29:0;;;;;5352:92;5493:23;;;;5456:21;;5964:5;;5481:35;;-1:-1:-1;;;;;5481:35:0;:9;:35;:::i;:::-;5480:57;;;;:::i;:::-;5558:16;;;;;-1:-1:-1;5169:429:0;;-1:-1:-1;;;;5169:429:0:o;82968:173::-;23742:13;:11;:13::i;:::-;20382:21:::1;:19;:21::i;:::-;83087:46:::2;::::0;83055:21:::2;::::0;74930:10;;83087:46;::::2;;;::::0;83055:21;;83087:46:::2;::::0;;;83055:21;74930:10;83087:46;::::2;;;;;;;;;;;;;::::0;::::2;;;;;;83026:115;20426:20:::1;19820:1:::0;20946:7;:22;20763:213;20426:20:::1;82968:173::o:0;57724:193::-;57870:39;57887:4;57893:2;57897:7;57870:39;;;;;;;;;;;;:16;:39::i;:::-;57724:193;;;:::o;82202:86::-;23742:13;:11;:13::i;:::-;82265:4:::1;:15:::0;82202:86::o;82484:104::-;23742:13;:11;:13::i;:::-;82559:7:::1;:21;82569:11:::0;82559:7;:21:::1;:::i;46066:152::-:0;46138:7;46181:27;46200:7;46181:18;:27::i;77699:21::-;;;;;;;:::i;41608:233::-;41680:7;-1:-1:-1;;;;;41704:19:0;;41700:60;;41732:28;;-1:-1:-1;;;41732:28:0;;;;;;;;;;;41700:60;-1:-1:-1;;;;;;41778:25:0;;;;;:18;:25;;;;;;35767:13;41778:55;;41608:233::o;24531:103::-;23742:13;:11;:13::i;:::-;24596:30:::1;24623:1;24596:18;:30::i;79383:447::-:0;23742:13;:11;:13::i;:::-;20382:21:::1;:19;:21::i;:::-;79527:16:::2;79546:32;79560:11:::0;79546;:32:::2;:::i;:::-;79527:51;;79639:9;;79627:8;79611:13;78346:1:::0;40698:12;40485:7;40682:13;-1:-1:-1;;40682:28:0;;;:46;;40424:323;79611:13:::2;:24;;;;:::i;:::-;:37;;79589:109;;;::::0;-1:-1:-1;;;79589:109:0;;11513:2:1;79589:109:0::2;::::0;::::2;11495:21:1::0;11552:2;11532:18;;;11525:30;-1:-1:-1;;;11571:18:1;;;11564:52;11633:18;;79589:109:0::2;;;;;;;;;79714:9;79709:114;79729:22:::0;;::::2;79709:114;;;79773:38;79783:11;;79795:1;79783:14;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;79799:11;79773:9;:38::i;:::-;79753:3:::0;::::2;::::0;::::2;:::i;:::-;;;;79709:114;;;;79516:314;20426:20:::1;19820:1:::0;20946:7;:22;20763:213;83694:86;23742:13;:11;:13::i;:::-;83749:23:::1;6910:19:::0;;6903:26;6842:95;80854:979;80940:16;80999:19;81033:25;81073:22;81098:16;81108:5;81098:9;:16::i;:::-;81073:41;;81129:25;81171:14;81157:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;81157:29:0;;81129:57;;81201:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81201:31:0;78346:1;81247:538;81331:14;81316:11;:29;81247:538;;81414:15;81427:1;81414:12;:15::i;:::-;81402:27;;81452:9;:16;;;81493:8;81448:73;81543:14;;-1:-1:-1;;;;;81543:28:0;;81539:111;;81616:14;;;-1:-1:-1;81539:111:0;81693:5;-1:-1:-1;;;;;81672:26:0;:17;-1:-1:-1;;;;;81672:26:0;;81668:102;;81749:1;81723:8;81732:13;;;;;;81723:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;81668:102;81364:3;;81247:538;;;-1:-1:-1;81806:8:0;;80854:979;-1:-1:-1;;;;;;80854:979:0:o;81893:82::-;23742:13;:11;:13::i;:::-;81950:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;81950:17:0;;::::1;::::0;;;::::1;::::0;;81893:82::o;44849:104::-;44905:13;44938:7;44931:14;;;;;:::i;78389:934::-;20382:21;:19;:21::i;:::-;78467:6:::1;::::0;::::1;;78466:7;78458:44;;;::::0;-1:-1:-1;;;78458:44:0;;12136:2:1;78458:44:0::1;::::0;::::1;12118:21:1::0;12175:2;12155:18;;;12148:30;12214:26;12194:18;;;12187:54;12258:18;;78458:44:0::1;11934:348:1::0;78458:44:0::1;78545:12;;78535:6;:22;;78513:113;;;::::0;-1:-1:-1;;;78513:113:0;;12489:2:1;78513:113:0::1;::::0;::::1;12471:21:1::0;12528:2;12508:18;;;12501:30;12567:34;12547:18;;;12540:62;-1:-1:-1;;;12618:18:1;;;12611:39;12667:19;;78513:113:0::1;12287:405:1::0;78513:113:0::1;78671:9;::::0;78346:1;40698:12;40485:7;40682:13;78661:6;;40682:28;;-1:-1:-1;;40682:46:0;78645:22:::1;;;;:::i;:::-;:35;;78637:65;;;::::0;-1:-1:-1;;;78637:65:0;;12899:2:1;78637:65:0::1;::::0;::::1;12881:21:1::0;12938:2;12918:18;;;12911:30;-1:-1:-1;;;12957:18:1;;;12950:47;13014:18;;78637:65:0::1;12697:341:1::0;78637:65:0::1;78781:12;::::0;78771:6;78735:33:::1;74930:10:::0;80678:113;:::i;78735:33::-:1;:42;;;;:::i;:::-;:58;;78713:145;;;::::0;-1:-1:-1;;;78713:145:0;;13245:2:1;78713:145:0::1;::::0;::::1;13227:21:1::0;13284:2;13264:18;;;13257:30;13323:34;13303:18;;;13296:62;-1:-1:-1;;;13374:18:1;;;13367:35;13419:19;;78713:145:0::1;13043:401:1::0;78713:145:0::1;74930:10:::0;78876:36:::1;::::0;;;:15:::1;:36;::::0;;;;;::::1;;78871:394;;78929:18;78950:10;78959:1;78950:6:::0;:10:::1;:::i;:::-;78929:31;;79021:10;79014:4;;:17;;;;:::i;:::-;79001:9;:30;;78975:120;;;::::0;-1:-1:-1;;;78975:120:0;;13784:2:1;78975:120:0::1;::::0;::::1;13766:21:1::0;13823:2;13803:18;;;13796:30;13862;13842:18;;;13835:58;13910:18;;78975:120:0::1;13582:352:1::0;78975:120:0::1;-1:-1:-1::0;74930:10:0;79110:36:::1;::::0;;;:15:::1;:36;::::0;;;;:43;;-1:-1:-1;;79110:43:0::1;79149:4;79110:43;::::0;;78871:394:::1;;;79214:6;79207:4;;:13;;;;:::i;:::-;79194:9;:26;;79186:67;;;::::0;-1:-1:-1;;;79186:67:0;;13784:2:1;79186:67:0::1;::::0;::::1;13766:21:1::0;13823:2;13803:18;;;13796:30;13862;13842:18;;;13835:58;13910:18;;79186:67:0::1;13582:352:1::0;79186:67:0::1;79277:38;74930:10:::0;79308:6:::1;79277:9;:38::i;:::-;20426:20:::0;19820:1;20946:7;:22;20763:213;20426:20;78389:934;:::o;51722:234::-;74930:10;51817:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;51817:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;51817:60:0;;;;;;;;;;51893:55;;540:41:1;;;51817:49:0;;74930:10;51893:55;;513:18:1;51893:55:0;;;;;;;51722:234;;:::o;58515:407::-;58690:31;58703:4;58709:2;58713:7;58690:12;:31::i;:::-;-1:-1:-1;;;;;58736:14:0;;;:19;58732:183;;58775:56;58806:4;58812:2;58816:7;58825:5;58775:30;:56::i;:::-;58770:145;;58859:40;;-1:-1:-1;;;58859:40:0;;;;;;;;;;;58770:145;58515:407;;;;:::o;79888:720::-;80006:13;80059:16;80067:7;80059;:16::i;:::-;80037:114;;;;-1:-1:-1;;;80037:114:0;;14141:2:1;80037:114:0;;;14123:21:1;14180:2;14160:18;;;14153:30;14219:34;14199:18;;;14192:62;-1:-1:-1;;;14270:18:1;;;14263:46;14326:19;;80037:114:0;13939:412:1;80037:114:0;80168:8;;;;;;;:17;;80180:5;80168:17;80164:71;;80209:14;80202:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79888:720;;;:::o;80164:71::-;80247:28;80278:10;:8;:10::i;:::-;80247:41;;80350:1;80325:14;80319:28;:32;:281;;;;;;;;;;;;;;;;;80443:14;80484:18;80494:7;80484:9;:18::i;:::-;80400:159;;;;;;;;;:::i;:::-;;;;;;;;;;;;;80319:281;80299:301;79888:720;-1:-1:-1;;;79888:720:0:o;80678:113::-;-1:-1:-1;;;;;42012:25:0;;80736:7;42012:25;;;:18;:25;;35905:2;42012:25;;;;35767:13;42012:50;;42011:82;80763:20;41923:178;82030:98;23742:13;:11;:13::i;:::-;82099:12:::1;:21:::0;82030:98::o;52113:164::-;-1:-1:-1;;;;;52234:25:0;;;52210:4;52234:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;52113:164::o;82625:126::-;23742:13;:11;:13::i;:::-;82711:14:::1;:32;82728:15:::0;82711:14;:32:::1;:::i;24789:220::-:0;23742:13;:11;:13::i;:::-;-1:-1:-1;;;;;24874:22:0;::::1;24870:93;;24920:31;::::0;-1:-1:-1;;;24920:31:0;;24948:1:::1;24920:31;::::0;::::1;2578:51:1::0;2551:18;;24920:31:0::1;2432:203:1::0;24870:93:0::1;24973:28;24992:8;24973:18;:28::i;43771:639::-:0;43856:4;-1:-1:-1;;;;;;;;;44180:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;44257:25:0;;;44180:102;:179;;;-1:-1:-1;;;;;;;;44334:25:0;-1:-1:-1;;;44334:25:0;;43771:639::o;4899:215::-;5001:4;-1:-1:-1;;;;;;5025:41:0;;-1:-1:-1;;;5025:41:0;;:81;;-1:-1:-1;;;;;;;;;;1906:40:0;;;5070:36;1806:148;24021:166;23929:6;;-1:-1:-1;;;;;23929:6:0;74930:10;24081:23;24077:103;;24128:40;;-1:-1:-1;;;24128:40:0;;74930:10;24128:40;;;2578:51:1;2551:18;;24128:40:0;2432:203:1;6248:518:0;5964:5;-1:-1:-1;;;;;6397:26:0;;;-1:-1:-1;6393:176:0;;;6502:55;;-1:-1:-1;;;6502:55:0;;-1:-1:-1;;;;;15215:39:1;;6502:55:0;;;15197:58:1;15271:18;;;15264:34;;;15170:18;;6502:55:0;15024:280:1;6393:176:0;-1:-1:-1;;;;;6583:22:0;;6579:110;;6629:48;;-1:-1:-1;;;6629:48:0;;6674:1;6629:48;;;2578:51:1;2551:18;;6629:48:0;2432:203:1;6579:110:0;-1:-1:-1;6723:35:0;;;;;;;;;-1:-1:-1;;;;;6723:35:0;;;;;;-1:-1:-1;;;;;6723:35:0;;;;;;;;;;-1:-1:-1;;;6701:57:0;;;;:19;:57;6248:518::o;52535:282::-;52600:4;52656:7;78346:1;52637:26;;:66;;;;;52690:13;;52680:7;:23;52637:66;:153;;;;-1:-1:-1;;52741:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;52741:44:0;:49;;52535:282::o;47221:1275::-;47288:7;47323;;78346:1;47372:23;47368:1061;;47425:13;;47418:4;:20;47414:1015;;;47463:14;47480:23;;;:17;:23;;;;;;;-1:-1:-1;;;47569:24:0;;:29;;47565:845;;48234:113;48241:6;48251:1;48241:11;48234:113;;-1:-1:-1;;;48312:6:0;48294:25;;;;:17;:25;;;;;;48234:113;;47565:845;47440:989;47414:1015;48457:31;;-1:-1:-1;;;48457:31:0;;;;;;;;;;;20462:293;19864:1;20596:7;;:19;20588:63;;;;-1:-1:-1;;;20588:63:0;;15511:2:1;20588:63:0;;;15493:21:1;15550:2;15530:18;;;15523:30;15589:33;15569:18;;;15562:61;15640:18;;20588:63:0;15309:355:1;20588:63:0;19864:1;20729:7;:18;20462:293::o;25169:191::-;25262:6;;;-1:-1:-1;;;;;25279:17:0;;;-1:-1:-1;;;;;;25279:17:0;;;;;;;25312:40;;25262:6;;;25279:17;25262:6;;25312:40;;25243:16;;25312:40;25232:128;25169:191;:::o;68675:112::-;68752:27;68762:2;68766:8;68752:27;;;;;;;;;;;;:9;:27::i;46669:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46797:24:0;;;;:17;:24;;;;;;46778:44;;-1:-1:-1;;;;;;;;;;;;;48705:41:0;;;;36426:3;48791:33;;;48757:68;;-1:-1:-1;;;48757:68:0;-1:-1:-1;;;48855:24:0;;:29;;-1:-1:-1;;;48836:48:0;;;;36947:3;48924:28;;;;-1:-1:-1;;;48895:58:0;-1:-1:-1;48595:366:0;61006:716;61190:88;;-1:-1:-1;;;61190:88:0;;61169:4;;-1:-1:-1;;;;;61190:45:0;;;;;:88;;74930:10;;61257:4;;61263:7;;61272:5;;61190:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61190:88:0;;;;;;;;-1:-1:-1;;61190:88:0;;;;;;;;;;;;:::i;:::-;;;61186:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61473:6;:13;61490:1;61473:18;61469:235;;61519:40;;-1:-1:-1;;;61519:40:0;;;;;;;;;;;61469:235;61662:6;61656:13;61647:6;61643:2;61639:15;61632:38;61186:529;-1:-1:-1;;;;;;61349:64:0;-1:-1:-1;;;61349:64:0;;-1:-1:-1;61186:529:0;61006:716;;;;;;:::o;78138:108::-;78198:13;78231:7;78224:14;;;;;:::i;75050:1745::-;75115:17;75549:4;75542;75536:11;75532:22;75641:1;75635:4;75628:15;75716:4;75713:1;75709:12;75702:19;;;75798:1;75793:3;75786:14;75902:3;76141:5;76123:428;76189:1;76184:3;76180:11;76173:18;;76360:2;76354:4;76350:13;76346:2;76342:22;76337:3;76329:36;76454:2;76444:13;;76511:25;76123:428;76511:25;-1:-1:-1;76581:13:0;;;-1:-1:-1;;76696:14:0;;;76758:19;;;76696:14;75050:1745;-1:-1:-1;75050:1745:0:o;67902:689::-;68033:19;68039:2;68043:8;68033:5;:19::i;:::-;-1:-1:-1;;;;;68094:14:0;;;:19;68090:483;;68134:11;68148:13;68196:14;;;68229:233;68260:62;68299:1;68303:2;68307:7;;;;;;68316:5;68260:30;:62::i;:::-;68255:167;;68358:40;;-1:-1:-1;;;68358:40:0;;;;;;;;;;;68255:167;68457:3;68449:5;:11;68229:233;;68544:3;68527:13;;:20;68523:34;;68549:8;;;68523:34;68115:458;;67902:689;;;:::o;62184:2966::-;62257:20;62280:13;;;62308;;;62304:44;;62330:18;;-1:-1:-1;;;62330:18:0;;;;;;;;;;;62304:44;-1:-1:-1;;;;;62836:22:0;;;;;;:18;:22;;;;35905:2;62836:22;;;:71;;62874:32;62862:45;;62836:71;;;63150:31;;;:17;:31;;;;;-1:-1:-1;49886:15:0;;49860:24;49856:46;49455:11;49430:23;49426:41;49423:52;49413:63;;63150:173;;63385:23;;;;63150:31;;62836:22;;64150:25;62836:22;;64003:335;64664:1;64650:12;64646:20;64604:346;64705:3;64696:7;64693:16;64604:346;;64923:7;64913:8;64910:1;64883:25;64880:1;64877;64872:59;64758:1;64745:15;64604:346;;;64608:77;64983:8;64995:1;64983:13;64979:45;;65005:19;;-1:-1:-1;;;65005:19:0;;;;;;;;;;;64979:45;65041:13;:19;-1:-1:-1;57724:193:0;;;:::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:160::-;657:20;;713:13;;706:21;696:32;;686:60;;742:1;739;732:12;686:60;592:160;;;:::o;757:180::-;813:6;866:2;854:9;845:7;841:23;837:32;834:52;;;882:1;879;872:12;834:52;905:26;921:9;905:26;:::i;942:173::-;1010:20;;-1:-1:-1;;;;;1059:31:1;;1049:42;;1039:70;;1105:1;1102;1095:12;1120:366;1187:6;1195;1248:2;1236:9;1227:7;1223:23;1219:32;1216:52;;;1264:1;1261;1254:12;1216:52;1287:29;1306:9;1287:29;:::i;:::-;1277:39;;1366:2;1355:9;1351:18;1338:32;-1:-1:-1;;;;;1403:5:1;1399:38;1392:5;1389:49;1379:77;;1452:1;1449;1442:12;1379:77;1475:5;1465:15;;;1120:366;;;;;:::o;1491:250::-;1576:1;1586:113;1600:6;1597:1;1594:13;1586:113;;;1676:11;;;1670:18;1657:11;;;1650:39;1622:2;1615:10;1586:113;;;-1:-1:-1;;1733:1:1;1715:16;;1708:27;1491:250::o;1746:271::-;1788:3;1826:5;1820:12;1853:6;1848:3;1841:19;1869:76;1938:6;1931:4;1926:3;1922:14;1915:4;1908:5;1904:16;1869:76;:::i;:::-;1999:2;1978:15;-1:-1:-1;;1974:29:1;1965:39;;;;2006:4;1961:50;;1746:271;-1:-1:-1;;1746:271:1:o;2022:220::-;2171:2;2160:9;2153:21;2134:4;2191:45;2232:2;2221:9;2217:18;2209:6;2191:45;:::i;2247:180::-;2306:6;2359:2;2347:9;2338:7;2334:23;2330:32;2327:52;;;2375:1;2372;2365:12;2327:52;-1:-1:-1;2398:23:1;;2247:180;-1:-1:-1;2247:180:1:o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;3081:328::-;3158:6;3166;3174;3227:2;3215:9;3206:7;3202:23;3198:32;3195:52;;;3243:1;3240;3233:12;3195:52;3266:29;3285:9;3266:29;:::i;:::-;3256:39;;3314:38;3348:2;3337:9;3333:18;3314:38;:::i;:::-;3304:48;;3399:2;3388:9;3384:18;3371:32;3361:42;;3081:328;;;;;:::o;3414:248::-;3482:6;3490;3543:2;3531:9;3522:7;3518:23;3514:32;3511:52;;;3559:1;3556;3549:12;3511:52;-1:-1:-1;;3582:23:1;;;3652:2;3637:18;;;3624:32;;-1:-1:-1;3414:248:1:o;4128:186::-;4187:6;4240:2;4228:9;4219:7;4215:23;4211:32;4208:52;;;4256:1;4253;4246:12;4208:52;4279:29;4298:9;4279:29;:::i;4319:127::-;4380:10;4375:3;4371:20;4368:1;4361:31;4411:4;4408:1;4401:15;4435:4;4432:1;4425:15;4451:632;4516:5;4546:18;4587:2;4579:6;4576:14;4573:40;;;4593:18;;:::i;:::-;4668:2;4662:9;4636:2;4722:15;;-1:-1:-1;;4718:24:1;;;4744:2;4714:33;4710:42;4698:55;;;4768:18;;;4788:22;;;4765:46;4762:72;;;4814:18;;:::i;:::-;4854:10;4850:2;4843:22;4883:6;4874:15;;4913:6;4905;4898:22;4953:3;4944:6;4939:3;4935:16;4932:25;4929:45;;;4970:1;4967;4960:12;4929:45;5020:6;5015:3;5008:4;5000:6;4996:17;4983:44;5075:1;5068:4;5059:6;5051;5047:19;5043:30;5036:41;;;;4451:632;;;;;:::o;5088:451::-;5157:6;5210:2;5198:9;5189:7;5185:23;5181:32;5178:52;;;5226:1;5223;5216:12;5178:52;5266:9;5253:23;5299:18;5291:6;5288:30;5285:50;;;5331:1;5328;5321:12;5285:50;5354:22;;5407:4;5399:13;;5395:27;-1:-1:-1;5385:55:1;;5436:1;5433;5426:12;5385:55;5459:74;5525:7;5520:2;5507:16;5502:2;5498;5494:11;5459:74;:::i;5544:683::-;5639:6;5647;5655;5708:2;5696:9;5687:7;5683:23;5679:32;5676:52;;;5724:1;5721;5714:12;5676:52;5760:9;5747:23;5737:33;;5821:2;5810:9;5806:18;5793:32;5844:18;5885:2;5877:6;5874:14;5871:34;;;5901:1;5898;5891:12;5871:34;5939:6;5928:9;5924:22;5914:32;;5984:7;5977:4;5973:2;5969:13;5965:27;5955:55;;6006:1;6003;5996:12;5955:55;6046:2;6033:16;6072:2;6064:6;6061:14;6058:34;;;6088:1;6085;6078:12;6058:34;6141:7;6136:2;6126:6;6123:1;6119:14;6115:2;6111:23;6107:32;6104:45;6101:65;;;6162:1;6159;6152:12;6101:65;6193:2;6189;6185:11;6175:21;;6215:6;6205:16;;;;;5544:683;;;;;:::o;6232:632::-;6403:2;6455:21;;;6525:13;;6428:18;;;6547:22;;;6374:4;;6403:2;6626:15;;;;6600:2;6585:18;;;6374:4;6669:169;6683:6;6680:1;6677:13;6669:169;;;6744:13;;6732:26;;6813:15;;;;6778:12;;;;6705:1;6698:9;6669:169;;6869:254;6934:6;6942;6995:2;6983:9;6974:7;6970:23;6966:32;6963:52;;;7011:1;7008;7001:12;6963:52;7034:29;7053:9;7034:29;:::i;:::-;7024:39;;7082:35;7113:2;7102:9;7098:18;7082:35;:::i;:::-;7072:45;;6869:254;;;;;:::o;7128:667::-;7223:6;7231;7239;7247;7300:3;7288:9;7279:7;7275:23;7271:33;7268:53;;;7317:1;7314;7307:12;7268:53;7340:29;7359:9;7340:29;:::i;:::-;7330:39;;7388:38;7422:2;7411:9;7407:18;7388:38;:::i;:::-;7378:48;;7473:2;7462:9;7458:18;7445:32;7435:42;;7528:2;7517:9;7513:18;7500:32;7555:18;7547:6;7544:30;7541:50;;;7587:1;7584;7577:12;7541:50;7610:22;;7663:4;7655:13;;7651:27;-1:-1:-1;7641:55:1;;7692:1;7689;7682:12;7641:55;7715:74;7781:7;7776:2;7763:16;7758:2;7754;7750:11;7715:74;:::i;:::-;7705:84;;;7128:667;;;;;;;:::o;7800:260::-;7868:6;7876;7929:2;7917:9;7908:7;7904:23;7900:32;7897:52;;;7945:1;7942;7935:12;7897:52;7968:29;7987:9;7968:29;:::i;:::-;7958:39;;8016:38;8050:2;8039:9;8035:18;8016:38;:::i;8065:380::-;8144:1;8140:12;;;;8187;;;8208:61;;8262:4;8254:6;8250:17;8240:27;;8208:61;8315:2;8307:6;8304:14;8284:18;8281:38;8278:161;;8361:10;8356:3;8352:20;8349:1;8342:31;8396:4;8393:1;8386:15;8424:4;8421:1;8414:15;8278:161;;8065:380;;;:::o;8450:127::-;8511:10;8506:3;8502:20;8499:1;8492:31;8542:4;8539:1;8532:15;8566:4;8563:1;8556:15;8582:168;8655:9;;;8686;;8703:15;;;8697:22;;8683:37;8673:71;;8724:18;;:::i;8755:217::-;8795:1;8821;8811:132;;8865:10;8860:3;8856:20;8853:1;8846:31;8900:4;8897:1;8890:15;8928:4;8925:1;8918:15;8811:132;-1:-1:-1;8957:9:1;;8755:217::o;9103:545::-;9205:2;9200:3;9197:11;9194:448;;;9241:1;9266:5;9262:2;9255:17;9311:4;9307:2;9297:19;9381:2;9369:10;9365:19;9362:1;9358:27;9352:4;9348:38;9417:4;9405:10;9402:20;9399:47;;;-1:-1:-1;9440:4:1;9399:47;9495:2;9490:3;9486:12;9483:1;9479:20;9473:4;9469:31;9459:41;;9550:82;9568:2;9561:5;9558:13;9550:82;;;9613:17;;;9594:1;9583:13;9550:82;;9824:1352;9950:3;9944:10;9977:18;9969:6;9966:30;9963:56;;;9999:18;;:::i;:::-;10028:97;10118:6;10078:38;10110:4;10104:11;10078:38;:::i;:::-;10072:4;10028:97;:::i;:::-;10180:4;;10244:2;10233:14;;10261:1;10256:663;;;;10963:1;10980:6;10977:89;;;-1:-1:-1;11032:19:1;;;11026:26;10977:89;-1:-1:-1;;9781:1:1;9777:11;;;9773:24;9769:29;9759:40;9805:1;9801:11;;;9756:57;11079:81;;10226:944;;10256:663;9050:1;9043:14;;;9087:4;9074:18;;-1:-1:-1;;10292:20:1;;;10410:236;10424:7;10421:1;10418:14;10410:236;;;10513:19;;;10507:26;10492:42;;10605:27;;;;10573:1;10561:14;;;;10440:19;;10410:236;;;10414:3;10674:6;10665:7;10662:19;10659:201;;;10735:19;;;10729:26;-1:-1:-1;;10818:1:1;10814:14;;;10830:3;10810:24;10806:37;10802:42;10787:58;10772:74;;10659:201;-1:-1:-1;;;;;10906:1:1;10890:14;;;10886:22;10873:36;;-1:-1:-1;9824:1352:1:o;11181:125::-;11246:9;;;11267:10;;;11264:36;;;11280:18;;:::i;11662:127::-;11723:10;11718:3;11714:20;11711:1;11704:31;11754:4;11751:1;11744:15;11778:4;11775:1;11768:15;11794:135;11833:3;11854:17;;;11851:43;;11874:18;;:::i;:::-;-1:-1:-1;11921:1:1;11910:13;;11794:135::o;13449:128::-;13516:9;;;13537:11;;;13534:37;;;13551:18;;:::i;14356:663::-;14636:3;14674:6;14668:13;14690:66;14749:6;14744:3;14737:4;14729:6;14725:17;14690:66;:::i;:::-;14819:13;;14778:16;;;;14841:70;14819:13;14778:16;14888:4;14876:17;;14841:70;:::i;:::-;-1:-1:-1;;;14933:20:1;;14962:22;;;15011:1;15000:13;;14356:663;-1:-1:-1;;;;14356:663:1:o;15669:489::-;-1:-1:-1;;;;;15938:15:1;;;15920:34;;15990:15;;15985:2;15970:18;;15963:43;16037:2;16022:18;;16015:34;;;16085:3;16080:2;16065:18;;16058:31;;;15863:4;;16106:46;;16132:19;;16124:6;16106:46;:::i;:::-;16098:54;15669:489;-1:-1:-1;;;;;;15669:489:1:o;16163:249::-;16232:6;16285:2;16273:9;16264:7;16260:23;16256:32;16253:52;;;16301:1;16298;16291:12;16253:52;16333:9;16327:16;16352:30;16376:5;16352:30;:::i

Swarm Source

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