ETH Price: $3,955.16 (+2.37%)

Token

the stalker (STAL)
 

Overview

Max Total Supply

6,148 STAL

Holders

2,207

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
3 STAL
0xb73bae22a8a02469b6fe11e653f9c06ec46123a6
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:
TheStalker

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 8 : TheStalker.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

// the stalker by int.art
// a permissionless collaboration program running on EVM.

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {IERC721A, ERC721A} from "erc721a/contracts/ERC721A.sol";
import {ERC721AQueryable} from "erc721a/contracts/extensions/ERC721AQueryable.sol";

import {ITheStalkerRenderer} from "./TheStalkerCommon.sol";

contract TheStalker is Ownable, ERC721A, ERC721AQueryable {
    struct Timestamps {
        uint128 mintStartTimestamp;
        uint128 mintEndTimestamp;
    }

    struct Token {
        bytes32 seed;
        ITheStalkerRenderer renderer;
        uint256 targetTokenId;
    }

    bool public isMintFinalised;
    ITheStalkerRenderer public defaultRenderer;
    ITheStalkerRenderer public launchRenderer;

    Timestamps public timestamps;

    mapping(uint256 => Token) public tokens;
    mapping(ITheStalkerRenderer => bool) public renderers;

    error MintIsNotOpen();
    error MintIsFinalised();
    error InvalidMintAmount();
    error InvalidAuthorisation();
    error InvalidRendererAuthorisation();
    error InvalidTokenRenderer();

    event MetadataUpdate(uint256 _tokenId);
    event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId);
    event TokenUpdate(
        uint256 _tokenId,
        ITheStalkerRenderer _renderer,
        uint256 _targetTokenId
    );
    event RendererAllowlistStatusUpdate(
        ITheStalkerRenderer _renderer,
        bool _isValid
    );
    event DefaultRendererUpdate(ITheStalkerRenderer _address);
    event LaunchRendererUpdate(ITheStalkerRenderer _address);
    event MintPeriodUpdate(uint256 _startTimesstamp, uint256 _endTimeStamp);

    constructor(
        ITheStalkerRenderer _defaultRenderer,
        ITheStalkerRenderer _launchRenderer
    ) Ownable(msg.sender) ERC721A("the stalker", "STAL") {
        defaultRenderer = _defaultRenderer;
        launchRenderer = _launchRenderer;
        renderers[_defaultRenderer] = true;
        renderers[_launchRenderer] = true;
        _mintStalker(10);
    }

    // CONTRACT OWNER

    function finaliseMint() public onlyOwner {
        isMintFinalised = true;
    }

    function updateMintStartAndEndTimestamps(
        uint128 _mintStartTimestamp,
        uint128 _mintEndTimestamp
    ) public onlyOwner {
        if (isMintFinalised) {
            revert MintIsFinalised();
        }
        timestamps.mintStartTimestamp = _mintStartTimestamp;
        timestamps.mintEndTimestamp = _mintEndTimestamp;
        emit MintPeriodUpdate(_mintStartTimestamp, _mintEndTimestamp);
    }

    function updateRendererAllowlistStatus(
        ITheStalkerRenderer rendererAddress,
        bool isValid
    ) public onlyOwner {
        renderers[rendererAddress] = isValid;
        emit RendererAllowlistStatusUpdate(rendererAddress, isValid);
        emit BatchMetadataUpdate(_startTokenId(), _totalMinted());
    }

    function updateDefaultRenderer(
        ITheStalkerRenderer _defaultRenderer
    ) public onlyOwner {
        defaultRenderer = _defaultRenderer;
        emit DefaultRendererUpdate(_defaultRenderer);
        emit BatchMetadataUpdate(_startTokenId(), _totalMinted());
    }

    function updateLaunchRenderer(
        ITheStalkerRenderer _launchRenderer
    ) public onlyOwner {
        launchRenderer = _launchRenderer;
        emit LaunchRendererUpdate(_launchRenderer);
        emit BatchMetadataUpdate(_startTokenId(), _totalMinted());
    }

    function triggerBatchMetadataUpdate() public onlyOwner {
        emit BatchMetadataUpdate(_startTokenId(), _totalMinted());
    }

    // PUBLIC MINT

    function isMintOpen() public view returns (bool) {
        Timestamps memory _timestamps = timestamps;
        return
            block.timestamp >= _timestamps.mintStartTimestamp &&
            block.timestamp <= _timestamps.mintEndTimestamp &&
            !isMintFinalised;
    }

    function mint(uint256 count) public {
        if (!isMintOpen()) {
            revert MintIsNotOpen();
        }
        uint256 mintedAmount = _numberMinted(msg.sender);
        unchecked {
            if (count == 0 || mintedAmount + count > 3) {
                revert InvalidMintAmount();
            }
        }
        _mintStalker(count);
    }

    function numberMinted(address _address) public view returns (uint256) {
        return _numberMinted(_address);
    }

    function currentTimestamp() public view returns (uint256) {
        return block.timestamp;
    }

    // TOKEN OWNER

    function updateTokenRenderer(
        uint256 tokenId,
        ITheStalkerRenderer tokenRenderer
    ) public {
        if (msg.sender != ownerOf(tokenId)) {
            revert InvalidAuthorisation();
        }
        if (!renderers[tokenRenderer]) {
            revert InvalidTokenRenderer();
        }

        Token memory token = tokens[tokenId];
        bool canUpdateToken = tokenRenderer.canUpdateToken(
            msg.sender,
            tokenId,
            token.targetTokenId
        );

        if (!canUpdateToken) {
            revert InvalidRendererAuthorisation();
        }

        tokens[tokenId].renderer = tokenRenderer;
        _notifyTokenUpdate(tokenId, token);
    }

    function updateTokenTargetTokenId(
        uint256 tokenId,
        uint256 targetTokenId
    ) public {
        if (msg.sender != ownerOf(tokenId)) {
            revert InvalidAuthorisation();
        }

        Token memory token = tokens[tokenId];
        ITheStalkerRenderer tokenRenderer = _launchOrTokenRenderer(
            token.renderer
        );
        bool canUpdateToken = tokenRenderer.canUpdateToken(
            msg.sender,
            tokenId,
            targetTokenId
        );

        if (!canUpdateToken) {
            revert InvalidRendererAuthorisation();
        }

        tokens[tokenId].targetTokenId = targetTokenId;
        _notifyTokenUpdate(tokenId, token);
    }

    function updateToken(
        uint256 tokenId,
        ITheStalkerRenderer tokenRenderer,
        uint256 targetTokenId
    ) public {
        if (msg.sender != ownerOf(tokenId)) {
            revert InvalidAuthorisation();
        }
        if (!renderers[tokenRenderer]) {
            revert InvalidTokenRenderer();
        }

        bool canUpdateToken = tokenRenderer.canUpdateToken(
            msg.sender,
            tokenId,
            targetTokenId
        );

        if (!canUpdateToken) {
            revert InvalidRendererAuthorisation();
        }

        Token memory token = tokens[tokenId];
        tokens[tokenId].renderer = tokenRenderer;
        tokens[tokenId].targetTokenId = targetTokenId;
        _notifyTokenUpdate(tokenId, token);
    }

    // PUBLIC TOKEN

    function tokenHTML(uint256 tokenId) public view returns (string memory) {
        Token memory token = tokens[tokenId];
        ITheStalkerRenderer renderer = _targetTokenRenderer(tokenId, token);
        return renderer.tokenHTML(tokenId, token.targetTokenId);
    }

    function tokenImage(uint256 tokenId) public view returns (string memory) {
        Token memory token = tokens[tokenId];
        ITheStalkerRenderer renderer = _targetTokenRenderer(tokenId, token);
        return renderer.tokenImage(tokenId, token.targetTokenId);
    }

    function tokenURI(
        uint256 tokenId
    ) public view override(ERC721A, IERC721A) returns (string memory) {
        Token memory token = tokens[tokenId];
        ITheStalkerRenderer renderer = _targetTokenRenderer(tokenId, token);
        return renderer.tokenURI(tokenId, token.targetTokenId);
    }

    // INTERNAL

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

    // PRIVATE

    function _mintStalker(uint256 count) private {
        unchecked {
            uint256 nextTokenId = _nextTokenId();
            uint256 length = nextTokenId + count;

            do {
                (
                    bytes32 seed,
                    uint256 freshHellTokenId
                ) = _getRandomFreshHellSeedAndTokenId(nextTokenId);
                tokens[nextTokenId].seed = seed;
                tokens[nextTokenId].targetTokenId = freshHellTokenId;
                ++nextTokenId;
            } while (nextTokenId < length);

            _mint(msg.sender, count);
        }
    }

    // If token becomes unrenderable after user sets
    // let's fallback to default renderer.
    function _targetTokenRenderer(
        uint256 tokenId,
        Token memory token
    ) private view returns (ITheStalkerRenderer) {
        ITheStalkerRenderer renderer = token.renderer;
        renderer = _launchOrTokenRenderer(renderer);
        if (
            renderers[renderer] &&
            renderer.isTokenRenderable(tokenId, token.targetTokenId)
        ) {
            return renderer;
        } else {
            return defaultRenderer;
        }
    }

    // Fallback to launch renderer. Instead of writing at mint,
    // we correct the renderer address on read to save gas.
    function _launchOrTokenRenderer(
        ITheStalkerRenderer tokenRenderer
    ) private view returns (ITheStalkerRenderer) {
        if (address(tokenRenderer) == address(0)) {
            return launchRenderer;
        }
        return tokenRenderer;
    }

    function _getRandomFreshHellSeedAndTokenId(
        uint256 nextTokenId
    ) private view returns (bytes32, uint256) {
        unchecked {
            bytes32 seed = keccak256(
                abi.encodePacked(
                    blockhash(block.number - 1),
                    block.timestamp,
                    nextTokenId
                )
            );
            return (seed, (uint256(seed) % 2) + 1);
        }
    }

    function _notifyTokenUpdate(uint256 tokenId, Token memory token) private {
        emit MetadataUpdate(tokenId);
        emit TokenUpdate(tokenId, token.renderer, token.targetTokenId);
    }
}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

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

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

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

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

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

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

File 3 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

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

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

File 4 of 8 : TheStalkerCommon.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

// the stalker by int.art
// a permissionless collaboration program running on EVM.

interface ITheStalkerRenderer {
    function canUpdateToken(
        address sender,
        uint256 tokenId,
        uint256 targetTokenId
    ) external view returns (bool);

    function isTokenRenderable(
        uint256 tokenId,
        uint256 targetTokenId
    ) external view returns (bool);

    function tokenHTML(
        uint256 tokenId,
        uint256 targetTokenid
    ) external view returns (string memory);

    function tokenImage(
        uint256 tokenId,
        uint256 targetTokenid
    ) external view returns (string memory);

    function tokenURI(
        uint256 tokenId,
        uint256 targetTokenid
    ) external view returns (string memory);
}

File 5 of 8 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 8 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721AQueryable.sol';
import '../ERC721A.sol';

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

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

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

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

File 7 of 8 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

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

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

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

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

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

File 8 of 8 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Settings
{
  "evmVersion": "paris",
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract ITheStalkerRenderer","name":"_defaultRenderer","type":"address"},{"internalType":"contract ITheStalkerRenderer","name":"_launchRenderer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidAuthorisation","type":"error"},{"inputs":[],"name":"InvalidMintAmount","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"InvalidRendererAuthorisation","type":"error"},{"inputs":[],"name":"InvalidTokenRenderer","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintIsFinalised","type":"error"},{"inputs":[],"name":"MintIsNotOpen","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_toTokenId","type":"uint256"}],"name":"BatchMetadataUpdate","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":false,"internalType":"contract ITheStalkerRenderer","name":"_address","type":"address"}],"name":"DefaultRendererUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract ITheStalkerRenderer","name":"_address","type":"address"}],"name":"LaunchRendererUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"MetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_startTimesstamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_endTimeStamp","type":"uint256"}],"name":"MintPeriodUpdate","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":false,"internalType":"contract ITheStalkerRenderer","name":"_renderer","type":"address"},{"indexed":false,"internalType":"bool","name":"_isValid","type":"bool"}],"name":"RendererAllowlistStatusUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"contract ITheStalkerRenderer","name":"_renderer","type":"address"},{"indexed":false,"internalType":"uint256","name":"_targetTokenId","type":"uint256"}],"name":"TokenUpdate","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":[],"name":"currentTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultRenderer","outputs":[{"internalType":"contract ITheStalkerRenderer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finaliseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintFinalised","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchRenderer","outputs":[{"internalType":"contract ITheStalkerRenderer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract ITheStalkerRenderer","name":"","type":"address"}],"name":"renderers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","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":[],"name":"timestamps","outputs":[{"internalType":"uint128","name":"mintStartTimestamp","type":"uint128"},{"internalType":"uint128","name":"mintEndTimestamp","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenHTML","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenImage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"bytes32","name":"seed","type":"bytes32"},{"internalType":"contract ITheStalkerRenderer","name":"renderer","type":"address"},{"internalType":"uint256","name":"targetTokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"triggerBatchMetadataUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ITheStalkerRenderer","name":"_defaultRenderer","type":"address"}],"name":"updateDefaultRenderer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ITheStalkerRenderer","name":"_launchRenderer","type":"address"}],"name":"updateLaunchRenderer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"_mintStartTimestamp","type":"uint128"},{"internalType":"uint128","name":"_mintEndTimestamp","type":"uint128"}],"name":"updateMintStartAndEndTimestamps","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ITheStalkerRenderer","name":"rendererAddress","type":"address"},{"internalType":"bool","name":"isValid","type":"bool"}],"name":"updateRendererAllowlistStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"contract ITheStalkerRenderer","name":"tokenRenderer","type":"address"},{"internalType":"uint256","name":"targetTokenId","type":"uint256"}],"name":"updateToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"contract ITheStalkerRenderer","name":"tokenRenderer","type":"address"}],"name":"updateTokenRenderer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"targetTokenId","type":"uint256"}],"name":"updateTokenTargetTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620052b2380380620052b283398181016040528101906200003791906200075f565b6040518060400160405280600b81526020017f746865207374616c6b65720000000000000000000000000000000000000000008152506040518060400160405280600481526020017f5354414c0000000000000000000000000000000000000000000000000000000081525033600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620001195760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620001109190620007b7565b60405180910390fd5b6200012a81620002b360201b60201c565b5081600390816200013c919062000a4e565b5080600490816200014e919062000a4e565b506200015f6200037760201b60201c565b600181905550505081600960016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002ab600a6200038060201b60201c565b505062000bfb565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006001905090565b6000620003926200041160201b60201c565b9050600082820190505b600080620003b0846200041b60201b60201c565b9150915081600c60008681526020019081526020016000206000018190555080600c60008681526020019081526020016000206002018190555083600101935050508082106200039c576200040c33846200047960201b60201c565b505050565b6000600154905090565b6000806000600143034042856040516020016200043b9392919062000b89565b60405160208183030381529060405280519060200120905080600160028360001c816200046d576200046c62000bcc565b5b06019250925050915091565b6000600154905060008203620004bb576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620004d060008483856200066160201b60201c565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506200055f836200054160008660006200066760201b60201c565b62000552856200069760201b60201c565b17620006a760201b60201c565b6005600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146200060257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050620005c5565b50600082036200063e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060018190555050506200065c6000848385620006d260201b60201c565b505050565b50505050565b60008060e883901c905060e862000686868684620006d860201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60009392505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200071382620006e6565b9050919050565b6000620007278262000706565b9050919050565b62000739816200071a565b81146200074557600080fd5b50565b60008151905062000759816200072e565b92915050565b60008060408385031215620007795762000778620006e1565b5b6000620007898582860162000748565b92505060206200079c8582860162000748565b9150509250929050565b620007b18162000706565b82525050565b6000602082019050620007ce6000830184620007a6565b92915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200085657607f821691505b6020821081036200086c576200086b6200080e565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620008d67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000897565b620008e2868362000897565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200092f620009296200092384620008fa565b62000904565b620008fa565b9050919050565b6000819050919050565b6200094b836200090e565b620009636200095a8262000936565b848454620008a4565b825550505050565b600090565b6200097a6200096b565b6200098781848462000940565b505050565b5b81811015620009af57620009a360008262000970565b6001810190506200098d565b5050565b601f821115620009fe57620009c88162000872565b620009d38462000887565b81016020851015620009e3578190505b620009fb620009f28562000887565b8301826200098c565b50505b505050565b600082821c905092915050565b600062000a236000198460080262000a03565b1980831691505092915050565b600062000a3e838362000a10565b9150826002028217905092915050565b62000a5982620007d4565b67ffffffffffffffff81111562000a755762000a74620007df565b5b62000a8182546200083d565b62000a8e828285620009b3565b600060209050601f83116001811462000ac6576000841562000ab1578287015190505b62000abd858262000a30565b86555062000b2d565b601f19841662000ad68662000872565b60005b8281101562000b005784890151825560018201915060208501945060208101905062000ad9565b8683101562000b20578489015162000b1c601f89168262000a10565b8355505b6001600288020188555050505b505050505050565b6000819050919050565b6000819050919050565b62000b5e62000b588262000b35565b62000b3f565b82525050565b6000819050919050565b62000b8362000b7d82620008fa565b62000b64565b82525050565b600062000b97828662000b49565b60208201915062000ba9828562000b6e565b60208201915062000bbb828462000b6e565b602082019150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6146a78062000c0b6000396000f3fe6080604052600436106102515760003560e01c80638462151c11610139578063b88d4fde116100b6578063dc0292c81161007a578063dc0292c8146108cb578063dc33e681146108f4578063e985e9c514610931578063ec000d061461096e578063f134e13714610997578063f2fde38b146109c057610251565b8063b88d4fde146107cd578063c23dc68f146107e9578063c56c4cf114610826578063c87b56dd14610851578063cf3484251461088e57610251565b8063a0de749d116100fd578063a0de749d146106d6578063a22cb465146106ff578063aca3f2a014610728578063b4ad07ad14610765578063b79bebaf1461079057610251565b80638462151c146105dd5780638da5cb5b1461061a57806395d89b411461064557806399a2557a14610670578063a0712d68146106ad57610251565b806342842e0e116101d25780636352211e116101965780636352211e146104e157806366cf76971461051e57806370a0823114610535578063715018a61461057257806373dbd913146105895780637e9b80a2146105b457610251565b806342842e0e146103f45780634801cd1714610410578063491447a8146104395780634f64b2be146104655780635bbb2177146104a457610251565b806317e080461161021957806317e080461461032e57806318160ddd1461035757806319908016146103825780631e2ff94f146103ad57806323b872dd146103d857610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb578063139a063014610317575b600080fd5b34801561026257600080fd5b5061027d600480360381019061027891906135e0565b6109e9565b60405161028a9190613628565b60405180910390f35b34801561029f57600080fd5b506102a8610a7b565b6040516102b591906136d3565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e0919061372b565b610b0d565b6040516102f29190613799565b60405180910390f35b610315600480360381019061031091906137e0565b610b8c565b005b34801561032357600080fd5b5061032c610cd0565b005b34801561033a57600080fd5b506103556004803603810190610350919061385e565b610d21565b005b34801561036357600080fd5b5061036c610fd7565b60405161037991906138c0565b60405180910390f35b34801561038e57600080fd5b50610397610fee565b6040516103a49190613628565b60405180910390f35b3480156103b957600080fd5b506103c26110ef565b6040516103cf91906138c0565b60405180910390f35b6103f260048036038101906103ed91906138db565b6110f7565b005b61040e600480360381019061040991906138db565b611419565b005b34801561041c57600080fd5b506104376004803603810190610432919061392e565b611439565b005b34801561044557600080fd5b5061044e611503565b60405161045c929190613986565b60405180910390f35b34801561047157600080fd5b5061048c6004803603810190610487919061372b565b61154d565b60405161049b93929190613a27565b60405180910390f35b3480156104b057600080fd5b506104cb60048036038101906104c69190613ac3565b611597565b6040516104d89190613c73565b60405180910390f35b3480156104ed57600080fd5b506105086004803603810190610503919061372b565b61165a565b6040516105159190613799565b60405180910390f35b34801561052a57600080fd5b5061053361166c565b005b34801561054157600080fd5b5061055c60048036038101906105579190613c95565b611691565b60405161056991906138c0565b60405180910390f35b34801561057e57600080fd5b50610587611749565b005b34801561059557600080fd5b5061059e61175d565b6040516105ab9190613628565b60405180910390f35b3480156105c057600080fd5b506105db60048036038101906105d69190613cee565b611770565b005b3480156105e957600080fd5b5061060460048036038101906105ff9190613c95565b611874565b6040516106119190613dec565b60405180910390f35b34801561062657600080fd5b5061062f6119b7565b60405161063c9190613799565b60405180910390f35b34801561065157600080fd5b5061065a6119e0565b60405161066791906136d3565b60405180910390f35b34801561067c57600080fd5b5061069760048036038101906106929190613e0e565b611a72565b6040516106a49190613dec565b60405180910390f35b3480156106b957600080fd5b506106d460048036038101906106cf919061372b565b611c7e565b005b3480156106e257600080fd5b506106fd60048036038101906106f8919061392e565b611d1e565b005b34801561070b57600080fd5b5061072660048036038101906107219190613e8d565b611de8565b005b34801561073457600080fd5b5061074f600480360381019061074a919061392e565b611ef3565b60405161075c9190613628565b60405180910390f35b34801561077157600080fd5b5061077a611f13565b6040516107879190613ecd565b60405180910390f35b34801561079c57600080fd5b506107b760048036038101906107b2919061372b565b611f39565b6040516107c491906136d3565b60405180910390f35b6107e760048036038101906107e29190614018565b612063565b005b3480156107f557600080fd5b50610810600480360381019061080b919061372b565b6120d6565b60405161081d91906140f0565b60405180910390f35b34801561083257600080fd5b5061083b612140565b6040516108489190613ecd565b60405180910390f35b34801561085d57600080fd5b506108786004803603810190610873919061372b565b612166565b60405161088591906136d3565b60405180910390f35b34801561089a57600080fd5b506108b560048036038101906108b0919061372b565b612290565b6040516108c291906136d3565b60405180910390f35b3480156108d757600080fd5b506108f260048036038101906108ed919061410b565b6123ba565b005b34801561090057600080fd5b5061091b60048036038101906109169190613c95565b61249d565b60405161092891906138c0565b60405180910390f35b34801561093d57600080fd5b506109586004803603810190610953919061414b565b6124af565b6040516109659190613628565b60405180910390f35b34801561097a57600080fd5b506109956004803603810190610990919061418b565b612543565b005b3480156109a357600080fd5b506109be60048036038101906109b991906141cb565b612732565b005b3480156109cc57600080fd5b506109e760048036038101906109e29190613c95565b6129d0565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a4457506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a745750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060038054610a8a9061423a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab69061423a565b8015610b035780601f10610ad857610100808354040283529160200191610b03565b820191906000526020600020905b815481529060010190602001808311610ae657829003601f168201915b5050505050905090565b6000610b1882612a56565b610b4e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b978261165a565b90508073ffffffffffffffffffffffffffffffffffffffff16610bb8612ab5565b73ffffffffffffffffffffffffffffffffffffffff1614610c1b57610be481610bdf612ab5565b6124af565b610c1a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610cd8612abd565b7f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c610d01612b44565b610d09612b4d565b604051610d1792919061426b565b60405180910390a1565b610d2a8361165a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d8e576040517fe5993a7b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610e11576040517fe53cb2ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff166301467c603386856040518463ffffffff1660e01b8152600401610e5093929190614294565b602060405180830381865afa158015610e6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9191906142e0565b905080610eca576040517fa703844800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600c6000868152602001908152602001600020604051806060016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600282015481525050905083600c600087815260200190815260200160002060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600c600087815260200190815260200160002060020181905550610fd08582612b60565b5050505050565b6000610fe1612b44565b6002546001540303905090565b600080600b6040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905080600001516fffffffffffffffffffffffffffffffff1642101580156110d0575080602001516fffffffffffffffffffffffffffffffff164211155b80156110e95750600960009054906101000a900460ff16155b91505090565b600042905090565b600061110282612bde565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611169576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061117584612caa565b9150915061118b8187611186612ab5565b612cd1565b6111d7576111a08661119b612ab5565b6124af565b6111d6576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361123d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61124a8686866001612d15565b801561125557600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611323856112ff888887612d1b565b7c020000000000000000000000000000000000000000000000000000000017612d43565b600560008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036113a957600060018501905060006005600083815260200190815260200160002054036113a75760015481146113a6578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46114118686866001612d6e565b505050505050565b61143483838360405180602001604052806000815250612063565b505050565b611441612abd565b80600960016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f855112fc6fcccf938a59297fdfa1aa10e7a87f743d88b17f07af7063c1f4a13a816040516114b19190613ecd565b60405180910390a17f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c6114e2612b44565b6114ea612b4d565b6040516114f892919061426b565b60405180910390a150565b600b8060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a90046fffffffffffffffffffffffffffffffff16905082565b600c6020528060005260406000206000915090508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154905083565b6060600083839050905060008167ffffffffffffffff8111156115bd576115bc613eed565b5b6040519080825280602002602001820160405280156115f657816020015b6115e3613525565b8152602001906001900390816115db5790505b50905060005b82811461164e576116258686838181106116195761161861430d565b5b905060200201356120d6565b8282815181106116385761163761430d565b5b60200260200101819052508060010190506115fc565b50809250505092915050565b600061166582612bde565b9050919050565b611674612abd565b6001600960006101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116f8576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611751612abd565b61175b6000612d74565b565b600960009054906101000a900460ff1681565b611778612abd565b600960009054906101000a900460ff16156117bf576040517f9c17895600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600b60000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555080600b60000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055507f60cc761f5c763ae5863f87b5c0cda371ffe55fb8830c9800662b5fc6af1d5062828260405161186892919061436d565b60405180910390a15050565b6060600080600061188485611691565b905060008167ffffffffffffffff8111156118a2576118a1613eed565b5b6040519080825280602002602001820160405280156118d05781602001602082028036833780820191505090505b5090506118db613525565b60006118e5612b44565b90505b8386146119a9576118f881612e38565b9150816040015161199e57600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461194357816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361199d57808387806001019850815181106119905761198f61430d565b5b6020026020010181815250505b5b8060010190506118e8565b508195505050505050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546119ef9061423a565b80601f0160208091040260200160405190810160405280929190818152602001828054611a1b9061423a565b8015611a685780601f10611a3d57610100808354040283529160200191611a68565b820191906000526020600020905b815481529060010190602001808311611a4b57829003601f168201915b5050505050905090565b6060818310611aad576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611ab8612e63565b9050611ac2612b44565b851015611ad457611ad1612b44565b94505b80841115611ae0578093505b6000611aeb87611691565b905084861015611b0e576000868603905081811015611b08578091505b50611b13565b600090505b60008167ffffffffffffffff811115611b2f57611b2e613eed565b5b604051908082528060200260200182016040528015611b5d5781602001602082028036833780820191505090505b50905060008203611b745780945050505050611c77565b6000611b7f886120d6565b905060008160400151611b9457816000015190505b60008990505b888114158015611baa5750848714155b15611c6957611bb881612e38565b92508260400151611c5e57600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611c0357826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c5d5780848880600101995081518110611c5057611c4f61430d565b5b6020026020010181815250505b5b806001019050611b9a565b508583528296505050505050505b9392505050565b611c86610fee565b611cbc576040517ff47e7f7e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611cc733612e6d565b90506000821480611cda57506003828201115b15611d11576040517fccfad01800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d1a82612ec4565b5050565b611d26612abd565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f1c322d53334c98dc2b62e20905a8eec0a733489d1e47dddb1ce866166cdebf3a81604051611d969190613ecd565b60405180910390a17f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c611dc7612b44565b611dcf612b4d565b604051611ddd92919061426b565b60405180910390a150565b8060086000611df5612ab5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ea2612ab5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ee79190613628565b60405180910390a35050565b600d6020528060005260406000206000915054906101000a900460ff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000600c6000848152602001908152602001600020604051806060016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152505090506000611fd38483612f3c565b90508073ffffffffffffffffffffffffffffffffffffffff1663c5c210648584604001516040518363ffffffff1660e01b815260040161201492919061426b565b600060405180830381865afa158015612031573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061205a9190614437565b92505050919050565b61206e8484846110f7565b60008373ffffffffffffffffffffffffffffffffffffffff163b146120d05761209984848484613061565b6120cf576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6120de613525565b6120e6613525565b6120ee612b44565b83108061210257506120fe612e63565b8310155b15612110578091505061213b565b61211983612e38565b905080604001511561212e578091505061213b565b612137836131b1565b9150505b919050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000600c6000848152602001908152602001600020604051806060016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600282015481525050905060006122008483612f3c565b90508073ffffffffffffffffffffffffffffffffffffffff166392cb829d8584604001516040518363ffffffff1660e01b815260040161224192919061426b565b600060405180830381865afa15801561225e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906122879190614437565b92505050919050565b60606000600c6000848152602001908152602001600020604051806060016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820154815250509050600061232a8483612f3c565b90508073ffffffffffffffffffffffffffffffffffffffff166341c723148584604001516040518363ffffffff1660e01b815260040161236b92919061426b565b600060405180830381865afa158015612388573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906123b19190614437565b92505050919050565b6123c2612abd565b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f22cdd57aaafaa9a4860c8c6c5ec2500a077a8873a3040f33542cbf0813104bdc828260405161244a929190614480565b60405180910390a17f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c61247b612b44565b612483612b4d565b60405161249192919061426b565b60405180910390a15050565b60006124a882612e6d565b9050919050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61254c8261165a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146125b0576040517fe5993a7b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600c6000848152602001908152602001600020604051806060016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820154815250509050600061264b82602001516131d1565b905060008173ffffffffffffffffffffffffffffffffffffffff166301467c603387876040518463ffffffff1660e01b815260040161268c93929190614294565b602060405180830381865afa1580156126a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126cd91906142e0565b905080612706576040517fa703844800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83600c60008781526020019081526020016000206002018190555061272b8584612b60565b5050505050565b61273b8261165a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461279f576040517fe5993a7b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612822576040517fe53cb2ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600c6000848152602001908152602001600020604051806060016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600282015481525050905060008273ffffffffffffffffffffffffffffffffffffffff166301467c60338685604001516040518463ffffffff1660e01b81526004016128f193929190614294565b602060405180830381865afa15801561290e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061293291906142e0565b90508061296b576040517fa703844800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c600086815260200190815260200160002060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506129ca8483612b60565b50505050565b6129d8612abd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612a4a5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401612a419190613799565b60405180910390fd5b612a5381612d74565b50565b600081612a61612b44565b11158015612a70575060015482105b8015612aae575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b612ac5613239565b73ffffffffffffffffffffffffffffffffffffffff16612ae36119b7565b73ffffffffffffffffffffffffffffffffffffffff1614612b4257612b06613239565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401612b399190613799565b60405180910390fd5b565b60006001905090565b6000612b57612b44565b60015403905090565b7ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce782604051612b8f91906138c0565b60405180910390a17fa637232b3611a4dfe169a4dbb12c843f0fbe3ad13119ef7c59f9b9ce882ce4e48282602001518360400151604051612bd2939291906144a9565b60405180910390a15050565b60008082905080612bed612b44565b11612c7357600154811015612c725760006005600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612c70575b60008103612c66576005600083600190039350838152602001908152602001600020549050612c3c565b8092505050612ca5565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006007600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612d32868684613241565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e40613525565b612e5c600560008481526020019081526020016000205461324a565b9050919050565b6000600154905090565b600067ffffffffffffffff6040600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b6000612ece612e63565b9050600082820190505b600080612ee484613300565b9150915081600c60008681526020019081526020016000206000018190555080600c6000868152602001908152602001600020600201819055508360010193505050808210612ed857612f373384613359565b505050565b60008082602001519050612f4f816131d1565b9050600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561302657508073ffffffffffffffffffffffffffffffffffffffff16636d3781f28585604001516040518363ffffffff1660e01b8152600401612fe492919061426b565b602060405180830381865afa158015613001573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061302591906142e0565b5b15613034578091505061305b565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150505b92915050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613087612ab5565b8786866040518563ffffffff1660e01b81526004016130a99493929190614535565b6020604051808303816000875af19250505080156130e557506040513d601f19601f820116820180604052508101906130e29190614596565b60015b61315e573d8060008114613115576040519150601f19603f3d011682016040523d82523d6000602084013e61311a565b606091505b506000815103613156576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6131b9613525565b6131ca6131c583612bde565b61324a565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361323057600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050613234565b8190505b919050565b600033905090565b60009392505050565b613252613525565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008060006001430340428560405160200161331e93929190614605565b60405160208183030381529060405280519060200120905080600160028360001c8161334d5761334c614642565b5b06019250925050915091565b600060015490506000820361339a576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6133a76000848385612d15565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061341e8361340f6000866000612d1b565b61341885613515565b17612d43565b6005600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146134bf57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613484565b50600082036134fa576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060018190555050506135106000848385612d6e565b505050565b60006001821460e11b9050919050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6135bd81613588565b81146135c857600080fd5b50565b6000813590506135da816135b4565b92915050565b6000602082840312156135f6576135f561357e565b5b6000613604848285016135cb565b91505092915050565b60008115159050919050565b6136228161360d565b82525050565b600060208201905061363d6000830184613619565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561367d578082015181840152602081019050613662565b60008484015250505050565b6000601f19601f8301169050919050565b60006136a582613643565b6136af818561364e565b93506136bf81856020860161365f565b6136c881613689565b840191505092915050565b600060208201905081810360008301526136ed818461369a565b905092915050565b6000819050919050565b613708816136f5565b811461371357600080fd5b50565b600081359050613725816136ff565b92915050565b6000602082840312156137415761374061357e565b5b600061374f84828501613716565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061378382613758565b9050919050565b61379381613778565b82525050565b60006020820190506137ae600083018461378a565b92915050565b6137bd81613778565b81146137c857600080fd5b50565b6000813590506137da816137b4565b92915050565b600080604083850312156137f7576137f661357e565b5b6000613805858286016137cb565b925050602061381685828601613716565b9150509250929050565b600061382b82613778565b9050919050565b61383b81613820565b811461384657600080fd5b50565b60008135905061385881613832565b92915050565b6000806000606084860312156138775761387661357e565b5b600061388586828701613716565b935050602061389686828701613849565b92505060406138a786828701613716565b9150509250925092565b6138ba816136f5565b82525050565b60006020820190506138d560008301846138b1565b92915050565b6000806000606084860312156138f4576138f361357e565b5b6000613902868287016137cb565b9350506020613913868287016137cb565b925050604061392486828701613716565b9150509250925092565b6000602082840312156139445761394361357e565b5b600061395284828501613849565b91505092915050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6139808161395b565b82525050565b600060408201905061399b6000830185613977565b6139a86020830184613977565b9392505050565b6000819050919050565b6139c2816139af565b82525050565b6000819050919050565b60006139ed6139e86139e384613758565b6139c8565b613758565b9050919050565b60006139ff826139d2565b9050919050565b6000613a11826139f4565b9050919050565b613a2181613a06565b82525050565b6000606082019050613a3c60008301866139b9565b613a496020830185613a18565b613a5660408301846138b1565b949350505050565b600080fd5b600080fd5b600080fd5b60008083601f840112613a8357613a82613a5e565b5b8235905067ffffffffffffffff811115613aa057613a9f613a63565b5b602083019150836020820283011115613abc57613abb613a68565b5b9250929050565b60008060208385031215613ada57613ad961357e565b5b600083013567ffffffffffffffff811115613af857613af7613583565b5b613b0485828601613a6d565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613b4581613778565b82525050565b600067ffffffffffffffff82169050919050565b613b6881613b4b565b82525050565b613b778161360d565b82525050565b600062ffffff82169050919050565b613b9581613b7d565b82525050565b608082016000820151613bb16000850182613b3c565b506020820151613bc46020850182613b5f565b506040820151613bd76040850182613b6e565b506060820151613bea6060850182613b8c565b50505050565b6000613bfc8383613b9b565b60808301905092915050565b6000602082019050919050565b6000613c2082613b10565b613c2a8185613b1b565b9350613c3583613b2c565b8060005b83811015613c66578151613c4d8882613bf0565b9750613c5883613c08565b925050600181019050613c39565b5085935050505092915050565b60006020820190508181036000830152613c8d8184613c15565b905092915050565b600060208284031215613cab57613caa61357e565b5b6000613cb9848285016137cb565b91505092915050565b613ccb8161395b565b8114613cd657600080fd5b50565b600081359050613ce881613cc2565b92915050565b60008060408385031215613d0557613d0461357e565b5b6000613d1385828601613cd9565b9250506020613d2485828601613cd9565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613d63816136f5565b82525050565b6000613d758383613d5a565b60208301905092915050565b6000602082019050919050565b6000613d9982613d2e565b613da38185613d39565b9350613dae83613d4a565b8060005b83811015613ddf578151613dc68882613d69565b9750613dd183613d81565b925050600181019050613db2565b5085935050505092915050565b60006020820190508181036000830152613e068184613d8e565b905092915050565b600080600060608486031215613e2757613e2661357e565b5b6000613e35868287016137cb565b9350506020613e4686828701613716565b9250506040613e5786828701613716565b9150509250925092565b613e6a8161360d565b8114613e7557600080fd5b50565b600081359050613e8781613e61565b92915050565b60008060408385031215613ea457613ea361357e565b5b6000613eb2858286016137cb565b9250506020613ec385828601613e78565b9150509250929050565b6000602082019050613ee26000830184613a18565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f2582613689565b810181811067ffffffffffffffff82111715613f4457613f43613eed565b5b80604052505050565b6000613f57613574565b9050613f638282613f1c565b919050565b600067ffffffffffffffff821115613f8357613f82613eed565b5b613f8c82613689565b9050602081019050919050565b82818337600083830152505050565b6000613fbb613fb684613f68565b613f4d565b905082815260208101848484011115613fd757613fd6613ee8565b5b613fe2848285613f99565b509392505050565b600082601f830112613fff57613ffe613a5e565b5b813561400f848260208601613fa8565b91505092915050565b600080600080608085870312156140325761403161357e565b5b6000614040878288016137cb565b9450506020614051878288016137cb565b935050604061406287828801613716565b925050606085013567ffffffffffffffff81111561408357614082613583565b5b61408f87828801613fea565b91505092959194509250565b6080820160008201516140b16000850182613b3c565b5060208201516140c46020850182613b5f565b5060408201516140d76040850182613b6e565b5060608201516140ea6060850182613b8c565b50505050565b6000608082019050614105600083018461409b565b92915050565b600080604083850312156141225761412161357e565b5b600061413085828601613849565b925050602061414185828601613e78565b9150509250929050565b600080604083850312156141625761416161357e565b5b6000614170858286016137cb565b9250506020614181858286016137cb565b9150509250929050565b600080604083850312156141a2576141a161357e565b5b60006141b085828601613716565b92505060206141c185828601613716565b9150509250929050565b600080604083850312156141e2576141e161357e565b5b60006141f085828601613716565b925050602061420185828601613849565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061425257607f821691505b6020821081036142655761426461420b565b5b50919050565b600060408201905061428060008301856138b1565b61428d60208301846138b1565b9392505050565b60006060820190506142a9600083018661378a565b6142b660208301856138b1565b6142c360408301846138b1565b949350505050565b6000815190506142da81613e61565b92915050565b6000602082840312156142f6576142f561357e565b5b6000614304848285016142cb565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061435761435261434d8461395b565b6139c8565b6136f5565b9050919050565b6143678161433c565b82525050565b6000604082019050614382600083018561435e565b61438f602083018461435e565b9392505050565b600067ffffffffffffffff8211156143b1576143b0613eed565b5b6143ba82613689565b9050602081019050919050565b60006143da6143d584614396565b613f4d565b9050828152602081018484840111156143f6576143f5613ee8565b5b61440184828561365f565b509392505050565b600082601f83011261441e5761441d613a5e565b5b815161442e8482602086016143c7565b91505092915050565b60006020828403121561444d5761444c61357e565b5b600082015167ffffffffffffffff81111561446b5761446a613583565b5b61447784828501614409565b91505092915050565b60006040820190506144956000830185613a18565b6144a26020830184613619565b9392505050565b60006060820190506144be60008301866138b1565b6144cb6020830185613a18565b6144d860408301846138b1565b949350505050565b600081519050919050565b600082825260208201905092915050565b6000614507826144e0565b61451181856144eb565b935061452181856020860161365f565b61452a81613689565b840191505092915050565b600060808201905061454a600083018761378a565b614557602083018661378a565b61456460408301856138b1565b818103606083015261457681846144fc565b905095945050505050565b600081519050614590816135b4565b92915050565b6000602082840312156145ac576145ab61357e565b5b60006145ba84828501614581565b91505092915050565b6000819050919050565b6145de6145d9826139af565b6145c3565b82525050565b6000819050919050565b6145ff6145fa826136f5565b6145e4565b82525050565b600061461182866145cd565b60208201915061462182856145ee565b60208201915061463182846145ee565b602082019150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea264697066735822122082ba9393c7346fffc3f7ba5aa0c2e55c6a9d3c5c10cd5f3fe7ee17a0554a268164736f6c63430008140033000000000000000000000000c62d4ea82879aff3dabaa19a46bbac3fe4d755a600000000000000000000000016c82bb11892950f206f25cbc00756f949f24d74

Deployed Bytecode

0x6080604052600436106102515760003560e01c80638462151c11610139578063b88d4fde116100b6578063dc0292c81161007a578063dc0292c8146108cb578063dc33e681146108f4578063e985e9c514610931578063ec000d061461096e578063f134e13714610997578063f2fde38b146109c057610251565b8063b88d4fde146107cd578063c23dc68f146107e9578063c56c4cf114610826578063c87b56dd14610851578063cf3484251461088e57610251565b8063a0de749d116100fd578063a0de749d146106d6578063a22cb465146106ff578063aca3f2a014610728578063b4ad07ad14610765578063b79bebaf1461079057610251565b80638462151c146105dd5780638da5cb5b1461061a57806395d89b411461064557806399a2557a14610670578063a0712d68146106ad57610251565b806342842e0e116101d25780636352211e116101965780636352211e146104e157806366cf76971461051e57806370a0823114610535578063715018a61461057257806373dbd913146105895780637e9b80a2146105b457610251565b806342842e0e146103f45780634801cd1714610410578063491447a8146104395780634f64b2be146104655780635bbb2177146104a457610251565b806317e080461161021957806317e080461461032e57806318160ddd1461035757806319908016146103825780631e2ff94f146103ad57806323b872dd146103d857610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb578063139a063014610317575b600080fd5b34801561026257600080fd5b5061027d600480360381019061027891906135e0565b6109e9565b60405161028a9190613628565b60405180910390f35b34801561029f57600080fd5b506102a8610a7b565b6040516102b591906136d3565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e0919061372b565b610b0d565b6040516102f29190613799565b60405180910390f35b610315600480360381019061031091906137e0565b610b8c565b005b34801561032357600080fd5b5061032c610cd0565b005b34801561033a57600080fd5b506103556004803603810190610350919061385e565b610d21565b005b34801561036357600080fd5b5061036c610fd7565b60405161037991906138c0565b60405180910390f35b34801561038e57600080fd5b50610397610fee565b6040516103a49190613628565b60405180910390f35b3480156103b957600080fd5b506103c26110ef565b6040516103cf91906138c0565b60405180910390f35b6103f260048036038101906103ed91906138db565b6110f7565b005b61040e600480360381019061040991906138db565b611419565b005b34801561041c57600080fd5b506104376004803603810190610432919061392e565b611439565b005b34801561044557600080fd5b5061044e611503565b60405161045c929190613986565b60405180910390f35b34801561047157600080fd5b5061048c6004803603810190610487919061372b565b61154d565b60405161049b93929190613a27565b60405180910390f35b3480156104b057600080fd5b506104cb60048036038101906104c69190613ac3565b611597565b6040516104d89190613c73565b60405180910390f35b3480156104ed57600080fd5b506105086004803603810190610503919061372b565b61165a565b6040516105159190613799565b60405180910390f35b34801561052a57600080fd5b5061053361166c565b005b34801561054157600080fd5b5061055c60048036038101906105579190613c95565b611691565b60405161056991906138c0565b60405180910390f35b34801561057e57600080fd5b50610587611749565b005b34801561059557600080fd5b5061059e61175d565b6040516105ab9190613628565b60405180910390f35b3480156105c057600080fd5b506105db60048036038101906105d69190613cee565b611770565b005b3480156105e957600080fd5b5061060460048036038101906105ff9190613c95565b611874565b6040516106119190613dec565b60405180910390f35b34801561062657600080fd5b5061062f6119b7565b60405161063c9190613799565b60405180910390f35b34801561065157600080fd5b5061065a6119e0565b60405161066791906136d3565b60405180910390f35b34801561067c57600080fd5b5061069760048036038101906106929190613e0e565b611a72565b6040516106a49190613dec565b60405180910390f35b3480156106b957600080fd5b506106d460048036038101906106cf919061372b565b611c7e565b005b3480156106e257600080fd5b506106fd60048036038101906106f8919061392e565b611d1e565b005b34801561070b57600080fd5b5061072660048036038101906107219190613e8d565b611de8565b005b34801561073457600080fd5b5061074f600480360381019061074a919061392e565b611ef3565b60405161075c9190613628565b60405180910390f35b34801561077157600080fd5b5061077a611f13565b6040516107879190613ecd565b60405180910390f35b34801561079c57600080fd5b506107b760048036038101906107b2919061372b565b611f39565b6040516107c491906136d3565b60405180910390f35b6107e760048036038101906107e29190614018565b612063565b005b3480156107f557600080fd5b50610810600480360381019061080b919061372b565b6120d6565b60405161081d91906140f0565b60405180910390f35b34801561083257600080fd5b5061083b612140565b6040516108489190613ecd565b60405180910390f35b34801561085d57600080fd5b506108786004803603810190610873919061372b565b612166565b60405161088591906136d3565b60405180910390f35b34801561089a57600080fd5b506108b560048036038101906108b0919061372b565b612290565b6040516108c291906136d3565b60405180910390f35b3480156108d757600080fd5b506108f260048036038101906108ed919061410b565b6123ba565b005b34801561090057600080fd5b5061091b60048036038101906109169190613c95565b61249d565b60405161092891906138c0565b60405180910390f35b34801561093d57600080fd5b506109586004803603810190610953919061414b565b6124af565b6040516109659190613628565b60405180910390f35b34801561097a57600080fd5b506109956004803603810190610990919061418b565b612543565b005b3480156109a357600080fd5b506109be60048036038101906109b991906141cb565b612732565b005b3480156109cc57600080fd5b506109e760048036038101906109e29190613c95565b6129d0565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a4457506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a745750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060038054610a8a9061423a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab69061423a565b8015610b035780601f10610ad857610100808354040283529160200191610b03565b820191906000526020600020905b815481529060010190602001808311610ae657829003601f168201915b5050505050905090565b6000610b1882612a56565b610b4e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b978261165a565b90508073ffffffffffffffffffffffffffffffffffffffff16610bb8612ab5565b73ffffffffffffffffffffffffffffffffffffffff1614610c1b57610be481610bdf612ab5565b6124af565b610c1a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610cd8612abd565b7f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c610d01612b44565b610d09612b4d565b604051610d1792919061426b565b60405180910390a1565b610d2a8361165a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d8e576040517fe5993a7b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610e11576040517fe53cb2ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff166301467c603386856040518463ffffffff1660e01b8152600401610e5093929190614294565b602060405180830381865afa158015610e6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9191906142e0565b905080610eca576040517fa703844800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600c6000868152602001908152602001600020604051806060016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600282015481525050905083600c600087815260200190815260200160002060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600c600087815260200190815260200160002060020181905550610fd08582612b60565b5050505050565b6000610fe1612b44565b6002546001540303905090565b600080600b6040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905080600001516fffffffffffffffffffffffffffffffff1642101580156110d0575080602001516fffffffffffffffffffffffffffffffff164211155b80156110e95750600960009054906101000a900460ff16155b91505090565b600042905090565b600061110282612bde565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611169576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061117584612caa565b9150915061118b8187611186612ab5565b612cd1565b6111d7576111a08661119b612ab5565b6124af565b6111d6576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361123d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61124a8686866001612d15565b801561125557600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611323856112ff888887612d1b565b7c020000000000000000000000000000000000000000000000000000000017612d43565b600560008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036113a957600060018501905060006005600083815260200190815260200160002054036113a75760015481146113a6578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46114118686866001612d6e565b505050505050565b61143483838360405180602001604052806000815250612063565b505050565b611441612abd565b80600960016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f855112fc6fcccf938a59297fdfa1aa10e7a87f743d88b17f07af7063c1f4a13a816040516114b19190613ecd565b60405180910390a17f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c6114e2612b44565b6114ea612b4d565b6040516114f892919061426b565b60405180910390a150565b600b8060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a90046fffffffffffffffffffffffffffffffff16905082565b600c6020528060005260406000206000915090508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154905083565b6060600083839050905060008167ffffffffffffffff8111156115bd576115bc613eed565b5b6040519080825280602002602001820160405280156115f657816020015b6115e3613525565b8152602001906001900390816115db5790505b50905060005b82811461164e576116258686838181106116195761161861430d565b5b905060200201356120d6565b8282815181106116385761163761430d565b5b60200260200101819052508060010190506115fc565b50809250505092915050565b600061166582612bde565b9050919050565b611674612abd565b6001600960006101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116f8576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611751612abd565b61175b6000612d74565b565b600960009054906101000a900460ff1681565b611778612abd565b600960009054906101000a900460ff16156117bf576040517f9c17895600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600b60000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555080600b60000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055507f60cc761f5c763ae5863f87b5c0cda371ffe55fb8830c9800662b5fc6af1d5062828260405161186892919061436d565b60405180910390a15050565b6060600080600061188485611691565b905060008167ffffffffffffffff8111156118a2576118a1613eed565b5b6040519080825280602002602001820160405280156118d05781602001602082028036833780820191505090505b5090506118db613525565b60006118e5612b44565b90505b8386146119a9576118f881612e38565b9150816040015161199e57600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461194357816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361199d57808387806001019850815181106119905761198f61430d565b5b6020026020010181815250505b5b8060010190506118e8565b508195505050505050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546119ef9061423a565b80601f0160208091040260200160405190810160405280929190818152602001828054611a1b9061423a565b8015611a685780601f10611a3d57610100808354040283529160200191611a68565b820191906000526020600020905b815481529060010190602001808311611a4b57829003601f168201915b5050505050905090565b6060818310611aad576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611ab8612e63565b9050611ac2612b44565b851015611ad457611ad1612b44565b94505b80841115611ae0578093505b6000611aeb87611691565b905084861015611b0e576000868603905081811015611b08578091505b50611b13565b600090505b60008167ffffffffffffffff811115611b2f57611b2e613eed565b5b604051908082528060200260200182016040528015611b5d5781602001602082028036833780820191505090505b50905060008203611b745780945050505050611c77565b6000611b7f886120d6565b905060008160400151611b9457816000015190505b60008990505b888114158015611baa5750848714155b15611c6957611bb881612e38565b92508260400151611c5e57600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611c0357826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c5d5780848880600101995081518110611c5057611c4f61430d565b5b6020026020010181815250505b5b806001019050611b9a565b508583528296505050505050505b9392505050565b611c86610fee565b611cbc576040517ff47e7f7e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611cc733612e6d565b90506000821480611cda57506003828201115b15611d11576040517fccfad01800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d1a82612ec4565b5050565b611d26612abd565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f1c322d53334c98dc2b62e20905a8eec0a733489d1e47dddb1ce866166cdebf3a81604051611d969190613ecd565b60405180910390a17f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c611dc7612b44565b611dcf612b4d565b604051611ddd92919061426b565b60405180910390a150565b8060086000611df5612ab5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ea2612ab5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ee79190613628565b60405180910390a35050565b600d6020528060005260406000206000915054906101000a900460ff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000600c6000848152602001908152602001600020604051806060016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152505090506000611fd38483612f3c565b90508073ffffffffffffffffffffffffffffffffffffffff1663c5c210648584604001516040518363ffffffff1660e01b815260040161201492919061426b565b600060405180830381865afa158015612031573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061205a9190614437565b92505050919050565b61206e8484846110f7565b60008373ffffffffffffffffffffffffffffffffffffffff163b146120d05761209984848484613061565b6120cf576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6120de613525565b6120e6613525565b6120ee612b44565b83108061210257506120fe612e63565b8310155b15612110578091505061213b565b61211983612e38565b905080604001511561212e578091505061213b565b612137836131b1565b9150505b919050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000600c6000848152602001908152602001600020604051806060016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600282015481525050905060006122008483612f3c565b90508073ffffffffffffffffffffffffffffffffffffffff166392cb829d8584604001516040518363ffffffff1660e01b815260040161224192919061426b565b600060405180830381865afa15801561225e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906122879190614437565b92505050919050565b60606000600c6000848152602001908152602001600020604051806060016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820154815250509050600061232a8483612f3c565b90508073ffffffffffffffffffffffffffffffffffffffff166341c723148584604001516040518363ffffffff1660e01b815260040161236b92919061426b565b600060405180830381865afa158015612388573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906123b19190614437565b92505050919050565b6123c2612abd565b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f22cdd57aaafaa9a4860c8c6c5ec2500a077a8873a3040f33542cbf0813104bdc828260405161244a929190614480565b60405180910390a17f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c61247b612b44565b612483612b4d565b60405161249192919061426b565b60405180910390a15050565b60006124a882612e6d565b9050919050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61254c8261165a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146125b0576040517fe5993a7b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600c6000848152602001908152602001600020604051806060016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820154815250509050600061264b82602001516131d1565b905060008173ffffffffffffffffffffffffffffffffffffffff166301467c603387876040518463ffffffff1660e01b815260040161268c93929190614294565b602060405180830381865afa1580156126a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126cd91906142e0565b905080612706576040517fa703844800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83600c60008781526020019081526020016000206002018190555061272b8584612b60565b5050505050565b61273b8261165a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461279f576040517fe5993a7b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612822576040517fe53cb2ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600c6000848152602001908152602001600020604051806060016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600282015481525050905060008273ffffffffffffffffffffffffffffffffffffffff166301467c60338685604001516040518463ffffffff1660e01b81526004016128f193929190614294565b602060405180830381865afa15801561290e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061293291906142e0565b90508061296b576040517fa703844800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c600086815260200190815260200160002060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506129ca8483612b60565b50505050565b6129d8612abd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612a4a5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401612a419190613799565b60405180910390fd5b612a5381612d74565b50565b600081612a61612b44565b11158015612a70575060015482105b8015612aae575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b612ac5613239565b73ffffffffffffffffffffffffffffffffffffffff16612ae36119b7565b73ffffffffffffffffffffffffffffffffffffffff1614612b4257612b06613239565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401612b399190613799565b60405180910390fd5b565b60006001905090565b6000612b57612b44565b60015403905090565b7ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce782604051612b8f91906138c0565b60405180910390a17fa637232b3611a4dfe169a4dbb12c843f0fbe3ad13119ef7c59f9b9ce882ce4e48282602001518360400151604051612bd2939291906144a9565b60405180910390a15050565b60008082905080612bed612b44565b11612c7357600154811015612c725760006005600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612c70575b60008103612c66576005600083600190039350838152602001908152602001600020549050612c3c565b8092505050612ca5565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006007600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612d32868684613241565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e40613525565b612e5c600560008481526020019081526020016000205461324a565b9050919050565b6000600154905090565b600067ffffffffffffffff6040600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b6000612ece612e63565b9050600082820190505b600080612ee484613300565b9150915081600c60008681526020019081526020016000206000018190555080600c6000868152602001908152602001600020600201819055508360010193505050808210612ed857612f373384613359565b505050565b60008082602001519050612f4f816131d1565b9050600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561302657508073ffffffffffffffffffffffffffffffffffffffff16636d3781f28585604001516040518363ffffffff1660e01b8152600401612fe492919061426b565b602060405180830381865afa158015613001573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061302591906142e0565b5b15613034578091505061305b565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150505b92915050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613087612ab5565b8786866040518563ffffffff1660e01b81526004016130a99493929190614535565b6020604051808303816000875af19250505080156130e557506040513d601f19601f820116820180604052508101906130e29190614596565b60015b61315e573d8060008114613115576040519150601f19603f3d011682016040523d82523d6000602084013e61311a565b606091505b506000815103613156576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6131b9613525565b6131ca6131c583612bde565b61324a565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361323057600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050613234565b8190505b919050565b600033905090565b60009392505050565b613252613525565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008060006001430340428560405160200161331e93929190614605565b60405160208183030381529060405280519060200120905080600160028360001c8161334d5761334c614642565b5b06019250925050915091565b600060015490506000820361339a576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6133a76000848385612d15565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061341e8361340f6000866000612d1b565b61341885613515565b17612d43565b6005600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146134bf57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613484565b50600082036134fa576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060018190555050506135106000848385612d6e565b505050565b60006001821460e11b9050919050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6135bd81613588565b81146135c857600080fd5b50565b6000813590506135da816135b4565b92915050565b6000602082840312156135f6576135f561357e565b5b6000613604848285016135cb565b91505092915050565b60008115159050919050565b6136228161360d565b82525050565b600060208201905061363d6000830184613619565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561367d578082015181840152602081019050613662565b60008484015250505050565b6000601f19601f8301169050919050565b60006136a582613643565b6136af818561364e565b93506136bf81856020860161365f565b6136c881613689565b840191505092915050565b600060208201905081810360008301526136ed818461369a565b905092915050565b6000819050919050565b613708816136f5565b811461371357600080fd5b50565b600081359050613725816136ff565b92915050565b6000602082840312156137415761374061357e565b5b600061374f84828501613716565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061378382613758565b9050919050565b61379381613778565b82525050565b60006020820190506137ae600083018461378a565b92915050565b6137bd81613778565b81146137c857600080fd5b50565b6000813590506137da816137b4565b92915050565b600080604083850312156137f7576137f661357e565b5b6000613805858286016137cb565b925050602061381685828601613716565b9150509250929050565b600061382b82613778565b9050919050565b61383b81613820565b811461384657600080fd5b50565b60008135905061385881613832565b92915050565b6000806000606084860312156138775761387661357e565b5b600061388586828701613716565b935050602061389686828701613849565b92505060406138a786828701613716565b9150509250925092565b6138ba816136f5565b82525050565b60006020820190506138d560008301846138b1565b92915050565b6000806000606084860312156138f4576138f361357e565b5b6000613902868287016137cb565b9350506020613913868287016137cb565b925050604061392486828701613716565b9150509250925092565b6000602082840312156139445761394361357e565b5b600061395284828501613849565b91505092915050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6139808161395b565b82525050565b600060408201905061399b6000830185613977565b6139a86020830184613977565b9392505050565b6000819050919050565b6139c2816139af565b82525050565b6000819050919050565b60006139ed6139e86139e384613758565b6139c8565b613758565b9050919050565b60006139ff826139d2565b9050919050565b6000613a11826139f4565b9050919050565b613a2181613a06565b82525050565b6000606082019050613a3c60008301866139b9565b613a496020830185613a18565b613a5660408301846138b1565b949350505050565b600080fd5b600080fd5b600080fd5b60008083601f840112613a8357613a82613a5e565b5b8235905067ffffffffffffffff811115613aa057613a9f613a63565b5b602083019150836020820283011115613abc57613abb613a68565b5b9250929050565b60008060208385031215613ada57613ad961357e565b5b600083013567ffffffffffffffff811115613af857613af7613583565b5b613b0485828601613a6d565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613b4581613778565b82525050565b600067ffffffffffffffff82169050919050565b613b6881613b4b565b82525050565b613b778161360d565b82525050565b600062ffffff82169050919050565b613b9581613b7d565b82525050565b608082016000820151613bb16000850182613b3c565b506020820151613bc46020850182613b5f565b506040820151613bd76040850182613b6e565b506060820151613bea6060850182613b8c565b50505050565b6000613bfc8383613b9b565b60808301905092915050565b6000602082019050919050565b6000613c2082613b10565b613c2a8185613b1b565b9350613c3583613b2c565b8060005b83811015613c66578151613c4d8882613bf0565b9750613c5883613c08565b925050600181019050613c39565b5085935050505092915050565b60006020820190508181036000830152613c8d8184613c15565b905092915050565b600060208284031215613cab57613caa61357e565b5b6000613cb9848285016137cb565b91505092915050565b613ccb8161395b565b8114613cd657600080fd5b50565b600081359050613ce881613cc2565b92915050565b60008060408385031215613d0557613d0461357e565b5b6000613d1385828601613cd9565b9250506020613d2485828601613cd9565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613d63816136f5565b82525050565b6000613d758383613d5a565b60208301905092915050565b6000602082019050919050565b6000613d9982613d2e565b613da38185613d39565b9350613dae83613d4a565b8060005b83811015613ddf578151613dc68882613d69565b9750613dd183613d81565b925050600181019050613db2565b5085935050505092915050565b60006020820190508181036000830152613e068184613d8e565b905092915050565b600080600060608486031215613e2757613e2661357e565b5b6000613e35868287016137cb565b9350506020613e4686828701613716565b9250506040613e5786828701613716565b9150509250925092565b613e6a8161360d565b8114613e7557600080fd5b50565b600081359050613e8781613e61565b92915050565b60008060408385031215613ea457613ea361357e565b5b6000613eb2858286016137cb565b9250506020613ec385828601613e78565b9150509250929050565b6000602082019050613ee26000830184613a18565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f2582613689565b810181811067ffffffffffffffff82111715613f4457613f43613eed565b5b80604052505050565b6000613f57613574565b9050613f638282613f1c565b919050565b600067ffffffffffffffff821115613f8357613f82613eed565b5b613f8c82613689565b9050602081019050919050565b82818337600083830152505050565b6000613fbb613fb684613f68565b613f4d565b905082815260208101848484011115613fd757613fd6613ee8565b5b613fe2848285613f99565b509392505050565b600082601f830112613fff57613ffe613a5e565b5b813561400f848260208601613fa8565b91505092915050565b600080600080608085870312156140325761403161357e565b5b6000614040878288016137cb565b9450506020614051878288016137cb565b935050604061406287828801613716565b925050606085013567ffffffffffffffff81111561408357614082613583565b5b61408f87828801613fea565b91505092959194509250565b6080820160008201516140b16000850182613b3c565b5060208201516140c46020850182613b5f565b5060408201516140d76040850182613b6e565b5060608201516140ea6060850182613b8c565b50505050565b6000608082019050614105600083018461409b565b92915050565b600080604083850312156141225761412161357e565b5b600061413085828601613849565b925050602061414185828601613e78565b9150509250929050565b600080604083850312156141625761416161357e565b5b6000614170858286016137cb565b9250506020614181858286016137cb565b9150509250929050565b600080604083850312156141a2576141a161357e565b5b60006141b085828601613716565b92505060206141c185828601613716565b9150509250929050565b600080604083850312156141e2576141e161357e565b5b60006141f085828601613716565b925050602061420185828601613849565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061425257607f821691505b6020821081036142655761426461420b565b5b50919050565b600060408201905061428060008301856138b1565b61428d60208301846138b1565b9392505050565b60006060820190506142a9600083018661378a565b6142b660208301856138b1565b6142c360408301846138b1565b949350505050565b6000815190506142da81613e61565b92915050565b6000602082840312156142f6576142f561357e565b5b6000614304848285016142cb565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061435761435261434d8461395b565b6139c8565b6136f5565b9050919050565b6143678161433c565b82525050565b6000604082019050614382600083018561435e565b61438f602083018461435e565b9392505050565b600067ffffffffffffffff8211156143b1576143b0613eed565b5b6143ba82613689565b9050602081019050919050565b60006143da6143d584614396565b613f4d565b9050828152602081018484840111156143f6576143f5613ee8565b5b61440184828561365f565b509392505050565b600082601f83011261441e5761441d613a5e565b5b815161442e8482602086016143c7565b91505092915050565b60006020828403121561444d5761444c61357e565b5b600082015167ffffffffffffffff81111561446b5761446a613583565b5b61447784828501614409565b91505092915050565b60006040820190506144956000830185613a18565b6144a26020830184613619565b9392505050565b60006060820190506144be60008301866138b1565b6144cb6020830185613a18565b6144d860408301846138b1565b949350505050565b600081519050919050565b600082825260208201905092915050565b6000614507826144e0565b61451181856144eb565b935061452181856020860161365f565b61452a81613689565b840191505092915050565b600060808201905061454a600083018761378a565b614557602083018661378a565b61456460408301856138b1565b818103606083015261457681846144fc565b905095945050505050565b600081519050614590816135b4565b92915050565b6000602082840312156145ac576145ab61357e565b5b60006145ba84828501614581565b91505092915050565b6000819050919050565b6145de6145d9826139af565b6145c3565b82525050565b6000819050919050565b6145ff6145fa826136f5565b6145e4565b82525050565b600061461182866145cd565b60208201915061462182856145ee565b60208201915061463182846145ee565b602082019150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea264697066735822122082ba9393c7346fffc3f7ba5aa0c2e55c6a9d3c5c10cd5f3fe7ee17a0554a268164736f6c63430008140033

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

000000000000000000000000c62d4ea82879aff3dabaa19a46bbac3fe4d755a600000000000000000000000016c82bb11892950f206f25cbc00756f949f24d74

-----Decoded View---------------
Arg [0] : _defaultRenderer (address): 0xC62D4Ea82879afF3DaBAa19A46Bbac3FE4D755a6
Arg [1] : _launchRenderer (address): 0x16C82Bb11892950F206F25CBc00756F949f24d74

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000c62d4ea82879aff3dabaa19a46bbac3fe4d755a6
Arg [1] : 00000000000000000000000016c82bb11892950f206f25cbc00756f949f24d74


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.