ETH Price: $2,624.91 (-2.64%)

Token

Rookiez (RKZ)
 

Overview

Max Total Supply

7,777 RKZ

Holders

486

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 RKZ
0x1d2A4dA5557E77aF0A824B3bF7e12e5024aa0a8b
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:
Rookiez

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

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


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

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


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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

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

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

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

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

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

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

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

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

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

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

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

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

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


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

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

// File: erc721a/contracts/IERC721A.sol


// ERC721A Contracts v4.2.0
// 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();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * 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;

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

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

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

    /**
     * @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.0
// 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 {
    // Reference type for token approval.
    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 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 {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _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]`.
        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 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 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 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.
            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`.
                )

                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 ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

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

// File: rookiez.sol



pragma solidity >=0.8.9 <0.9.0;







contract Rookiez is Ownable, ERC721A {

  using Strings for uint256;

  string public uriPrefix = "";
  string public uriSuffix = ".json";
  string public hiddenMetadataUri;
  
  uint256 public cost = 0.025 ether;
  uint256 public maxSupply = 7777;
  uint256 public wlSupply = 1200;
  uint256 public maxMintAmountPerTx = 15;
  uint256 public maxMintAmount = 3;

  bool public paused = true;
  bool public revealed = false;
  bool public onlyWhitelisted = true;

  bytes32 public merkleRoot;

  mapping(address => uint256) public allowlist;

  constructor() ERC721A("Rookiez", "RKZ")  {
    setHiddenMetadataUri("ipfs://QmboDCzQTXRR42sN4of1VKkFSSJDuRhVXUMejBe3JNYBLv/");
  }

  modifier mintCompliance(uint256 _mintAmount) {
    require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!");
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!");
    require(!paused, "The contract is paused!");
    _;
  }

  function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) {
    require(msg.value >= cost * _mintAmount, "Insufficient funds!");
    require(!onlyWhitelisted, "The presale ended!");

    _safeMint(msg.sender, _mintAmount);
  }

  function mintWhiteList(uint256 _mintAmount, bytes32[] memory _merkleProof) public payable mintCompliance(_mintAmount) {
    require(onlyWhitelisted, "The presale ended!");
    require(totalSupply() + _mintAmount <= wlSupply, "The presale ended!");
    require(maxMintAmount >= allowlist[msg.sender] + _mintAmount, "not eligible for allowlist mint");
    bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
    require(
        MerkleProof.verify(_merkleProof, merkleRoot, leaf),
        "Invalid Merkle Proof."
    );
    allowlist[msg.sender] = allowlist[msg.sender] + _mintAmount;
    _safeMint(msg.sender, _mintAmount);
  }
  
  function mintForAddress(uint256 _mintAmount, address[] memory _receiver) public mintCompliance(_mintAmount) onlyOwner {
    for (uint256 i = 0; i < _receiver.length; i++) {
      _safeMint(_receiver[i], _mintAmount);
    }
  }

  function isAllowed(address _address) public view returns (uint256)  {
      return allowlist[_address];
  }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
    uint256 currentTokenId = 1;
    uint256 ownedTokenIndex = 0;

    while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) {
      address currentTokenOwner = ownerOf(currentTokenId);

      if (currentTokenOwner == _owner) {
        ownedTokenIds[ownedTokenIndex] = currentTokenId+1;

        ownedTokenIndex++;
      }

      currentTokenId++;
    }

    return ownedTokenIds;
  }

  function tokenURI(uint256 _tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(_tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

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

    string memory currentBaseURI = _baseURI();
    _tokenId = _tokenId+1;
    return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix))
        : "";
  }

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

  function setOnlyWhitelisted(bool _state) public onlyOwner {
    onlyWhitelisted = _state;
  }

  function setRevealed(bool _state) public onlyOwner {
    revealed = _state;
  }

  function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
    merkleRoot = _merkleRoot;
  }

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

  function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxMintAmountPerTx = _maxMintAmountPerTx;
  }

  function setMaxMintAmount(uint256 _maxMintAmount) public onlyOwner {
    maxMintAmount = _maxMintAmount;
  }

  function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
    hiddenMetadataUri = _hiddenMetadataUri;
  }

  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }

  function setUriSuffix(string memory _uriSuffix) public onlyOwner {
    uriSuffix = _uriSuffix;
  }

  function setMaxSupply(uint256 _maxSupply) public onlyOwner {
    maxSupply = _maxSupply;
  }

  function setWlSupply(uint256 _wlSupply) public onlyOwner {
    wlSupply = _wlSupply;
  }

  function setPaused(bool _state) public onlyOwner {
    paused = _state;
  }

  function withdraw() public onlyOwner {
    (bool os, ) = payable(owner()).call{value: address(this).balance}("");
    require(os);
  }

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlist","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isAllowed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address[]","name":"_receiver","type":"address[]"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintWhiteList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"nonpayable","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlSupply","type":"uint256"}],"name":"setWlSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60a0604052600060809081526009906200001a9082620002a3565b50604080518082019091526005815264173539b7b760d91b6020820152600a90620000469082620002a3565b506658d15e17628000600c55611e61600d556104b0600e55600f805560036010556011805462ffffff1916620100011790553480156200008557600080fd5b50604051806040016040528060078152602001662937b7b5b4b2bd60c91b815250604051806040016040528060038152602001622925ad60e91b815250620000dc620000d66200012d60201b60201c565b62000131565b6003620000ea8382620002a3565b506004620000f98282620002a3565b5060018081905550505062000127604051806060016040528060368152602001620028026036913962000181565b6200036f565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6200018b6200019d565b600b620001998282620002a3565b5050565b6000546001600160a01b03163314620001fc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200022957607f821691505b6020821081036200024a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029e57600081815260208120601f850160051c81016020861015620002795750805b601f850160051c820191505b818110156200029a5782815560010162000285565b5050505b505050565b81516001600160401b03811115620002bf57620002bf620001fe565b620002d781620002d0845462000214565b8462000250565b602080601f8311600181146200030f5760008415620002f65750858301515b600019600386901b1c1916600185901b1785556200029a565b600085815260208120601f198616915b8281101562000340578886015182559484019460019091019084016200031f565b50858210156200035f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612483806200037f6000396000f3fe6080604052600436106102935760003560e01c806362b99ad41161015a578063a0712d68116100c1578063babcc5391161007a578063babcc5391461078f578063c87b56dd146107c5578063d5abeb01146107e5578063e0a80853146107fb578063e985e9c51461081b578063f2fde38b1461086457600080fd5b8063a0712d68146106da578063a22cb465146106ed578063a45ba8e71461070d578063a7cd52cb14610722578063b071401b1461074f578063b88d4fde1461076f57600080fd5b80637ec4a659116101135780637ec4a659146106315780638da5cb5b1461065157806394354fd01461066f57806395d89b4114610685578063962e0f5a1461069a5780639c70b512146106ba57600080fd5b806362b99ad4146105875780636352211e1461059c5780636f8b44b0146105bc57806370a08231146105dc578063715018a6146105fc5780637cb647591461061157600080fd5b80632eb4a7ab116101fe57806344a0d68a116101b757806344a0d68a146104e65780634d10b546146105065780634fdd43cb1461051957806351830227146105395780635503a0e8146105585780635c975abb1461056d57600080fd5b80632eb4a7ab1461042e5780633abe82ee146104445780633c952764146104645780633ccfd60b1461048457806342842e0e14610499578063438b6300146104b957600080fd5b806313faede61161025057806313faede61461038d57806316ba10e0146103a357806316c38b3c146103c357806318160ddd146103e3578063239c70ae146103f857806323b872dd1461040e57600080fd5b806301ffc9a71461029857806306fdde03146102cd578063081812fc146102ef578063088a4ed014610327578063095ea7b3146103495780630fe8418b14610369575b600080fd5b3480156102a457600080fd5b506102b86102b3366004611bba565b610884565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e26108d6565b6040516102c49190611c2f565b3480156102fb57600080fd5b5061030f61030a366004611c42565b610968565b6040516001600160a01b0390911681526020016102c4565b34801561033357600080fd5b50610347610342366004611c42565b6109ac565b005b34801561035557600080fd5b50610347610364366004611c77565b6109b9565b34801561037557600080fd5b5061037f600e5481565b6040519081526020016102c4565b34801561039957600080fd5b5061037f600c5481565b3480156103af57600080fd5b506103476103be366004611d40565b610a59565b3480156103cf57600080fd5b506103476103de366004611d99565b610a71565b3480156103ef57600080fd5b5061037f610a8c565b34801561040457600080fd5b5061037f60105481565b34801561041a57600080fd5b50610347610429366004611db4565b610a9a565b34801561043a57600080fd5b5061037f60125481565b34801561045057600080fd5b5061034761045f366004611c42565b610c33565b34801561047057600080fd5b5061034761047f366004611d99565b610c40565b34801561049057600080fd5b50610347610c64565b3480156104a557600080fd5b506103476104b4366004611db4565b610ccf565b3480156104c557600080fd5b506104d96104d4366004611df0565b610cef565b6040516102c49190611e0b565b3480156104f257600080fd5b50610347610501366004611c42565b610dd9565b610347610514366004611e73565b610de6565b34801561052557600080fd5b50610347610534366004611d40565b611005565b34801561054557600080fd5b506011546102b890610100900460ff1681565b34801561056457600080fd5b506102e2611019565b34801561057957600080fd5b506011546102b89060ff1681565b34801561059357600080fd5b506102e26110a7565b3480156105a857600080fd5b5061030f6105b7366004611c42565b6110b4565b3480156105c857600080fd5b506103476105d7366004611c42565b6110bf565b3480156105e857600080fd5b5061037f6105f7366004611df0565b6110cc565b34801561060857600080fd5b5061034761111b565b34801561061d57600080fd5b5061034761062c366004611c42565b61112f565b34801561063d57600080fd5b5061034761064c366004611d40565b61113c565b34801561065d57600080fd5b506000546001600160a01b031661030f565b34801561067b57600080fd5b5061037f600f5481565b34801561069157600080fd5b506102e2611150565b3480156106a657600080fd5b506103476106b5366004611f15565b61115f565b3480156106c657600080fd5b506011546102b89062010000900460ff1681565b6103476106e8366004611c42565b61122e565b3480156106f957600080fd5b50610347610708366004611faa565b61133a565b34801561071957600080fd5b506102e26113cf565b34801561072e57600080fd5b5061037f61073d366004611df0565b60136020526000908152604090205481565b34801561075b57600080fd5b5061034761076a366004611c42565b6113dc565b34801561077b57600080fd5b5061034761078a366004611fdd565b6113e9565b34801561079b57600080fd5b5061037f6107aa366004611df0565b6001600160a01b031660009081526013602052604090205490565b3480156107d157600080fd5b506102e26107e0366004611c42565b61142d565b3480156107f157600080fd5b5061037f600d5481565b34801561080757600080fd5b50610347610816366004611d99565b6115ae565b34801561082757600080fd5b506102b8610836366004612059565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561087057600080fd5b5061034761087f366004611df0565b6115d0565b60006301ffc9a760e01b6001600160e01b0319831614806108b557506380ac58cd60e01b6001600160e01b03198316145b806108d05750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546108e590612083565b80601f016020809104026020016040519081016040528092919081815260200182805461091190612083565b801561095e5780601f106109335761010080835404028352916020019161095e565b820191906000526020600020905b81548152906001019060200180831161094157829003601f168201915b5050505050905090565b600061097382611646565b610990576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6109b461167b565b601055565b60006109c4826110b4565b9050336001600160a01b038216146109fd576109e08133610836565b6109fd576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a6161167b565b600a610a6d8282612103565b5050565b610a7961167b565b6011805460ff1916911515919091179055565b600254600154036000190190565b6000610aa5826116d5565b9050836001600160a01b0316816001600160a01b031614610ad85760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610b2557610b088633610836565b610b2557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610b4c57604051633a954ecd60e21b815260040160405180910390fd5b8015610b5757600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610be957600184016000818152600560205260408120549003610be7576001548114610be75760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610c3b61167b565b600e55565b610c4861167b565b60118054911515620100000262ff000019909216919091179055565b610c6c61167b565b600080546040516001600160a01b039091169047908381818185875af1925050503d8060008114610cb9576040519150601f19603f3d011682016040523d82523d6000602084013e610cbe565b606091505b5050905080610ccc57600080fd5b50565b610cea838383604051806020016040528060008152506113e9565b505050565b60606000610cfc836110cc565b905060008167ffffffffffffffff811115610d1957610d19611ca1565b604051908082528060200260200182016040528015610d42578160200160208202803683370190505b509050600160005b8381108015610d5b5750600d548211155b15610dcf576000610d6b836110b4565b9050866001600160a01b0316816001600160a01b031603610dbc57610d918360016121d9565b848381518110610da357610da36121f1565b602090810291909101015281610db881612207565b9250505b82610dc681612207565b93505050610d4a565b5090949350505050565b610de161167b565b600c55565b81600d5481610df3610a8c565b610dfd91906121d9565b1115610e245760405162461bcd60e51b8152600401610e1b90612220565b60405180910390fd5b600081118015610e365750600f548111155b610e525760405162461bcd60e51b8152600401610e1b9061224e565b60115460ff1615610e755760405162461bcd60e51b8152600401610e1b9061227c565b60115462010000900460ff16610e9d5760405162461bcd60e51b8152600401610e1b906122b3565b600e5483610ea9610a8c565b610eb391906121d9565b1115610ed15760405162461bcd60e51b8152600401610e1b906122b3565b33600090815260136020526040902054610eec9084906121d9565b6010541015610f3d5760405162461bcd60e51b815260206004820152601f60248201527f6e6f7420656c696769626c6520666f7220616c6c6f776c697374206d696e74006044820152606401610e1b565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610f838360125483611744565b610fc75760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b21026b2b935b63290283937b7b31760591b6044820152606401610e1b565b33600090815260136020526040902054610fe29085906121d9565b33600081815260136020526040902091909155610fff908561175a565b50505050565b61100d61167b565b600b610a6d8282612103565b600a805461102690612083565b80601f016020809104026020016040519081016040528092919081815260200182805461105290612083565b801561109f5780601f106110745761010080835404028352916020019161109f565b820191906000526020600020905b81548152906001019060200180831161108257829003601f168201915b505050505081565b6009805461102690612083565b60006108d0826116d5565b6110c761167b565b600d55565b60006001600160a01b0382166110f5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b61112361167b565b61112d6000611774565b565b61113761167b565b601255565b61114461167b565b6009610a6d8282612103565b6060600480546108e590612083565b81600d548161116c610a8c565b61117691906121d9565b11156111945760405162461bcd60e51b8152600401610e1b90612220565b6000811180156111a65750600f548111155b6111c25760405162461bcd60e51b8152600401610e1b9061224e565b60115460ff16156111e55760405162461bcd60e51b8152600401610e1b9061227c565b6111ed61167b565b60005b8251811015610fff5761121c83828151811061120e5761120e6121f1565b60200260200101518561175a565b8061122681612207565b9150506111f0565b80600d548161123b610a8c565b61124591906121d9565b11156112635760405162461bcd60e51b8152600401610e1b90612220565b6000811180156112755750600f548111155b6112915760405162461bcd60e51b8152600401610e1b9061224e565b60115460ff16156112b45760405162461bcd60e51b8152600401610e1b9061227c565b81600c546112c291906122df565b3410156113075760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610e1b565b60115462010000900460ff16156113305760405162461bcd60e51b8152600401610e1b906122b3565b610a6d338361175a565b336001600160a01b038316036113635760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b805461102690612083565b6113e461167b565b600f55565b6113f4848484610a9a565b6001600160a01b0383163b15610fff57611410848484846117c4565b610fff576040516368d2bf6b60e11b815260040160405180910390fd5b606061143882611646565b61149c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610e1b565b601154610100900460ff16151560000361154257600b80546114bd90612083565b80601f01602080910402602001604051908101604052809291908181526020018280546114e990612083565b80156115365780601f1061150b57610100808354040283529160200191611536565b820191906000526020600020905b81548152906001019060200180831161151957829003601f168201915b50505050509050919050565b600061154c6118b0565b90506115598360016121d9565b9250600081511161157957604051806020016040528060008152506115a7565b80611583846118bf565b600a604051602001611597939291906122fe565b6040516020818303038152906040525b9392505050565b6115b661167b565b601180549115156101000261ff0019909216919091179055565b6115d861167b565b6001600160a01b03811661163d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e1b565b610ccc81611774565b60008160011115801561165a575060015482105b80156108d0575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b0316331461112d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e1b565b6000818060011161172b5760015481101561172b5760008181526005602052604081205490600160e01b82169003611729575b806000036115a7575060001901600081815260056020526040902054611708565b505b604051636f96cda160e11b815260040160405180910390fd5b60008261175185846119c0565b14949350505050565b610a6d828260405180602001604052806000815250611a0d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906117f990339089908890889060040161239e565b6020604051808303816000875af1925050508015611834575060408051601f3d908101601f19168201909252611831918101906123db565b60015b611892573d808015611862576040519150601f19603f3d011682016040523d82523d6000602084013e611867565b606091505b50805160000361188a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546108e590612083565b6060816000036118e65750506040805180820190915260018152600360fc1b602082015290565b8160005b811561191057806118fa81612207565b91506119099050600a8361240e565b91506118ea565b60008167ffffffffffffffff81111561192b5761192b611ca1565b6040519080825280601f01601f191660200182016040528015611955576020820181803683370190505b5090505b84156118a85761196a600183612422565b9150611977600a86612439565b6119829060306121d9565b60f81b818381518110611997576119976121f1565b60200101906001600160f81b031916908160001a9053506119b9600a8661240e565b9450611959565b600081815b8451811015611a05576119f1828683815181106119e4576119e46121f1565b6020026020010151611a7a565b9150806119fd81612207565b9150506119c5565b509392505050565b611a178383611aa6565b6001600160a01b0383163b15610cea576001548281035b611a4160008683806001019450866117c4565b611a5e576040516368d2bf6b60e11b815260040160405180910390fd5b818110611a2e578160015414611a7357600080fd5b5050505050565b6000818310611a965760008281526020849052604090206115a7565b5060009182526020526040902090565b6001546000829003611acb5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611b7a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611b42565b5081600003611b9b57604051622e076360e81b815260040160405180910390fd5b60015550505050565b6001600160e01b031981168114610ccc57600080fd5b600060208284031215611bcc57600080fd5b81356115a781611ba4565b60005b83811015611bf2578181015183820152602001611bda565b83811115610fff5750506000910152565b60008151808452611c1b816020860160208601611bd7565b601f01601f19169290920160200192915050565b6020815260006115a76020830184611c03565b600060208284031215611c5457600080fd5b5035919050565b80356001600160a01b0381168114611c7257600080fd5b919050565b60008060408385031215611c8a57600080fd5b611c9383611c5b565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611ce057611ce0611ca1565b604052919050565b600067ffffffffffffffff831115611d0257611d02611ca1565b611d15601f8401601f1916602001611cb7565b9050828152838383011115611d2957600080fd5b828260208301376000602084830101529392505050565b600060208284031215611d5257600080fd5b813567ffffffffffffffff811115611d6957600080fd5b8201601f81018413611d7a57600080fd5b6118a884823560208401611ce8565b80358015158114611c7257600080fd5b600060208284031215611dab57600080fd5b6115a782611d89565b600080600060608486031215611dc957600080fd5b611dd284611c5b565b9250611de060208501611c5b565b9150604084013590509250925092565b600060208284031215611e0257600080fd5b6115a782611c5b565b6020808252825182820181905260009190848201906040850190845b81811015611e4357835183529284019291840191600101611e27565b50909695505050505050565b600067ffffffffffffffff821115611e6957611e69611ca1565b5060051b60200190565b60008060408385031215611e8657600080fd5b8235915060208084013567ffffffffffffffff811115611ea557600080fd5b8401601f81018613611eb657600080fd5b8035611ec9611ec482611e4f565b611cb7565b81815260059190911b82018301908381019088831115611ee857600080fd5b928401925b82841015611f0657833582529284019290840190611eed565b80955050505050509250929050565b60008060408385031215611f2857600080fd5b8235915060208084013567ffffffffffffffff811115611f4757600080fd5b8401601f81018613611f5857600080fd5b8035611f66611ec482611e4f565b81815260059190911b82018301908381019088831115611f8557600080fd5b928401925b82841015611f0657611f9b84611c5b565b82529284019290840190611f8a565b60008060408385031215611fbd57600080fd5b611fc683611c5b565b9150611fd460208401611d89565b90509250929050565b60008060008060808587031215611ff357600080fd5b611ffc85611c5b565b935061200a60208601611c5b565b925060408501359150606085013567ffffffffffffffff81111561202d57600080fd5b8501601f8101871361203e57600080fd5b61204d87823560208401611ce8565b91505092959194509250565b6000806040838503121561206c57600080fd5b61207583611c5b565b9150611fd460208401611c5b565b600181811c9082168061209757607f821691505b6020821081036120b757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610cea57600081815260208120601f850160051c810160208610156120e45750805b601f850160051c820191505b81811015610c2b578281556001016120f0565b815167ffffffffffffffff81111561211d5761211d611ca1565b6121318161212b8454612083565b846120bd565b602080601f831160018114612166576000841561214e5750858301515b600019600386901b1c1916600185901b178555610c2b565b600085815260208120601f198616915b8281101561219557888601518255948401946001909101908401612176565b50858210156121b35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600082198211156121ec576121ec6121c3565b500190565b634e487b7160e01b600052603260045260246000fd5b600060018201612219576122196121c3565b5060010190565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b602080825260149082015273496e76616c6964206d696e7420616d6f756e742160601b604082015260600190565b60208082526017908201527f54686520636f6e74726163742069732070617573656421000000000000000000604082015260600190565b6020808252601290820152715468652070726573616c6520656e6465642160701b604082015260600190565b60008160001904831182151516156122f9576122f96121c3565b500290565b6000845160206123118285838a01611bd7565b8551918401916123248184848a01611bd7565b855492019160009061233581612083565b6001828116801561234d57600181146123625761238e565b60ff198416875282151583028701945061238e565b896000528560002060005b848110156123865781548982015290830190870161236d565b505082870194505b50929a9950505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123d190830184611c03565b9695505050505050565b6000602082840312156123ed57600080fd5b81516115a781611ba4565b634e487b7160e01b600052601260045260246000fd5b60008261241d5761241d6123f8565b500490565b600082821015612434576124346121c3565b500390565b600082612448576124486123f8565b50069056fea264697066735822122027d73c666009d19389ef55f5eb5cded39a3fd77cbdad77d2a4a4bc037027b11964736f6c634300080f0033697066733a2f2f516d626f44437a51545852523432734e346f6631564b6b4653534a447552685658554d656a4265334a4e59424c762f

Deployed Bytecode

0x6080604052600436106102935760003560e01c806362b99ad41161015a578063a0712d68116100c1578063babcc5391161007a578063babcc5391461078f578063c87b56dd146107c5578063d5abeb01146107e5578063e0a80853146107fb578063e985e9c51461081b578063f2fde38b1461086457600080fd5b8063a0712d68146106da578063a22cb465146106ed578063a45ba8e71461070d578063a7cd52cb14610722578063b071401b1461074f578063b88d4fde1461076f57600080fd5b80637ec4a659116101135780637ec4a659146106315780638da5cb5b1461065157806394354fd01461066f57806395d89b4114610685578063962e0f5a1461069a5780639c70b512146106ba57600080fd5b806362b99ad4146105875780636352211e1461059c5780636f8b44b0146105bc57806370a08231146105dc578063715018a6146105fc5780637cb647591461061157600080fd5b80632eb4a7ab116101fe57806344a0d68a116101b757806344a0d68a146104e65780634d10b546146105065780634fdd43cb1461051957806351830227146105395780635503a0e8146105585780635c975abb1461056d57600080fd5b80632eb4a7ab1461042e5780633abe82ee146104445780633c952764146104645780633ccfd60b1461048457806342842e0e14610499578063438b6300146104b957600080fd5b806313faede61161025057806313faede61461038d57806316ba10e0146103a357806316c38b3c146103c357806318160ddd146103e3578063239c70ae146103f857806323b872dd1461040e57600080fd5b806301ffc9a71461029857806306fdde03146102cd578063081812fc146102ef578063088a4ed014610327578063095ea7b3146103495780630fe8418b14610369575b600080fd5b3480156102a457600080fd5b506102b86102b3366004611bba565b610884565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e26108d6565b6040516102c49190611c2f565b3480156102fb57600080fd5b5061030f61030a366004611c42565b610968565b6040516001600160a01b0390911681526020016102c4565b34801561033357600080fd5b50610347610342366004611c42565b6109ac565b005b34801561035557600080fd5b50610347610364366004611c77565b6109b9565b34801561037557600080fd5b5061037f600e5481565b6040519081526020016102c4565b34801561039957600080fd5b5061037f600c5481565b3480156103af57600080fd5b506103476103be366004611d40565b610a59565b3480156103cf57600080fd5b506103476103de366004611d99565b610a71565b3480156103ef57600080fd5b5061037f610a8c565b34801561040457600080fd5b5061037f60105481565b34801561041a57600080fd5b50610347610429366004611db4565b610a9a565b34801561043a57600080fd5b5061037f60125481565b34801561045057600080fd5b5061034761045f366004611c42565b610c33565b34801561047057600080fd5b5061034761047f366004611d99565b610c40565b34801561049057600080fd5b50610347610c64565b3480156104a557600080fd5b506103476104b4366004611db4565b610ccf565b3480156104c557600080fd5b506104d96104d4366004611df0565b610cef565b6040516102c49190611e0b565b3480156104f257600080fd5b50610347610501366004611c42565b610dd9565b610347610514366004611e73565b610de6565b34801561052557600080fd5b50610347610534366004611d40565b611005565b34801561054557600080fd5b506011546102b890610100900460ff1681565b34801561056457600080fd5b506102e2611019565b34801561057957600080fd5b506011546102b89060ff1681565b34801561059357600080fd5b506102e26110a7565b3480156105a857600080fd5b5061030f6105b7366004611c42565b6110b4565b3480156105c857600080fd5b506103476105d7366004611c42565b6110bf565b3480156105e857600080fd5b5061037f6105f7366004611df0565b6110cc565b34801561060857600080fd5b5061034761111b565b34801561061d57600080fd5b5061034761062c366004611c42565b61112f565b34801561063d57600080fd5b5061034761064c366004611d40565b61113c565b34801561065d57600080fd5b506000546001600160a01b031661030f565b34801561067b57600080fd5b5061037f600f5481565b34801561069157600080fd5b506102e2611150565b3480156106a657600080fd5b506103476106b5366004611f15565b61115f565b3480156106c657600080fd5b506011546102b89062010000900460ff1681565b6103476106e8366004611c42565b61122e565b3480156106f957600080fd5b50610347610708366004611faa565b61133a565b34801561071957600080fd5b506102e26113cf565b34801561072e57600080fd5b5061037f61073d366004611df0565b60136020526000908152604090205481565b34801561075b57600080fd5b5061034761076a366004611c42565b6113dc565b34801561077b57600080fd5b5061034761078a366004611fdd565b6113e9565b34801561079b57600080fd5b5061037f6107aa366004611df0565b6001600160a01b031660009081526013602052604090205490565b3480156107d157600080fd5b506102e26107e0366004611c42565b61142d565b3480156107f157600080fd5b5061037f600d5481565b34801561080757600080fd5b50610347610816366004611d99565b6115ae565b34801561082757600080fd5b506102b8610836366004612059565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561087057600080fd5b5061034761087f366004611df0565b6115d0565b60006301ffc9a760e01b6001600160e01b0319831614806108b557506380ac58cd60e01b6001600160e01b03198316145b806108d05750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546108e590612083565b80601f016020809104026020016040519081016040528092919081815260200182805461091190612083565b801561095e5780601f106109335761010080835404028352916020019161095e565b820191906000526020600020905b81548152906001019060200180831161094157829003601f168201915b5050505050905090565b600061097382611646565b610990576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6109b461167b565b601055565b60006109c4826110b4565b9050336001600160a01b038216146109fd576109e08133610836565b6109fd576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a6161167b565b600a610a6d8282612103565b5050565b610a7961167b565b6011805460ff1916911515919091179055565b600254600154036000190190565b6000610aa5826116d5565b9050836001600160a01b0316816001600160a01b031614610ad85760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610b2557610b088633610836565b610b2557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610b4c57604051633a954ecd60e21b815260040160405180910390fd5b8015610b5757600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610be957600184016000818152600560205260408120549003610be7576001548114610be75760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610c3b61167b565b600e55565b610c4861167b565b60118054911515620100000262ff000019909216919091179055565b610c6c61167b565b600080546040516001600160a01b039091169047908381818185875af1925050503d8060008114610cb9576040519150601f19603f3d011682016040523d82523d6000602084013e610cbe565b606091505b5050905080610ccc57600080fd5b50565b610cea838383604051806020016040528060008152506113e9565b505050565b60606000610cfc836110cc565b905060008167ffffffffffffffff811115610d1957610d19611ca1565b604051908082528060200260200182016040528015610d42578160200160208202803683370190505b509050600160005b8381108015610d5b5750600d548211155b15610dcf576000610d6b836110b4565b9050866001600160a01b0316816001600160a01b031603610dbc57610d918360016121d9565b848381518110610da357610da36121f1565b602090810291909101015281610db881612207565b9250505b82610dc681612207565b93505050610d4a565b5090949350505050565b610de161167b565b600c55565b81600d5481610df3610a8c565b610dfd91906121d9565b1115610e245760405162461bcd60e51b8152600401610e1b90612220565b60405180910390fd5b600081118015610e365750600f548111155b610e525760405162461bcd60e51b8152600401610e1b9061224e565b60115460ff1615610e755760405162461bcd60e51b8152600401610e1b9061227c565b60115462010000900460ff16610e9d5760405162461bcd60e51b8152600401610e1b906122b3565b600e5483610ea9610a8c565b610eb391906121d9565b1115610ed15760405162461bcd60e51b8152600401610e1b906122b3565b33600090815260136020526040902054610eec9084906121d9565b6010541015610f3d5760405162461bcd60e51b815260206004820152601f60248201527f6e6f7420656c696769626c6520666f7220616c6c6f776c697374206d696e74006044820152606401610e1b565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610f838360125483611744565b610fc75760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b21026b2b935b63290283937b7b31760591b6044820152606401610e1b565b33600090815260136020526040902054610fe29085906121d9565b33600081815260136020526040902091909155610fff908561175a565b50505050565b61100d61167b565b600b610a6d8282612103565b600a805461102690612083565b80601f016020809104026020016040519081016040528092919081815260200182805461105290612083565b801561109f5780601f106110745761010080835404028352916020019161109f565b820191906000526020600020905b81548152906001019060200180831161108257829003601f168201915b505050505081565b6009805461102690612083565b60006108d0826116d5565b6110c761167b565b600d55565b60006001600160a01b0382166110f5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b61112361167b565b61112d6000611774565b565b61113761167b565b601255565b61114461167b565b6009610a6d8282612103565b6060600480546108e590612083565b81600d548161116c610a8c565b61117691906121d9565b11156111945760405162461bcd60e51b8152600401610e1b90612220565b6000811180156111a65750600f548111155b6111c25760405162461bcd60e51b8152600401610e1b9061224e565b60115460ff16156111e55760405162461bcd60e51b8152600401610e1b9061227c565b6111ed61167b565b60005b8251811015610fff5761121c83828151811061120e5761120e6121f1565b60200260200101518561175a565b8061122681612207565b9150506111f0565b80600d548161123b610a8c565b61124591906121d9565b11156112635760405162461bcd60e51b8152600401610e1b90612220565b6000811180156112755750600f548111155b6112915760405162461bcd60e51b8152600401610e1b9061224e565b60115460ff16156112b45760405162461bcd60e51b8152600401610e1b9061227c565b81600c546112c291906122df565b3410156113075760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610e1b565b60115462010000900460ff16156113305760405162461bcd60e51b8152600401610e1b906122b3565b610a6d338361175a565b336001600160a01b038316036113635760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b805461102690612083565b6113e461167b565b600f55565b6113f4848484610a9a565b6001600160a01b0383163b15610fff57611410848484846117c4565b610fff576040516368d2bf6b60e11b815260040160405180910390fd5b606061143882611646565b61149c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610e1b565b601154610100900460ff16151560000361154257600b80546114bd90612083565b80601f01602080910402602001604051908101604052809291908181526020018280546114e990612083565b80156115365780601f1061150b57610100808354040283529160200191611536565b820191906000526020600020905b81548152906001019060200180831161151957829003601f168201915b50505050509050919050565b600061154c6118b0565b90506115598360016121d9565b9250600081511161157957604051806020016040528060008152506115a7565b80611583846118bf565b600a604051602001611597939291906122fe565b6040516020818303038152906040525b9392505050565b6115b661167b565b601180549115156101000261ff0019909216919091179055565b6115d861167b565b6001600160a01b03811661163d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e1b565b610ccc81611774565b60008160011115801561165a575060015482105b80156108d0575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b0316331461112d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e1b565b6000818060011161172b5760015481101561172b5760008181526005602052604081205490600160e01b82169003611729575b806000036115a7575060001901600081815260056020526040902054611708565b505b604051636f96cda160e11b815260040160405180910390fd5b60008261175185846119c0565b14949350505050565b610a6d828260405180602001604052806000815250611a0d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906117f990339089908890889060040161239e565b6020604051808303816000875af1925050508015611834575060408051601f3d908101601f19168201909252611831918101906123db565b60015b611892573d808015611862576040519150601f19603f3d011682016040523d82523d6000602084013e611867565b606091505b50805160000361188a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546108e590612083565b6060816000036118e65750506040805180820190915260018152600360fc1b602082015290565b8160005b811561191057806118fa81612207565b91506119099050600a8361240e565b91506118ea565b60008167ffffffffffffffff81111561192b5761192b611ca1565b6040519080825280601f01601f191660200182016040528015611955576020820181803683370190505b5090505b84156118a85761196a600183612422565b9150611977600a86612439565b6119829060306121d9565b60f81b818381518110611997576119976121f1565b60200101906001600160f81b031916908160001a9053506119b9600a8661240e565b9450611959565b600081815b8451811015611a05576119f1828683815181106119e4576119e46121f1565b6020026020010151611a7a565b9150806119fd81612207565b9150506119c5565b509392505050565b611a178383611aa6565b6001600160a01b0383163b15610cea576001548281035b611a4160008683806001019450866117c4565b611a5e576040516368d2bf6b60e11b815260040160405180910390fd5b818110611a2e578160015414611a7357600080fd5b5050505050565b6000818310611a965760008281526020849052604090206115a7565b5060009182526020526040902090565b6001546000829003611acb5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611b7a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611b42565b5081600003611b9b57604051622e076360e81b815260040160405180910390fd5b60015550505050565b6001600160e01b031981168114610ccc57600080fd5b600060208284031215611bcc57600080fd5b81356115a781611ba4565b60005b83811015611bf2578181015183820152602001611bda565b83811115610fff5750506000910152565b60008151808452611c1b816020860160208601611bd7565b601f01601f19169290920160200192915050565b6020815260006115a76020830184611c03565b600060208284031215611c5457600080fd5b5035919050565b80356001600160a01b0381168114611c7257600080fd5b919050565b60008060408385031215611c8a57600080fd5b611c9383611c5b565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611ce057611ce0611ca1565b604052919050565b600067ffffffffffffffff831115611d0257611d02611ca1565b611d15601f8401601f1916602001611cb7565b9050828152838383011115611d2957600080fd5b828260208301376000602084830101529392505050565b600060208284031215611d5257600080fd5b813567ffffffffffffffff811115611d6957600080fd5b8201601f81018413611d7a57600080fd5b6118a884823560208401611ce8565b80358015158114611c7257600080fd5b600060208284031215611dab57600080fd5b6115a782611d89565b600080600060608486031215611dc957600080fd5b611dd284611c5b565b9250611de060208501611c5b565b9150604084013590509250925092565b600060208284031215611e0257600080fd5b6115a782611c5b565b6020808252825182820181905260009190848201906040850190845b81811015611e4357835183529284019291840191600101611e27565b50909695505050505050565b600067ffffffffffffffff821115611e6957611e69611ca1565b5060051b60200190565b60008060408385031215611e8657600080fd5b8235915060208084013567ffffffffffffffff811115611ea557600080fd5b8401601f81018613611eb657600080fd5b8035611ec9611ec482611e4f565b611cb7565b81815260059190911b82018301908381019088831115611ee857600080fd5b928401925b82841015611f0657833582529284019290840190611eed565b80955050505050509250929050565b60008060408385031215611f2857600080fd5b8235915060208084013567ffffffffffffffff811115611f4757600080fd5b8401601f81018613611f5857600080fd5b8035611f66611ec482611e4f565b81815260059190911b82018301908381019088831115611f8557600080fd5b928401925b82841015611f0657611f9b84611c5b565b82529284019290840190611f8a565b60008060408385031215611fbd57600080fd5b611fc683611c5b565b9150611fd460208401611d89565b90509250929050565b60008060008060808587031215611ff357600080fd5b611ffc85611c5b565b935061200a60208601611c5b565b925060408501359150606085013567ffffffffffffffff81111561202d57600080fd5b8501601f8101871361203e57600080fd5b61204d87823560208401611ce8565b91505092959194509250565b6000806040838503121561206c57600080fd5b61207583611c5b565b9150611fd460208401611c5b565b600181811c9082168061209757607f821691505b6020821081036120b757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610cea57600081815260208120601f850160051c810160208610156120e45750805b601f850160051c820191505b81811015610c2b578281556001016120f0565b815167ffffffffffffffff81111561211d5761211d611ca1565b6121318161212b8454612083565b846120bd565b602080601f831160018114612166576000841561214e5750858301515b600019600386901b1c1916600185901b178555610c2b565b600085815260208120601f198616915b8281101561219557888601518255948401946001909101908401612176565b50858210156121b35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600082198211156121ec576121ec6121c3565b500190565b634e487b7160e01b600052603260045260246000fd5b600060018201612219576122196121c3565b5060010190565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b602080825260149082015273496e76616c6964206d696e7420616d6f756e742160601b604082015260600190565b60208082526017908201527f54686520636f6e74726163742069732070617573656421000000000000000000604082015260600190565b6020808252601290820152715468652070726573616c6520656e6465642160701b604082015260600190565b60008160001904831182151516156122f9576122f96121c3565b500290565b6000845160206123118285838a01611bd7565b8551918401916123248184848a01611bd7565b855492019160009061233581612083565b6001828116801561234d57600181146123625761238e565b60ff198416875282151583028701945061238e565b896000528560002060005b848110156123865781548982015290830190870161236d565b505082870194505b50929a9950505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123d190830184611c03565b9695505050505050565b6000602082840312156123ed57600080fd5b81516115a781611ba4565b634e487b7160e01b600052601260045260246000fd5b60008261241d5761241d6123f8565b500490565b600082821015612434576124346121c3565b500390565b600082612448576124486123f8565b50069056fea264697066735822122027d73c666009d19389ef55f5eb5cded39a3fd77cbdad77d2a4a4bc037027b11964736f6c634300080f0033

Deployed Bytecode Sourcemap

68896:5022:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36009:639;;;;;;;;;;-1:-1:-1;36009:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;36009:639:0;;;;;;;;36911:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43394:218::-;;;;;;;;;;-1:-1:-1;43394:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;43394:218:0;1528:203:1;72923:110:0;;;;;;;;;;-1:-1:-1;72923:110:0;;;;;:::i;:::-;;:::i;:::-;;42835:400;;;;;;;;;;-1:-1:-1;42835:400:0;;;;;:::i;:::-;;:::i;69157:30::-;;;;;;;;;;;;;;;;;;;2319:25:1;;;2307:2;2292:18;69157:30:0;2173:177:1;69083:33:0;;;;;;;;;;;;;;;;73283:100;;;;;;;;;;-1:-1:-1;73283:100:0;;;;;:::i;:::-;;:::i;73585:77::-;;;;;;;;;;-1:-1:-1;73585:77:0;;;;;:::i;:::-;;:::i;32662:323::-;;;;;;;;;;;;;:::i;69235:32::-;;;;;;;;;;;;;;;;47101:2817;;;;;;;;;;-1:-1:-1;47101:2817:0;;;;;:::i;:::-;;:::i;69378:25::-;;;;;;;;;;;;;;;;73489:90;;;;;;;;;;-1:-1:-1;73489:90:0;;;;;:::i;:::-;;:::i;72415:95::-;;;;;;;;;;-1:-1:-1;72415:95:0;;;;;:::i;:::-;;:::i;73668:137::-;;;;;;;;;;;;;:::i;50014:185::-;;;;;;;;;;-1:-1:-1;50014:185:0;;;;;:::i;:::-;;:::i;71143:637::-;;;;;;;;;;-1:-1:-1;71143:637:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;72707:74::-;;;;;;;;;;-1:-1:-1;72707:74:0;;;;;:::i;:::-;;:::i;70143:641::-;;;;;;:::i;:::-;;:::i;73039:132::-;;;;;;;;;;-1:-1:-1;73039:132:0;;;;;:::i;:::-;;:::i;69304:28::-;;;;;;;;;;-1:-1:-1;69304:28:0;;;;;;;;;;;69005:33;;;;;;;;;;;;;:::i;69274:25::-;;;;;;;;;;-1:-1:-1;69274:25:0;;;;;;;;68972:28;;;;;;;;;;;;;:::i;38304:152::-;;;;;;;;;;-1:-1:-1;38304:152:0;;;;;:::i;:::-;;:::i;73389:94::-;;;;;;;;;;-1:-1:-1;73389:94:0;;;;;:::i;:::-;;:::i;33846:233::-;;;;;;;;;;-1:-1:-1;33846:233:0;;;;;:::i;:::-;;:::i;14260:103::-;;;;;;;;;;;;;:::i;72603:98::-;;;;;;;;;;-1:-1:-1;72603:98:0;;;;;:::i;:::-;;:::i;73177:100::-;;;;;;;;;;-1:-1:-1;73177:100:0;;;;;:::i;:::-;;:::i;13612:87::-;;;;;;;;;;-1:-1:-1;13658:7:0;13685:6;-1:-1:-1;;;;;13685:6:0;13612:87;;69192:38;;;;;;;;;;;;;;;;37087:104;;;;;;;;;;;;;:::i;70792:230::-;;;;;;;;;;-1:-1:-1;70792:230:0;;;;;:::i;:::-;;:::i;69337:34::-;;;;;;;;;;-1:-1:-1;69337:34:0;;;;;;;;;;;69886:251;;;;;;:::i;:::-;;:::i;43952:308::-;;;;;;;;;;-1:-1:-1;43952:308:0;;;;;:::i;:::-;;:::i;69043:31::-;;;;;;;;;;;;;:::i;69410:44::-;;;;;;;;;;-1:-1:-1;69410:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;72787:130;;;;;;;;;;-1:-1:-1;72787:130:0;;;;;:::i;:::-;;:::i;50797:399::-;;;;;;;;;;-1:-1:-1;50797:399:0;;;;;:::i;:::-;;:::i;71028:109::-;;;;;;;;;;-1:-1:-1;71028:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;71112:19:0;71086:7;71112:19;;;:9;:19;;;;;;;71028:109;71786:522;;;;;;;;;;-1:-1:-1;71786:522:0;;;;;:::i;:::-;;:::i;69121:31::-;;;;;;;;;;;;;;;;72516:81;;;;;;;;;;-1:-1:-1;72516:81:0;;;;;:::i;:::-;;:::i;44417:164::-;;;;;;;;;;-1:-1:-1;44417:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;44538:25:0;;;44514:4;44538:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44417:164;14518:201;;;;;;;;;;-1:-1:-1;14518:201:0;;;;;:::i;:::-;;:::i;36009:639::-;36094:4;-1:-1:-1;;;;;;;;;36418:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;36495:25:0;;;36418:102;:179;;;-1:-1:-1;;;;;;;;;;36572:25:0;;;36418:179;36398:199;36009:639;-1:-1:-1;;36009:639:0:o;36911:100::-;36965:13;36998:5;36991:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36911:100;:::o;43394:218::-;43470:7;43495:16;43503:7;43495;:16::i;:::-;43490:64;;43520:34;;-1:-1:-1;;;43520:34:0;;;;;;;;;;;43490:64;-1:-1:-1;43574:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;43574:30:0;;43394:218::o;72923:110::-;13498:13;:11;:13::i;:::-;72997::::1;:30:::0;72923:110::o;42835:400::-;42916:13;42932:16;42940:7;42932;:16::i;:::-;42916:32;-1:-1:-1;66692:10:0;-1:-1:-1;;;;;42965:28:0;;;42961:175;;43013:44;43030:5;66692:10;44417:164;:::i;43013:44::-;43008:128;;43085:35;;-1:-1:-1;;;43085:35:0;;;;;;;;;;;43008:128;43148:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;43148:35:0;-1:-1:-1;;;;;43148:35:0;;;;;;;;;43199:28;;43148:24;;43199:28;;;;;;;42905:330;42835:400;;:::o;73283:100::-;13498:13;:11;:13::i;:::-;73355:9:::1;:22;73367:10:::0;73355:9;:22:::1;:::i;:::-;;73283:100:::0;:::o;73585:77::-;13498:13;:11;:13::i;:::-;73641:6:::1;:15:::0;;-1:-1:-1;;73641:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;73585:77::o;32662:323::-;32936:12;;72402:1;32920:13;:28;-1:-1:-1;;32920:46:0;;32662:323::o;47101:2817::-;47235:27;47265;47284:7;47265:18;:27::i;:::-;47235:57;;47350:4;-1:-1:-1;;;;;47309:45:0;47325:19;-1:-1:-1;;;;;47309:45:0;;47305:86;;47363:28;;-1:-1:-1;;;47363:28:0;;;;;;;;;;;47305:86;47405:27;46215:24;;;:15;:24;;;;;46437:26;;66692:10;45840:30;;;-1:-1:-1;;;;;45533:28:0;;45818:20;;;45815:56;47591:180;;47684:43;47701:4;66692:10;44417:164;:::i;47684:43::-;47679:92;;47736:35;;-1:-1:-1;;;47736:35:0;;;;;;;;;;;47679:92;-1:-1:-1;;;;;47788:16:0;;47784:52;;47813:23;;-1:-1:-1;;;47813:23:0;;;;;;;;;;;47784:52;47985:15;47982:160;;;48125:1;48104:19;48097:30;47982:160;-1:-1:-1;;;;;48522:24:0;;;;;;;:18;:24;;;;;;48520:26;;-1:-1:-1;;48520:26:0;;;48591:22;;;;;;;;;48589:24;;-1:-1:-1;48589:24:0;;;41693:11;41668:23;41664:41;41651:63;-1:-1:-1;;;41651:63:0;48884:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;49179:47:0;;:52;;49175:627;;49284:1;49274:11;;49252:19;49407:30;;;:17;:30;;;;;;:35;;49403:384;;49545:13;;49530:11;:28;49526:242;;49692:30;;;;:17;:30;;;;;:52;;;49526:242;49233:569;49175:627;49849:7;49845:2;-1:-1:-1;;;;;49830:27:0;49839:4;-1:-1:-1;;;;;49830:27:0;;;;;;;;;;;49868:42;47224:2694;;;47101:2817;;;:::o;73489:90::-;13498:13;:11;:13::i;:::-;73553:8:::1;:20:::0;73489:90::o;72415:95::-;13498:13;:11;:13::i;:::-;72480:15:::1;:24:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;72480:24:0;;::::1;::::0;;;::::1;::::0;;72415:95::o;73668:137::-;13498:13;:11;:13::i;:::-;73713:7:::1;13685:6:::0;;73726:55:::1;::::0;-1:-1:-1;;;;;13685:6:0;;;;73755:21:::1;::::0;73713:7;73726:55;73713:7;73726:55;73755:21;13685:6;73726:55:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73712:69;;;73796:2;73788:11;;;::::0;::::1;;73705:100;73668:137::o:0;50014:185::-;50152:39;50169:4;50175:2;50179:7;50152:39;;;;;;;;;;;;:16;:39::i;:::-;50014:185;;;:::o;71143:637::-;71218:16;71246:23;71272:17;71282:6;71272:9;:17::i;:::-;71246:43;;71296:30;71343:15;71329:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71329:30:0;-1:-1:-1;71296:63:0;-1:-1:-1;71391:1:0;71366:22;71435:311;71460:15;71442;:33;:64;;;;;71497:9;;71479:14;:27;;71442:64;71435:311;;;71517:25;71545:23;71553:14;71545:7;:23::i;:::-;71517:51;;71604:6;-1:-1:-1;;;;;71583:27:0;:17;-1:-1:-1;;;;;71583:27:0;;71579:133;;71656:16;:14;71671:1;71656:16;:::i;:::-;71623:13;71637:15;71623:30;;;;;;;;:::i;:::-;;;;;;;;;;:49;71685:17;;;;:::i;:::-;;;;71579:133;71722:16;;;;:::i;:::-;;;;71508:238;71435:311;;;-1:-1:-1;71761:13:0;;71143:637;-1:-1:-1;;;;71143:637:0:o;72707:74::-;13498:13;:11;:13::i;:::-;72763:4:::1;:12:::0;72707:74::o;70143:641::-;70248:11;69690:9;;69675:11;69659:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;69651:73;;;;-1:-1:-1;;;69651:73:0;;;;;;;:::i;:::-;;;;;;;;;69753:1;69739:11;:15;:52;;;;;69773:18;;69758:11;:33;;69739:52;69731:85;;;;-1:-1:-1;;;69731:85:0;;;;;;;:::i;:::-;69832:6;;;;69831:7;69823:43;;;;-1:-1:-1;;;69823:43:0;;;;;;;:::i;:::-;70276:15:::1;::::0;;;::::1;;;70268:46;;;;-1:-1:-1::0;;;70268:46:0::1;;;;;;;:::i;:::-;70360:8;;70345:11;70329:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:39;;70321:70;;;;-1:-1:-1::0;;;70321:70:0::1;;;;;;;:::i;:::-;70433:10;70423:21;::::0;;;:9:::1;:21;::::0;;;;;:35:::1;::::0;70447:11;;70423:35:::1;:::i;:::-;70406:13;;:52;;70398:96;;;::::0;-1:-1:-1;;;70398:96:0;;13766:2:1;70398:96:0::1;::::0;::::1;13748:21:1::0;13805:2;13785:18;;;13778:30;13844:33;13824:18;;;13817:61;13895:18;;70398:96:0::1;13564:355:1::0;70398:96:0::1;70526:28;::::0;-1:-1:-1;;70543:10:0::1;14073:2:1::0;14069:15;14065:53;70526:28:0::1;::::0;::::1;14053:66:1::0;70501:12:0::1;::::0;14135::1;;70526:28:0::1;;;;;;;;;;;;70516:39;;;;;;70501:54;;70580:50;70599:12;70613:10;;70625:4;70580:18;:50::i;:::-;70562:109;;;::::0;-1:-1:-1;;;70562:109:0;;14360:2:1;70562:109:0::1;::::0;::::1;14342:21:1::0;14399:2;14379:18;;;14372:30;-1:-1:-1;;;14418:18:1;;;14411:51;14479:18;;70562:109:0::1;14158:345:1::0;70562:109:0::1;70712:10;70702:21;::::0;;;:9:::1;:21;::::0;;;;;:35:::1;::::0;70726:11;;70702:35:::1;:::i;:::-;70688:10;70678:21;::::0;;;:9:::1;:21;::::0;;;;:59;;;;70744:34:::1;::::0;70766:11;70744:9:::1;:34::i;:::-;70261:523;70143:641:::0;;;:::o;73039:132::-;13498:13;:11;:13::i;:::-;73127:17:::1;:38;73147:18:::0;73127:17;:38:::1;:::i;69005:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;68972:28::-;;;;;;;:::i;38304:152::-;38376:7;38419:27;38438:7;38419:18;:27::i;73389:94::-;13498:13;:11;:13::i;:::-;73455:9:::1;:22:::0;73389:94::o;33846:233::-;33918:7;-1:-1:-1;;;;;33942:19:0;;33938:60;;33970:28;;-1:-1:-1;;;33970:28:0;;;;;;;;;;;33938:60;-1:-1:-1;;;;;;34016:25:0;;;;;:18;:25;;;;;;28005:13;34016:55;;33846:233::o;14260:103::-;13498:13;:11;:13::i;:::-;14325:30:::1;14352:1;14325:18;:30::i;:::-;14260:103::o:0;72603:98::-;13498:13;:11;:13::i;:::-;72671:10:::1;:24:::0;72603:98::o;73177:100::-;13498:13;:11;:13::i;:::-;73249:9:::1;:22;73261:10:::0;73249:9;:22:::1;:::i;37087:104::-:0;37143:13;37176:7;37169:14;;;;;:::i;70792:230::-;70887:11;69690:9;;69675:11;69659:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;69651:73;;;;-1:-1:-1;;;69651:73:0;;;;;;;:::i;:::-;69753:1;69739:11;:15;:52;;;;;69773:18;;69758:11;:33;;69739:52;69731:85;;;;-1:-1:-1;;;69731:85:0;;;;;;;:::i;:::-;69832:6;;;;69831:7;69823:43;;;;-1:-1:-1;;;69823:43:0;;;;;;;:::i;:::-;13498:13:::1;:11;:13::i;:::-;70922:9:::2;70917:100;70941:9;:16;70937:1;:20;70917:100;;;70973:36;70983:9;70993:1;70983:12;;;;;;;;:::i;:::-;;;;;;;70997:11;70973:9;:36::i;:::-;70959:3:::0;::::2;::::0;::::2;:::i;:::-;;;;70917:100;;69886:251:::0;69951:11;69690:9;;69675:11;69659:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;69651:73;;;;-1:-1:-1;;;69651:73:0;;;;;;;:::i;:::-;69753:1;69739:11;:15;:52;;;;;69773:18;;69758:11;:33;;69739:52;69731:85;;;;-1:-1:-1;;;69731:85:0;;;;;;;:::i;:::-;69832:6;;;;69831:7;69823:43;;;;-1:-1:-1;;;69823:43:0;;;;;;;:::i;:::-;69999:11:::1;69992:4;;:18;;;;:::i;:::-;69979:9;:31;;69971:63;;;::::0;-1:-1:-1;;;69971:63:0;;14883:2:1;69971:63:0::1;::::0;::::1;14865:21:1::0;14922:2;14902:18;;;14895:30;-1:-1:-1;;;14941:18:1;;;14934:49;15000:18;;69971:63:0::1;14681:343:1::0;69971:63:0::1;70050:15;::::0;;;::::1;;;70049:16;70041:47;;;;-1:-1:-1::0;;;70041:47:0::1;;;;;;;:::i;:::-;70097:34;70107:10;70119:11;70097:9;:34::i;43952:308::-:0;66692:10;-1:-1:-1;;;;;44051:31:0;;;44047:61;;44091:17;;-1:-1:-1;;;44091:17:0;;;;;;;;;;;44047:61;66692:10;44121:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;44121:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;44121:60:0;;;;;;;;;;44197:55;;540:41:1;;;44121:49:0;;66692:10;44197:55;;513:18:1;44197:55:0;;;;;;;43952:308;;:::o;69043:31::-;;;;;;;:::i;72787:130::-;13498:13;:11;:13::i;:::-;72871:18:::1;:40:::0;72787:130::o;50797:399::-;50964:31;50977:4;50983:2;50987:7;50964:12;:31::i;:::-;-1:-1:-1;;;;;51010:14:0;;;:19;51006:183;;51049:56;51080:4;51086:2;51090:7;51099:5;51049:30;:56::i;:::-;51044:145;;51133:40;;-1:-1:-1;;;51133:40:0;;;;;;;;;;;71786:522;71885:13;71926:17;71934:8;71926:7;:17::i;:::-;71910:98;;;;-1:-1:-1;;;71910:98:0;;15231:2:1;71910:98:0;;;15213:21:1;15270:2;15250:18;;;15243:30;15309:34;15289:18;;;15282:62;-1:-1:-1;;;15360:18:1;;;15353:45;15415:19;;71910:98:0;15029:411:1;71910:98:0;72021:8;;;;;;;:17;;72033:5;72021:17;72017:64;;72056:17;72049:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71786:522;;;:::o;72017:64::-;72089:28;72120:10;:8;:10::i;:::-;72089:41;-1:-1:-1;72148:10:0;:8;72157:1;72148:10;:::i;:::-;72137:21;;72203:1;72178:14;72172:28;:32;:130;;;;;;;;;;;;;;;;;72240:14;72256:19;:8;:17;:19::i;:::-;72277:9;72223:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;72172:130;72165:137;71786:522;-1:-1:-1;;;71786:522:0:o;72516:81::-;13498:13;:11;:13::i;:::-;72574:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;72574:17:0;;::::1;::::0;;;::::1;::::0;;72516:81::o;14518:201::-;13498:13;:11;:13::i;:::-;-1:-1:-1;;;;;14607:22:0;::::1;14599:73;;;::::0;-1:-1:-1;;;14599:73:0;;16882:2:1;14599:73:0::1;::::0;::::1;16864:21:1::0;16921:2;16901:18;;;16894:30;16960:34;16940:18;;;16933:62;-1:-1:-1;;;17011:18:1;;;17004:36;17057:19;;14599:73:0::1;16680:402:1::0;14599:73:0::1;14683:28;14702:8;14683:18;:28::i;44839:282::-:0;44904:4;44960:7;72402:1;44941:26;;:66;;;;;44994:13;;44984:7;:23;44941:66;:153;;;;-1:-1:-1;;45045:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;45045:44:0;:49;;44839:282::o;13777:132::-;13658:7;13685:6;-1:-1:-1;;;;;13685:6:0;66692:10;13841:23;13833:68;;;;-1:-1:-1;;;13833:68:0;;17289:2:1;13833:68:0;;;17271:21:1;;;17308:18;;;17301:30;17367:34;17347:18;;;17340:62;17419:18;;13833:68:0;17087:356:1;39459:1275:0;39526:7;39561;;72402:1;39610:23;39606:1061;;39663:13;;39656:4;:20;39652:1015;;;39701:14;39718:23;;;:17;:23;;;;;;;-1:-1:-1;;;39807:24:0;;:29;;39803:845;;40472:113;40479:6;40489:1;40479:11;40472:113;;-1:-1:-1;;;40550:6:0;40532:25;;;;:17;:25;;;;;;40472:113;;39803:845;39678:989;39652:1015;40695:31;;-1:-1:-1;;;40695:31:0;;;;;;;;;;;3978:190;4103:4;4156;4127:25;4140:5;4147:4;4127:12;:25::i;:::-;:33;;3978:190;-1:-1:-1;;;;3978:190:0:o;60437:112::-;60514:27;60524:2;60528:8;60514:27;;;;;;;;;;;;:9;:27::i;14879:191::-;14953:16;14972:6;;-1:-1:-1;;;;;14989:17:0;;;-1:-1:-1;;;;;;14989:17:0;;;;;;15022:40;;14972:6;;;;;;;15022:40;;14953:16;15022:40;14942:128;14879:191;:::o;53280:716::-;53464:88;;-1:-1:-1;;;53464:88:0;;53443:4;;-1:-1:-1;;;;;53464:45:0;;;;;:88;;66692:10;;53531:4;;53537:7;;53546:5;;53464:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53464:88:0;;;;;;;;-1:-1:-1;;53464:88:0;;;;;;;;;;;;:::i;:::-;;;53460:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53747:6;:13;53764:1;53747:18;53743:235;;53793:40;;-1:-1:-1;;;53793:40:0;;;;;;;;;;;53743:235;53936:6;53930:13;53921:6;53917:2;53913:15;53906:38;53460:529;-1:-1:-1;;;;;;53623:64:0;-1:-1:-1;;;53623:64:0;;-1:-1:-1;53460:529:0;53280:716;;;;;;:::o;73811:104::-;73871:13;73900:9;73893:16;;;;;:::i;15507:723::-;15563:13;15784:5;15793:1;15784:10;15780:53;;-1:-1:-1;;15811:10:0;;;;;;;;;;;;-1:-1:-1;;;15811:10:0;;;;;15507:723::o;15780:53::-;15858:5;15843:12;15899:78;15906:9;;15899:78;;15932:8;;;;:::i;:::-;;-1:-1:-1;15955:10:0;;-1:-1:-1;15963:2:0;15955:10;;:::i;:::-;;;15899:78;;;15987:19;16019:6;16009:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16009:17:0;;15987:39;;16037:154;16044:10;;16037:154;;16071:11;16081:1;16071:11;;:::i;:::-;;-1:-1:-1;16140:10:0;16148:2;16140:5;:10;:::i;:::-;16127:24;;:2;:24;:::i;:::-;16114:39;;16097:6;16104;16097:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;16097:56:0;;;;;;;;-1:-1:-1;16168:11:0;16177:2;16168:11;;:::i;:::-;;;16037:154;;4845:296;4928:7;4971:4;4928:7;4986:118;5010:5;:12;5006:1;:16;4986:118;;;5059:33;5069:12;5083:5;5089:1;5083:8;;;;;;;;:::i;:::-;;;;;;;5059:9;:33::i;:::-;5044:48;-1:-1:-1;5024:3:0;;;;:::i;:::-;;;;4986:118;;;-1:-1:-1;5121:12:0;4845:296;-1:-1:-1;;;4845:296:0:o;59664:689::-;59795:19;59801:2;59805:8;59795:5;:19::i;:::-;-1:-1:-1;;;;;59856:14:0;;;:19;59852:483;;59910:13;;59958:14;;;59991:233;60022:62;60061:1;60065:2;60069:7;;;;;;60078:5;60022:30;:62::i;:::-;60017:167;;60120:40;;-1:-1:-1;;;60120:40:0;;;;;;;;;;;60017:167;60219:3;60211:5;:11;59991:233;;60306:3;60289:13;;:20;60285:34;;60311:8;;;60285:34;59877:458;;59664:689;;;:::o;11052:149::-;11115:7;11146:1;11142;:5;:51;;11277:13;11371:15;;;11407:4;11400:15;;;11454:4;11438:21;;11142:51;;;-1:-1:-1;11277:13:0;11371:15;;;11407:4;11400:15;11454:4;11438:21;;;11052:149::o;54458:2454::-;54554:13;;54531:20;54582:13;;;54578:44;;54604:18;;-1:-1:-1;;;54604:18:0;;;;;;;;;;;54578:44;-1:-1:-1;;;;;55110:22:0;;;;;;:18;:22;;;;28143:2;55110:22;;;:71;;55148:32;55136:45;;55110:71;;;55424:31;;;:17;:31;;;;;-1:-1:-1;42124:15:0;;42098:24;42094:46;41693:11;41668:23;41664:41;41661:52;41651:63;;55424:173;;55659:23;;;;55424:31;;55110:22;;56158:25;55110:22;;56011:335;56426:1;56412:12;56408:20;56366:346;56467:3;56458:7;56455:16;56366:346;;56685:7;56675:8;56672:1;56645:25;56642:1;56639;56634:59;56520:1;56507:15;56366:346;;;56370:77;56745:8;56757:1;56745:13;56741:45;;56767:19;;-1:-1:-1;;;56767:19:0;;;;;;;;;;;56741:45;56803:13;:19;-1:-1:-1;50014:185: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:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:127::-;2416:10;2411:3;2407:20;2404:1;2397:31;2447:4;2444:1;2437:15;2471:4;2468:1;2461:15;2487:275;2558:2;2552:9;2623:2;2604:13;;-1:-1:-1;;2600:27:1;2588:40;;2658:18;2643:34;;2679:22;;;2640:62;2637:88;;;2705:18;;:::i;:::-;2741:2;2734:22;2487:275;;-1:-1:-1;2487:275:1:o;2767:407::-;2832:5;2866:18;2858:6;2855:30;2852:56;;;2888:18;;:::i;:::-;2926:57;2971:2;2950:15;;-1:-1:-1;;2946:29:1;2977:4;2942:40;2926:57;:::i;:::-;2917:66;;3006:6;2999:5;2992:21;3046:3;3037:6;3032:3;3028:16;3025:25;3022:45;;;3063:1;3060;3053:12;3022:45;3112:6;3107:3;3100:4;3093:5;3089:16;3076:43;3166:1;3159:4;3150:6;3143:5;3139:18;3135:29;3128:40;2767:407;;;;;:::o;3179:451::-;3248:6;3301:2;3289:9;3280:7;3276:23;3272:32;3269:52;;;3317:1;3314;3307:12;3269:52;3357:9;3344:23;3390:18;3382:6;3379:30;3376:50;;;3422:1;3419;3412:12;3376:50;3445:22;;3498:4;3490:13;;3486:27;-1:-1:-1;3476:55:1;;3527:1;3524;3517:12;3476:55;3550:74;3616:7;3611:2;3598:16;3593:2;3589;3585:11;3550:74;:::i;3635:160::-;3700:20;;3756:13;;3749:21;3739:32;;3729:60;;3785:1;3782;3775:12;3800:180;3856:6;3909:2;3897:9;3888:7;3884:23;3880:32;3877:52;;;3925:1;3922;3915:12;3877:52;3948:26;3964:9;3948:26;:::i;3985:328::-;4062:6;4070;4078;4131:2;4119:9;4110:7;4106:23;4102:32;4099:52;;;4147:1;4144;4137:12;4099:52;4170:29;4189:9;4170:29;:::i;:::-;4160:39;;4218:38;4252:2;4241:9;4237:18;4218:38;:::i;:::-;4208:48;;4303:2;4292:9;4288:18;4275:32;4265:42;;3985:328;;;;;:::o;4500:186::-;4559:6;4612:2;4600:9;4591:7;4587:23;4583:32;4580:52;;;4628:1;4625;4618:12;4580:52;4651:29;4670:9;4651:29;:::i;4691:632::-;4862:2;4914:21;;;4984:13;;4887:18;;;5006:22;;;4833:4;;4862:2;5085:15;;;;5059:2;5044:18;;;4833:4;5128:169;5142:6;5139:1;5136:13;5128:169;;;5203:13;;5191:26;;5272:15;;;;5237:12;;;;5164:1;5157:9;5128:169;;;-1:-1:-1;5314:3:1;;4691:632;-1:-1:-1;;;;;;4691:632:1:o;5328:183::-;5388:4;5421:18;5413:6;5410:30;5407:56;;;5443:18;;:::i;:::-;-1:-1:-1;5488:1:1;5484:14;5500:4;5480:25;;5328:183::o;5516:959::-;5609:6;5617;5670:2;5658:9;5649:7;5645:23;5641:32;5638:52;;;5686:1;5683;5676:12;5638:52;5722:9;5709:23;5699:33;;5751:2;5804;5793:9;5789:18;5776:32;5831:18;5823:6;5820:30;5817:50;;;5863:1;5860;5853:12;5817:50;5886:22;;5939:4;5931:13;;5927:27;-1:-1:-1;5917:55:1;;5968:1;5965;5958:12;5917:55;6004:2;5991:16;6027:60;6043:43;6083:2;6043:43;:::i;:::-;6027:60;:::i;:::-;6121:15;;;6203:1;6199:10;;;;6191:19;;6187:28;;;6152:12;;;;6227:19;;;6224:39;;;6259:1;6256;6249:12;6224:39;6283:11;;;;6303:142;6319:6;6314:3;6311:15;6303:142;;;6385:17;;6373:30;;6336:12;;;;6423;;;;6303:142;;;6464:5;6454:15;;;;;;;5516:959;;;;;:::o;6665:965::-;6758:6;6766;6819:2;6807:9;6798:7;6794:23;6790:32;6787:52;;;6835:1;6832;6825:12;6787:52;6871:9;6858:23;6848:33;;6900:2;6953;6942:9;6938:18;6925:32;6980:18;6972:6;6969:30;6966:50;;;7012:1;7009;7002:12;6966:50;7035:22;;7088:4;7080:13;;7076:27;-1:-1:-1;7066:55:1;;7117:1;7114;7107:12;7066:55;7153:2;7140:16;7176:60;7192:43;7232:2;7192:43;:::i;7176:60::-;7270:15;;;7352:1;7348:10;;;;7340:19;;7336:28;;;7301:12;;;;7376:19;;;7373:39;;;7408:1;7405;7398:12;7373:39;7432:11;;;;7452:148;7468:6;7463:3;7460:15;7452:148;;;7534:23;7553:3;7534:23;:::i;:::-;7522:36;;7485:12;;;;7578;;;;7452:148;;7635:254;7700:6;7708;7761:2;7749:9;7740:7;7736:23;7732:32;7729:52;;;7777:1;7774;7767:12;7729:52;7800:29;7819:9;7800:29;:::i;:::-;7790:39;;7848:35;7879:2;7868:9;7864:18;7848:35;:::i;:::-;7838:45;;7635:254;;;;;:::o;7894:667::-;7989:6;7997;8005;8013;8066:3;8054:9;8045:7;8041:23;8037:33;8034:53;;;8083:1;8080;8073:12;8034:53;8106:29;8125:9;8106:29;:::i;:::-;8096:39;;8154:38;8188:2;8177:9;8173:18;8154:38;:::i;:::-;8144:48;;8239:2;8228:9;8224:18;8211:32;8201:42;;8294:2;8283:9;8279:18;8266:32;8321:18;8313:6;8310:30;8307:50;;;8353:1;8350;8343:12;8307:50;8376:22;;8429:4;8421:13;;8417:27;-1:-1:-1;8407:55:1;;8458:1;8455;8448:12;8407:55;8481:74;8547:7;8542:2;8529:16;8524:2;8520;8516:11;8481:74;:::i;:::-;8471:84;;;7894:667;;;;;;;:::o;8566:260::-;8634:6;8642;8695:2;8683:9;8674:7;8670:23;8666:32;8663:52;;;8711:1;8708;8701:12;8663:52;8734:29;8753:9;8734:29;:::i;:::-;8724:39;;8782:38;8816:2;8805:9;8801:18;8782:38;:::i;8831:380::-;8910:1;8906:12;;;;8953;;;8974:61;;9028:4;9020:6;9016:17;9006:27;;8974:61;9081:2;9073:6;9070:14;9050:18;9047:38;9044:161;;9127:10;9122:3;9118:20;9115:1;9108:31;9162:4;9159:1;9152:15;9190:4;9187:1;9180:15;9044:161;;8831:380;;;:::o;9342:545::-;9444:2;9439:3;9436:11;9433:448;;;9480:1;9505:5;9501:2;9494:17;9550:4;9546:2;9536:19;9620:2;9608:10;9604:19;9601:1;9597:27;9591:4;9587:38;9656:4;9644:10;9641:20;9638:47;;;-1:-1:-1;9679:4:1;9638:47;9734:2;9729:3;9725:12;9722:1;9718:20;9712:4;9708:31;9698:41;;9789:82;9807:2;9800:5;9797:13;9789:82;;;9852:17;;;9833:1;9822:13;9789:82;;10063:1352;10189:3;10183:10;10216:18;10208:6;10205:30;10202:56;;;10238:18;;:::i;:::-;10267:97;10357:6;10317:38;10349:4;10343:11;10317:38;:::i;:::-;10311:4;10267:97;:::i;:::-;10419:4;;10483:2;10472:14;;10500:1;10495:663;;;;11202:1;11219:6;11216:89;;;-1:-1:-1;11271:19:1;;;11265:26;11216:89;-1:-1:-1;;10020:1:1;10016:11;;;10012:24;10008:29;9998:40;10044:1;10040:11;;;9995:57;11318:81;;10465:944;;10495:663;9289:1;9282:14;;;9326:4;9313:18;;-1:-1:-1;;10531:20:1;;;10649:236;10663:7;10660:1;10657:14;10649:236;;;10752:19;;;10746:26;10731:42;;10844:27;;;;10812:1;10800:14;;;;10679:19;;10649:236;;;10653:3;10913:6;10904:7;10901:19;10898:201;;;10974:19;;;10968:26;-1:-1:-1;;11057:1:1;11053:14;;;11069:3;11049:24;11045:37;11041:42;11026:58;11011:74;;10898:201;-1:-1:-1;;;;;11145:1:1;11129:14;;;11125:22;11112:36;;-1:-1:-1;10063:1352:1:o;11630:127::-;11691:10;11686:3;11682:20;11679:1;11672:31;11722:4;11719:1;11712:15;11746:4;11743:1;11736:15;11762:128;11802:3;11833:1;11829:6;11826:1;11823:13;11820:39;;;11839:18;;:::i;:::-;-1:-1:-1;11875:9:1;;11762:128::o;11895:127::-;11956:10;11951:3;11947:20;11944:1;11937:31;11987:4;11984:1;11977:15;12011:4;12008:1;12001:15;12027:135;12066:3;12087:17;;;12084:43;;12107:18;;:::i;:::-;-1:-1:-1;12154:1:1;12143:13;;12027:135::o;12167:344::-;12369:2;12351:21;;;12408:2;12388:18;;;12381:30;-1:-1:-1;;;12442:2:1;12427:18;;12420:50;12502:2;12487:18;;12167:344::o;12516:::-;12718:2;12700:21;;;12757:2;12737:18;;;12730:30;-1:-1:-1;;;12791:2:1;12776:18;;12769:50;12851:2;12836:18;;12516:344::o;12865:347::-;13067:2;13049:21;;;13106:2;13086:18;;;13079:30;13145:25;13140:2;13125:18;;13118:53;13203:2;13188:18;;12865:347::o;13217:342::-;13419:2;13401:21;;;13458:2;13438:18;;;13431:30;-1:-1:-1;;;13492:2:1;13477:18;;13470:48;13550:2;13535:18;;13217:342::o;14508:168::-;14548:7;14614:1;14610;14606:6;14602:14;14599:1;14596:21;14591:1;14584:9;14577:17;14573:45;14570:71;;;14621:18;;:::i;:::-;-1:-1:-1;14661:9:1;;14508:168::o;15445:1230::-;15669:3;15707:6;15701:13;15733:4;15746:51;15790:6;15785:3;15780:2;15772:6;15768:15;15746:51;:::i;:::-;15860:13;;15819:16;;;;15882:55;15860:13;15819:16;15904:15;;;15882:55;:::i;:::-;16026:13;;15959:20;;;15999:1;;16064:36;16026:13;16064:36;:::i;:::-;16119:1;16136:18;;;16163:141;;;;16318:1;16313:337;;;;16129:521;;16163:141;-1:-1:-1;;16198:24:1;;16184:39;;16275:16;;16268:24;16254:39;;16243:51;;;-1:-1:-1;16163:141:1;;16313:337;16344:6;16341:1;16334:17;16392:2;16389:1;16379:16;16417:1;16431:169;16445:8;16442:1;16439:15;16431:169;;;16527:14;;16512:13;;;16505:37;16570:16;;;;16462:10;;16431:169;;;16435:3;;16631:8;16624:5;16620:20;16613:27;;16129:521;-1:-1:-1;16666:3:1;;15445:1230;-1:-1:-1;;;;;;;;;;15445:1230:1:o;17448:489::-;-1:-1:-1;;;;;17717:15:1;;;17699:34;;17769:15;;17764:2;17749:18;;17742:43;17816:2;17801:18;;17794:34;;;17864:3;17859:2;17844:18;;17837:31;;;17642:4;;17885:46;;17911:19;;17903:6;17885:46;:::i;:::-;17877:54;17448:489;-1:-1:-1;;;;;;17448:489:1:o;17942:249::-;18011:6;18064:2;18052:9;18043:7;18039:23;18035:32;18032:52;;;18080:1;18077;18070:12;18032:52;18112:9;18106:16;18131:30;18155:5;18131:30;:::i;18196:127::-;18257:10;18252:3;18248:20;18245:1;18238:31;18288:4;18285:1;18278:15;18312:4;18309:1;18302:15;18328:120;18368:1;18394;18384:35;;18399:18;;:::i;:::-;-1:-1:-1;18433:9:1;;18328:120::o;18453:125::-;18493:4;18521:1;18518;18515:8;18512:34;;;18526:18;;:::i;:::-;-1:-1:-1;18563:9:1;;18453:125::o;18583:112::-;18615:1;18641;18631:35;;18646:18;;:::i;:::-;-1:-1:-1;18680:9:1;;18583:112::o

Swarm Source

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