ETH Price: $3,469.06 (+0.15%)

Bering X-pathfinder Edition Spaceship (BXES)
 

Overview

TokenID

1025

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
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:
SpecialTier1ExploringShip

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-05-20
*/

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


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

pragma solidity ^0.8.4;

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

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

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

    /**
     * `_sequentialUpTo()` must be greater than `_startTokenId()`.
     */
    error SequentialUpToTooSmall();

    /**
     * The `tokenId` of a sequential mint exceeds `_sequentialUpTo()`.
     */
    error SequentialMintExceedsLimit();

    /**
     * Spot minting requires a `tokenId` greater than `_sequentialUpTo()`.
     */
    error SpotMintTokenIdTooSmall();

    /**
     * Cannot mint over a token that already exists.
     */
    error TokenAlreadyExists();

    /**
     * The feature is not compatible with spot mints.
     */
    error NotCompatibleWithSpotMints();

    // =============================================================
    //                            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.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;


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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * The `_sequentialUpTo()` function can be overriden to enable spot mints
 * (i.e. non-consecutive mints) for `tokenId`s greater than `_sequentialUpTo()`.
 *
 * 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;

    // The amount of tokens minted above `_sequentialUpTo()`.
    // We call these spot mints (i.e. non-sequential mints).
    uint256 private _spotMinted;

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

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

        if (_sequentialUpTo() < _startTokenId()) _revert(SequentialUpToTooSmall.selector);
    }

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

    /**
     * @dev Returns the starting token ID for sequential mints.
     *
     * Override this function to change the starting token ID for sequential mints.
     *
     * Note: The value returned must never change after any tokens have been minted.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the maximum token ID (inclusive) for sequential mints.
     *
     * Override this function to return a value less than 2**256 - 1,
     * but greater than `_startTokenId()`, to enable spot (non-sequential) mints.
     *
     * Note: The value returned must never change after any tokens have been minted.
     */
    function _sequentialUpTo() internal view virtual returns (uint256) {
        return type(uint256).max;
    }

    /**
     * @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 result) {
        // Counter underflow is impossible as `_burnCounter` cannot be incremented
        // more than `_currentIndex + _spotMinted - _startTokenId()` times.
        unchecked {
            // With spot minting, the intermediate `result` can be temporarily negative,
            // and the computation must be unchecked.
            result = _currentIndex - _burnCounter - _startTokenId();
            if (_sequentialUpTo() != type(uint256).max) result += _spotMinted;
        }
    }

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

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

    /**
     * @dev Returns the total number of tokens that are spot-minted.
     */
    function _totalSpotMinted() internal view virtual returns (uint256) {
        return _spotMinted;
    }

    // =============================================================
    //                    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.selector);
        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.selector);

        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 Returns whether the ownership slot at `index` is initialized.
     * An uninitialized slot does not necessarily mean that the slot has no owner.
     */
    function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) {
        return _packedOwnerships[index] != 0;
    }

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

    /**
     * @dev Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) {
        if (_startTokenId() <= tokenId) {
            packed = _packedOwnerships[tokenId];

            if (tokenId > _sequentialUpTo()) {
                if (_packedOwnershipExists(packed)) return packed;
                _revert(OwnerQueryForNonexistentToken.selector);
            }

            // If the data at the starting slot does not exist, start the scan.
            if (packed == 0) {
                if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector);
                // 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, `tokenId` will not underflow.
                //
                // We can directly compare the packed value.
                // If the address is zero, packed will be zero.
                for (;;) {
                    unchecked {
                        packed = _packedOwnerships[--tokenId];
                    }
                    if (packed == 0) continue;
                    if (packed & _BITMASK_BURNED == 0) return packed;
                    // Otherwise, the token is burned, and we must revert.
                    // This handles the case of batch burned tokens, where only the burned bit
                    // of the starting slot is set, and remaining slots are left uninitialized.
                    _revert(OwnerQueryForNonexistentToken.selector);
                }
            }
            // Otherwise, the data exists and we can skip the scan.
            // This is possible because we have already achieved the target condition.
            // This saves 2143 gas on transfers of initialized tokens.
            // If the token is not burned, return `packed`. Otherwise, revert.
            if (packed & _BITMASK_BURNED == 0) return packed;
        }
        _revert(OwnerQueryForNonexistentToken.selector);
    }

    /**
     * @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. See {ERC721A-_approve}.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        _approve(to, tokenId, true);
    }

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

        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 result) {
        if (_startTokenId() <= tokenId) {
            if (tokenId > _sequentialUpTo()) return _packedOwnershipExists(_packedOwnerships[tokenId]);

            if (tokenId < _currentIndex) {
                uint256 packed;
                while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId;
                result = packed & _BITMASK_BURNED == 0;
            }
        }
    }

    /**
     * @dev Returns whether `packed` represents a token that exists.
     */
    function _packedOwnershipExists(uint256 packed) private pure returns (bool result) {
        assembly {
            // The following is equivalent to `owner != address(0) && burned == false`.
            // Symbolically tested.
            result := gt(and(packed, _BITMASK_ADDRESS), and(packed, _BITMASK_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);

        // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
        from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS));

        if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector);

        (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.selector);

        _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;
                    }
                }
            }
        }

        // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
        uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;
        assembly {
            // 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.
                from, // `from`.
                toMasked, // `to`.
                tokenId // `tokenId`.
            )
        }
        if (toMasked == 0) _revert(TransferToZeroAddress.selector);

        _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.selector);
            }
    }

    /**
     * @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.selector);
            }
            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.selector);

        _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:
            // - `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)
            );

            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
            uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;

            if (toMasked == 0) _revert(MintToZeroAddress.selector);

            uint256 end = startTokenId + quantity;
            uint256 tokenId = startTokenId;

            if (end - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector);

            do {
                assembly {
                    // 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`.
                        tokenId // `tokenId`.
                    )
                }
                // The `!=` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
            } while (++tokenId != end);

            _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.selector);
        if (quantity == 0) _revert(MintZeroQuantity.selector);
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector);

        _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)
            );

            if (startTokenId + quantity - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector);

            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.selector);
                    }
                } while (index < end);
                // This prevents reentrancy to `_safeMint`.
                // It does not prevent reentrancy to `_safeMintSpot`.
                if (_currentIndex != end) revert();
            }
        }
    }

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

    /**
     * @dev Mints a single token at `tokenId`.
     *
     * Note: A spot-minted `tokenId` that has been burned can be re-minted again.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` must be greater than `_sequentialUpTo()`.
     * - `tokenId` must not exist.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mintSpot(address to, uint256 tokenId) internal virtual {
        if (tokenId <= _sequentialUpTo()) _revert(SpotMintTokenIdTooSmall.selector);
        uint256 prevOwnershipPacked = _packedOwnerships[tokenId];
        if (_packedOwnershipExists(prevOwnershipPacked)) _revert(TokenAlreadyExists.selector);

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

        // Overflows are incredibly unrealistic.
        // The `numberMinted` for `to` is incremented by 1, and has a max limit of 2**64 - 1.
        // `_spotMinted` is incremented by 1, and has a max limit of 2**256 - 1.
        unchecked {
            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `true` (as `quantity == 1`).
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(1) | _nextExtraData(address(0), to, prevOwnershipPacked)
            );

            // Updates:
            // - `balance += 1`.
            // - `numberMinted += 1`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += (1 << _BITPOS_NUMBER_MINTED) | 1;

            // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
            uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;

            if (toMasked == 0) _revert(MintToZeroAddress.selector);

            assembly {
                // 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`.
                    tokenId // `tokenId`.
                )
            }

            ++_spotMinted;
        }

        _afterTokenTransfers(address(0), to, tokenId, 1);
    }

    /**
     * @dev Safely mints a single token at `tokenId`.
     *
     * Note: A spot-minted `tokenId` that has been burned can be re-minted again.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}.
     * - `tokenId` must be greater than `_sequentialUpTo()`.
     * - `tokenId` must not exist.
     *
     * See {_mintSpot}.
     *
     * Emits a {Transfer} event.
     */
    function _safeMintSpot(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mintSpot(to, tokenId);

        unchecked {
            if (to.code.length != 0) {
                uint256 currentSpotMinted = _spotMinted;
                if (!_checkContractOnERC721Received(address(0), to, tokenId, _data)) {
                    _revert(TransferToNonERC721ReceiverImplementer.selector);
                }
                // This prevents reentrancy to `_safeMintSpot`.
                // It does not prevent reentrancy to `_safeMint`.
                if (_spotMinted != currentSpotMinted) revert();
            }
        }
    }

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

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

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

    /**
     * @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:
     *
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        address owner = ownerOf(tokenId);

        if (approvalCheck && _msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                _revert(ApprovalCallerNotOwnerNorApproved.selector);
            }

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

    // =============================================================
    //                        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.selector);
        }

        _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 + _spotMinted` 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.selector);
        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)
        }
    }

    /**
     * @dev For more efficient reverts.
     */
    function _revert(bytes4 errorSelector) internal pure {
        assembly {
            mstore(0x00, errorSelector)
            revert(0x00, 0x04)
        }
    }
}

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


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

pragma solidity ^0.8.4;


/**
 * @dev Interface of ERC721ABurnable.
 */
interface IERC721ABurnable is IERC721A {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) external;
}

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


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

pragma solidity ^0.8.4;



/**
 * @title ERC721ABurnable.
 *
 * @dev ERC721A token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual override {
        _burn(tokenId, true);
    }
}

// File: NFT.sol



pragma solidity 0.8.19;



contract SpecialTier1ExploringShip is Ownable, ERC721ABurnable {
    bool public mintable = true;
    uint256 public maxSupply = 1155;
    uint256 private initilaized;
    address private launchcaller;
    // Current base URI.
    string public currentBaseURI;
    // The suffix for the token URL, e.g. ".json".
    string private tokenURISuffix;
    string private nftname;
    string private nftsymbol;

    error NotMintable();

    constructor()
        payable
        ERC721A("Bering X-pathfinder Edition Spaceship", "BXES")
    {
        initailize(
            "Bering X-pathfinder Edition Spaceship",
            "BXES",
            "",
            "https://metadata.spacenation.online/spaceship/bxes/",
            1155,
            _msgSender(),
            _msgSender()
        );
    }

    function initailize(
        string memory _name,
        string memory _symbol,
        string memory _tokenURISuffix,
        string memory _currentBaseURI,
        uint256 _maxSupply,
        address _caller,
        address _owner
    ) public virtual {
        require((initilaized == 0), "ALREADY_INITIALIZED");
        nftname = _name;
        nftsymbol = _symbol;
        _transferOwnership(_owner);
        tokenURISuffix = _tokenURISuffix;
        currentBaseURI = _currentBaseURI;
        maxSupply = _maxSupply;
        launchcaller = _caller;
        initilaized = 1;
    }

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

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

    modifier onlyCaller() {
        _checkCaller();
        _;
    }

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

    /**
     * @dev Sets mintable.
     */
    function setMintable(bool _mintable) external onlyOwner {
        mintable = _mintable;
    }

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

    function updateCaller(address _caller) external onlyOwner {
        launchcaller = _caller;
    }

    function renounceOwnership() public view override onlyOwner {
        revert("CLOSED_INTERFACE");
    }

    function mint(uint64 qty, address to)
        external
        virtual
        onlyCaller
        returns (bool)
    {
        if (!mintable) revert NotMintable();
        _mintInternal(qty, to);
        return true;
    }

    function ownermint(address to, uint64 qty) external virtual onlyOwner {
        _mintInternal(qty, to);
    }

    function totalMinted() public view virtual returns (uint256) {
        return _totalMinted();
    }

    /**
     * @dev Implementation of minting.
     */
    function _mintInternal(uint64 qty, address to) private {
        require((totalMinted() + qty <= maxSupply), "Exceeds maximum supply");
        _safeMint(to, qty);
    }

    function burn(uint256 tokenId) public virtual override {
        require(
            (ownerOf(tokenId) == _msgSender()),
            "Ownable: caller is not the NFT owner"
        );
        super.burn(tokenId);
    }

    /**
     * @dev Sets token base URI.
     */
    function setBaseURI(string calldata baseURI) external onlyOwner {
        currentBaseURI = baseURI;
    }

    /**
     * @dev Sets token URI suffix. e.g. ".json".
     */
    function setTokenURISuffix(string calldata suffix) external onlyOwner {
        tokenURISuffix = suffix;
    }

    function setMaxsupply(uint256 _maxsupply) external onlyOwner {
        maxSupply = _maxsupply;
    }

    /**
     * @dev Returns token URI for a given token id.
     */
    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721A, IERC721A)
        returns (string memory)
    {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","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":"NotCompatibleWithSpotMints","type":"error"},{"inputs":[],"name":"NotMintable","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SequentialMintExceedsLimit","type":"error"},{"inputs":[],"name":"SequentialUpToTooSmall","type":"error"},{"inputs":[],"name":"SpotMintTokenIdTooSmall","type":"error"},{"inputs":[],"name":"TokenAlreadyExists","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"caller","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_tokenURISuffix","type":"string"},{"internalType":"string","name":"_currentBaseURI","type":"string"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"address","name":"_caller","type":"address"},{"internalType":"address","name":"_owner","type":"address"}],"name":"initailize","outputs":[],"stateMutability":"nonpayable","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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"qty","type":"uint64"},{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"to","type":"address"},{"internalType":"uint64","name":"qty","type":"uint64"}],"name":"ownermint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxsupply","type":"uint256"}],"name":"setMaxsupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_mintable","type":"bool"}],"name":"setMintable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"suffix","type":"string"}],"name":"setTokenURISuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","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":[{"internalType":"address","name":"_caller","type":"address"}],"name":"updateCaller","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600a805460ff19166001179055610483600b5560e060405260256080818152906200208f60a0396040805180820190915260048152634258455360e01b60208201526200004c33620000e7565b60036200005a8382620002a9565b506004620000698282620002a9565b5060006001555050620000e16040518060600160405280602581526020016200208f60259139604051806040016040528060048152602001634258455360e01b815250604051806020016040528060008152506040518060600160405280603381526020016200205c60339139610483333362000137565b62000375565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600c54156200018c5760405162461bcd60e51b815260206004820152601360248201527f414c52454144595f494e495449414c495a454400000000000000000000000000604482015260640160405180910390fd5b60106200019a8882620002a9565b506011620001a98782620002a9565b50620001b581620000e7565b600f620001c38682620002a9565b50600e620001d28582620002a9565b5050600b91909155600d80546001600160a01b0319166001600160a01b0390921691909117905550506001600c555050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200022f57607f821691505b6020821081036200025057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002a457600081815260208120601f850160051c810160208610156200027f5750805b601f850160051c820191505b81811015620002a0578281556001016200028b565b5050505b505050565b81516001600160401b03811115620002c557620002c562000204565b620002dd81620002d684546200021a565b8462000256565b602080601f831160018114620003155760008415620002fc5750858301515b600019600386901b1c1916600185901b178555620002a0565b600085815260208120601f198616915b82811015620003465788860151825594840194600190910190840162000325565b5085821015620003655787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611cd780620003856000396000f3fe6080604052600436106101d85760003560e01c8063715018a611610102578063a9852bfb11610095578063d5abeb0111610064578063d5abeb0114610509578063e985e9c51461051f578063f2fde38b14610568578063fc9c8d391461058857600080fd5b8063a9852bfb14610496578063b88d4fde146104b6578063bde17fc0146104c9578063c87b56dd146104e957600080fd5b806397d4ccd2116100d157806397d4ccd21461042c5780639b9df99b14610441578063a22cb46514610461578063a2309ff81461048157600080fd5b8063715018a6146103c45780638da5cb5b146103d957806394b44725146103f757806395d89b411461041757600080fd5b806323b872dd1161017a5780634bf365df116101495780634bf365df1461034a57806355f804b3146103645780636352211e1461038457806370a08231146103a457600080fd5b806323b872dd146102e4578063285d70d4146102f757806342842e0e1461031757806342966c681461032a57600080fd5b8063095ea7b3116101b6578063095ea7b31461026c578063149835a01461028157806317deeba0146102a157806318160ddd146102c157600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f83660046114d6565b6105a6565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b506102276105f8565b6040516102099190611543565b34801561024057600080fd5b5061025461024f366004611556565b61068a565b6040516001600160a01b039091168152602001610209565b61027f61027a366004611586565b6106c5565b005b34801561028d57600080fd5b5061027f61029c366004611556565b6106d5565b3480156102ad57600080fd5b506101fd6102bc3660046115c8565b6106e2565b3480156102cd57600080fd5b506102d6610722565b604051908152602001610209565b61027f6102f23660046115fb565b61073b565b34801561030357600080fd5b5061027f610312366004611647565b6108aa565b61027f6103253660046115fb565b6108c5565b34801561033657600080fd5b5061027f610345366004611556565b6108e5565b34801561035657600080fd5b50600a546101fd9060ff1681565b34801561037057600080fd5b5061027f61037f366004611662565b610962565b34801561039057600080fd5b5061025461039f366004611556565b610977565b3480156103b057600080fd5b506102d66103bf3660046116d4565b610982565b3480156103d057600080fd5b5061027f6109c8565b3480156103e557600080fd5b506000546001600160a01b0316610254565b34801561040357600080fd5b5061027f6104123660046116ef565b610a0b565b34801561042357600080fd5b50610227610a1d565b34801561043857600080fd5b50610227610a2c565b34801561044d57600080fd5b5061027f61045c3660046116d4565b610aba565b34801561046d57600080fd5b5061027f61047c366004611719565b610ae4565b34801561048d57600080fd5b506102d6610b50565b3480156104a257600080fd5b5061027f6104b1366004611662565b610b5f565b61027f6104c43660046117cf565b610b74565b3480156104d557600080fd5b5061027f6104e436600461186b565b610bb5565b3480156104f557600080fd5b50610227610504366004611556565b610c69565b34801561051557600080fd5b506102d6600b5481565b34801561052b57600080fd5b506101fd61053a366004611943565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561057457600080fd5b5061027f6105833660046116d4565b610d73565b34801561059457600080fd5b50600d546001600160a01b0316610254565b60006301ffc9a760e01b6001600160e01b0319831614806105d757506380ac58cd60e01b6001600160e01b03198316145b806105f25750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060601080546106079061195f565b80601f01602080910402602001604051908101604052809291908181526020018280546106339061195f565b80156106805780601f1061065557610100808354040283529160200191610680565b820191906000526020600020905b81548152906001019060200180831161066357829003601f168201915b5050505050905090565b600061069582610de9565b6106a9576106a96333d1c03960e21b610e2f565b506000908152600760205260409020546001600160a01b031690565b6106d182826001610e39565b5050565b6106dd610edc565b600b55565b60006106ec610f38565b600a5460ff1661070f57604051630952c8a960e11b815260040160405180910390fd5b6107198383610fa3565b50600192915050565b60025460015403600019805b1461073857600954015b90565b60006107468261101e565b6001600160a01b03948516949091508116841461076c5761076c62a1148160e81b610e2f565b600082815260076020526040902080546107988187335b6001600160a01b039081169116811491141790565b6107ba576107a6863361053a565b6107ba576107ba632ce44b5f60e11b610e2f565b80156107c557600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610857576001840160008181526005602052604081205490036108555760015481146108555760008181526005602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4806000036108a1576108a1633a954ecd60e21b610e2f565b50505050505050565b6108b2610edc565b600a805460ff1916911515919091179055565b6108e083838360405180602001604052806000815250610b74565b505050565b336108ef82610977565b6001600160a01b0316146109565760405162461bcd60e51b8152602060048201526024808201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865204e4654206f6044820152633bb732b960e11b60648201526084015b60405180910390fd5b61095f816110b4565b50565b61096a610edc565b600e6108e08284836119e7565b60006105f28261101e565b60006001600160a01b0382166109a2576109a26323d3ad8160e21b610e2f565b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6109d0610edc565b60405162461bcd60e51b815260206004820152601060248201526f434c4f5345445f494e5445524641434560801b604482015260640161094d565b610a13610edc565b6106d18183610fa3565b6060601180546106079061195f565b600e8054610a399061195f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a659061195f565b8015610ab25780601f10610a8757610100808354040283529160200191610ab2565b820191906000526020600020905b815481529060010190602001808311610a9557829003601f168201915b505050505081565b610ac2610edc565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610b5a6110bf565b905090565b610b67610edc565b600f6108e08284836119e7565b610b7f84848461073b565b6001600160a01b0383163b15610baf57610b9b848484846110cb565b610baf57610baf6368d2bf6b60e11b610e2f565b50505050565b600c5415610bfb5760405162461bcd60e51b81526020600482015260136024820152721053149150511657d253925512505312569151606a1b604482015260640161094d565b6010610c078882611aa7565b506011610c148782611aa7565b50610c1e816111ad565b600f610c2a8682611aa7565b50600e610c378582611aa7565b5050600b91909155600d80546001600160a01b0319166001600160a01b0390921691909117905550506001600c555050565b6060610c7482610de9565b610c9157604051630a14c4b560e41b815260040160405180910390fd5b6000600e8054610ca09061195f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ccc9061195f565b8015610d195780601f10610cee57610100808354040283529160200191610d19565b820191906000526020600020905b815481529060010190602001808311610cfc57829003601f168201915b505050505090508051600003610d3e5760405180602001604052806000815250610d6c565b80610d48846111fd565b600f604051602001610d5c93929190611b67565b6040516020818303038152906040525b9392505050565b610d7b610edc565b6001600160a01b038116610de05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161094d565b61095f816111ad565b6000600154821015610e2a5760005b5060008281526005602052604081205490819003610e2057610e1983611c1d565b9250610df8565b600160e01b161590505b919050565b8060005260046000fd5b6000610e4483610977565b9050818015610e5c5750336001600160a01b03821614155b15610e7f57610e6b813361053a565b610e7f57610e7f6367d9dca160e11b610e2f565b60008381526007602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6000546001600160a01b03163314610f365760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161094d565b565b600d546001600160a01b03163314610f365760405162461bcd60e51b815260206004820152602860248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206d696e742060448201526718dbdb9d1c9858dd60c21b606482015260840161094d565b600b548267ffffffffffffffff16610fb9610b50565b610fc39190611c34565b111561100a5760405162461bcd60e51b815260206004820152601660248201527545786365656473206d6178696d756d20737570706c7960501b604482015260640161094d565b6106d1818367ffffffffffffffff16611241565b6000818152600560205260409020548060000361109157600154821061104e5761104e636f96cda160e11b610e2f565b5b5060001901600081815260056020526040902054801561104f57600160e01b811660000361107c57919050565b61108c636f96cda160e11b610e2f565b61104f565b600160e01b81166000036110a457919050565b610e2a636f96cda160e11b610e2f565b61095f81600161125b565b6001546000198061072e565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611100903390899088908890600401611c47565b6020604051808303816000875af192505050801561113b575060408051601f3d908101601f1916820190925261113891810190611c84565b60015b611190573d808015611169576040519150601f19603f3d011682016040523d82523d6000602084013e61116e565b606091505b508051600003611188576111886368d2bf6b60e11b610e2f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806112175750819003601f19909101908152919050565b6106d182826040518060200160405280600081525061139d565b60006112668361101e565b90508060008061128486600090815260076020526040902080549091565b9150915084156112bb57611299818433610783565b6112bb576112a7833361053a565b6112bb576112bb632ce44b5f60e11b610e2f565b80156112c657600082555b6001600160a01b038316600081815260066020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260056020526040812091909155600160e11b85169003611354576001860160008181526005602052604081205490036113525760015481146113525760008181526005602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060028054600101905550505050565b6113a78383611401565b6001600160a01b0383163b156108e0576001548281035b6113d160008683806001019450866110cb565b6113e5576113e56368d2bf6b60e11b610e2f565b8181106113be5781600154146113fa57600080fd5b5050505050565b600154600082900361141d5761141d63b562e8dd60e01b610e2f565b60008181526005602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526006909252822080546801000000000000000186020190559081900361147b5761147b622e076360e81b610e2f565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508103611480575060015550505050565b6001600160e01b03198116811461095f57600080fd5b6000602082840312156114e857600080fd5b8135610d6c816114c0565b60005b8381101561150e5781810151838201526020016114f6565b50506000910152565b6000815180845261152f8160208601602086016114f3565b601f01601f19169290920160200192915050565b602081526000610d6c6020830184611517565b60006020828403121561156857600080fd5b5035919050565b80356001600160a01b0381168114610e2a57600080fd5b6000806040838503121561159957600080fd5b6115a28361156f565b946020939093013593505050565b803567ffffffffffffffff81168114610e2a57600080fd5b600080604083850312156115db57600080fd5b6115e4836115b0565b91506115f26020840161156f565b90509250929050565b60008060006060848603121561161057600080fd5b6116198461156f565b92506116276020850161156f565b9150604084013590509250925092565b80358015158114610e2a57600080fd5b60006020828403121561165957600080fd5b610d6c82611637565b6000806020838503121561167557600080fd5b823567ffffffffffffffff8082111561168d57600080fd5b818501915085601f8301126116a157600080fd5b8135818111156116b057600080fd5b8660208285010111156116c257600080fd5b60209290920196919550909350505050565b6000602082840312156116e657600080fd5b610d6c8261156f565b6000806040838503121561170257600080fd5b61170b8361156f565b91506115f2602084016115b0565b6000806040838503121561172c57600080fd5b6117358361156f565b91506115f260208401611637565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561177457611774611743565b604051601f8501601f19908116603f0116810190828211818310171561179c5761179c611743565b816040528093508581528686860111156117b557600080fd5b858560208301376000602087830101525050509392505050565b600080600080608085870312156117e557600080fd5b6117ee8561156f565b93506117fc6020860161156f565b925060408501359150606085013567ffffffffffffffff81111561181f57600080fd5b8501601f8101871361183057600080fd5b61183f87823560208401611759565b91505092959194509250565b600082601f83011261185c57600080fd5b610d6c83833560208501611759565b600080600080600080600060e0888a03121561188657600080fd5b873567ffffffffffffffff8082111561189e57600080fd5b6118aa8b838c0161184b565b985060208a01359150808211156118c057600080fd5b6118cc8b838c0161184b565b975060408a01359150808211156118e257600080fd5b6118ee8b838c0161184b565b965060608a013591508082111561190457600080fd5b506119118a828b0161184b565b9450506080880135925061192760a0890161156f565b915061193560c0890161156f565b905092959891949750929550565b6000806040838503121561195657600080fd5b6115e48361156f565b600181811c9082168061197357607f821691505b60208210810361199357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156108e057600081815260208120601f850160051c810160208610156119c05750805b601f850160051c820191505b818110156119df578281556001016119cc565b505050505050565b67ffffffffffffffff8311156119ff576119ff611743565b611a1383611a0d835461195f565b83611999565b6000601f841160018114611a475760008515611a2f5750838201355b600019600387901b1c1916600186901b1783556113fa565b600083815260209020601f19861690835b82811015611a785786850135825560209485019460019092019101611a58565b5086821015611a955760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b815167ffffffffffffffff811115611ac157611ac1611743565b611ad581611acf845461195f565b84611999565b602080601f831160018114611b0a5760008415611af25750858301515b600019600386901b1c1916600185901b1785556119df565b600085815260208120601f198616915b82811015611b3957888601518255948401946001909101908401611b1a565b5085821015611b575787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600084516020611b7a8285838a016114f3565b855191840191611b8d8184848a016114f3565b8554920191600090611b9e8161195f565b60018281168015611bb65760018114611bcb57611bf7565b60ff1984168752821515830287019450611bf7565b896000528560002060005b84811015611bef57815489820152908301908701611bd6565b505082870194505b50929a9950505050505050505050565b634e487b7160e01b600052601160045260246000fd5b600081611c2c57611c2c611c07565b506000190190565b808201808211156105f2576105f2611c07565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c7a90830184611517565b9695505050505050565b600060208284031215611c9657600080fd5b8151610d6c816114c056fea26469706673582212206764a9a888e90e7683ac9cccda59fd74a25505231182ad35dce35f0202751a3a64736f6c6343000813003368747470733a2f2f6d657461646174612e73706163656e6174696f6e2e6f6e6c696e652f7370616365736869702f627865732f426572696e6720582d7061746866696e6465722045646974696f6e20537061636573686970

Deployed Bytecode

0x6080604052600436106101d85760003560e01c8063715018a611610102578063a9852bfb11610095578063d5abeb0111610064578063d5abeb0114610509578063e985e9c51461051f578063f2fde38b14610568578063fc9c8d391461058857600080fd5b8063a9852bfb14610496578063b88d4fde146104b6578063bde17fc0146104c9578063c87b56dd146104e957600080fd5b806397d4ccd2116100d157806397d4ccd21461042c5780639b9df99b14610441578063a22cb46514610461578063a2309ff81461048157600080fd5b8063715018a6146103c45780638da5cb5b146103d957806394b44725146103f757806395d89b411461041757600080fd5b806323b872dd1161017a5780634bf365df116101495780634bf365df1461034a57806355f804b3146103645780636352211e1461038457806370a08231146103a457600080fd5b806323b872dd146102e4578063285d70d4146102f757806342842e0e1461031757806342966c681461032a57600080fd5b8063095ea7b3116101b6578063095ea7b31461026c578063149835a01461028157806317deeba0146102a157806318160ddd146102c157600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f83660046114d6565b6105a6565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b506102276105f8565b6040516102099190611543565b34801561024057600080fd5b5061025461024f366004611556565b61068a565b6040516001600160a01b039091168152602001610209565b61027f61027a366004611586565b6106c5565b005b34801561028d57600080fd5b5061027f61029c366004611556565b6106d5565b3480156102ad57600080fd5b506101fd6102bc3660046115c8565b6106e2565b3480156102cd57600080fd5b506102d6610722565b604051908152602001610209565b61027f6102f23660046115fb565b61073b565b34801561030357600080fd5b5061027f610312366004611647565b6108aa565b61027f6103253660046115fb565b6108c5565b34801561033657600080fd5b5061027f610345366004611556565b6108e5565b34801561035657600080fd5b50600a546101fd9060ff1681565b34801561037057600080fd5b5061027f61037f366004611662565b610962565b34801561039057600080fd5b5061025461039f366004611556565b610977565b3480156103b057600080fd5b506102d66103bf3660046116d4565b610982565b3480156103d057600080fd5b5061027f6109c8565b3480156103e557600080fd5b506000546001600160a01b0316610254565b34801561040357600080fd5b5061027f6104123660046116ef565b610a0b565b34801561042357600080fd5b50610227610a1d565b34801561043857600080fd5b50610227610a2c565b34801561044d57600080fd5b5061027f61045c3660046116d4565b610aba565b34801561046d57600080fd5b5061027f61047c366004611719565b610ae4565b34801561048d57600080fd5b506102d6610b50565b3480156104a257600080fd5b5061027f6104b1366004611662565b610b5f565b61027f6104c43660046117cf565b610b74565b3480156104d557600080fd5b5061027f6104e436600461186b565b610bb5565b3480156104f557600080fd5b50610227610504366004611556565b610c69565b34801561051557600080fd5b506102d6600b5481565b34801561052b57600080fd5b506101fd61053a366004611943565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561057457600080fd5b5061027f6105833660046116d4565b610d73565b34801561059457600080fd5b50600d546001600160a01b0316610254565b60006301ffc9a760e01b6001600160e01b0319831614806105d757506380ac58cd60e01b6001600160e01b03198316145b806105f25750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060601080546106079061195f565b80601f01602080910402602001604051908101604052809291908181526020018280546106339061195f565b80156106805780601f1061065557610100808354040283529160200191610680565b820191906000526020600020905b81548152906001019060200180831161066357829003601f168201915b5050505050905090565b600061069582610de9565b6106a9576106a96333d1c03960e21b610e2f565b506000908152600760205260409020546001600160a01b031690565b6106d182826001610e39565b5050565b6106dd610edc565b600b55565b60006106ec610f38565b600a5460ff1661070f57604051630952c8a960e11b815260040160405180910390fd5b6107198383610fa3565b50600192915050565b60025460015403600019805b1461073857600954015b90565b60006107468261101e565b6001600160a01b03948516949091508116841461076c5761076c62a1148160e81b610e2f565b600082815260076020526040902080546107988187335b6001600160a01b039081169116811491141790565b6107ba576107a6863361053a565b6107ba576107ba632ce44b5f60e11b610e2f565b80156107c557600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610857576001840160008181526005602052604081205490036108555760015481146108555760008181526005602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4806000036108a1576108a1633a954ecd60e21b610e2f565b50505050505050565b6108b2610edc565b600a805460ff1916911515919091179055565b6108e083838360405180602001604052806000815250610b74565b505050565b336108ef82610977565b6001600160a01b0316146109565760405162461bcd60e51b8152602060048201526024808201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865204e4654206f6044820152633bb732b960e11b60648201526084015b60405180910390fd5b61095f816110b4565b50565b61096a610edc565b600e6108e08284836119e7565b60006105f28261101e565b60006001600160a01b0382166109a2576109a26323d3ad8160e21b610e2f565b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6109d0610edc565b60405162461bcd60e51b815260206004820152601060248201526f434c4f5345445f494e5445524641434560801b604482015260640161094d565b610a13610edc565b6106d18183610fa3565b6060601180546106079061195f565b600e8054610a399061195f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a659061195f565b8015610ab25780601f10610a8757610100808354040283529160200191610ab2565b820191906000526020600020905b815481529060010190602001808311610a9557829003601f168201915b505050505081565b610ac2610edc565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610b5a6110bf565b905090565b610b67610edc565b600f6108e08284836119e7565b610b7f84848461073b565b6001600160a01b0383163b15610baf57610b9b848484846110cb565b610baf57610baf6368d2bf6b60e11b610e2f565b50505050565b600c5415610bfb5760405162461bcd60e51b81526020600482015260136024820152721053149150511657d253925512505312569151606a1b604482015260640161094d565b6010610c078882611aa7565b506011610c148782611aa7565b50610c1e816111ad565b600f610c2a8682611aa7565b50600e610c378582611aa7565b5050600b91909155600d80546001600160a01b0319166001600160a01b0390921691909117905550506001600c555050565b6060610c7482610de9565b610c9157604051630a14c4b560e41b815260040160405180910390fd5b6000600e8054610ca09061195f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ccc9061195f565b8015610d195780601f10610cee57610100808354040283529160200191610d19565b820191906000526020600020905b815481529060010190602001808311610cfc57829003601f168201915b505050505090508051600003610d3e5760405180602001604052806000815250610d6c565b80610d48846111fd565b600f604051602001610d5c93929190611b67565b6040516020818303038152906040525b9392505050565b610d7b610edc565b6001600160a01b038116610de05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161094d565b61095f816111ad565b6000600154821015610e2a5760005b5060008281526005602052604081205490819003610e2057610e1983611c1d565b9250610df8565b600160e01b161590505b919050565b8060005260046000fd5b6000610e4483610977565b9050818015610e5c5750336001600160a01b03821614155b15610e7f57610e6b813361053a565b610e7f57610e7f6367d9dca160e11b610e2f565b60008381526007602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6000546001600160a01b03163314610f365760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161094d565b565b600d546001600160a01b03163314610f365760405162461bcd60e51b815260206004820152602860248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206d696e742060448201526718dbdb9d1c9858dd60c21b606482015260840161094d565b600b548267ffffffffffffffff16610fb9610b50565b610fc39190611c34565b111561100a5760405162461bcd60e51b815260206004820152601660248201527545786365656473206d6178696d756d20737570706c7960501b604482015260640161094d565b6106d1818367ffffffffffffffff16611241565b6000818152600560205260409020548060000361109157600154821061104e5761104e636f96cda160e11b610e2f565b5b5060001901600081815260056020526040902054801561104f57600160e01b811660000361107c57919050565b61108c636f96cda160e11b610e2f565b61104f565b600160e01b81166000036110a457919050565b610e2a636f96cda160e11b610e2f565b61095f81600161125b565b6001546000198061072e565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611100903390899088908890600401611c47565b6020604051808303816000875af192505050801561113b575060408051601f3d908101601f1916820190925261113891810190611c84565b60015b611190573d808015611169576040519150601f19603f3d011682016040523d82523d6000602084013e61116e565b606091505b508051600003611188576111886368d2bf6b60e11b610e2f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806112175750819003601f19909101908152919050565b6106d182826040518060200160405280600081525061139d565b60006112668361101e565b90508060008061128486600090815260076020526040902080549091565b9150915084156112bb57611299818433610783565b6112bb576112a7833361053a565b6112bb576112bb632ce44b5f60e11b610e2f565b80156112c657600082555b6001600160a01b038316600081815260066020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260056020526040812091909155600160e11b85169003611354576001860160008181526005602052604081205490036113525760015481146113525760008181526005602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060028054600101905550505050565b6113a78383611401565b6001600160a01b0383163b156108e0576001548281035b6113d160008683806001019450866110cb565b6113e5576113e56368d2bf6b60e11b610e2f565b8181106113be5781600154146113fa57600080fd5b5050505050565b600154600082900361141d5761141d63b562e8dd60e01b610e2f565b60008181526005602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526006909252822080546801000000000000000186020190559081900361147b5761147b622e076360e81b610e2f565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508103611480575060015550505050565b6001600160e01b03198116811461095f57600080fd5b6000602082840312156114e857600080fd5b8135610d6c816114c0565b60005b8381101561150e5781810151838201526020016114f6565b50506000910152565b6000815180845261152f8160208601602086016114f3565b601f01601f19169290920160200192915050565b602081526000610d6c6020830184611517565b60006020828403121561156857600080fd5b5035919050565b80356001600160a01b0381168114610e2a57600080fd5b6000806040838503121561159957600080fd5b6115a28361156f565b946020939093013593505050565b803567ffffffffffffffff81168114610e2a57600080fd5b600080604083850312156115db57600080fd5b6115e4836115b0565b91506115f26020840161156f565b90509250929050565b60008060006060848603121561161057600080fd5b6116198461156f565b92506116276020850161156f565b9150604084013590509250925092565b80358015158114610e2a57600080fd5b60006020828403121561165957600080fd5b610d6c82611637565b6000806020838503121561167557600080fd5b823567ffffffffffffffff8082111561168d57600080fd5b818501915085601f8301126116a157600080fd5b8135818111156116b057600080fd5b8660208285010111156116c257600080fd5b60209290920196919550909350505050565b6000602082840312156116e657600080fd5b610d6c8261156f565b6000806040838503121561170257600080fd5b61170b8361156f565b91506115f2602084016115b0565b6000806040838503121561172c57600080fd5b6117358361156f565b91506115f260208401611637565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561177457611774611743565b604051601f8501601f19908116603f0116810190828211818310171561179c5761179c611743565b816040528093508581528686860111156117b557600080fd5b858560208301376000602087830101525050509392505050565b600080600080608085870312156117e557600080fd5b6117ee8561156f565b93506117fc6020860161156f565b925060408501359150606085013567ffffffffffffffff81111561181f57600080fd5b8501601f8101871361183057600080fd5b61183f87823560208401611759565b91505092959194509250565b600082601f83011261185c57600080fd5b610d6c83833560208501611759565b600080600080600080600060e0888a03121561188657600080fd5b873567ffffffffffffffff8082111561189e57600080fd5b6118aa8b838c0161184b565b985060208a01359150808211156118c057600080fd5b6118cc8b838c0161184b565b975060408a01359150808211156118e257600080fd5b6118ee8b838c0161184b565b965060608a013591508082111561190457600080fd5b506119118a828b0161184b565b9450506080880135925061192760a0890161156f565b915061193560c0890161156f565b905092959891949750929550565b6000806040838503121561195657600080fd5b6115e48361156f565b600181811c9082168061197357607f821691505b60208210810361199357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156108e057600081815260208120601f850160051c810160208610156119c05750805b601f850160051c820191505b818110156119df578281556001016119cc565b505050505050565b67ffffffffffffffff8311156119ff576119ff611743565b611a1383611a0d835461195f565b83611999565b6000601f841160018114611a475760008515611a2f5750838201355b600019600387901b1c1916600186901b1783556113fa565b600083815260209020601f19861690835b82811015611a785786850135825560209485019460019092019101611a58565b5086821015611a955760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b815167ffffffffffffffff811115611ac157611ac1611743565b611ad581611acf845461195f565b84611999565b602080601f831160018114611b0a5760008415611af25750858301515b600019600386901b1c1916600185901b1785556119df565b600085815260208120601f198616915b82811015611b3957888601518255948401946001909101908401611b1a565b5085821015611b575787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600084516020611b7a8285838a016114f3565b855191840191611b8d8184848a016114f3565b8554920191600090611b9e8161195f565b60018281168015611bb65760018114611bcb57611bf7565b60ff1984168752821515830287019450611bf7565b896000528560002060005b84811015611bef57815489820152908301908701611bd6565b505082870194505b50929a9950505050505050505050565b634e487b7160e01b600052601160045260246000fd5b600081611c2c57611c2c611c07565b506000190190565b808201808211156105f2576105f2611c07565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c7a90830184611517565b9695505050505050565b600060208284031215611c9657600080fd5b8151610d6c816114c056fea26469706673582212206764a9a888e90e7683ac9cccda59fd74a25505231182ad35dce35f0202751a3a64736f6c63430008130033

Deployed Bytecode Sourcemap

65502:4868:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24174:639;;;;;;;;;;-1:-1:-1;24174:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;24174:639:0;;;;;;;;67013:171;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;32316:227::-;;;;;;;;;;-1:-1:-1;32316:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;32316:227:0;1533:203:1;32033:124:0;;;;;;:::i;:::-;;:::i;:::-;;69611:102;;;;;;;;;;-1:-1:-1;69611:102:0;;;;;:::i;:::-;;:::i;68319:231::-;;;;;;;;;;-1:-1:-1;68319:231:0;;;;;:::i;:::-;;:::i;20278:573::-;;;;;;;;;;;;;:::i;:::-;;;2763:25:1;;;2751:2;2736:18;20278:573:0;2617:177:1;36588:3523:0;;;;;;:::i;:::-;;:::i;67739:95::-;;;;;;;;;;-1:-1:-1;67739:95:0;;;;;:::i;:::-;;:::i;40207:193::-;;;;;;:::i;:::-;;:::i;69024:224::-;;;;;;;;;;-1:-1:-1;69024:224:0;;;;;:::i;:::-;;:::i;65572:27::-;;;;;;;;;;-1:-1:-1;65572:27:0;;;;;;;;69308:107;;;;;;;;;;-1:-1:-1;69308:107:0;;;;;:::i;:::-;;:::i;26478:152::-;;;;;;;;;;-1:-1:-1;26478:152:0;;;;;:::i;:::-;;:::i;22002:242::-;;;;;;;;;;-1:-1:-1;22002:242:0;;;;;:::i;:::-;;:::i;68206:105::-;;;;;;;;;;;;;:::i;2128:87::-;;;;;;;;;;-1:-1:-1;2174:7:0;2201:6;-1:-1:-1;;;;;2201:6:0;2128:87;;68558:111;;;;;;;;;;-1:-1:-1;68558:111:0;;;;;:::i;:::-;;:::i;67260:175::-;;;;;;;;;;;;;:::i;65739:28::-;;;;;;;;;;;;;:::i;68099:99::-;;;;;;;;;;-1:-1:-1;68099:99:0;;;;;:::i;:::-;;:::i;32883:234::-;;;;;;;;;;-1:-1:-1;32883:234:0;;;;;:::i;:::-;;:::i;68677:101::-;;;;;;;;;;;;;:::i;69491:112::-;;;;;;;;;;-1:-1:-1;69491:112:0;;;;;:::i;:::-;;:::i;40998:416::-;;;;;;:::i;:::-;;:::i;66335:604::-;;;;;;;;;;-1:-1:-1;66335:604:0;;;;;:::i;:::-;;:::i;69792:575::-;;;;;;;;;;-1:-1:-1;69792:575:0;;;;;:::i;:::-;;:::i;65606:31::-;;;;;;;;;;;;;;;;33274:164;;;;;;;;;;-1:-1:-1;33274:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;33395:25:0;;;33371:4;33395:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33274:164;3027:201;;;;;;;;;;-1:-1:-1;3027:201:0;;;;;:::i;:::-;;:::i;67591:94::-;;;;;;;;;;-1:-1:-1;67665:12:0;;-1:-1:-1;;;;;67665:12:0;67591:94;;24174:639;24259:4;-1:-1:-1;;;;;;;;;24583:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;24660:25:0;;;24583:102;:179;;;-1:-1:-1;;;;;;;;;;24737:25:0;;;24583:179;24563:199;24174:639;-1:-1:-1;;24174:639:0:o;67013:171::-;67131:13;67169:7;67162:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67013:171;:::o;32316:227::-;32392:7;32417:16;32425:7;32417;:16::i;:::-;32412:73;;32435:50;-1:-1:-1;;;32435:7:0;:50::i;:::-;-1:-1:-1;32505:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;32505:30:0;;32316:227::o;32033:124::-;32122:27;32131:2;32135:7;32144:4;32122:8;:27::i;:::-;32033:124;;:::o;69611:102::-;2014:13;:11;:13::i;:::-;69683:9:::1;:22:::0;69611:102::o;68319:231::-;68430:4;67476:14;:12;:14::i;:::-;68457:8:::1;::::0;::::1;;68452:35;;68474:13;;-1:-1:-1::0;;;68474:13:0::1;;;;;;;;;;;68452:35;68498:22;68512:3;68517:2;68498:13;:22::i;:::-;-1:-1:-1::0;68538:4:0::1;68319:231:::0;;;;:::o;20278:573::-;20722:12;;20706:13;;:28;-1:-1:-1;;20792:17:0;20771;:38;20767:65;;20821:11;;20811:21;20767:65;20278:573;:::o;36588:3523::-;36730:27;36760;36779:7;36760:18;:27::i;:::-;-1:-1:-1;;;;;36915:22:0;;;;36730:57;;-1:-1:-1;36975:45:0;;;;36971:95;;37022:44;-1:-1:-1;;;37022:7:0;:44::i;:::-;37080:27;35696:24;;;:15;:24;;;;;35924:26;;37271:68;35924:26;37313:4;62273:10;37319:19;-1:-1:-1;;;;;35170:32:0;;;35014:28;;35299:20;;35321:30;;35296:56;;34711:659;37271:68;37266:189;;37359:43;37376:4;62273:10;33274:164;:::i;37359:43::-;37354:101;;37404:51;-1:-1:-1;;;37404:7:0;:51::i;:::-;37604:15;37601:160;;;37744:1;37723:19;37716:30;37601:160;-1:-1:-1;;;;;38141:24:0;;;;;;;:18;:24;;;;;;38139:26;;-1:-1:-1;;38139:26:0;;;38210:22;;;;;;;;;38208:24;;-1:-1:-1;38208:24:0;;;31135:11;31110:23;31106:41;31093:63;-1:-1:-1;;;31093:63:0;38503:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;38798:47:0;;:52;;38794:627;;38903:1;38893:11;;38871:19;39026:30;;;:17;:30;;;;;;:35;;39022:384;;39164:13;;39149:11;:28;39145:242;;39311:30;;;;:17;:30;;;;;:52;;;39145:242;38852:569;38794:627;-1:-1:-1;;;;;39553:20:0;;39933:7;39553:20;39863:4;39805:25;39534:16;;39670:299;39994:8;40006:1;39994:13;39990:58;;40009:39;-1:-1:-1;;;40009:7:0;:39::i;:::-;36719:3392;;;;36588:3523;;;:::o;67739:95::-;2014:13;:11;:13::i;:::-;67806:8:::1;:20:::0;;-1:-1:-1;;67806:20:0::1;::::0;::::1;;::::0;;;::::1;::::0;;67739:95::o;40207:193::-;40353:39;40370:4;40376:2;40380:7;40353:39;;;;;;;;;;;;:16;:39::i;:::-;40207:193;;;:::o;69024:224::-;62273:10;69113:16;69121:7;69113;:16::i;:::-;-1:-1:-1;;;;;69113:32:0;;69090:120;;;;-1:-1:-1;;;69090:120:0;;8477:2:1;69090:120:0;;;8459:21:1;8516:2;8496:18;;;8489:30;8555:34;8535:18;;;8528:62;-1:-1:-1;;;8606:18:1;;;8599:34;8650:19;;69090:120:0;;;;;;;;;69221:19;69232:7;69221:10;:19::i;:::-;69024:224;:::o;69308:107::-;2014:13;:11;:13::i;:::-;69383:14:::1;:24;69400:7:::0;;69383:14;:24:::1;:::i;26478:152::-:0;26550:7;26593:27;26612:7;26593:18;:27::i;22002:242::-;22074:7;-1:-1:-1;;;;;22098:19:0;;22094:69;;22119:44;-1:-1:-1;;;22119:7:0;:44::i;:::-;-1:-1:-1;;;;;;22181:25:0;;;;;:18;:25;;;;;;14762:13;22181:55;;22002:242::o;68206:105::-;2014:13;:11;:13::i;:::-;68277:26:::1;::::0;-1:-1:-1;;;68277:26:0;;10940:2:1;68277:26:0::1;::::0;::::1;10922:21:1::0;10979:2;10959:18;;;10952:30;-1:-1:-1;;;10998:18:1;;;10991:46;11054:18;;68277:26:0::1;10738:340:1::0;68558:111:0;2014:13;:11;:13::i;:::-;68639:22:::1;68653:3;68658:2;68639:13;:22::i;67260:175::-:0;67380:13;67418:9;67411:16;;;;;:::i;65739:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;68099:99::-;2014:13;:11;:13::i;:::-;68168:12:::1;:22:::0;;-1:-1:-1;;;;;;68168:22:0::1;-1:-1:-1::0;;;;;68168:22:0;;;::::1;::::0;;;::::1;::::0;;68099:99::o;32883:234::-;62273:10;32978:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;32978:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;32978:60:0;;;;;;;;;;33054:55;;540:41:1;;;32978:49:0;;62273:10;33054:55;;513:18:1;33054:55:0;;;;;;;32883:234;;:::o;68677:101::-;68729:7;68756:14;:12;:14::i;:::-;68749:21;;68677:101;:::o;69491:112::-;2014:13;:11;:13::i;:::-;69572:14:::1;:23;69589:6:::0;;69572:14;:23:::1;:::i;40998:416::-:0;41173:31;41186:4;41192:2;41196:7;41173:12;:31::i;:::-;-1:-1:-1;;;;;41219:14:0;;;:19;41215:192;;41258:56;41289:4;41295:2;41299:7;41308:5;41258:30;:56::i;:::-;41253:154;;41335:56;-1:-1:-1;;;41335:7:0;:56::i;:::-;40998:416;;;;:::o;66335:604::-;66619:11;;:16;66610:50;;;;-1:-1:-1;;;66610:50:0;;11285:2:1;66610:50:0;;;11267:21:1;11324:2;11304:18;;;11297:30;-1:-1:-1;;;11343:18:1;;;11336:49;11402:18;;66610:50:0;11083:343:1;66610:50:0;66671:7;:15;66681:5;66671:7;:15;:::i;:::-;-1:-1:-1;66697:9:0;:19;66709:7;66697:9;:19;:::i;:::-;;66727:26;66746:6;66727:18;:26::i;:::-;66764:14;:32;66781:15;66764:14;:32;:::i;:::-;-1:-1:-1;66807:14:0;:32;66824:15;66807:14;:32;:::i;:::-;-1:-1:-1;;66850:9:0;:22;;;;66883:12;:22;;-1:-1:-1;;;;;;66883:22:0;-1:-1:-1;;;;;66883:22:0;;;;;;;;;-1:-1:-1;;;66916:11:0;:15;-1:-1:-1;;66335:604:0:o;69792:575::-;69912:13;69948:16;69956:7;69948;:16::i;:::-;69943:59;;69973:29;;-1:-1:-1;;;69973:29:0;;;;;;;;;;;69943:59;70015:21;70039:14;70015:38;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70090:7;70084:21;70109:1;70084:26;:275;;;;;;;;;;;;;;;;;70202:7;70236:18;70246:7;70236:9;:18::i;:::-;70281:14;70159:159;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;70084:275;70064:295;69792:575;-1:-1:-1;;;69792:575:0:o;3027:201::-;2014:13;:11;:13::i;:::-;-1:-1:-1;;;;;3116:22:0;::::1;3108:73;;;::::0;-1:-1:-1;;;3108:73:0;;14251:2:1;3108:73:0::1;::::0;::::1;14233:21:1::0;14290:2;14270:18;;;14263:30;14329:34;14309:18;;;14302:62;-1:-1:-1;;;14380:18:1;;;14373:36;14426:19;;3108:73:0::1;14049:402:1::0;3108:73:0::1;3192:28;3211:8;3192:18;:28::i;33696:475::-:0;33761:11;33953:13;;33943:7;:23;33939:214;;;33987:14;34020:60;-1:-1:-1;34037:26:0;;;;:17;:26;;;;;;;34027:42;;;34020:60;;34071:9;;;:::i;:::-;;;34020:60;;;-1:-1:-1;;;34108:24:0;:29;;-1:-1:-1;33939:214:0;33696:475;;;:::o;64205:165::-;64306:13;64300:4;64293:27;64347:4;64341;64334:18;55620:474;55749:13;55765:16;55773:7;55765;:16::i;:::-;55749:32;;55798:13;:45;;;;-1:-1:-1;62273:10:0;-1:-1:-1;;;;;55815:28:0;;;;55798:45;55794:201;;;55863:44;55880:5;62273:10;33274:164;:::i;55863:44::-;55858:137;;55928:51;-1:-1:-1;;;55928:7:0;:51::i;:::-;56007:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;56007:35:0;-1:-1:-1;;;;;56007:35:0;;;;;;;;;56058:28;;56007:24;;56058:28;;;;;;;55738:356;55620:474;;;:::o;2293:132::-;2174:7;2201:6;-1:-1:-1;;;;;2201:6:0;62273:10;2357:23;2349:68;;;;-1:-1:-1;;;2349:68:0;;14931:2:1;2349:68:0;;;14913:21:1;;;14950:18;;;14943:30;15009:34;14989:18;;;14982:62;15061:18;;2349:68:0;14729:356:1;2349:68:0;2293:132::o;67912:179::-;67665:12;;-1:-1:-1;;;;;67665:12:0;62273:10;67991:24;67969:114;;;;-1:-1:-1;;;67969:114:0;;15292:2:1;67969:114:0;;;15274:21:1;15331:2;15311:18;;;15304:30;15370:34;15350:18;;;15343:62;-1:-1:-1;;;15421:18:1;;;15414:38;15469:19;;67969:114:0;15090:404:1;68844:172:0;68942:9;;68935:3;68919:19;;:13;:11;:13::i;:::-;:19;;;;:::i;:::-;:32;;68910:69;;;;-1:-1:-1;;;68910:69:0;;15831:2:1;68910:69:0;;;15813:21:1;15870:2;15850:18;;;15843:30;-1:-1:-1;;;15889:18:1;;;15882:52;15951:18;;68910:69:0;15629:346:1;68910:69:0;68990:18;69000:2;69004:3;68990:18;;:9;:18::i;27963:2213::-;28113:26;;;;:17;:26;;;;;;28440:6;28450:1;28440:11;28436:1292;;28487:13;;28476:7;:24;28472:77;;28502:47;-1:-1:-1;;;28502:7:0;:47::i;:::-;29106:607;-1:-1:-1;;;29202:9:0;29184:28;;;;:17;:28;;;;;;29258:25;;29106:607;29258:25;-1:-1:-1;;;29310:6:0;:24;29338:1;29310:29;29306:48;;27963:2213;;;:::o;29306:48::-;29646:47;-1:-1:-1;;;29646:7:0;:47::i;:::-;29106:607;;28436:1292;-1:-1:-1;;;30055:6:0;:24;30083:1;30055:29;30051:48;;27963:2213;;;:::o;30051:48::-;30121:47;-1:-1:-1;;;30121:7:0;:47::i;65346:94::-;65412:20;65418:7;65427:4;65412:5;:20::i;20949:385::-;21204:13;;-1:-1:-1;;21275:17:0;21254;19776:110;43498:691;43682:88;;-1:-1:-1;;;43682:88:0;;43661:4;;-1:-1:-1;;;;;43682:45:0;;;;;:88;;62273:10;;43749:4;;43755:7;;43764:5;;43682:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43682:88:0;;;;;;;;-1:-1:-1;;43682:88:0;;;;;;;;;;;;:::i;:::-;;;43678:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43965:6;:13;43982:1;43965:18;43961:115;;44004:56;-1:-1:-1;;;44004:7:0;:56::i;:::-;44148:6;44142:13;44133:6;44129:2;44125:15;44118:38;43678:504;-1:-1:-1;;;;;;43841:64:0;-1:-1:-1;;;43841:64:0;;-1:-1:-1;43498:691:0;;;;;;:::o;3388:191::-;3462:16;3481:6;;-1:-1:-1;;;;;3498:17:0;;;-1:-1:-1;;;;;;3498:17:0;;;;;;3531:40;;3481:6;;;;;;;3531:40;;3462:16;3531:40;3451:128;3388:191;:::o;62393:1745::-;62458:17;62892:4;62885;62879:11;62875:22;62984:1;62978:4;62971:15;63059:4;63056:1;63052:12;63045:19;;;63141:1;63136:3;63129:14;63245:3;63484:5;63466:428;63532:1;63527:3;63523:11;63516:18;;63703:2;63697:4;63693:13;63689:2;63685:22;63680:3;63672:36;63797:2;63787:13;;63854:25;63466:428;63854:25;-1:-1:-1;63924:13:0;;;-1:-1:-1;;64039:14:0;;;64101:19;;;64039:14;62393:1745;-1:-1:-1;62393:1745:0:o;50814:112::-;50891:27;50901:2;50905:8;50891:27;;;;;;;;;;;;:9;:27::i;56679:3108::-;56759:27;56789;56808:7;56789:18;:27::i;:::-;56759:57;-1:-1:-1;56759:57:0;56829:12;;56951:35;56978:7;35585:27;35696:24;;;:15;:24;;;;;35924:26;;35696:24;;35483:485;56951:35;56894:92;;;;57003:13;56999:325;;;57124:68;57149:15;57166:4;62273:10;57172:19;62186:105;57124:68;57119:193;;57216:43;57233:4;62273:10;33274:164;:::i;57216:43::-;57211:101;;57261:51;-1:-1:-1;;;57261:7:0;:51::i;:::-;57480:15;57477:160;;;57620:1;57599:19;57592:30;57477:160;-1:-1:-1;;;;;58239:24:0;;;;;;:18;:24;;;;;:60;;58267:32;58239:60;;;31135:11;31110:23;31106:41;31093:63;-1:-1:-1;;;31093:63:0;58537:26;;;;:17;:26;;;;;:205;;;;-1:-1:-1;;;58862:47:0;;:52;;58858:627;;58967:1;58957:11;;58935:19;59090:30;;;:17;:30;;;;;;:35;;59086:384;;59228:13;;59213:11;:28;59209:242;;59375:30;;;;:17;:30;;;;;:52;;;59209:242;58916:569;58858:627;59513:35;;59540:7;;59536:1;;-1:-1:-1;;;;;59513:35:0;;;;;59536:1;;59513:35;-1:-1:-1;;59754:12:0;:14;;;;;;-1:-1:-1;;;;56679:3108:0:o;49943:787::-;50074:19;50080:2;50084:8;50074:5;:19::i;:::-;-1:-1:-1;;;;;50135:14:0;;;:19;50131:581;;50189:13;;50237:14;;;50270:242;50301:62;50340:1;50344:2;50348:7;;;;;;50357:5;50301:30;:62::i;:::-;50296:176;;50392:56;-1:-1:-1;;;50392:7:0;:56::i;:::-;50507:3;50499:5;:11;50270:242;;50683:3;50666:13;;:20;50662:34;;50688:8;;;50662:34;50156:556;;49943:787;;;:::o;44651:2399::-;44747:13;;44724:20;44775:13;;;44771:53;;44790:34;-1:-1:-1;;;44790:7:0;:34::i;:::-;45337:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;30961:28:0;;31135:11;31110:23;31106:41;31579:1;31566:15;;31540:24;31536:46;31103:52;31093:63;;45337:173;;;45728:22;;;:18;:22;;;;;:71;;45766:32;45754:45;;45728:71;;;30961:28;45989:13;;;45985:54;;46004:35;-1:-1:-1;;;46004:7:0;:35::i;:::-;46070:23;;;;46249:676;46668:7;46624:8;46579:1;46513:25;46450:1;46385;46354:358;46920:3;46907:9;;;;;;:16;46249:676;;-1:-1:-1;46941:13:0;:19;-1:-1:-1;40207:193:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1919:254;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2178:171::-;2245:20;;2305:18;2294:30;;2284:41;;2274:69;;2339:1;2336;2329:12;2354:258;2421:6;2429;2482:2;2470:9;2461:7;2457:23;2453:32;2450:52;;;2498:1;2495;2488:12;2450:52;2521:28;2539:9;2521:28;:::i;:::-;2511:38;;2568;2602:2;2591:9;2587:18;2568:38;:::i;:::-;2558:48;;2354:258;;;;;:::o;2799:328::-;2876:6;2884;2892;2945:2;2933:9;2924:7;2920:23;2916:32;2913:52;;;2961:1;2958;2951:12;2913:52;2984:29;3003:9;2984:29;:::i;:::-;2974:39;;3032:38;3066:2;3055:9;3051:18;3032:38;:::i;:::-;3022:48;;3117:2;3106:9;3102:18;3089:32;3079:42;;2799:328;;;;;:::o;3132:160::-;3197:20;;3253:13;;3246:21;3236:32;;3226:60;;3282:1;3279;3272:12;3297:180;3353:6;3406:2;3394:9;3385:7;3381:23;3377:32;3374:52;;;3422:1;3419;3412:12;3374:52;3445:26;3461:9;3445:26;:::i;3482:592::-;3553:6;3561;3614:2;3602:9;3593:7;3589:23;3585:32;3582:52;;;3630:1;3627;3620:12;3582:52;3670:9;3657:23;3699:18;3740:2;3732:6;3729:14;3726:34;;;3756:1;3753;3746:12;3726:34;3794:6;3783:9;3779:22;3769:32;;3839:7;3832:4;3828:2;3824:13;3820:27;3810:55;;3861:1;3858;3851:12;3810:55;3901:2;3888:16;3927:2;3919:6;3916:14;3913:34;;;3943:1;3940;3933:12;3913:34;3988:7;3983:2;3974:6;3970:2;3966:15;3962:24;3959:37;3956:57;;;4009:1;4006;3999:12;3956:57;4040:2;4032:11;;;;;4062:6;;-1:-1:-1;3482:592:1;;-1:-1:-1;;;;3482:592:1:o;4079:186::-;4138:6;4191:2;4179:9;4170:7;4166:23;4162:32;4159:52;;;4207:1;4204;4197:12;4159:52;4230:29;4249:9;4230:29;:::i;4270:258::-;4337:6;4345;4398:2;4386:9;4377:7;4373:23;4369:32;4366:52;;;4414:1;4411;4404:12;4366:52;4437:29;4456:9;4437:29;:::i;:::-;4427:39;;4485:37;4518:2;4507:9;4503:18;4485:37;:::i;4533:254::-;4598:6;4606;4659:2;4647:9;4638:7;4634:23;4630:32;4627:52;;;4675:1;4672;4665:12;4627:52;4698:29;4717:9;4698:29;:::i;:::-;4688:39;;4746:35;4777:2;4766:9;4762:18;4746:35;:::i;4792:127::-;4853:10;4848:3;4844:20;4841:1;4834:31;4884:4;4881:1;4874:15;4908:4;4905:1;4898:15;4924:631;4988:5;5018:18;5059:2;5051:6;5048:14;5045:40;;;5065:18;;:::i;:::-;5140:2;5134:9;5108:2;5194:15;;-1:-1:-1;;5190:24:1;;;5216:2;5186:33;5182:42;5170:55;;;5240:18;;;5260:22;;;5237:46;5234:72;;;5286:18;;:::i;:::-;5326:10;5322:2;5315:22;5355:6;5346:15;;5385:6;5377;5370:22;5425:3;5416:6;5411:3;5407:16;5404:25;5401:45;;;5442:1;5439;5432:12;5401:45;5492:6;5487:3;5480:4;5472:6;5468:17;5455:44;5547:1;5540:4;5531:6;5523;5519:19;5515:30;5508:41;;;;4924:631;;;;;:::o;5560:666::-;5655:6;5663;5671;5679;5732:3;5720:9;5711:7;5707:23;5703:33;5700:53;;;5749:1;5746;5739:12;5700:53;5772:29;5791:9;5772:29;:::i;:::-;5762:39;;5820:38;5854:2;5843:9;5839:18;5820:38;:::i;:::-;5810:48;;5905:2;5894:9;5890:18;5877:32;5867:42;;5960:2;5949:9;5945:18;5932:32;5987:18;5979:6;5976:30;5973:50;;;6019:1;6016;6009:12;5973:50;6042:22;;6095:4;6087:13;;6083:27;-1:-1:-1;6073:55:1;;6124:1;6121;6114:12;6073:55;6147:73;6212:7;6207:2;6194:16;6189:2;6185;6181:11;6147:73;:::i;:::-;6137:83;;;5560:666;;;;;;;:::o;6231:221::-;6274:5;6327:3;6320:4;6312:6;6308:17;6304:27;6294:55;;6345:1;6342;6335:12;6294:55;6367:79;6442:3;6433:6;6420:20;6413:4;6405:6;6401:17;6367:79;:::i;6457:1163::-;6610:6;6618;6626;6634;6642;6650;6658;6711:3;6699:9;6690:7;6686:23;6682:33;6679:53;;;6728:1;6725;6718:12;6679:53;6768:9;6755:23;6797:18;6838:2;6830:6;6827:14;6824:34;;;6854:1;6851;6844:12;6824:34;6877:50;6919:7;6910:6;6899:9;6895:22;6877:50;:::i;:::-;6867:60;;6980:2;6969:9;6965:18;6952:32;6936:48;;7009:2;6999:8;6996:16;6993:36;;;7025:1;7022;7015:12;6993:36;7048:52;7092:7;7081:8;7070:9;7066:24;7048:52;:::i;:::-;7038:62;;7153:2;7142:9;7138:18;7125:32;7109:48;;7182:2;7172:8;7169:16;7166:36;;;7198:1;7195;7188:12;7166:36;7221:52;7265:7;7254:8;7243:9;7239:24;7221:52;:::i;:::-;7211:62;;7326:2;7315:9;7311:18;7298:32;7282:48;;7355:2;7345:8;7342:16;7339:36;;;7371:1;7368;7361:12;7339:36;;7394:52;7438:7;7427:8;7416:9;7412:24;7394:52;:::i;:::-;7384:62;;;7493:3;7482:9;7478:19;7465:33;7455:43;;7517:39;7551:3;7540:9;7536:19;7517:39;:::i;:::-;7507:49;;7575:39;7609:3;7598:9;7594:19;7575:39;:::i;:::-;7565:49;;6457:1163;;;;;;;;;;:::o;7625:260::-;7693:6;7701;7754:2;7742:9;7733:7;7729:23;7725:32;7722:52;;;7770:1;7767;7760:12;7722:52;7793:29;7812:9;7793:29;:::i;7890:380::-;7969:1;7965:12;;;;8012;;;8033:61;;8087:4;8079:6;8075:17;8065:27;;8033:61;8140:2;8132:6;8129:14;8109:18;8106:38;8103:161;;8186:10;8181:3;8177:20;8174:1;8167:31;8221:4;8218:1;8211:15;8249:4;8246:1;8239:15;8103:161;;7890:380;;;:::o;8806:545::-;8908:2;8903:3;8900:11;8897:448;;;8944:1;8969:5;8965:2;8958:17;9014:4;9010:2;9000:19;9084:2;9072:10;9068:19;9065:1;9061:27;9055:4;9051:38;9120:4;9108:10;9105:20;9102:47;;;-1:-1:-1;9143:4:1;9102:47;9198:2;9193:3;9189:12;9186:1;9182:20;9176:4;9172:31;9162:41;;9253:82;9271:2;9264:5;9261:13;9253:82;;;9316:17;;;9297:1;9286:13;9253:82;;;9257:3;;;8806:545;;;:::o;9527:1206::-;9651:18;9646:3;9643:27;9640:53;;;9673:18;;:::i;:::-;9702:94;9792:3;9752:38;9784:4;9778:11;9752:38;:::i;:::-;9746:4;9702:94;:::i;:::-;9822:1;9847:2;9842:3;9839:11;9864:1;9859:616;;;;10519:1;10536:3;10533:93;;;-1:-1:-1;10592:19:1;;;10579:33;10533:93;-1:-1:-1;;9484:1:1;9480:11;;;9476:24;9472:29;9462:40;9508:1;9504:11;;;9459:57;10639:78;;9832:895;;9859:616;8753:1;8746:14;;;8790:4;8777:18;;-1:-1:-1;;9895:17:1;;;9996:9;10018:229;10032:7;10029:1;10026:14;10018:229;;;10121:19;;;10108:33;10093:49;;10228:4;10213:20;;;;10181:1;10169:14;;;;10048:12;10018:229;;;10022:3;10275;10266:7;10263:16;10260:159;;;10399:1;10395:6;10389:3;10383;10380:1;10376:11;10372:21;10368:34;10364:39;10351:9;10346:3;10342:19;10329:33;10325:79;10317:6;10310:95;10260:159;;;10462:1;10456:3;10453:1;10449:11;10445:19;10439:4;10432:33;9832:895;;9527:1206;;;:::o;11431:1352::-;11557:3;11551:10;11584:18;11576:6;11573:30;11570:56;;;11606:18;;:::i;:::-;11635:97;11725:6;11685:38;11717:4;11711:11;11685:38;:::i;:::-;11679:4;11635:97;:::i;:::-;11787:4;;11851:2;11840:14;;11868:1;11863:663;;;;12570:1;12587:6;12584:89;;;-1:-1:-1;12639:19:1;;;12633:26;12584:89;-1:-1:-1;;9484:1:1;9480:11;;;9476:24;9472:29;9462:40;9508:1;9504:11;;;9459:57;12686:81;;11833:944;;11863:663;8753:1;8746:14;;;8790:4;8777:18;;-1:-1:-1;;11899:20:1;;;12017:236;12031:7;12028:1;12025:14;12017:236;;;12120:19;;;12114:26;12099:42;;12212:27;;;;12180:1;12168:14;;;;12047:19;;12017:236;;;12021:3;12281:6;12272:7;12269:19;12266:201;;;12342:19;;;12336:26;-1:-1:-1;;12425:1:1;12421:14;;;12437:3;12417:24;12413:37;12409:42;12394:58;12379:74;;12266:201;-1:-1:-1;;;;;12513:1:1;12497:14;;;12493:22;12480:36;;-1:-1:-1;11431:1352:1:o;12788:1256::-;13012:3;13050:6;13044:13;13076:4;13089:64;13146:6;13141:3;13136:2;13128:6;13124:15;13089:64;:::i;:::-;13216:13;;13175:16;;;;13238:68;13216:13;13175:16;13273:15;;;13238:68;:::i;:::-;13395:13;;13328:20;;;13368:1;;13433:36;13395:13;13433:36;:::i;:::-;13488:1;13505:18;;;13532:141;;;;13687:1;13682:337;;;;13498:521;;13532:141;-1:-1:-1;;13567:24:1;;13553:39;;13644:16;;13637:24;13623:39;;13612:51;;;-1:-1:-1;13532:141:1;;13682:337;13713:6;13710:1;13703:17;13761:2;13758:1;13748:16;13786:1;13800:169;13814:8;13811:1;13808:15;13800:169;;;13896:14;;13881:13;;;13874:37;13939:16;;;;13831:10;;13800:169;;;13804:3;;14000:8;13993:5;13989:20;13982:27;;13498:521;-1:-1:-1;14035:3:1;;12788:1256;-1:-1:-1;;;;;;;;;;12788:1256:1:o;14456:127::-;14517:10;14512:3;14508:20;14505:1;14498:31;14548:4;14545:1;14538:15;14572:4;14569:1;14562:15;14588:136;14627:3;14655:5;14645:39;;14664:18;;:::i;:::-;-1:-1:-1;;;14700:18:1;;14588:136::o;15499:125::-;15564:9;;;15585:10;;;15582:36;;;15598:18;;:::i;15980:489::-;-1:-1:-1;;;;;16249:15:1;;;16231:34;;16301:15;;16296:2;16281:18;;16274:43;16348:2;16333:18;;16326:34;;;16396:3;16391:2;16376:18;;16369:31;;;16174:4;;16417:46;;16443:19;;16435:6;16417:46;:::i;:::-;16409:54;15980:489;-1:-1:-1;;;;;;15980:489:1:o;16474:249::-;16543:6;16596:2;16584:9;16575:7;16571:23;16567:32;16564:52;;;16612:1;16609;16602:12;16564:52;16644:9;16638:16;16663:30;16687:5;16663:30;:::i

Swarm Source

ipfs://6764a9a888e90e7683ac9cccda59fd74a25505231182ad35dce35f0202751a3a
Loading...
Loading
Loading...
Loading
[ 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.