ETH Price: $3,431.98 (-1.75%)
Gas: 6 Gwei

Token

Netjammers (JAM)
 

Overview

Max Total Supply

538 JAM

Holders

421

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
vkwest.eth
Balance
1 JAM
0x6f5473bf6f4518037784206000f4d5347c48e98b
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:
Netjammers

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-07-29
*/

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.4;


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

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

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

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

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

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


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

pragma solidity ^0.8.4;



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

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

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

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

// File: @openzeppelin/contracts/utils/math/SignedMath.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

// File: @openzeppelin/contracts/utils/math/Math.sol


// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

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


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

pragma solidity ^0.8.0;



/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _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) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _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);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

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


// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._
 * _Available since v4.9 for `string`, `bytes`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` with member `value` located at `slot`.
     */
    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` with member `value` located at `slot`.
     */
    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.9.0) (utils/Arrays.sol)

pragma solidity ^0.8.0;



/**
 * @dev Collection of functions related to array types.
 */
library Arrays {
    using StorageSlot for bytes32;

    /**
     * @dev Searches a sorted `array` and returns the first index that contains
     * a value greater or equal to `element`. If no such index exists (i.e. all
     * values in the array are strictly less than `element`), the array length is
     * returned. Time complexity O(log n).
     *
     * `array` is expected to be sorted in ascending order, and to contain no
     * repeated elements.
     */
    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        if (array.length == 0) {
            return 0;
        }

        uint256 low = 0;
        uint256 high = array.length;

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds down (it does integer division with truncation).
            if (unsafeAccess(array, mid).value > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && unsafeAccess(array, low - 1).value == element) {
            return low - 1;
        } else {
            return low;
        }
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(address[] storage arr, uint256 pos) internal pure returns (StorageSlot.AddressSlot storage) {
        bytes32 slot;
        // We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr`
        // following https://docs.soliditylang.org/en/v0.8.17/internals/layout_in_storage.html#mappings-and-dynamic-arrays.

        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getAddressSlot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(bytes32[] storage arr, uint256 pos) internal pure returns (StorageSlot.Bytes32Slot storage) {
        bytes32 slot;
        // We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr`
        // following https://docs.soliditylang.org/en/v0.8.17/internals/layout_in_storage.html#mappings-and-dynamic-arrays.

        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getBytes32Slot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(uint256[] storage arr, uint256 pos) internal pure returns (StorageSlot.Uint256Slot storage) {
        bytes32 slot;
        // We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr`
        // following https://docs.soliditylang.org/en/v0.8.17/internals/layout_in_storage.html#mappings-and-dynamic-arrays.

        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getUint256Slot();
    }
}

// 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.9.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. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        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/security/ReentrancyGuard.sol


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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

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

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

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

// File: contracts/Netjammers.sol









pragma solidity >=0.8.13 <0.9.0;

/*
 _   _  _____ _____  ___  ___  ___  ______  ___ ___________  _____ 
| \ | ||  ___|_   _||_  |/ _ \ |  \/  ||  \/  ||  ___| ___ \/  ___|
|  \| || |__   | |    | / /_\ \| .  . || .  . || |__ | |_/ /\ `--. 
| . ` ||  __|  | |    | |  _  || |\/| || |\/| ||  __||    /  `--. \
| |\  || |___  | |/\__/ / | | || |  | || |  | || |___| |\ \ /\__/ /
\_| \_/\____/  \_/\____/\_| |_/\_|  |_/\_|  |_/\____/\_| \_|\____/ 
                   ~a shattle labs production~
*/

contract Netjammers is ERC721A, Ownable, ReentrancyGuard {

  using Strings for uint256;

  string public uri = "https://api.netjammers.com/"; // changing to ipfs after mint
  string public contractJson = "https://api.netjammers.com/"; // same!
  string public provenance = "46ce130e09666a0523e3d75d52e563214bdd00658de6be615d59193d04ca70af";
  string public uriSuffix = ".json";
  uint256 public cost = 0.025 ether;
  uint256 public supplyLimit = 10000;
  uint256 public maxMintAmountPerTx = 10;
  uint256 public maxLimitPerWallet = 20;
  bool public sale = true;

  // address[] public tokenAddress = [
  // ];

  constructor(
  ) ERC721A("Netjammers", "JAM")  {
  }
  
  function Mint(uint256 _mintAmount) public payable {
    require(sale, 'Minting paused');
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, 'Invalid mint amount');
    require(totalSupply() + _mintAmount <= supplyLimit, 'Max supply exceeded!');
    require(balanceOf(msg.sender) + _mintAmount <= maxLimitPerWallet, 'Max mint per wallet exceeded');
    require(msg.value >= cost * _mintAmount, 'Insufficient funds');
     
    _safeMint(_msgSender(), _mintAmount);
  }

  function Airdrop(uint256 _mintAmount, address _receiver) public onlyOwner {
    require(totalSupply() + _mintAmount <= supplyLimit, 'Max supply exceeded!');
    _safeMint(_receiver, _mintAmount);
  }

  function seturi(string memory _uri) public onlyOwner {
    uri = _uri;
  }

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

  function setSaleStatus(bool _sale) public onlyOwner {
    sale = _sale;
  }

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

  function setmaxLimitPerWallet(uint256 _maxLimitPerWallet) public onlyOwner {
    maxLimitPerWallet = _maxLimitPerWallet;
  }

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

  function setsupplyLimit(uint256 _supplyLimit) public onlyOwner {
    supplyLimit = _supplyLimit;
  }

  function setProvenance(string memory _provenance) public onlyOwner {
    provenance = _provenance;
  }

  function setContractUri(string memory _contractUri) public onlyOwner {
    contractJson = _contractUri;
  }

  function withdraw() external onlyOwner nonReentrant {
    (bool success, ) = payable(owner()).call{value: address(this).balance}("");
    require(success, "Transaction Failed");
  }
 
  function price(uint256 _mintAmount) public view returns (uint256){
    return cost;
  }

  function tokensOfOwner(address owner) external view returns (uint256[] memory) {
      unchecked {
          uint256[] memory a = new uint256[](balanceOf(owner)); 
          uint256 end = _nextTokenId();
          uint256 tokenIdsIdx;
          address currOwnershipAddr;
          for (uint256 i; i < end; i++) {
              TokenOwnership memory ownership = _ownershipAt(i);
              if (ownership.burned) {
                  continue;
              }
              if (ownership.addr != address(0)) {
                  currOwnershipAddr = ownership.addr;
              }
              if (currOwnershipAddr == owner) {
                  a[tokenIdsIdx++] = i;
              }
          }
          return a;
      }
  }

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

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

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

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

  function contractURI() public view returns (string memory) {
    return contractJson;
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"Airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"Mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractJson","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"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":"maxLimitPerWallet","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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"sale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractUri","type":"string"}],"name":"setContractUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenance","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_sale","type":"bool"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setcost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxLimitPerWallet","type":"uint256"}],"name":"setmaxLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supplyLimit","type":"uint256"}],"name":"setsupplyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"seturi","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c0604052601b60809081527f68747470733a2f2f6170692e6e65746a616d6d6572732e636f6d2f000000000060a052600a906200003e90826200027a565b5060408051808201909152601b81527f68747470733a2f2f6170692e6e65746a616d6d6572732e636f6d2f00000000006020820152600b906200008290826200027a565b50604051806060016040528060408152602001620023ba60409139600c90620000ac90826200027a565b50604080518082019091526005815264173539b7b760d91b6020820152600d90620000d890826200027a565b506658d15e17628000600e55612710600f55600a60105560146011556012805460ff191660011790553480156200010d575f80fd5b506040518060400160405280600a8152602001694e65746a616d6d65727360b01b815250604051806040016040528060038152602001624a414d60e81b81525081600290816200015e91906200027a565b5060036200016d82826200027a565b50505f8055506200017e3362000189565b600160095562000342565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200020357607f821691505b6020821081036200022257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000275575f81815260208120601f850160051c81016020861015620002505750805b601f850160051c820191505b8181101562000271578281556001016200025c565b5050505b505050565b81516001600160401b03811115620002965762000296620001da565b620002ae81620002a78454620001ee565b8462000228565b602080601f831160018114620002e4575f8415620002cc5750858301515b5f19600386901b1c1916600185901b17855562000271565b5f85815260208120601f198616915b828110156200031457888601518255948401946001909101908401620002f3565b50858210156200033257878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b61206a80620003505f395ff3fe6080604052600436106102b5575f3560e01c806370a0823111610170578063b88d4fde116100d1578063e8a3d48511610087578063f2fde38b11610062578063f2fde38b146106fd578063f64849801461071c578063ffe630b51461073b575f80fd5b8063e8a3d4851461068e578063e985e9c5146106a2578063eac989f8146106e9575f80fd5b8063ccb4807b116100b7578063ccb4807b14610631578063d897833e14610650578063d9f0a6711461066f575f80fd5b8063b88d4fde146105ff578063c87b56dd14610612575f80fd5b80638e3ddfc71161012657806395d89b411161010c57806395d89b41146105ad578063a22cb465146105c1578063b071401b146105e0575f80fd5b80638e3ddfc71461058457806394354fd014610598575f80fd5b80637871e154116101565780637871e1541461051c5780638462151c1461053b5780638da5cb5b14610567575f80fd5b806370a08231146104e9578063715018a614610508575f80fd5b806319d1997a1161021a57806342842e0e116101d05780635a0b8b23116101b65780635a0b8b231461049c5780636352211e146104b15780636ad1fe02146104d0575f80fd5b806342842e0e146104755780635503a0e814610488575f80fd5b806326a49e371161020057806326a49e3714610421578063299c6937146104425780633ccfd60b14610461575f80fd5b806319d1997a146103f957806323b872dd1461040e575f80fd5b8063095ea7b31161026f57806313faede61161025557806313faede6146103a057806316ba10e0146103c357806318160ddd146103e2575f80fd5b8063095ea7b3146103795780630f7309e81461038c575f80fd5b806306fdde031161029f57806306fdde031461030e578063078837031461032f578063081812fc14610342575f80fd5b806275770a146102b957806301ffc9a7146102da575b5f80fd5b3480156102c4575f80fd5b506102d86102d3366004611a55565b61075a565b005b3480156102e5575f80fd5b506102f96102f4366004611a81565b610767565b60405190151581526020015b60405180910390f35b348015610319575f80fd5b50610322610803565b6040516103059190611ae9565b6102d861033d366004611a55565b610893565b34801561034d575f80fd5b5061036161035c366004611a55565b610a7e565b6040516001600160a01b039091168152602001610305565b6102d8610387366004611b16565b610ad9565b348015610397575f80fd5b50610322610bb9565b3480156103ab575f80fd5b506103b5600e5481565b604051908152602001610305565b3480156103ce575f80fd5b506102d86103dd366004611bc5565b610c45565b3480156103ed575f80fd5b506001545f54036103b5565b348015610404575f80fd5b506103b5600f5481565b6102d861041c366004611c0a565b610c5d565b34801561042c575f80fd5b506103b561043b366004611a55565b50600e5490565b34801561044d575f80fd5b506102d861045c366004611a55565b610e55565b34801561046c575f80fd5b506102d8610e62565b6102d8610483366004611c0a565b610f2f565b348015610493575f80fd5b50610322610f4e565b3480156104a7575f80fd5b506103b560115481565b3480156104bc575f80fd5b506103616104cb366004611a55565b610f5b565b3480156104db575f80fd5b506012546102f99060ff1681565b3480156104f4575f80fd5b506103b5610503366004611c43565b610f65565b348015610513575f80fd5b506102d8610fcb565b348015610527575f80fd5b506102d8610536366004611c5c565b610fdc565b348015610546575f80fd5b5061055a610555366004611c43565b611056565b6040516103059190611c86565b348015610572575f80fd5b506008546001600160a01b0316610361565b34801561058f575f80fd5b50610322611142565b3480156105a3575f80fd5b506103b560105481565b3480156105b8575f80fd5b5061032261114f565b3480156105cc575f80fd5b506102d86105db366004611cd8565b61115e565b3480156105eb575f80fd5b506102d86105fa366004611a55565b6111c9565b6102d861060d366004611d00565b6111d6565b34801561061d575f80fd5b5061032261062c366004611a55565b611220565b34801561063c575f80fd5b506102d861064b366004611bc5565b6112f9565b34801561065b575f80fd5b506102d861066a366004611d77565b61130d565b34801561067a575f80fd5b506102d8610689366004611a55565b611328565b348015610699575f80fd5b50610322611335565b3480156106ad575f80fd5b506102f96106bc366004611d90565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b3480156106f4575f80fd5b50610322611344565b348015610708575f80fd5b506102d8610717366004611c43565b611351565b348015610727575f80fd5b506102d8610736366004611bc5565b6113de565b348015610746575f80fd5b506102d8610755366004611bc5565b6113f2565b610762611406565b600f55565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614806107c957507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b806107fd57507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606002805461081290611db8565b80601f016020809104026020016040519081016040528092919081815260200182805461083e90611db8565b80156108895780601f1061086057610100808354040283529160200191610889565b820191905f5260205f20905b81548152906001019060200180831161086c57829003601f168201915b5050505050905090565b60125460ff166108ea5760405162461bcd60e51b815260206004820152600e60248201527f4d696e74696e672070617573656400000000000000000000000000000000000060448201526064015b60405180910390fd5b5f811180156108fb57506010548111155b6109475760405162461bcd60e51b815260206004820152601360248201527f496e76616c6964206d696e7420616d6f756e740000000000000000000000000060448201526064016108e1565b600f54816109576001545f540390565b6109619190611e04565b11156109af5760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c792065786365656465642100000000000000000000000060448201526064016108e1565b601154816109bc33610f65565b6109c69190611e04565b1115610a145760405162461bcd60e51b815260206004820152601c60248201527f4d6178206d696e74207065722077616c6c65742065786365656465640000000060448201526064016108e1565b80600e54610a229190611e17565b341015610a715760405162461bcd60e51b815260206004820152601260248201527f496e73756666696369656e742066756e6473000000000000000000000000000060448201526064016108e1565b610a7b3382611460565b50565b5f610a8882611479565b610abe576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f610ae382610f5b565b9050336001600160a01b03821614610b51576001600160a01b0381165f90815260076020908152604080832033845290915290205460ff16610b51576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f82815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600c8054610bc690611db8565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf290611db8565b8015610c3d5780601f10610c1457610100808354040283529160200191610c3d565b820191905f5260205f20905b815481529060010190602001808311610c2057829003601f168201915b505050505081565b610c4d611406565b600d610c598282611e73565b5050565b5f610c678261149e565b9050836001600160a01b0316816001600160a01b031614610cb4576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b03881690911417610d35576001600160a01b0386165f90815260076020908152604080832033845290915290205460ff16610d35576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516610d75576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610d7f575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610e0b57600184015f818152600460205260408120549003610e09575f548114610e09575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610e5d611406565b600e55565b610e6a611406565b610e72611518565b5f610e856008546001600160a01b031690565b6001600160a01b0316476040515f6040518083038185875af1925050503d805f8114610ecc576040519150601f19603f3d011682016040523d82523d5f602084013e610ed1565b606091505b5050905080610f225760405162461bcd60e51b815260206004820152601260248201527f5472616e73616374696f6e204661696c6564000000000000000000000000000060448201526064016108e1565b50610f2d6001600955565b565b610f4983838360405180602001604052805f8152506111d6565b505050565b600d8054610bc690611db8565b5f6107fd8261149e565b5f6001600160a01b038216610fa6576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610fd3611406565b610f2d5f611571565b610fe4611406565b600f5482610ff46001545f540390565b610ffe9190611e04565b111561104c5760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c792065786365656465642100000000000000000000000060448201526064016108e1565b610c598183611460565b60605f61106283610f65565b67ffffffffffffffff81111561107a5761107a611b3e565b6040519080825280602002602001820160405280156110a3578160200160208202803683370190505b5090505f6110af5f5490565b90505f805f5b83811015611137575f6110c7826115cf565b90508060400151156110d9575061112f565b80516001600160a01b0316156110ee57805192505b876001600160a01b0316836001600160a01b03160361112d578186858060010196508151811061112057611120611f2f565b6020026020010181815250505b505b6001016110b5565b509295945050505050565b600b8054610bc690611db8565b60606003805461081290611db8565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111d1611406565b601055565b6111e1848484610c5d565b6001600160a01b0383163b1561121a576111fd8484848461164c565b61121a576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061122b82611479565b61129d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016108e1565b5f6112a6611734565b90505f8151116112c45760405180602001604052805f8152506112f2565b806112ce84611743565b600d6040516020016112e293929190611f43565b6040516020818303038152906040525b9392505050565b611301611406565b600b610c598282611e73565b611315611406565b6012805460ff1916911515919091179055565b611330611406565b601155565b6060600b805461081290611db8565b600a8054610bc690611db8565b611359611406565b6001600160a01b0381166113d55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108e1565b610a7b81611571565b6113e6611406565b600a610c598282611e73565b6113fa611406565b600c610c598282611e73565b6008546001600160a01b03163314610f2d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e1565b610c59828260405180602001604052805f8152506117e0565b5f8054821080156107fd5750505f90815260046020526040902054600160e01b161590565b5f815f548110156114e6575f8181526004602052604081205490600160e01b821690036114e4575b805f036112f257505f19015f818152600460205260409020546114c6565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60026009540361156a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108e1565b6002600955565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516080810182525f8082526020820181905291810182905260608101919091525f828152600460205260409020546107fd90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290611680903390899088908890600401611fde565b6020604051808303815f875af19250505080156116ba575060408051601f3d908101601f191682019092526116b791810190612019565b60015b611716573d8080156116e7576040519150601f19603f3d011682016040523d82523d5f602084013e6116ec565b606091505b5080515f0361170e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461081290611db8565b60605f61174f83611849565b60010190505f8167ffffffffffffffff81111561176e5761176e611b3e565b6040519080825280601f01601f191660200182016040528015611798576020820181803683370190505b5090508181016020015b5f19017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846117a257509392505050565b6117ea838361192a565b6001600160a01b0383163b15610f49575f548281035b6118125f86838060010194508661164c565b61182f576040516368d2bf6b60e11b815260040160405180910390fd5b81811061180057815f5414611842575f80fd5b5050505050565b5f807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611891577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106118bd576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106118db57662386f26fc10000830492506010015b6305f5e10083106118f3576305f5e100830492506008015b612710831061190757612710830492506004015b60648310611919576064830492506002015b600a83106107fd5760010192915050565b5f805490829003611967576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611a135780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001016119dd565b50815f03611a4d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5550505050565b5f60208284031215611a65575f80fd5b5035919050565b6001600160e01b031981168114610a7b575f80fd5b5f60208284031215611a91575f80fd5b81356112f281611a6c565b5f5b83811015611ab6578181015183820152602001611a9e565b50505f910152565b5f8151808452611ad5816020860160208601611a9c565b601f01601f19169290920160200192915050565b602081525f6112f26020830184611abe565b80356001600160a01b0381168114611b11575f80fd5b919050565b5f8060408385031215611b27575f80fd5b611b3083611afb565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115611b6c57611b6c611b3e565b604051601f8501601f19908116603f01168101908282118183101715611b9457611b94611b3e565b81604052809350858152868686011115611bac575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611bd5575f80fd5b813567ffffffffffffffff811115611beb575f80fd5b8201601f81018413611bfb575f80fd5b61172c84823560208401611b52565b5f805f60608486031215611c1c575f80fd5b611c2584611afb565b9250611c3360208501611afb565b9150604084013590509250925092565b5f60208284031215611c53575f80fd5b6112f282611afb565b5f8060408385031215611c6d575f80fd5b82359150611c7d60208401611afb565b90509250929050565b602080825282518282018190525f9190848201906040850190845b81811015611cbd57835183529284019291840191600101611ca1565b50909695505050505050565b80358015158114611b11575f80fd5b5f8060408385031215611ce9575f80fd5b611cf283611afb565b9150611c7d60208401611cc9565b5f805f8060808587031215611d13575f80fd5b611d1c85611afb565b9350611d2a60208601611afb565b925060408501359150606085013567ffffffffffffffff811115611d4c575f80fd5b8501601f81018713611d5c575f80fd5b611d6b87823560208401611b52565b91505092959194509250565b5f60208284031215611d87575f80fd5b6112f282611cc9565b5f8060408385031215611da1575f80fd5b611daa83611afb565b9150611c7d60208401611afb565b600181811c90821680611dcc57607f821691505b602082108103611dea57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156107fd576107fd611df0565b80820281158282048414176107fd576107fd611df0565b601f821115610f49575f81815260208120601f850160051c81016020861015611e545750805b601f850160051c820191505b81811015610e4d57828155600101611e60565b815167ffffffffffffffff811115611e8d57611e8d611b3e565b611ea181611e9b8454611db8565b84611e2e565b602080601f831160018114611ed4575f8415611ebd5750858301515b5f19600386901b1c1916600185901b178555610e4d565b5f85815260208120601f198616915b82811015611f0257888601518255948401946001909101908401611ee3565b5085821015611f1f57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b5f84516020611f558285838a01611a9c565b855191840191611f688184848a01611a9c565b85549201915f90611f7881611db8565b60018281168015611f905760018114611fa557611fce565b60ff1984168752821515830287019450611fce565b895f52855f205f5b84811015611fc657815489820152908301908701611fad565b505082870194505b50929a9950505050505050505050565b5f6001600160a01b0380871683528086166020840152508360408301526080606083015261200f6080830184611abe565b9695505050505050565b5f60208284031215612029575f80fd5b81516112f281611a6c56fea2646970667358221220a7bd77303306b833ceb20f3908f52b8e7ceaded90a14949aa3fb663279a183e064736f6c6343000814003334366365313330653039363636613035323365336437356435326535363332313462646430303635386465366265363135643539313933643034636137306166

Deployed Bytecode

0x6080604052600436106102b5575f3560e01c806370a0823111610170578063b88d4fde116100d1578063e8a3d48511610087578063f2fde38b11610062578063f2fde38b146106fd578063f64849801461071c578063ffe630b51461073b575f80fd5b8063e8a3d4851461068e578063e985e9c5146106a2578063eac989f8146106e9575f80fd5b8063ccb4807b116100b7578063ccb4807b14610631578063d897833e14610650578063d9f0a6711461066f575f80fd5b8063b88d4fde146105ff578063c87b56dd14610612575f80fd5b80638e3ddfc71161012657806395d89b411161010c57806395d89b41146105ad578063a22cb465146105c1578063b071401b146105e0575f80fd5b80638e3ddfc71461058457806394354fd014610598575f80fd5b80637871e154116101565780637871e1541461051c5780638462151c1461053b5780638da5cb5b14610567575f80fd5b806370a08231146104e9578063715018a614610508575f80fd5b806319d1997a1161021a57806342842e0e116101d05780635a0b8b23116101b65780635a0b8b231461049c5780636352211e146104b15780636ad1fe02146104d0575f80fd5b806342842e0e146104755780635503a0e814610488575f80fd5b806326a49e371161020057806326a49e3714610421578063299c6937146104425780633ccfd60b14610461575f80fd5b806319d1997a146103f957806323b872dd1461040e575f80fd5b8063095ea7b31161026f57806313faede61161025557806313faede6146103a057806316ba10e0146103c357806318160ddd146103e2575f80fd5b8063095ea7b3146103795780630f7309e81461038c575f80fd5b806306fdde031161029f57806306fdde031461030e578063078837031461032f578063081812fc14610342575f80fd5b806275770a146102b957806301ffc9a7146102da575b5f80fd5b3480156102c4575f80fd5b506102d86102d3366004611a55565b61075a565b005b3480156102e5575f80fd5b506102f96102f4366004611a81565b610767565b60405190151581526020015b60405180910390f35b348015610319575f80fd5b50610322610803565b6040516103059190611ae9565b6102d861033d366004611a55565b610893565b34801561034d575f80fd5b5061036161035c366004611a55565b610a7e565b6040516001600160a01b039091168152602001610305565b6102d8610387366004611b16565b610ad9565b348015610397575f80fd5b50610322610bb9565b3480156103ab575f80fd5b506103b5600e5481565b604051908152602001610305565b3480156103ce575f80fd5b506102d86103dd366004611bc5565b610c45565b3480156103ed575f80fd5b506001545f54036103b5565b348015610404575f80fd5b506103b5600f5481565b6102d861041c366004611c0a565b610c5d565b34801561042c575f80fd5b506103b561043b366004611a55565b50600e5490565b34801561044d575f80fd5b506102d861045c366004611a55565b610e55565b34801561046c575f80fd5b506102d8610e62565b6102d8610483366004611c0a565b610f2f565b348015610493575f80fd5b50610322610f4e565b3480156104a7575f80fd5b506103b560115481565b3480156104bc575f80fd5b506103616104cb366004611a55565b610f5b565b3480156104db575f80fd5b506012546102f99060ff1681565b3480156104f4575f80fd5b506103b5610503366004611c43565b610f65565b348015610513575f80fd5b506102d8610fcb565b348015610527575f80fd5b506102d8610536366004611c5c565b610fdc565b348015610546575f80fd5b5061055a610555366004611c43565b611056565b6040516103059190611c86565b348015610572575f80fd5b506008546001600160a01b0316610361565b34801561058f575f80fd5b50610322611142565b3480156105a3575f80fd5b506103b560105481565b3480156105b8575f80fd5b5061032261114f565b3480156105cc575f80fd5b506102d86105db366004611cd8565b61115e565b3480156105eb575f80fd5b506102d86105fa366004611a55565b6111c9565b6102d861060d366004611d00565b6111d6565b34801561061d575f80fd5b5061032261062c366004611a55565b611220565b34801561063c575f80fd5b506102d861064b366004611bc5565b6112f9565b34801561065b575f80fd5b506102d861066a366004611d77565b61130d565b34801561067a575f80fd5b506102d8610689366004611a55565b611328565b348015610699575f80fd5b50610322611335565b3480156106ad575f80fd5b506102f96106bc366004611d90565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b3480156106f4575f80fd5b50610322611344565b348015610708575f80fd5b506102d8610717366004611c43565b611351565b348015610727575f80fd5b506102d8610736366004611bc5565b6113de565b348015610746575f80fd5b506102d8610755366004611bc5565b6113f2565b610762611406565b600f55565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614806107c957507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b806107fd57507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606002805461081290611db8565b80601f016020809104026020016040519081016040528092919081815260200182805461083e90611db8565b80156108895780601f1061086057610100808354040283529160200191610889565b820191905f5260205f20905b81548152906001019060200180831161086c57829003601f168201915b5050505050905090565b60125460ff166108ea5760405162461bcd60e51b815260206004820152600e60248201527f4d696e74696e672070617573656400000000000000000000000000000000000060448201526064015b60405180910390fd5b5f811180156108fb57506010548111155b6109475760405162461bcd60e51b815260206004820152601360248201527f496e76616c6964206d696e7420616d6f756e740000000000000000000000000060448201526064016108e1565b600f54816109576001545f540390565b6109619190611e04565b11156109af5760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c792065786365656465642100000000000000000000000060448201526064016108e1565b601154816109bc33610f65565b6109c69190611e04565b1115610a145760405162461bcd60e51b815260206004820152601c60248201527f4d6178206d696e74207065722077616c6c65742065786365656465640000000060448201526064016108e1565b80600e54610a229190611e17565b341015610a715760405162461bcd60e51b815260206004820152601260248201527f496e73756666696369656e742066756e6473000000000000000000000000000060448201526064016108e1565b610a7b3382611460565b50565b5f610a8882611479565b610abe576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f610ae382610f5b565b9050336001600160a01b03821614610b51576001600160a01b0381165f90815260076020908152604080832033845290915290205460ff16610b51576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f82815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600c8054610bc690611db8565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf290611db8565b8015610c3d5780601f10610c1457610100808354040283529160200191610c3d565b820191905f5260205f20905b815481529060010190602001808311610c2057829003601f168201915b505050505081565b610c4d611406565b600d610c598282611e73565b5050565b5f610c678261149e565b9050836001600160a01b0316816001600160a01b031614610cb4576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b03881690911417610d35576001600160a01b0386165f90815260076020908152604080832033845290915290205460ff16610d35576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516610d75576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610d7f575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610e0b57600184015f818152600460205260408120549003610e09575f548114610e09575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610e5d611406565b600e55565b610e6a611406565b610e72611518565b5f610e856008546001600160a01b031690565b6001600160a01b0316476040515f6040518083038185875af1925050503d805f8114610ecc576040519150601f19603f3d011682016040523d82523d5f602084013e610ed1565b606091505b5050905080610f225760405162461bcd60e51b815260206004820152601260248201527f5472616e73616374696f6e204661696c6564000000000000000000000000000060448201526064016108e1565b50610f2d6001600955565b565b610f4983838360405180602001604052805f8152506111d6565b505050565b600d8054610bc690611db8565b5f6107fd8261149e565b5f6001600160a01b038216610fa6576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610fd3611406565b610f2d5f611571565b610fe4611406565b600f5482610ff46001545f540390565b610ffe9190611e04565b111561104c5760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c792065786365656465642100000000000000000000000060448201526064016108e1565b610c598183611460565b60605f61106283610f65565b67ffffffffffffffff81111561107a5761107a611b3e565b6040519080825280602002602001820160405280156110a3578160200160208202803683370190505b5090505f6110af5f5490565b90505f805f5b83811015611137575f6110c7826115cf565b90508060400151156110d9575061112f565b80516001600160a01b0316156110ee57805192505b876001600160a01b0316836001600160a01b03160361112d578186858060010196508151811061112057611120611f2f565b6020026020010181815250505b505b6001016110b5565b509295945050505050565b600b8054610bc690611db8565b60606003805461081290611db8565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111d1611406565b601055565b6111e1848484610c5d565b6001600160a01b0383163b1561121a576111fd8484848461164c565b61121a576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061122b82611479565b61129d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016108e1565b5f6112a6611734565b90505f8151116112c45760405180602001604052805f8152506112f2565b806112ce84611743565b600d6040516020016112e293929190611f43565b6040516020818303038152906040525b9392505050565b611301611406565b600b610c598282611e73565b611315611406565b6012805460ff1916911515919091179055565b611330611406565b601155565b6060600b805461081290611db8565b600a8054610bc690611db8565b611359611406565b6001600160a01b0381166113d55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108e1565b610a7b81611571565b6113e6611406565b600a610c598282611e73565b6113fa611406565b600c610c598282611e73565b6008546001600160a01b03163314610f2d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e1565b610c59828260405180602001604052805f8152506117e0565b5f8054821080156107fd5750505f90815260046020526040902054600160e01b161590565b5f815f548110156114e6575f8181526004602052604081205490600160e01b821690036114e4575b805f036112f257505f19015f818152600460205260409020546114c6565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60026009540361156a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108e1565b6002600955565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516080810182525f8082526020820181905291810182905260608101919091525f828152600460205260409020546107fd90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290611680903390899088908890600401611fde565b6020604051808303815f875af19250505080156116ba575060408051601f3d908101601f191682019092526116b791810190612019565b60015b611716573d8080156116e7576040519150601f19603f3d011682016040523d82523d5f602084013e6116ec565b606091505b5080515f0361170e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461081290611db8565b60605f61174f83611849565b60010190505f8167ffffffffffffffff81111561176e5761176e611b3e565b6040519080825280601f01601f191660200182016040528015611798576020820181803683370190505b5090508181016020015b5f19017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846117a257509392505050565b6117ea838361192a565b6001600160a01b0383163b15610f49575f548281035b6118125f86838060010194508661164c565b61182f576040516368d2bf6b60e11b815260040160405180910390fd5b81811061180057815f5414611842575f80fd5b5050505050565b5f807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611891577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106118bd576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106118db57662386f26fc10000830492506010015b6305f5e10083106118f3576305f5e100830492506008015b612710831061190757612710830492506004015b60648310611919576064830492506002015b600a83106107fd5760010192915050565b5f805490829003611967576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611a135780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001016119dd565b50815f03611a4d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5550505050565b5f60208284031215611a65575f80fd5b5035919050565b6001600160e01b031981168114610a7b575f80fd5b5f60208284031215611a91575f80fd5b81356112f281611a6c565b5f5b83811015611ab6578181015183820152602001611a9e565b50505f910152565b5f8151808452611ad5816020860160208601611a9c565b601f01601f19169290920160200192915050565b602081525f6112f26020830184611abe565b80356001600160a01b0381168114611b11575f80fd5b919050565b5f8060408385031215611b27575f80fd5b611b3083611afb565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115611b6c57611b6c611b3e565b604051601f8501601f19908116603f01168101908282118183101715611b9457611b94611b3e565b81604052809350858152868686011115611bac575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611bd5575f80fd5b813567ffffffffffffffff811115611beb575f80fd5b8201601f81018413611bfb575f80fd5b61172c84823560208401611b52565b5f805f60608486031215611c1c575f80fd5b611c2584611afb565b9250611c3360208501611afb565b9150604084013590509250925092565b5f60208284031215611c53575f80fd5b6112f282611afb565b5f8060408385031215611c6d575f80fd5b82359150611c7d60208401611afb565b90509250929050565b602080825282518282018190525f9190848201906040850190845b81811015611cbd57835183529284019291840191600101611ca1565b50909695505050505050565b80358015158114611b11575f80fd5b5f8060408385031215611ce9575f80fd5b611cf283611afb565b9150611c7d60208401611cc9565b5f805f8060808587031215611d13575f80fd5b611d1c85611afb565b9350611d2a60208601611afb565b925060408501359150606085013567ffffffffffffffff811115611d4c575f80fd5b8501601f81018713611d5c575f80fd5b611d6b87823560208401611b52565b91505092959194509250565b5f60208284031215611d87575f80fd5b6112f282611cc9565b5f8060408385031215611da1575f80fd5b611daa83611afb565b9150611c7d60208401611afb565b600181811c90821680611dcc57607f821691505b602082108103611dea57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156107fd576107fd611df0565b80820281158282048414176107fd576107fd611df0565b601f821115610f49575f81815260208120601f850160051c81016020861015611e545750805b601f850160051c820191505b81811015610e4d57828155600101611e60565b815167ffffffffffffffff811115611e8d57611e8d611b3e565b611ea181611e9b8454611db8565b84611e2e565b602080601f831160018114611ed4575f8415611ebd5750858301515b5f19600386901b1c1916600185901b178555610e4d565b5f85815260208120601f198616915b82811015611f0257888601518255948401946001909101908401611ee3565b5085821015611f1f57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b5f84516020611f558285838a01611a9c565b855191840191611f688184848a01611a9c565b85549201915f90611f7881611db8565b60018281168015611f905760018114611fa557611fce565b60ff1984168752821515830287019450611fce565b895f52855f205f5b84811015611fc657815489820152908301908701611fad565b505082870194505b50929a9950505050505050505050565b5f6001600160a01b0380871683528086166020840152508360408301526080606083015261200f6080830184611abe565b9695505050505050565b5f60208284031215612029575f80fd5b81516112f281611a6c56fea2646970667358221220a7bd77303306b833ceb20f3908f52b8e7ceaded90a14949aa3fb663279a183e064736f6c63430008140033

Deployed Bytecode Sourcemap

93440:4070:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95459:102;;;;;;;;;;-1:-1:-1;95459:102:0;;;;;:::i;:::-;;:::i;:::-;;18404:639;;;;;;;;;;-1:-1:-1;18404:639:0;;;;;:::i;:::-;;:::i;:::-;;;796:14:1;;789:22;771:41;;759:2;744:18;18404:639:0;;;;;;;;19306:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;94134:490::-;;;;;;:::i;:::-;;:::i;25797:218::-;;;;;;;;;;-1:-1:-1;25797:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1743:55:1;;;1725:74;;1713:2;1698:18;25797:218:0;1579:226:1;25230:408:0;;;;;;:::i;:::-;;:::i;93693:93::-;;;;;;;;;;;;;:::i;93829:33::-;;;;;;;;;;;;;;;;;;;2416:25:1;;;2404:2;2389:18;93829:33:0;2270:177:1;94920:100:0;;;;;;;;;;-1:-1:-1;94920:100:0;;;;;:::i;:::-;;:::i;15057:323::-;;;;;;;;;;-1:-1:-1;15331:12:0;;15118:7;15315:13;:28;15057:323;;93867:34;;;;;;;;;;;;;;;;29436:2825;;;;;;:::i;:::-;;:::i;95983:89::-;;;;;;;;;;-1:-1:-1;95983:89:0;;;;;:::i;:::-;-1:-1:-1;96062:4:0;;;95983:89;95377:74;;;;;;;;;;-1:-1:-1;95377:74:0;;;;;:::i;:::-;;:::i;95792:184::-;;;;;;;;;;;;;:::i;32357:193::-;;;;;;:::i;:::-;;:::i;93791:33::-;;;;;;;;;;;;;:::i;93949:37::-;;;;;;;;;;;;;;;;20699:152;;;;;;;;;;-1:-1:-1;20699:152:0;;;;;:::i;:::-;;:::i;93991:23::-;;;;;;;;;;-1:-1:-1;93991:23:0;;;;;;;;16241:233;;;;;;;;;;-1:-1:-1;16241:233:0;;;;;:::i;:::-;;:::i;88822:103::-;;;;;;;;;;;;;:::i;94630:202::-;;;;;;;;;;-1:-1:-1;94630:202:0;;;;;:::i;:::-;;:::i;96078:748::-;;;;;;;;;;-1:-1:-1;96078:748:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;88181:87::-;;;;;;;;;;-1:-1:-1;88254:6:0;;-1:-1:-1;;;;;88254:6:0;88181:87;;93621:58;;;;;;;;;;;;;:::i;93906:38::-;;;;;;;;;;;;;;;;19482:104;;;;;;;;;;;;;:::i;26355:234::-;;;;;;;;;;-1:-1:-1;26355:234:0;;;;;:::i;:::-;;:::i;95109:130::-;;;;;;;;;;-1:-1:-1;95109:130:0;;;;;:::i;:::-;;:::i;33148:407::-;;;;;;:::i;:::-;;:::i;96933:373::-;;;;;;;;;;-1:-1:-1;96933:373:0;;;;;:::i;:::-;;:::i;95677:109::-;;;;;;;;;;-1:-1:-1;95677:109:0;;;;;:::i;:::-;;:::i;95026:77::-;;;;;;;;;;-1:-1:-1;95026:77:0;;;;;:::i;:::-;;:::i;95245:126::-;;;;;;;;;;-1:-1:-1;95245:126:0;;;;;:::i;:::-;;:::i;97416:91::-;;;;;;;;;;;;;:::i;26746:164::-;;;;;;;;;;-1:-1:-1;26746:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26867:25:0;;;26843:4;26867:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26746:164;93536:49;;;;;;;;;;;;;:::i;89080:201::-;;;;;;;;;;-1:-1:-1;89080:201:0;;;;;:::i;:::-;;:::i;94838:76::-;;;;;;;;;;-1:-1:-1;94838:76:0;;;;;:::i;:::-;;:::i;95567:104::-;;;;;;;;;;-1:-1:-1;95567:104:0;;;;;:::i;:::-;;:::i;95459:102::-;88067:13;:11;:13::i;:::-;95529:11:::1;:26:::0;95459:102::o;18404:639::-;18489:4;18813:25;-1:-1:-1;;;;;;18813:25:0;;;;:102;;-1:-1:-1;18890:25:0;-1:-1:-1;;;;;;18890:25:0;;;18813:102;:179;;;-1:-1:-1;18967:25:0;-1:-1:-1;;;;;;18967:25:0;;;18813:179;18793:199;18404:639;-1:-1:-1;;18404:639:0:o;19306:100::-;19360:13;19393:5;19386:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19306:100;:::o;94134:490::-;94199:4;;;;94191:31;;;;-1:-1:-1;;;94191:31:0;;7344:2:1;94191:31:0;;;7326:21:1;7383:2;7363:18;;;7356:30;7422:16;7402:18;;;7395:44;7456:18;;94191:31:0;;;;;;;;;94251:1;94237:11;:15;:52;;;;;94271:18;;94256:11;:33;;94237:52;94229:84;;;;-1:-1:-1;;;94229:84:0;;7687:2:1;94229:84:0;;;7669:21:1;7726:2;7706:18;;;7699:30;7765:21;7745:18;;;7738:49;7804:18;;94229:84:0;7485:343:1;94229:84:0;94359:11;;94344;94328:13;15331:12;;15118:7;15315:13;:28;;15057:323;94328:13;:27;;;;:::i;:::-;:42;;94320:75;;;;-1:-1:-1;;;94320:75:0;;8354:2:1;94320:75:0;;;8336:21:1;8393:2;8373:18;;;8366:30;8432:22;8412:18;;;8405:50;8472:18;;94320:75:0;8152:344:1;94320:75:0;94449:17;;94434:11;94410:21;94420:10;94410:9;:21::i;:::-;:35;;;;:::i;:::-;:56;;94402:97;;;;-1:-1:-1;;;94402:97:0;;8703:2:1;94402:97:0;;;8685:21:1;8742:2;8722:18;;;8715:30;8781;8761:18;;;8754:58;8829:18;;94402:97:0;8501:352:1;94402:97:0;94534:11;94527:4;;:18;;;;:::i;:::-;94514:9;:31;;94506:62;;;;-1:-1:-1;;;94506:62:0;;9233:2:1;94506:62:0;;;9215:21:1;9272:2;9252:18;;;9245:30;9311:20;9291:18;;;9284:48;9349:18;;94506:62:0;9031:342:1;94506:62:0;94582:36;86812:10;94606:11;94582:9;:36::i;:::-;94134:490;:::o;25797:218::-;25873:7;25898:16;25906:7;25898;:16::i;:::-;25893:64;;25923:34;;;;;;;;;;;;;;25893:64;-1:-1:-1;25977:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;25977:30:0;;25797:218::o;25230:408::-;25319:13;25335:16;25343:7;25335;:16::i;:::-;25319:32;-1:-1:-1;86812:10:0;-1:-1:-1;;;;;25368:28:0;;;25364:175;;-1:-1:-1;;;;;26867:25:0;;26843:4;26867:25;;;:18;:25;;;;;;;;86812:10;26867:35;;;;;;;;;;25411:128;;25488:35;;;;;;;;;;;;;;25411:128;25551:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;25551:35:0;-1:-1:-1;;;;;25551:35:0;;;;;;;;;25602:28;;25551:24;;25602:28;;;;;;;25308:330;25230:408;;:::o;93693:93::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;94920:100::-;88067:13;:11;:13::i;:::-;94992:9:::1;:22;95004:10:::0;94992:9;:22:::1;:::i;:::-;;94920:100:::0;:::o;29436:2825::-;29578:27;29608;29627:7;29608:18;:27::i;:::-;29578:57;;29693:4;-1:-1:-1;;;;;29652:45:0;29668:19;-1:-1:-1;;;;;29652:45:0;;29648:86;;29706:28;;;;;;;;;;;;;;29648:86;29748:27;28544:24;;;:15;:24;;;;;28772:26;;86812:10;28169:30;;;-1:-1:-1;;;;;27862:28:0;;28147:20;;;28144:56;29934:180;;-1:-1:-1;;;;;26867:25:0;;26843:4;26867:25;;;:18;:25;;;;;;;;86812:10;26867:35;;;;;;;;;;30022:92;;30079:35;;;;;;;;;;;;;;30022:92;-1:-1:-1;;;;;30131:16:0;;30127:52;;30156:23;;;;;;;;;;;;;;30127:52;30328:15;30325:160;;;30468:1;30447:19;30440:30;30325:160;-1:-1:-1;;;;;30865:24:0;;;;;;;:18;:24;;;;;;30863:26;;-1:-1:-1;;30863:26:0;;;30934:22;;;;;;;;;30932:24;;-1:-1:-1;30932:24:0;;;24088:11;24063:23;24059:41;24046:63;-1:-1:-1;;;24046:63:0;31227:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;31522:47:0;;:52;;31518:627;;31627:1;31617:11;;31595:19;31750:30;;;:17;:30;;;;;;:35;;31746:384;;31888:13;;31873:11;:28;31869:242;;32035:30;;;;:17;:30;;;;;:52;;;31869:242;31576:569;31518:627;32192:7;32188:2;-1:-1:-1;;;;;32173:27:0;32182:4;-1:-1:-1;;;;;32173:27:0;;;;;;;;;;;32211:42;29567:2694;;;29436:2825;;;:::o;95377:74::-;88067:13;:11;:13::i;:::-;95433:4:::1;:12:::0;95377:74::o;95792:184::-;88067:13;:11;:13::i;:::-;91984:21:::1;:19;:21::i;:::-;95852:12:::2;95878:7;88254:6:::0;;-1:-1:-1;;;;;88254:6:0;;88181:87;95878:7:::2;-1:-1:-1::0;;;;;95870:21:0::2;95899;95870:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95851:74;;;95940:7;95932:38;;;::::0;-1:-1:-1;;;95932:38:0;;11994:2:1;95932:38:0::2;::::0;::::2;11976:21:1::0;12033:2;12013:18;;;12006:30;12072:20;12052:18;;;12045:48;12110:18;;95932:38:0::2;11792:342:1::0;95932:38:0::2;95844:132;92028:20:::1;91422:1:::0;92548:7;:22;92365:213;92028:20:::1;95792:184::o:0;32357:193::-;32503:39;32520:4;32526:2;32530:7;32503:39;;;;;;;;;;;;:16;:39::i;:::-;32357:193;;;:::o;93791:33::-;;;;;;;:::i;20699:152::-;20771:7;20814:27;20833:7;20814:18;:27::i;16241:233::-;16313:7;-1:-1:-1;;;;;16337:19:0;;16333:60;;16365:28;;;;;;;;;;;;;;16333:60;-1:-1:-1;;;;;;16411:25:0;;;;;:18;:25;;;;;;10400:13;16411:55;;16241:233::o;88822:103::-;88067:13;:11;:13::i;:::-;88887:30:::1;88914:1;88887:18;:30::i;94630:202::-:0;88067:13;:11;:13::i;:::-;94750:11:::1;;94735;94719:13;15331:12:::0;;15118:7;15315:13;:28;;15057:323;94719:13:::1;:27;;;;:::i;:::-;:42;;94711:75;;;::::0;-1:-1:-1;;;94711:75:0;;8354:2:1;94711:75:0::1;::::0;::::1;8336:21:1::0;8393:2;8373:18;;;8366:30;8432:22;8412:18;;;8405:50;8472:18;;94711:75:0::1;8152:344:1::0;94711:75:0::1;94793:33;94803:9;94814:11;94793:9;:33::i;96078:748::-:0;96139:16;96189:18;96224:16;96234:5;96224:9;:16::i;:::-;96210:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;96210:31:0;;96189:52;;96255:11;96269:14;14799:7;14826:13;;14744:103;96269:14;96255:28;;96296:19;96328:25;96371:9;96366:425;96386:3;96382:1;:7;96366:425;;;96413:31;96447:15;96460:1;96447:12;:15::i;:::-;96413:49;;96483:9;:16;;;96479:69;;;96522:8;;;96479:69;96568:14;;-1:-1:-1;;;;;96568:28:0;;96564:107;;96639:14;;;-1:-1:-1;96564:107:0;96712:5;-1:-1:-1;;;;;96691:26:0;:17;-1:-1:-1;;;;;96691:26:0;;96687:91;;96759:1;96740;96742:13;;;;;;96740:16;;;;;;;;:::i;:::-;;;;;;:20;;;;;96687:91;96396:395;96366:425;96391:3;;96366:425;;;-1:-1:-1;96810:1:0;;96078:748;-1:-1:-1;;;;;96078:748:0:o;93621:58::-;;;;;;;:::i;19482:104::-;19538:13;19571:7;19564:14;;;;;:::i;26355:234::-;86812:10;26450:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26450:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26450:60:0;;;;;;;;;;26526:55;;771:41:1;;;26450:49:0;;86812:10;26526:55;;744:18:1;26526:55:0;;;;;;;26355:234;;:::o;95109:130::-;88067:13;:11;:13::i;:::-;95193:18:::1;:40:::0;95109:130::o;33148:407::-;33323:31;33336:4;33342:2;33346:7;33323:12;:31::i;:::-;-1:-1:-1;;;;;33369:14:0;;;:19;33365:183;;33408:56;33439:4;33445:2;33449:7;33458:5;33408:30;:56::i;:::-;33403:145;;33492:40;;-1:-1:-1;;;33492:40:0;;;;;;;;;;;33403:145;33148:407;;;;:::o;96933:373::-;97007:13;97037:17;97045:8;97037:7;:17::i;:::-;97029:77;;;;-1:-1:-1;;;97029:77:0;;12530:2:1;97029:77:0;;;12512:21:1;12569:2;12549:18;;;12542:30;12608:34;12588:18;;;12581:62;12679:17;12659:18;;;12652:45;12714:19;;97029:77:0;12328:411:1;97029:77:0;97115:28;97146:10;:8;:10::i;:::-;97115:41;;97201:1;97176:14;97170:28;:32;:130;;;;;;;;;;;;;;;;;97238:14;97254:19;:8;:17;:19::i;:::-;97275:9;97221:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;97170:130;97163:137;96933:373;-1:-1:-1;;;96933:373:0:o;95677:109::-;88067:13;:11;:13::i;:::-;95753:12:::1;:27;95768:12:::0;95753;:27:::1;:::i;95026:77::-:0;88067:13;:11;:13::i;:::-;95085:4:::1;:12:::0;;-1:-1:-1;;95085:12:0::1;::::0;::::1;;::::0;;;::::1;::::0;;95026:77::o;95245:126::-;88067:13;:11;:13::i;:::-;95327:17:::1;:38:::0;95245:126::o;97416:91::-;97460:13;97489:12;97482:19;;;;;:::i;93536:49::-;;;;;;;:::i;89080:201::-;88067:13;:11;:13::i;:::-;-1:-1:-1;;;;;89169:22:0;::::1;89161:73;;;::::0;-1:-1:-1;;;89161:73:0;;14207:2:1;89161:73:0::1;::::0;::::1;14189:21:1::0;14246:2;14226:18;;;14219:30;14285:34;14265:18;;;14258:62;14356:8;14336:18;;;14329:36;14382:19;;89161:73:0::1;14005:402:1::0;89161:73:0::1;89245:28;89264:8;89245:18;:28::i;94838:76::-:0;88067:13;:11;:13::i;:::-;94898:3:::1;:10;94904:4:::0;94898:3;:10:::1;:::i;95567:104::-:0;88067:13;:11;:13::i;:::-;95641:10:::1;:24;95654:11:::0;95641:10;:24:::1;:::i;88346:132::-:0;88254:6;;-1:-1:-1;;;;;88254:6:0;86812:10;88410:23;88402:68;;;;-1:-1:-1;;;88402:68:0;;14614:2:1;88402:68:0;;;14596:21:1;;;14633:18;;;14626:30;14692:34;14672:18;;;14665:62;14744:18;;88402:68:0;14412:356:1;43308:112:0;43385:27;43395:2;43399:8;43385:27;;;;;;;;;;;;:9;:27::i;27168:282::-;27233:4;27323:13;;27313:7;:23;27270:153;;;;-1:-1:-1;;27374:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27374:44:0;:49;;27168:282::o;21854:1275::-;21921:7;21956;22058:13;;22051:4;:20;22047:1015;;;22096:14;22113:23;;;:17;:23;;;;;;;-1:-1:-1;;;22202:24:0;;:29;;22198:845;;22867:113;22874:6;22884:1;22874:11;22867:113;;-1:-1:-1;;;22945:6:0;22927:25;;;;:17;:25;;;;;;22867:113;;22198:845;22073:989;22047:1015;23090:31;;;;;;;;;;;;;;92064:293;91466:1;92198:7;;:19;92190:63;;;;-1:-1:-1;;;92190:63:0;;14975:2:1;92190:63:0;;;14957:21:1;15014:2;14994:18;;;14987:30;15053:33;15033:18;;;15026:61;15104:18;;92190:63:0;14773:355:1;92190:63:0;91466:1;92331:7;:18;92064:293::o;89441:191::-;89534:6;;;-1:-1:-1;;;;;89551:17:0;;;-1:-1:-1;;89551:17:0;;;;;;;89584:40;;89534:6;;;89551:17;89534:6;;89584:40;;89515:16;;89584:40;89504:128;89441:191;:::o;21302:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21430:24:0;;;;:17;:24;;;;;;21411:44;;-1:-1:-1;;;;;;;;;;;;;23338:41:0;;;;11059:3;23424:33;;;23390:68;;-1:-1:-1;;;23390:68:0;-1:-1:-1;;;23488:24:0;;:29;;-1:-1:-1;;;23469:48:0;;;;11580:3;23557:28;;;;-1:-1:-1;;;23528:58:0;-1:-1:-1;23228:366:0;35639:716;35823:88;;-1:-1:-1;;;35823:88:0;;35802:4;;-1:-1:-1;;;;;35823:45:0;;;;;:88;;86812:10;;35890:4;;35896:7;;35905:5;;35823:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35823:88:0;;;;;;;;-1:-1:-1;;35823:88:0;;;;;;;;;;;;:::i;:::-;;;35819:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36106:6;:13;36123:1;36106:18;36102:235;;36152:40;;-1:-1:-1;;;36152:40:0;;;;;;;;;;;36102:235;36295:6;36289:13;36280:6;36276:2;36272:15;36265:38;35819:529;-1:-1:-1;;;;;;35982:64:0;-1:-1:-1;;;35982:64:0;;-1:-1:-1;35819:529:0;35639:716;;;;;;:::o;97312:98::-;97372:13;97401:3;97394:10;;;;;:::i;75330:716::-;75386:13;75437:14;75454:17;75465:5;75454:10;:17::i;:::-;75474:1;75454:21;75437:38;;75490:20;75524:6;75513:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75513:18:0;-1:-1:-1;75490:41:0;-1:-1:-1;75655:28:0;;;75671:2;75655:28;75712:288;-1:-1:-1;;75744:5:0;75886:8;75881:2;75870:14;;75865:30;75744:5;75852:44;75942:2;75933:11;;;-1:-1:-1;75963:21:0;75712:288;75963:21;-1:-1:-1;76021:6:0;75330:716;-1:-1:-1;;;75330:716:0:o;42535:689::-;42666:19;42672:2;42676:8;42666:5;:19::i;:::-;-1:-1:-1;;;;;42727:14:0;;;:19;42723:483;;42767:11;42781:13;42829:14;;;42862:233;42893:62;42932:1;42936:2;42940:7;;;;;;42949:5;42893:30;:62::i;:::-;42888:167;;42991:40;;-1:-1:-1;;;42991:40:0;;;;;;;;;;;42888:167;43090:3;43082:5;:11;42862:233;;43177:3;43160:13;;:20;43156:34;;43182:8;;;43156:34;42748:458;;42535:689;;;:::o;72164:948::-;72217:7;;72304:8;72295:17;;72291:106;;72342:8;72333:17;;;-1:-1:-1;72379:2:0;72369:12;72291:106;72424:8;72415:5;:17;72411:106;;72462:8;72453:17;;;-1:-1:-1;72499:2:0;72489:12;72411:106;72544:8;72535:5;:17;72531:106;;72582:8;72573:17;;;-1:-1:-1;72619:2:0;72609:12;72531:106;72664:7;72655:5;:16;72651:103;;72701:7;72692:16;;;-1:-1:-1;72737:1:0;72727:11;72651:103;72781:7;72772:5;:16;72768:103;;72818:7;72809:16;;;-1:-1:-1;72854:1:0;72844:11;72768:103;72898:7;72889:5;:16;72885:103;;72935:7;72926:16;;;-1:-1:-1;72971:1:0;72961:11;72885:103;73015:7;73006:5;:16;73002:68;;73053:1;73043:11;73098:6;72164:948;-1:-1:-1;;72164:948:0:o;36817:2966::-;36890:20;36913:13;;;36941;;;36937:44;;36963:18;;;;;;;;;;;;;;36937:44;-1:-1:-1;;;;;37469:22:0;;;;;;:18;:22;;;;10538:2;37469:22;;;:71;;37507:32;37495:45;;37469:71;;;37783:31;;;:17;:31;;;;;-1:-1:-1;24519:15:0;;24493:24;24489:46;24088:11;24063:23;24059:41;24056:52;24046:63;;37783:173;;38018:23;;;;37783:31;;37469:22;;38783:25;37469:22;;38636:335;39297:1;39283:12;39279:20;39237:346;39338:3;39329:7;39326:16;39237:346;;39556:7;39546:8;39543:1;39516:25;39513:1;39510;39505:59;39391:1;39378:15;39237:346;;;39241:77;39616:8;39628:1;39616:13;39612:45;;39638:19;;;;;;;;;;;;;;39612:45;39674:13;:19;-1:-1:-1;32357:193:0;;;:::o;14:180:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:1;;14:180;-1:-1:-1;14:180:1:o;199:177::-;-1:-1:-1;;;;;;277:5:1;273:78;266:5;263:89;253:117;;366:1;363;356:12;381:245;439:6;492:2;480:9;471:7;467:23;463:32;460:52;;;508:1;505;498:12;460:52;547:9;534:23;566:30;590:5;566:30;:::i;823:250::-;908:1;918:113;932:6;929:1;926:13;918:113;;;1008:11;;;1002:18;989:11;;;982:39;954:2;947:10;918:113;;;-1:-1:-1;;1065:1:1;1047:16;;1040:27;823:250::o;1078:271::-;1120:3;1158:5;1152:12;1185:6;1180:3;1173:19;1201:76;1270:6;1263:4;1258:3;1254:14;1247:4;1240:5;1236:16;1201:76;:::i;:::-;1331:2;1310:15;-1:-1:-1;;1306:29:1;1297:39;;;;1338:4;1293:50;;1078:271;-1:-1:-1;;1078:271:1:o;1354:220::-;1503:2;1492:9;1485:21;1466:4;1523:45;1564:2;1553:9;1549:18;1541:6;1523:45;:::i;1810:196::-;1878:20;;-1:-1:-1;;;;;1927:54:1;;1917:65;;1907:93;;1996:1;1993;1986:12;1907:93;1810:196;;;:::o;2011:254::-;2079:6;2087;2140:2;2128:9;2119:7;2115:23;2111:32;2108:52;;;2156:1;2153;2146:12;2108:52;2179:29;2198:9;2179:29;:::i;:::-;2169:39;2255:2;2240:18;;;;2227:32;;-1:-1:-1;;;2011:254:1:o;2452:184::-;-1:-1:-1;;;2501:1:1;2494:88;2601:4;2598:1;2591:15;2625:4;2622:1;2615:15;2641:632;2706:5;2736:18;2777:2;2769:6;2766:14;2763:40;;;2783:18;;:::i;:::-;2858:2;2852:9;2826:2;2912:15;;-1:-1:-1;;2908:24:1;;;2934:2;2904:33;2900:42;2888:55;;;2958:18;;;2978:22;;;2955:46;2952:72;;;3004:18;;:::i;:::-;3044:10;3040:2;3033:22;3073:6;3064:15;;3103:6;3095;3088:22;3143:3;3134:6;3129:3;3125:16;3122:25;3119:45;;;3160:1;3157;3150:12;3119:45;3210:6;3205:3;3198:4;3190:6;3186:17;3173:44;3265:1;3258:4;3249:6;3241;3237:19;3233:30;3226:41;;;;2641:632;;;;;:::o;3278:451::-;3347:6;3400:2;3388:9;3379:7;3375:23;3371:32;3368:52;;;3416:1;3413;3406:12;3368:52;3456:9;3443:23;3489:18;3481:6;3478:30;3475:50;;;3521:1;3518;3511:12;3475:50;3544:22;;3597:4;3589:13;;3585:27;-1:-1:-1;3575:55:1;;3626:1;3623;3616:12;3575:55;3649:74;3715:7;3710:2;3697:16;3692:2;3688;3684:11;3649:74;:::i;3734:328::-;3811:6;3819;3827;3880:2;3868:9;3859:7;3855:23;3851:32;3848:52;;;3896:1;3893;3886:12;3848:52;3919:29;3938:9;3919:29;:::i;:::-;3909:39;;3967:38;4001:2;3990:9;3986:18;3967:38;:::i;:::-;3957:48;;4052:2;4041:9;4037:18;4024:32;4014:42;;3734:328;;;;;:::o;4067:186::-;4126:6;4179:2;4167:9;4158:7;4154:23;4150:32;4147:52;;;4195:1;4192;4185:12;4147:52;4218:29;4237:9;4218:29;:::i;4258:254::-;4326:6;4334;4387:2;4375:9;4366:7;4362:23;4358:32;4355:52;;;4403:1;4400;4393:12;4355:52;4439:9;4426:23;4416:33;;4468:38;4502:2;4491:9;4487:18;4468:38;:::i;:::-;4458:48;;4258:254;;;;;:::o;4517:632::-;4688:2;4740:21;;;4810:13;;4713:18;;;4832:22;;;4659:4;;4688:2;4911:15;;;;4885:2;4870:18;;;4659:4;4954:169;4968:6;4965:1;4962:13;4954:169;;;5029:13;;5017:26;;5098:15;;;;5063:12;;;;4990:1;4983:9;4954:169;;;-1:-1:-1;5140:3:1;;4517:632;-1:-1:-1;;;;;;4517:632:1:o;5154:160::-;5219:20;;5275:13;;5268:21;5258:32;;5248:60;;5304:1;5301;5294:12;5319:254;5384:6;5392;5445:2;5433:9;5424:7;5420:23;5416:32;5413:52;;;5461:1;5458;5451:12;5413:52;5484:29;5503:9;5484:29;:::i;:::-;5474:39;;5532:35;5563:2;5552:9;5548:18;5532:35;:::i;5578:667::-;5673:6;5681;5689;5697;5750:3;5738:9;5729:7;5725:23;5721:33;5718:53;;;5767:1;5764;5757:12;5718:53;5790:29;5809:9;5790:29;:::i;:::-;5780:39;;5838:38;5872:2;5861:9;5857:18;5838:38;:::i;:::-;5828:48;;5923:2;5912:9;5908:18;5895:32;5885:42;;5978:2;5967:9;5963:18;5950:32;6005:18;5997:6;5994:30;5991:50;;;6037:1;6034;6027:12;5991:50;6060:22;;6113:4;6105:13;;6101:27;-1:-1:-1;6091:55:1;;6142:1;6139;6132:12;6091:55;6165:74;6231:7;6226:2;6213:16;6208:2;6204;6200:11;6165:74;:::i;:::-;6155:84;;;5578:667;;;;;;;:::o;6250:180::-;6306:6;6359:2;6347:9;6338:7;6334:23;6330:32;6327:52;;;6375:1;6372;6365:12;6327:52;6398:26;6414:9;6398:26;:::i;6435:260::-;6503:6;6511;6564:2;6552:9;6543:7;6539:23;6535:32;6532:52;;;6580:1;6577;6570:12;6532:52;6603:29;6622:9;6603:29;:::i;:::-;6593:39;;6651:38;6685:2;6674:9;6670:18;6651:38;:::i;6700:437::-;6779:1;6775:12;;;;6822;;;6843:61;;6897:4;6889:6;6885:17;6875:27;;6843:61;6950:2;6942:6;6939:14;6919:18;6916:38;6913:218;;-1:-1:-1;;;6984:1:1;6977:88;7088:4;7085:1;7078:15;7116:4;7113:1;7106:15;6913:218;;6700:437;;;:::o;7833:184::-;-1:-1:-1;;;7882:1:1;7875:88;7982:4;7979:1;7972:15;8006:4;8003:1;7996:15;8022:125;8087:9;;;8108:10;;;8105:36;;;8121:18;;:::i;8858:168::-;8931:9;;;8962;;8979:15;;;8973:22;;8959:37;8949:71;;9000:18;;:::i;9504:545::-;9606:2;9601:3;9598:11;9595:448;;;9642:1;9667:5;9663:2;9656:17;9712:4;9708:2;9698:19;9782:2;9770:10;9766:19;9763:1;9759:27;9753:4;9749:38;9818:4;9806:10;9803:20;9800:47;;;-1:-1:-1;9841:4:1;9800:47;9896:2;9891:3;9887:12;9884:1;9880:20;9874:4;9870:31;9860:41;;9951:82;9969:2;9962:5;9959:13;9951:82;;;10014:17;;;9995:1;9984:13;9951:82;;10225:1352;10351:3;10345:10;10378:18;10370:6;10367:30;10364:56;;;10400:18;;:::i;:::-;10429:97;10519:6;10479:38;10511:4;10505:11;10479:38;:::i;:::-;10473:4;10429:97;:::i;:::-;10581:4;;10645:2;10634:14;;10662:1;10657:663;;;;11364:1;11381:6;11378:89;;;-1:-1:-1;11433:19:1;;;11427:26;11378:89;-1:-1:-1;;10182:1:1;10178:11;;;10174:24;10170:29;10160:40;10206:1;10202:11;;;10157:57;11480:81;;10627:944;;10657:663;9451:1;9444:14;;;9488:4;9475:18;;-1:-1:-1;;10693:20:1;;;10811:236;10825:7;10822:1;10819:14;10811:236;;;10914:19;;;10908:26;10893:42;;11006:27;;;;10974:1;10962:14;;;;10841:19;;10811:236;;;10815:3;11075:6;11066:7;11063:19;11060:201;;;11136:19;;;11130:26;-1:-1:-1;;11219:1:1;11215:14;;;11231:3;11211:24;11207:37;11203:42;11188:58;11173:74;;11060:201;-1:-1:-1;;;;;11307:1:1;11291:14;;;11287:22;11274:36;;-1:-1:-1;10225:1352:1:o;12139:184::-;-1:-1:-1;;;12188:1:1;12181:88;12288:4;12285:1;12278:15;12312:4;12309:1;12302:15;12744:1256;12968:3;13006:6;13000:13;13032:4;13045:64;13102:6;13097:3;13092:2;13084:6;13080:15;13045:64;:::i;:::-;13172:13;;13131:16;;;;13194:68;13172:13;13131:16;13229:15;;;13194:68;:::i;:::-;13351:13;;13284:20;;;13324:1;;13389:36;13351:13;13389:36;:::i;:::-;13444:1;13461:18;;;13488:141;;;;13643:1;13638:337;;;;13454:521;;13488:141;-1:-1:-1;;13523:24:1;;13509:39;;13600:16;;13593:24;13579:39;;13568:51;;;-1:-1:-1;13488:141:1;;13638:337;13669:6;13666:1;13659:17;13717:2;13714:1;13704:16;13742:1;13756:169;13770:8;13767:1;13764:15;13756:169;;;13852:14;;13837:13;;;13830:37;13895:16;;;;13787:10;;13756:169;;;13760:3;;13956:8;13949:5;13945:20;13938:27;;13454:521;-1:-1:-1;13991:3:1;;12744:1256;-1:-1:-1;;;;;;;;;;12744:1256:1:o;15133:512::-;15327:4;-1:-1:-1;;;;;15437:2:1;15429:6;15425:15;15414:9;15407:34;15489:2;15481:6;15477:15;15472:2;15461:9;15457:18;15450:43;;15529:6;15524:2;15513:9;15509:18;15502:34;15572:3;15567:2;15556:9;15552:18;15545:31;15593:46;15634:3;15623:9;15619:19;15611:6;15593:46;:::i;:::-;15585:54;15133:512;-1:-1:-1;;;;;;15133:512:1:o;15650:249::-;15719:6;15772:2;15760:9;15751:7;15747:23;15743:32;15740:52;;;15788:1;15785;15778:12;15740:52;15820:9;15814:16;15839:30;15863:5;15839:30;:::i

Swarm Source

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