ETH Price: $3,457.70 (-0.84%)

Token

YuGiYn (YGY)
 

Overview

Max Total Supply

8,888 YGY

Holders

1,860

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
0 YGY
0x92889a829fbcc5e01879aeabbec1917a5f5e5df2
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Set inside the skyscraper called “¥u-Gi-¥n” located in city of Shibuya in the near future, ¥u-Gi-¥n is a virtual world building project that provides entertainment such as games, manga, anime, fashion and music. There are 4 districts in the virtual world and players can go bac...

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
YuGiYn

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : YuGiYn.sol
// SPDX-License-Identifier: NONE
pragma solidity ^0.8.15;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

/**
 * @title ¥u-Gi-¥n 遊戯苑 NFT
 *
 * Feature overview:
 *     * Configurable sale stages with independent prices, allow lists, and mint limits
 *     * Sale stages transition based on block timestamp
 *     * User-callable minting by sending ETH
 *     * Owner-callable mass minting
 *     * Funds can be `withdraw()`n by the configurable treasury account
 *     * Base URI / contract URI is rewritable
 *     * `exists()` is public
 *     * Minting can be `pause()`d
 */
contract YuGiYn is
    Ownable,
    ReentrancyGuard,
    Pausable,
    ERC721A,
    ERC2981
{
    string public baseURI =
        "http://localhost:3000/metadata/";

    string internal _contractURI =
        "http://localhost:3000/contract-metadata";

    struct SaleStage {
        uint256 startTime;
        uint256 priceWei;
        uint256 maxPerAddress;
        bool mintable;
        bool useList;
        bytes32 merkleRoot;
        mapping(address => uint256) claimed;
    }

    SaleStage[] public stages;

    uint256 public constant MAX_SUPPLY = 8888;
    bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;

    address payable private _treasury;

    event TreasuryChanged(
        address indexed previousTreasury,
        address indexed newTreasury
    );

    constructor() ERC721A("YuGiYn", "YGY") {
        // 7.5% royalties to the deployer
        _setDefaultRoyalty(msg.sender, 750);
        
        // Deployer is also the treasury
        _treasury = payable(msg.sender);

        // Stage 0: Pre-sale stage (unmintable)
        stages.push();
        stages[0].startTime = 1656601200; // 2022-07-01 00:00:00 +0900
        stages[0].priceWei = 0;
        stages[0].maxPerAddress = 0;
        stages[0].mintable = false;
        stages[0].useList = false;

        // Stage 1: Whitelist sale
        stages.push();
        stages[1].startTime = 1657119600; // 2022-07-07 00:00:00 +0900
        stages[1].priceWei = 0.01 ether;
        stages[1].maxPerAddress = 2;
        stages[1].mintable = true;
        stages[1].useList = true;

        // Stage 2: Public sale
        stages.push();
        stages[2].startTime = 1659279600; // 2022-08-01 00:00:00 +0900
        stages[2].priceWei = 0.07 ether;
        stages[2].maxPerAddress = 2;
        stages[2].mintable = true;
        stages[2].useList = false;

        // Stage 3: Post-sale stage (unmintable)
        stages.push();
        stages[3].startTime = 1661958000; // 2022-09-01 00:00:00 +0900
        stages[3].priceWei = 0;
        stages[3].maxPerAddress = 0;
        stages[3].mintable = false;
        stages[3].useList = false;

        // Initial mint to deployer
        _mintERC2309(owner(), 1);
    }

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

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

    function exists(uint256 tokenId) public view returns (bool) {
        return _exists(tokenId);
    }

    /// @notice Contract-level metadata
    /// @dev Customizing the metadata for your smart contract
    /// @return A URL for the storefront-level metadata for your contract.
    function contractURI() external view returns (string memory) {
        return _contractURI;
    }

    /**************************************************************************
     * Minting
     **************************************************************************/

    /**
     * @notice Owner-only manual minting in a sepcific quantity to a specific address
     * @param to Address to mint to
     * @param quantity Number of tokens to mint
     */
    function mint(address to, uint256 quantity) public onlyOwner whenNotPaused {
        require(_totalMinted() + quantity <= MAX_SUPPLY, "Over max supply");
        _safeMint(to, quantity);
    }

    /**
     * @notice Owner-only mass minting to specific addresses
     * @param addresses Array of addresses to mint to
     * @param quantity Each address gets this amount of tokens
     */
    function giveoutMint(address[] memory addresses, uint256 quantity) public nonReentrant onlyOwner whenNotPaused {
        require(_totalMinted() + (addresses.length * quantity) <= MAX_SUPPLY, "Over max supply");
        for (uint256 i = 0; i < addresses.length; i++) {
            _safeMint(addresses[i], quantity);
        }
    }

    /**
     * @return The current sale stage number, starting with 0
     */
    function stageNumber() public view returns (uint256) {
        require(stages.length > 0, "No sale stages set");
        for (uint256 num = stages.length - 1; num > 0; num--) {
            if (block.timestamp >= stages[num].startTime) {
                return num;
            }
        }
        return 0;
    }

    /**
     * @return Total number of sale stages
     */
    function totalStages() external view returns (uint256) {
        return stages.length;
    }

    /**
     * @notice Check the number of tokens a user has already claimed during a sale stage.
     * @param stageNum The stage number to check
     * @param addr The address of the user
     */
    function claimed(
        uint256 stageNum,
        address addr
    ) external view returns (uint256) {
        require(stageNum < stages.length, "Invalid stage number");
        SaleStage storage stage = stages[stageNum];
        return stage.claimed[addr];
    }

    /**
     * @notice Check the remaining number of tokens a user is allowed to mint during a sale stage.
     * @param stageNum The stage number to check
     * @param addr The address of the user
     * @param merkleProof MerkleTree proof for the user's address.
     *                    Required for allow-list sale stages.
     *                    Provide an empty array for non-allow-list sale stages.
     * @return The user's allowance
     */
    function allowance(
        uint256 stageNum,
        address addr,
        bytes32[] calldata merkleProof
    ) public view returns (uint256) {
        require(stageNum < stages.length, "Invalid stage number");
        SaleStage storage stage = stages[stageNum];
        require(stage.mintable, "Not mintable during this stage");

        if (stage.useList) {
            bytes32 leaf = keccak256(abi.encodePacked(addr));
            require(MerkleProof.verify(merkleProof, stage.merkleRoot, leaf), "Address is not in allow list");
        }

        if (stage.claimed[addr] >= stage.maxPerAddress) {
            return 0;
        } else {
            return stage.maxPerAddress - stage.claimed[addr];
        }
    }

    /**
     * @notice Minting, to be called by the user, according to the current sale stage
     * @param quantity The number of tokens to mint. Must be within user's allowance
     * @param merkleProof MerkleTree proof for the user's address.
     *                    Required for allow-list sale stages.
     *                    Provide an empty array for non-allow-list sale stages.
     */
    function saleStageMint(
        uint256 quantity,
        bytes32[] calldata merkleProof
    )
        external
        payable
        nonReentrant
        onlyEOA
        whenNotPaused
    {
        uint256 stageNum = stageNumber();
        SaleStage storage stage = stages[stageNum];

        require(stage.mintable, "Not mintable during this stage");
        require(_totalMinted() + quantity <= MAX_SUPPLY, "Over max supply");

        if (! stage.useList) {
            require(stage.priceWei > 0, "Price not set for public sale");
        }

        require(allowance(stageNum, msg.sender, merkleProof) >= quantity, "Requested quantity is over allowance for account");

        uint256 totalPriceWei = quantity * stage.priceWei;
        require(msg.value == totalPriceWei, "Wrong amount of ETH sent.");

        stage.claimed[msg.sender] += quantity;

        _safeMint(msg.sender, quantity);
    }

    /**************************************************************************
     * Administrative setters
     **************************************************************************/
    /**
     * @notice Set the baseURI for tokenURI()
     * @param _newBaseURI The URI
     */
    function setBaseURI(string calldata _newBaseURI) external onlyOwner {
        baseURI = _newBaseURI;
    }

    /**
     * @notice Set the URI for storefront-level metadata
     * @param _newContractURI The URI
     */
    function setContractURI(string calldata _newContractURI) external onlyOwner {
        _contractURI = _newContractURI;
    }

    /**
     * @notice Clear sale stage settings, including allow-lists and claimed counts
     */
    function clearSaleStages() external onlyOwner {
        delete stages;
    }

    /**
     * @notice Set up sale stages.
     *         Overwrites existing stages and adds new ones,
     *         but does not delete anything.
     * @param startTimeVals Start timestamps of each stage
     * @param priceWeiVals Token prices for each stage
     * @param maxPerAddressVals Per-address mint limits for each stage
     * @param mintableVals Flags for whether stages are mintable
     * @param useListVals Flags for whether stages should use allow-lists
     */
    function setSaleStages(
        uint256[] calldata startTimeVals,
        uint256[] calldata priceWeiVals,
        uint256[] calldata maxPerAddressVals,
        bool[] calldata mintableVals,
        bool[] calldata useListVals
    ) external onlyOwner {
        require(
            startTimeVals.length == priceWeiVals.length &&
            startTimeVals.length == maxPerAddressVals.length &&
            startTimeVals.length == mintableVals.length &&
            startTimeVals.length == useListVals.length,
            'Mismatched parameter lengths'
        );

        for (uint256 i = 1; i < startTimeVals.length; i++) {
            require(startTimeVals[i] > startTimeVals[i-1], 'Start time must be greater than previous');
        }

        for (uint256 i = 0; i < startTimeVals.length; i++) {
            if (i >= stages.length) {
                stages.push();
            }

            SaleStage storage stage = stages[i];
            stage.startTime = startTimeVals[i];
            stage.priceWei = priceWeiVals[i];
            stage.maxPerAddress = maxPerAddressVals[i];
            stage.mintable = mintableVals[i];
            stage.useList = useListVals[i];
        }
    }

    /**
     * @notice Set allow list addresses for a stage
     * @param stageNum The stage number
     * @param merkleRoot MerkleTree root for the allow list
     */
    function setAllowList(
        uint256 stageNum,
        bytes32 merkleRoot
    ) external onlyOwner {
        require(stageNum < stages.length, "Invalid stage number");
        SaleStage storage stage = stages[stageNum];
        require(stage.useList, "Stage does not use allow list");
        stage.merkleRoot = merkleRoot;
    }

    /**
     * @notice Alter claimed count for a stage and address
     * @param stageNum The stage number
     * @param addr The address of the user
     * @param quantity The new claimed count
     */
    function setClaimed(
        uint256 stageNum,
        address addr,
        uint256 quantity
    ) external onlyOwner {
        require(stageNum < stages.length, "Invalid stage number");
        SaleStage storage stage = stages[stageNum];
        stage.claimed[addr] = quantity;
    }

    function setTreasury(address payable newTreasury) public onlyOwner {
        require(newTreasury != address(0), "Cannot set treasury to the zero address");
        address oldTreasury = _treasury;
        _treasury = newTreasury;
        emit TreasuryChanged(oldTreasury, newTreasury);
    }

    function pause() public onlyOwner whenNotPaused {
        _pause();
    }

    function unpause() public onlyOwner whenPaused {
        _unpause();
    }

    /**
     * @dev See https://consensys.github.io/smart-contract-best-practices/development-recommendations/general/external-calls/#dont-use-transfer-or-send
     */
    function withdraw() public {
        require(msg.sender == _treasury, "Caller is not the treasury");
        (bool success, ) = _treasury.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    /**************************************************************************
     * Utilities
     **************************************************************************/

    modifier onlyEOA() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    /**
     * @dev Need to explicitly override this function because it is inherited
            from both ERC721A and ERC2981
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721A, ERC2981)
        returns (bool)
    {
        return interfaceId == _INTERFACE_ID_ERC2981 ||
        ERC721A.supportsInterface(interfaceId) ||
        super.supportsInterface(interfaceId);
    }
}

File 2 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../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.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

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

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

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

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

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

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

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

File 3 of 12 : 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 4 of 12 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

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

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

File 5 of 12 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 6 of 12 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 7 of 12 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 9 of 12 : 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);
}

File 10 of 12 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

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

File 11 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 12 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousTreasury","type":"address"},{"indexed":true,"internalType":"address","name":"newTreasury","type":"address"}],"name":"TreasuryChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"stageNum","type":"uint256"},{"internalType":"address","name":"addr","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"stageNum","type":"uint256"},{"internalType":"address","name":"addr","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clearSaleStages","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"giveoutMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"saleStageMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stageNum","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stageNum","type":"uint256"},{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setClaimed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"startTimeVals","type":"uint256[]"},{"internalType":"uint256[]","name":"priceWeiVals","type":"uint256[]"},{"internalType":"uint256[]","name":"maxPerAddressVals","type":"uint256[]"},{"internalType":"bool[]","name":"mintableVals","type":"bool[]"},{"internalType":"bool[]","name":"useListVals","type":"bool[]"}],"name":"setSaleStages","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newTreasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stageNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stages","outputs":[{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"priceWei","type":"uint256"},{"internalType":"uint256","name":"maxPerAddress","type":"uint256"},{"internalType":"bool","name":"mintable","type":"bool"},{"internalType":"bool","name":"useList","type":"bool"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStages","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526040518060400160405280601f81526020017f687474703a2f2f6c6f63616c686f73743a333030302f6d657461646174612f00815250600d90816200004a919062000e96565b50604051806060016040528060278152602001620061c260279139600e908162000075919062000e96565b503480156200008357600080fd5b506040518060400160405280600681526020017f59754769596e00000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f59475900000000000000000000000000000000000000000000000000000000008152506200011062000104620006bf60201b60201c565b620006c760201b60201c565b600180819055506000600260006101000a81548160ff021916908315150217905550816005908162000143919062000e96565b50806006908162000155919062000e96565b50620001666200078b60201b60201c565b600381905550505062000182336102ee6200079460201b60201c565b33601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600f600181600181540180825580915050039060005260206000209050506362bdba70600f600081548110620001fe57620001fd62000f7d565b5b9060005260206000209060060201600001819055506000600f6000815481106200022d576200022c62000f7d565b5b9060005260206000209060060201600101819055506000600f6000815481106200025c576200025b62000f7d565b5b9060005260206000209060060201600201819055506000600f6000815481106200028b576200028a62000f7d565b5b906000526020600020906006020160030160006101000a81548160ff0219169083151502179055506000600f600081548110620002cd57620002cc62000f7d565b5b906000526020600020906006020160030160016101000a81548160ff021916908315150217905550600f600181600181540180825580915050039060005260206000209050506362c5a370600f60018154811062000330576200032f62000f7d565b5b906000526020600020906006020160000181905550662386f26fc10000600f60018154811062000365576200036462000f7d565b5b9060005260206000209060060201600101819055506002600f60018154811062000394576200039362000f7d565b5b9060005260206000209060060201600201819055506001600f600181548110620003c357620003c262000f7d565b5b906000526020600020906006020160030160006101000a81548160ff0219169083151502179055506001600f60018154811062000405576200040462000f7d565b5b906000526020600020906006020160030160016101000a81548160ff021916908315150217905550600f600181600181540180825580915050039060005260206000209050506362e698f0600f60028154811062000468576200046762000f7d565b5b90600052602060002090600602016000018190555066f8b0a10e470000600f6002815481106200049d576200049c62000f7d565b5b9060005260206000209060060201600101819055506002600f600281548110620004cc57620004cb62000f7d565b5b9060005260206000209060060201600201819055506001600f600281548110620004fb57620004fa62000f7d565b5b906000526020600020906006020160030160006101000a81548160ff0219169083151502179055506000600f6002815481106200053d576200053c62000f7d565b5b906000526020600020906006020160030160016101000a81548160ff021916908315150217905550600f6001816001815401808255809150500390600052602060002090505063630f7770600f600381548110620005a0576200059f62000f7d565b5b9060005260206000209060060201600001819055506000600f600381548110620005cf57620005ce62000f7d565b5b9060005260206000209060060201600101819055506000600f600381548110620005fe57620005fd62000f7d565b5b9060005260206000209060060201600201819055506000600f6003815481106200062d576200062c62000f7d565b5b906000526020600020906006020160030160006101000a81548160ff0219169083151502179055506000600f6003815481106200066f576200066e62000f7d565b5b906000526020600020906006020160030160016101000a81548160ff021916908315150217905550620006b9620006ab6200093760201b60201c565b60016200096060201b60201c565b620010f5565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006001905090565b620007a462000b9260201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000805576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007fc9062001033565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000877576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200086e90620010a5565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600b60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006003549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620009ce576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000820362000a09576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61138882111562000a46576040517f3db1f9af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b62000a5b600084838562000b9c60201b60201c565b600160406001901b178202600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555062000aea8362000acc600086600062000ba260201b60201c565b62000add8562000bd260201b60201c565b1762000be260201b60201c565b60076000838152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff16827fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d60018686010360405162000b679190620010d8565b60405180910390a481810160038190555062000b8d600084838562000c0d60201b60201c565b505050565b6000612710905090565b50505050565b60008060e883901c905060e862000bc186868462000c1360201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60009392505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000c9e57607f821691505b60208210810362000cb45762000cb362000c56565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000d1e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000cdf565b62000d2a868362000cdf565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000d7762000d7162000d6b8462000d42565b62000d4c565b62000d42565b9050919050565b6000819050919050565b62000d938362000d56565b62000dab62000da28262000d7e565b84845462000cec565b825550505050565b600090565b62000dc262000db3565b62000dcf81848462000d88565b505050565b5b8181101562000df75762000deb60008262000db8565b60018101905062000dd5565b5050565b601f82111562000e465762000e108162000cba565b62000e1b8462000ccf565b8101602085101562000e2b578190505b62000e4362000e3a8562000ccf565b83018262000dd4565b50505b505050565b600082821c905092915050565b600062000e6b6000198460080262000e4b565b1980831691505092915050565b600062000e86838362000e58565b9150826002028217905092915050565b62000ea18262000c1c565b67ffffffffffffffff81111562000ebd5762000ebc62000c27565b5b62000ec9825462000c85565b62000ed682828562000dfb565b600060209050601f83116001811462000f0e576000841562000ef9578287015190505b62000f05858262000e78565b86555062000f75565b601f19841662000f1e8662000cba565b60005b8281101562000f485784890151825560018201915060208501945060208101905062000f21565b8683101562000f68578489015162000f64601f89168262000e58565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006200101b602a8362000fac565b9150620010288262000fbd565b604082019050919050565b600060208201905081810360008301526200104e816200100c565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006200108d60198362000fac565b91506200109a8262001055565b602082019050919050565b60006020820190508181036000830152620010c0816200107e565b9050919050565b620010d28162000d42565b82525050565b6000602082019050620010ef6000830184620010c7565b92915050565b6150bd80620011056000396000f3fe6080604052600436106102465760003560e01c806367ef2d6c11610139578063a22cb465116100b6578063e84d96841161007a578063e84d968414610829578063e8a3d48514610852578063e985e9c51461087d578063f0f44260146108ba578063f2fde38b146108e3578063f86a35291461090c57610246565b8063a22cb46514610753578063a92c32311461077c578063b3411cbd146107a7578063b88d4fde146107d0578063c87b56dd146107ec57610246565b80638456cb59116100fd5780638456cb591461067b578063845ddcb2146106925780638da5cb5b146106d4578063938e3d7b146106ff57806395d89b411461072857610246565b806367ef2d6c146105bc5780636c0360eb146105d357806370a08231146105fe578063715018a61461063b5780637a8438441461065257610246565b80633ccfd60b116101c757806354892e521161018b57806354892e52146104e657806355f804b31461050f5780635913d791146105385780635c975abb146105545780636352211e1461057f57610246565b80633ccfd60b146104365780633f4ba83a1461044d57806340c10f191461046457806342842e0e1461048d5780634f558e79146104a957610246565b806318160ddd1161020e57806318160ddd1461034957806323b872dd146103745780632a55205a146103905780632c8f3525146103ce57806332cb6b0c1461040b57610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f0578063120aa8771461030c575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613409565b610937565b60405161027f9190613451565b60405180910390f35b34801561029457600080fd5b5061029d6109a8565b6040516102aa9190613505565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d5919061355d565b610a3a565b6040516102e791906135cb565b60405180910390f35b61030a60048036038101906103059190613612565b610ab9565b005b34801561031857600080fd5b50610333600480360381019061032e9190613652565b610bfd565b60405161034091906136a1565b60405180910390f35b34801561035557600080fd5b5061035e610cb7565b60405161036b91906136a1565b60405180910390f35b61038e600480360381019061038991906136bc565b610cce565b005b34801561039c57600080fd5b506103b760048036038101906103b2919061370f565b610ff0565b6040516103c592919061374f565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f091906137dd565b6111da565b60405161040291906136a1565b60405180910390f35b34801561041757600080fd5b50610420611420565b60405161042d91906136a1565b60405180910390f35b34801561044257600080fd5b5061044b611426565b005b34801561045957600080fd5b50610462611587565b005b34801561047057600080fd5b5061048b60048036038101906104869190613612565b6115a1565b005b6104a760048036038101906104a291906136bc565b611616565b005b3480156104b557600080fd5b506104d060048036038101906104cb919061355d565b611636565b6040516104dd9190613451565b60405180910390f35b3480156104f257600080fd5b5061050d6004803603810190610508919061398f565b611648565b005b34801561051b57600080fd5b5061053660048036038101906105319190613a41565b611757565b005b610552600480360381019061054d9190613a8e565b611775565b005b34801561056057600080fd5b50610569611a85565b6040516105769190613451565b60405180910390f35b34801561058b57600080fd5b506105a660048036038101906105a1919061355d565b611a9c565b6040516105b391906135cb565b60405180910390f35b3480156105c857600080fd5b506105d1611aae565b005b3480156105df57600080fd5b506105e8611ac6565b6040516105f59190613505565b60405180910390f35b34801561060a57600080fd5b5061062560048036038101906106209190613aee565b611b54565b60405161063291906136a1565b60405180910390f35b34801561064757600080fd5b50610650611c0c565b005b34801561065e57600080fd5b5061067960048036038101906106749190613bc7565b611c20565b005b34801561068757600080fd5b50610690611eb5565b005b34801561069e57600080fd5b506106b960048036038101906106b4919061355d565b611ecf565b6040516106cb96959493929190613cfd565b60405180910390f35b3480156106e057600080fd5b506106e9611f35565b6040516106f691906135cb565b60405180910390f35b34801561070b57600080fd5b5061072660048036038101906107219190613a41565b611f5e565b005b34801561073457600080fd5b5061073d611f7c565b60405161074a9190613505565b60405180910390f35b34801561075f57600080fd5b5061077a60048036038101906107759190613d8a565b61200e565b005b34801561078857600080fd5b50610791612119565b60405161079e91906136a1565b60405180910390f35b3480156107b357600080fd5b506107ce60048036038101906107c99190613dca565b6121d3565b005b6107ea60048036038101906107e59190613ed2565b612294565b005b3480156107f857600080fd5b50610813600480360381019061080e919061355d565b612307565b6040516108209190613505565b60405180910390f35b34801561083557600080fd5b50610850600480360381019061084b9190613f81565b6123a5565b005b34801561085e57600080fd5b50610867612479565b6040516108749190613505565b60405180910390f35b34801561088957600080fd5b506108a4600480360381019061089f9190613fc1565b61250b565b6040516108b19190613451565b60405180910390f35b3480156108c657600080fd5b506108e160048036038101906108dc919061403f565b61259f565b005b3480156108ef57600080fd5b5061090a60048036038101906109059190613aee565b6126dc565b005b34801561091857600080fd5b5061092161275f565b60405161092e91906136a1565b60405180910390f35b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099157506109908261276c565b5b806109a157506109a0826127fe565b5b9050919050565b6060600580546109b79061409b565b80601f01602080910402602001604051908101604052809291908181526020018280546109e39061409b565b8015610a305780601f10610a0557610100808354040283529160200191610a30565b820191906000526020600020905b815481529060010190602001808311610a1357829003601f168201915b5050505050905090565b6000610a4582612878565b610a7b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6009600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ac482611a9c565b90508073ffffffffffffffffffffffffffffffffffffffff16610ae56128d7565b73ffffffffffffffffffffffffffffffffffffffff1614610b4857610b1181610b0c6128d7565b61250b565b610b47576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826009600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600f805490508310610c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3d90614118565b60405180910390fd5b6000600f8481548110610c5c57610c5b614138565b5b906000526020600020906006020190508060050160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205491505092915050565b6000610cc16128df565b6004546003540303905090565b6000610cd9826128e8565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d40576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610d4c846129b4565b91509150610d628187610d5d6128d7565b6129db565b610dae57610d7786610d726128d7565b61250b565b610dad576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610e14576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e218686866001612a1f565b8015610e2c57600082555b600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610efa85610ed6888887612a25565b7c020000000000000000000000000000000000000000000000000000000017612a4d565b600760008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610f805760006001850190506000600760008381526020019081526020016000205403610f7e576003548114610f7d578360076000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610fe88686866001612a78565b505050505050565b6000806000600c60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff160361118557600b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061118f612a7e565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866111bb9190614196565b6111c5919061421f565b90508160000151819350935050509250929050565b6000600f805490508510611223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121a90614118565b60405180910390fd5b6000600f868154811061123957611238614138565b5b906000526020600020906006020190508060030160009054906101000a900460ff1661129a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112919061429c565b60405180910390fd5b8060030160019054906101000a900460ff161561136d576000856040516020016112c49190614304565b60405160208183030381529060405280519060200120905061132c858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050836004015483612a88565b61136b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113629061436b565b60405180910390fd5b505b80600201548160050160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106113c3576000915050611418565b8060050160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548160020154611414919061438b565b9150505b949350505050565b6122b881565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ad9061440b565b60405180910390fd5b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516114fe9061445c565b60006040518083038185875af1925050503d806000811461153b576040519150601f19603f3d011682016040523d82523d6000602084013e611540565b606091505b5050905080611584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157b906144bd565b60405180910390fd5b50565b61158f612a9f565b611597612b1d565b61159f612b66565b565b6115a9612a9f565b6115b1612bc9565b6122b8816115bd612c13565b6115c791906144dd565b1115611608576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ff9061457f565b60405180910390fd5b6116128282612c26565b5050565b61163183838360405180602001604052806000815250612294565b505050565b600061164182612878565b9050919050565b60026001540361168d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611684906145eb565b60405180910390fd5b600260018190555061169d612a9f565b6116a5612bc9565b6122b88183516116b59190614196565b6116bd612c13565b6116c791906144dd565b1115611708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ff9061457f565b60405180910390fd5b60005b825181101561174b5761173883828151811061172a57611729614138565b5b602002602001015183612c26565b80806117439061460b565b91505061170b565b50600180819055505050565b61175f612a9f565b8181600d918261177092919061480a565b505050565b6002600154036117ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b1906145eb565b60405180910390fd5b60026001819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611830576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182790614926565b60405180910390fd5b611838612bc9565b6000611842612119565b90506000600f828154811061185a57611859614138565b5b906000526020600020906006020190508060030160009054906101000a900460ff166118bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b29061429c565b60405180910390fd5b6122b8856118c7612c13565b6118d191906144dd565b1115611912576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119099061457f565b60405180910390fd5b8060030160019054906101000a900460ff1661197057600081600101541161196f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196690614992565b60405180910390fd5b5b8461197d833387876111da565b10156119be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b590614a24565b60405180910390fd5b60008160010154866119d09190614196565b9050803414611a14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0b90614a90565b60405180910390fd5b858260050160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a6591906144dd565b92505081905550611a763387612c26565b50505060018081905550505050565b6000600260009054906101000a900460ff16905090565b6000611aa7826128e8565b9050919050565b611ab6612a9f565b600f6000611ac4919061331a565b565b600d8054611ad39061409b565b80601f0160208091040260200160405190810160405280929190818152602001828054611aff9061409b565b8015611b4c5780601f10611b2157610100808354040283529160200191611b4c565b820191906000526020600020905b815481529060010190602001808311611b2f57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bbb576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611c14612a9f565b611c1e6000612c44565b565b611c28612a9f565b878790508a8a9050148015611c425750858590508a8a9050145b8015611c535750838390508a8a9050145b8015611c645750818190508a8a9050145b611ca3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9a90614afc565b60405180910390fd5b6000600190505b8a8a9050811015611d48578a8a600183611cc4919061438b565b818110611cd457611cd3614138565b5b905060200201358b8b83818110611cee57611ced614138565b5b9050602002013511611d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2c90614b8e565b60405180910390fd5b8080611d409061460b565b915050611caa565b5060005b8a8a9050811015611ea857600f805490508110611d8257600f600181600181540180825580915050039060005260206000209050505b6000600f8281548110611d9857611d97614138565b5b906000526020600020906006020190508b8b83818110611dbb57611dba614138565b5b905060200201358160000181905550898983818110611ddd57611ddc614138565b5b905060200201358160010181905550878783818110611dff57611dfe614138565b5b905060200201358160020181905550858583818110611e2157611e20614138565b5b9050602002016020810190611e369190614bae565b8160030160006101000a81548160ff021916908315150217905550838383818110611e6457611e63614138565b5b9050602002016020810190611e799190614bae565b8160030160016101000a81548160ff021916908315150217905550508080611ea09061460b565b915050611d4c565b5050505050505050505050565b611ebd612a9f565b611ec5612bc9565b611ecd612d08565b565b600f8181548110611edf57600080fd5b90600052602060002090600602016000915090508060000154908060010154908060020154908060030160009054906101000a900460ff16908060030160019054906101000a900460ff16908060040154905086565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611f66612a9f565b8181600e9182611f7792919061480a565b505050565b606060068054611f8b9061409b565b80601f0160208091040260200160405190810160405280929190818152602001828054611fb79061409b565b80156120045780601f10611fd957610100808354040283529160200191612004565b820191906000526020600020905b815481529060010190602001808311611fe757829003601f168201915b5050505050905090565b80600a600061201b6128d7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120c86128d7565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161210d9190613451565b60405180910390a35050565b600080600f8054905011612162576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215990614c27565b60405180910390fd5b60006001600f80549050612176919061438b565b90505b60008111156121ca57600f818154811061219657612195614138565b5b90600052602060002090600602016000015442106121b757809150506121d0565b80806121c290614c47565b915050612179565b50600090505b90565b6121db612a9f565b600f805490508310612222576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221990614118565b60405180910390fd5b6000600f848154811061223857612237614138565b5b90600052602060002090600602019050818160050160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b61229f848484610cce565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612301576122ca84848484612d6b565b612300576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061231282612878565b612348576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612352612ebb565b90506000815103612372576040518060200160405280600081525061239d565b8061237c84612f4d565b60405160200161238d929190614cac565b6040516020818303038152906040525b915050919050565b6123ad612a9f565b600f8054905082106123f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123eb90614118565b60405180910390fd5b6000600f838154811061240a57612409614138565b5b906000526020600020906006020190508060030160019054906101000a900460ff1661246b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246290614d1c565b60405180910390fd5b818160040181905550505050565b6060600e80546124889061409b565b80601f01602080910402602001604051908101604052809291908181526020018280546124b49061409b565b80156125015780601f106124d657610100808354040283529160200191612501565b820191906000526020600020905b8154815290600101906020018083116124e457829003601f168201915b5050505050905090565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6125a7612a9f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260d90614dae565b60405180910390fd5b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8c3aa5f43a388513435861bf27dfad7829cd248696fed367c62d441f6295449660405160405180910390a35050565b6126e4612a9f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274a90614e40565b60405180910390fd5b61275c81612c44565b50565b6000600f80549050905090565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127c757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806127f75750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612871575061287082612f9d565b5b9050919050565b6000816128836128df565b11158015612892575060035482105b80156128d0575060007c0100000000000000000000000000000000000000000000000000000000600760008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b600080829050806128f76128df565b1161297d5760035481101561297c5760006007600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361297a575b60008103612970576007600083600190039350838152602001908152602001600020549050612946565b80925050506129af565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006009600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612a3c868684613007565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b600082612a958584613010565b1490509392505050565b612aa7613066565b73ffffffffffffffffffffffffffffffffffffffff16612ac5611f35565b73ffffffffffffffffffffffffffffffffffffffff1614612b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1290614eac565b60405180910390fd5b565b612b25611a85565b612b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5b90614f18565b60405180910390fd5b565b612b6e612b1d565b6000600260006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612bb2613066565b604051612bbf91906135cb565b60405180910390a1565b612bd1611a85565b15612c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0890614f84565b60405180910390fd5b565b6000612c1d6128df565b60035403905090565b612c4082826040518060200160405280600081525061306e565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612d10612bc9565b6001600260006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612d54613066565b604051612d6191906135cb565b60405180910390a1565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d916128d7565b8786866040518563ffffffff1660e01b8152600401612db39493929190614ff9565b6020604051808303816000875af1925050508015612def57506040513d601f19601f82011682018060405250810190612dec919061505a565b60015b612e68573d8060008114612e1f576040519150601f19603f3d011682016040523d82523d6000602084013e612e24565b606091505b506000815103612e60576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600d8054612eca9061409b565b80601f0160208091040260200160405190810160405280929190818152602001828054612ef69061409b565b8015612f435780601f10612f1857610100808354040283529160200191612f43565b820191906000526020600020905b815481529060010190602001808311612f2657829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b600115612f8857600184039350600a81066030018453600a8104905080612f66575b50828103602084039350808452505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60009392505050565b60008082905060005b845181101561305b576130468286838151811061303957613038614138565b5b602002602001015161310c565b915080806130539061460b565b915050613019565b508091505092915050565b600033905090565b6130788383613137565b60008373ffffffffffffffffffffffffffffffffffffffff163b146131075760006003549050600083820390505b6130b96000868380600101945086612d6b565b6130ef576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106130a657816003541461310457600080fd5b50505b505050565b60008183106131245761311f82846132f3565b61312f565b61312e83836132f3565b5b905092915050565b6000600354905060008203613178576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6131856000848385612a1f565b600160406001901b178202600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506131fc836131ed6000866000612a25565b6131f68561330a565b17612a4d565b6007600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461329d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613262565b50600082036132d8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060038190555050506132ee6000848385612a78565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b508054600082556006029060005260206000209081019061333b919061333e565b50565b5b8082111561339957600080820160009055600182016000905560028201600090556003820160006101000a81549060ff02191690556003820160016101000a81549060ff021916905560048201600090555060060161333f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133e6816133b1565b81146133f157600080fd5b50565b600081359050613403816133dd565b92915050565b60006020828403121561341f5761341e6133a7565b5b600061342d848285016133f4565b91505092915050565b60008115159050919050565b61344b81613436565b82525050565b60006020820190506134666000830184613442565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134a657808201518184015260208101905061348b565b838111156134b5576000848401525b50505050565b6000601f19601f8301169050919050565b60006134d78261346c565b6134e18185613477565b93506134f1818560208601613488565b6134fa816134bb565b840191505092915050565b6000602082019050818103600083015261351f81846134cc565b905092915050565b6000819050919050565b61353a81613527565b811461354557600080fd5b50565b60008135905061355781613531565b92915050565b600060208284031215613573576135726133a7565b5b600061358184828501613548565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135b58261358a565b9050919050565b6135c5816135aa565b82525050565b60006020820190506135e060008301846135bc565b92915050565b6135ef816135aa565b81146135fa57600080fd5b50565b60008135905061360c816135e6565b92915050565b60008060408385031215613629576136286133a7565b5b6000613637858286016135fd565b925050602061364885828601613548565b9150509250929050565b60008060408385031215613669576136686133a7565b5b600061367785828601613548565b9250506020613688858286016135fd565b9150509250929050565b61369b81613527565b82525050565b60006020820190506136b66000830184613692565b92915050565b6000806000606084860312156136d5576136d46133a7565b5b60006136e3868287016135fd565b93505060206136f4868287016135fd565b925050604061370586828701613548565b9150509250925092565b60008060408385031215613726576137256133a7565b5b600061373485828601613548565b925050602061374585828601613548565b9150509250929050565b600060408201905061376460008301856135bc565b6137716020830184613692565b9392505050565b600080fd5b600080fd5b600080fd5b60008083601f84011261379d5761379c613778565b5b8235905067ffffffffffffffff8111156137ba576137b961377d565b5b6020830191508360208202830111156137d6576137d5613782565b5b9250929050565b600080600080606085870312156137f7576137f66133a7565b5b600061380587828801613548565b9450506020613816878288016135fd565b935050604085013567ffffffffffffffff811115613837576138366133ac565b5b61384387828801613787565b925092505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613889826134bb565b810181811067ffffffffffffffff821117156138a8576138a7613851565b5b80604052505050565b60006138bb61339d565b90506138c78282613880565b919050565b600067ffffffffffffffff8211156138e7576138e6613851565b5b602082029050602081019050919050565b600061390b613906846138cc565b6138b1565b9050808382526020820190506020840283018581111561392e5761392d613782565b5b835b81811015613957578061394388826135fd565b845260208401935050602081019050613930565b5050509392505050565b600082601f83011261397657613975613778565b5b81356139868482602086016138f8565b91505092915050565b600080604083850312156139a6576139a56133a7565b5b600083013567ffffffffffffffff8111156139c4576139c36133ac565b5b6139d085828601613961565b92505060206139e185828601613548565b9150509250929050565b60008083601f840112613a0157613a00613778565b5b8235905067ffffffffffffffff811115613a1e57613a1d61377d565b5b602083019150836001820283011115613a3a57613a39613782565b5b9250929050565b60008060208385031215613a5857613a576133a7565b5b600083013567ffffffffffffffff811115613a7657613a756133ac565b5b613a82858286016139eb565b92509250509250929050565b600080600060408486031215613aa757613aa66133a7565b5b6000613ab586828701613548565b935050602084013567ffffffffffffffff811115613ad657613ad56133ac565b5b613ae286828701613787565b92509250509250925092565b600060208284031215613b0457613b036133a7565b5b6000613b12848285016135fd565b91505092915050565b60008083601f840112613b3157613b30613778565b5b8235905067ffffffffffffffff811115613b4e57613b4d61377d565b5b602083019150836020820283011115613b6a57613b69613782565b5b9250929050565b60008083601f840112613b8757613b86613778565b5b8235905067ffffffffffffffff811115613ba457613ba361377d565b5b602083019150836020820283011115613bc057613bbf613782565b5b9250929050565b60008060008060008060008060008060a08b8d031215613bea57613be96133a7565b5b60008b013567ffffffffffffffff811115613c0857613c076133ac565b5b613c148d828e01613b1b565b9a509a505060208b013567ffffffffffffffff811115613c3757613c366133ac565b5b613c438d828e01613b1b565b985098505060408b013567ffffffffffffffff811115613c6657613c656133ac565b5b613c728d828e01613b1b565b965096505060608b013567ffffffffffffffff811115613c9557613c946133ac565b5b613ca18d828e01613b71565b945094505060808b013567ffffffffffffffff811115613cc457613cc36133ac565b5b613cd08d828e01613b71565b92509250509295989b9194979a5092959850565b6000819050919050565b613cf781613ce4565b82525050565b600060c082019050613d126000830189613692565b613d1f6020830188613692565b613d2c6040830187613692565b613d396060830186613442565b613d466080830185613442565b613d5360a0830184613cee565b979650505050505050565b613d6781613436565b8114613d7257600080fd5b50565b600081359050613d8481613d5e565b92915050565b60008060408385031215613da157613da06133a7565b5b6000613daf858286016135fd565b9250506020613dc085828601613d75565b9150509250929050565b600080600060608486031215613de357613de26133a7565b5b6000613df186828701613548565b9350506020613e02868287016135fd565b9250506040613e1386828701613548565b9150509250925092565b600080fd5b600067ffffffffffffffff821115613e3d57613e3c613851565b5b613e46826134bb565b9050602081019050919050565b82818337600083830152505050565b6000613e75613e7084613e22565b6138b1565b905082815260208101848484011115613e9157613e90613e1d565b5b613e9c848285613e53565b509392505050565b600082601f830112613eb957613eb8613778565b5b8135613ec9848260208601613e62565b91505092915050565b60008060008060808587031215613eec57613eeb6133a7565b5b6000613efa878288016135fd565b9450506020613f0b878288016135fd565b9350506040613f1c87828801613548565b925050606085013567ffffffffffffffff811115613f3d57613f3c6133ac565b5b613f4987828801613ea4565b91505092959194509250565b613f5e81613ce4565b8114613f6957600080fd5b50565b600081359050613f7b81613f55565b92915050565b60008060408385031215613f9857613f976133a7565b5b6000613fa685828601613548565b9250506020613fb785828601613f6c565b9150509250929050565b60008060408385031215613fd857613fd76133a7565b5b6000613fe6858286016135fd565b9250506020613ff7858286016135fd565b9150509250929050565b600061400c8261358a565b9050919050565b61401c81614001565b811461402757600080fd5b50565b60008135905061403981614013565b92915050565b600060208284031215614055576140546133a7565b5b60006140638482850161402a565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806140b357607f821691505b6020821081036140c6576140c561406c565b5b50919050565b7f496e76616c6964207374616765206e756d626572000000000000000000000000600082015250565b6000614102601483613477565b915061410d826140cc565b602082019050919050565b60006020820190508181036000830152614131816140f5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006141a182613527565b91506141ac83613527565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156141e5576141e4614167565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061422a82613527565b915061423583613527565b925082614245576142446141f0565b5b828204905092915050565b7f4e6f74206d696e7461626c6520647572696e6720746869732073746167650000600082015250565b6000614286601e83613477565b915061429182614250565b602082019050919050565b600060208201905081810360008301526142b581614279565b9050919050565b60008160601b9050919050565b60006142d4826142bc565b9050919050565b60006142e6826142c9565b9050919050565b6142fe6142f9826135aa565b6142db565b82525050565b600061431082846142ed565b60148201915081905092915050565b7f41646472657373206973206e6f7420696e20616c6c6f77206c69737400000000600082015250565b6000614355601c83613477565b91506143608261431f565b602082019050919050565b6000602082019050818103600083015261438481614348565b9050919050565b600061439682613527565b91506143a183613527565b9250828210156143b4576143b3614167565b5b828203905092915050565b7f43616c6c6572206973206e6f7420746865207472656173757279000000000000600082015250565b60006143f5601a83613477565b9150614400826143bf565b602082019050919050565b60006020820190508181036000830152614424816143e8565b9050919050565b600081905092915050565b50565b600061444660008361442b565b915061445182614436565b600082019050919050565b600061446782614439565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006144a7601083613477565b91506144b282614471565b602082019050919050565b600060208201905081810360008301526144d68161449a565b9050919050565b60006144e882613527565b91506144f383613527565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561452857614527614167565b5b828201905092915050565b7f4f766572206d617820737570706c790000000000000000000000000000000000600082015250565b6000614569600f83613477565b915061457482614533565b602082019050919050565b600060208201905081810360008301526145988161455c565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006145d5601f83613477565b91506145e08261459f565b602082019050919050565b60006020820190508181036000830152614604816145c8565b9050919050565b600061461682613527565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361464857614647614167565b5b600182019050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026146c07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614683565b6146ca8683614683565b95508019841693508086168417925050509392505050565b6000819050919050565b60006147076147026146fd84613527565b6146e2565b613527565b9050919050565b6000819050919050565b614721836146ec565b61473561472d8261470e565b848454614690565b825550505050565b600090565b61474a61473d565b614755818484614718565b505050565b5b818110156147795761476e600082614742565b60018101905061475b565b5050565b601f8211156147be5761478f8161465e565b61479884614673565b810160208510156147a7578190505b6147bb6147b385614673565b83018261475a565b50505b505050565b600082821c905092915050565b60006147e1600019846008026147c3565b1980831691505092915050565b60006147fa83836147d0565b9150826002028217905092915050565b6148148383614653565b67ffffffffffffffff81111561482d5761482c613851565b5b614837825461409b565b61484282828561477d565b6000601f831160018114614871576000841561485f578287013590505b61486985826147ee565b8655506148d1565b601f19841661487f8661465e565b60005b828110156148a757848901358255600182019150602085019450602081019050614882565b868310156148c457848901356148c0601f8916826147d0565b8355505b6001600288020188555050505b50505050505050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000614910601e83613477565b915061491b826148da565b602082019050919050565b6000602082019050818103600083015261493f81614903565b9050919050565b7f5072696365206e6f742073657420666f72207075626c69632073616c65000000600082015250565b600061497c601d83613477565b915061498782614946565b602082019050919050565b600060208201905081810360008301526149ab8161496f565b9050919050565b7f526571756573746564207175616e74697479206973206f76657220616c6c6f7760008201527f616e636520666f72206163636f756e7400000000000000000000000000000000602082015250565b6000614a0e603083613477565b9150614a19826149b2565b604082019050919050565b60006020820190508181036000830152614a3d81614a01565b9050919050565b7f57726f6e6720616d6f756e74206f66204554482073656e742e00000000000000600082015250565b6000614a7a601983613477565b9150614a8582614a44565b602082019050919050565b60006020820190508181036000830152614aa981614a6d565b9050919050565b7f4d69736d61746368656420706172616d65746572206c656e6774687300000000600082015250565b6000614ae6601c83613477565b9150614af182614ab0565b602082019050919050565b60006020820190508181036000830152614b1581614ad9565b9050919050565b7f53746172742074696d65206d7573742062652067726561746572207468616e2060008201527f70726576696f7573000000000000000000000000000000000000000000000000602082015250565b6000614b78602883613477565b9150614b8382614b1c565b604082019050919050565b60006020820190508181036000830152614ba781614b6b565b9050919050565b600060208284031215614bc457614bc36133a7565b5b6000614bd284828501613d75565b91505092915050565b7f4e6f2073616c6520737461676573207365740000000000000000000000000000600082015250565b6000614c11601283613477565b9150614c1c82614bdb565b602082019050919050565b60006020820190508181036000830152614c4081614c04565b9050919050565b6000614c5282613527565b915060008203614c6557614c64614167565b5b600182039050919050565b600081905092915050565b6000614c868261346c565b614c908185614c70565b9350614ca0818560208601613488565b80840191505092915050565b6000614cb88285614c7b565b9150614cc48284614c7b565b91508190509392505050565b7f537461676520646f6573206e6f742075736520616c6c6f77206c697374000000600082015250565b6000614d06601d83613477565b9150614d1182614cd0565b602082019050919050565b60006020820190508181036000830152614d3581614cf9565b9050919050565b7f43616e6e6f742073657420747265617375727920746f20746865207a65726f2060008201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b6000614d98602783613477565b9150614da382614d3c565b604082019050919050565b60006020820190508181036000830152614dc781614d8b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614e2a602683613477565b9150614e3582614dce565b604082019050919050565b60006020820190508181036000830152614e5981614e1d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614e96602083613477565b9150614ea182614e60565b602082019050919050565b60006020820190508181036000830152614ec581614e89565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614f02601483613477565b9150614f0d82614ecc565b602082019050919050565b60006020820190508181036000830152614f3181614ef5565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614f6e601083613477565b9150614f7982614f38565b602082019050919050565b60006020820190508181036000830152614f9d81614f61565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614fcb82614fa4565b614fd58185614faf565b9350614fe5818560208601613488565b614fee816134bb565b840191505092915050565b600060808201905061500e60008301876135bc565b61501b60208301866135bc565b6150286040830185613692565b818103606083015261503a8184614fc0565b905095945050505050565b600081519050615054816133dd565b92915050565b6000602082840312156150705761506f6133a7565b5b600061507e84828501615045565b9150509291505056fea2646970667358221220fc113ea590c7906d531e27343e300264065723facf758b1ff0f9963fb639d28a64736f6c634300080f0033687474703a2f2f6c6f63616c686f73743a333030302f636f6e74726163742d6d65746164617461

Deployed Bytecode

0x6080604052600436106102465760003560e01c806367ef2d6c11610139578063a22cb465116100b6578063e84d96841161007a578063e84d968414610829578063e8a3d48514610852578063e985e9c51461087d578063f0f44260146108ba578063f2fde38b146108e3578063f86a35291461090c57610246565b8063a22cb46514610753578063a92c32311461077c578063b3411cbd146107a7578063b88d4fde146107d0578063c87b56dd146107ec57610246565b80638456cb59116100fd5780638456cb591461067b578063845ddcb2146106925780638da5cb5b146106d4578063938e3d7b146106ff57806395d89b411461072857610246565b806367ef2d6c146105bc5780636c0360eb146105d357806370a08231146105fe578063715018a61461063b5780637a8438441461065257610246565b80633ccfd60b116101c757806354892e521161018b57806354892e52146104e657806355f804b31461050f5780635913d791146105385780635c975abb146105545780636352211e1461057f57610246565b80633ccfd60b146104365780633f4ba83a1461044d57806340c10f191461046457806342842e0e1461048d5780634f558e79146104a957610246565b806318160ddd1161020e57806318160ddd1461034957806323b872dd146103745780632a55205a146103905780632c8f3525146103ce57806332cb6b0c1461040b57610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f0578063120aa8771461030c575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613409565b610937565b60405161027f9190613451565b60405180910390f35b34801561029457600080fd5b5061029d6109a8565b6040516102aa9190613505565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d5919061355d565b610a3a565b6040516102e791906135cb565b60405180910390f35b61030a60048036038101906103059190613612565b610ab9565b005b34801561031857600080fd5b50610333600480360381019061032e9190613652565b610bfd565b60405161034091906136a1565b60405180910390f35b34801561035557600080fd5b5061035e610cb7565b60405161036b91906136a1565b60405180910390f35b61038e600480360381019061038991906136bc565b610cce565b005b34801561039c57600080fd5b506103b760048036038101906103b2919061370f565b610ff0565b6040516103c592919061374f565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f091906137dd565b6111da565b60405161040291906136a1565b60405180910390f35b34801561041757600080fd5b50610420611420565b60405161042d91906136a1565b60405180910390f35b34801561044257600080fd5b5061044b611426565b005b34801561045957600080fd5b50610462611587565b005b34801561047057600080fd5b5061048b60048036038101906104869190613612565b6115a1565b005b6104a760048036038101906104a291906136bc565b611616565b005b3480156104b557600080fd5b506104d060048036038101906104cb919061355d565b611636565b6040516104dd9190613451565b60405180910390f35b3480156104f257600080fd5b5061050d6004803603810190610508919061398f565b611648565b005b34801561051b57600080fd5b5061053660048036038101906105319190613a41565b611757565b005b610552600480360381019061054d9190613a8e565b611775565b005b34801561056057600080fd5b50610569611a85565b6040516105769190613451565b60405180910390f35b34801561058b57600080fd5b506105a660048036038101906105a1919061355d565b611a9c565b6040516105b391906135cb565b60405180910390f35b3480156105c857600080fd5b506105d1611aae565b005b3480156105df57600080fd5b506105e8611ac6565b6040516105f59190613505565b60405180910390f35b34801561060a57600080fd5b5061062560048036038101906106209190613aee565b611b54565b60405161063291906136a1565b60405180910390f35b34801561064757600080fd5b50610650611c0c565b005b34801561065e57600080fd5b5061067960048036038101906106749190613bc7565b611c20565b005b34801561068757600080fd5b50610690611eb5565b005b34801561069e57600080fd5b506106b960048036038101906106b4919061355d565b611ecf565b6040516106cb96959493929190613cfd565b60405180910390f35b3480156106e057600080fd5b506106e9611f35565b6040516106f691906135cb565b60405180910390f35b34801561070b57600080fd5b5061072660048036038101906107219190613a41565b611f5e565b005b34801561073457600080fd5b5061073d611f7c565b60405161074a9190613505565b60405180910390f35b34801561075f57600080fd5b5061077a60048036038101906107759190613d8a565b61200e565b005b34801561078857600080fd5b50610791612119565b60405161079e91906136a1565b60405180910390f35b3480156107b357600080fd5b506107ce60048036038101906107c99190613dca565b6121d3565b005b6107ea60048036038101906107e59190613ed2565b612294565b005b3480156107f857600080fd5b50610813600480360381019061080e919061355d565b612307565b6040516108209190613505565b60405180910390f35b34801561083557600080fd5b50610850600480360381019061084b9190613f81565b6123a5565b005b34801561085e57600080fd5b50610867612479565b6040516108749190613505565b60405180910390f35b34801561088957600080fd5b506108a4600480360381019061089f9190613fc1565b61250b565b6040516108b19190613451565b60405180910390f35b3480156108c657600080fd5b506108e160048036038101906108dc919061403f565b61259f565b005b3480156108ef57600080fd5b5061090a60048036038101906109059190613aee565b6126dc565b005b34801561091857600080fd5b5061092161275f565b60405161092e91906136a1565b60405180910390f35b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099157506109908261276c565b5b806109a157506109a0826127fe565b5b9050919050565b6060600580546109b79061409b565b80601f01602080910402602001604051908101604052809291908181526020018280546109e39061409b565b8015610a305780601f10610a0557610100808354040283529160200191610a30565b820191906000526020600020905b815481529060010190602001808311610a1357829003601f168201915b5050505050905090565b6000610a4582612878565b610a7b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6009600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ac482611a9c565b90508073ffffffffffffffffffffffffffffffffffffffff16610ae56128d7565b73ffffffffffffffffffffffffffffffffffffffff1614610b4857610b1181610b0c6128d7565b61250b565b610b47576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826009600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600f805490508310610c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3d90614118565b60405180910390fd5b6000600f8481548110610c5c57610c5b614138565b5b906000526020600020906006020190508060050160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205491505092915050565b6000610cc16128df565b6004546003540303905090565b6000610cd9826128e8565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d40576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610d4c846129b4565b91509150610d628187610d5d6128d7565b6129db565b610dae57610d7786610d726128d7565b61250b565b610dad576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610e14576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e218686866001612a1f565b8015610e2c57600082555b600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610efa85610ed6888887612a25565b7c020000000000000000000000000000000000000000000000000000000017612a4d565b600760008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610f805760006001850190506000600760008381526020019081526020016000205403610f7e576003548114610f7d578360076000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610fe88686866001612a78565b505050505050565b6000806000600c60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff160361118557600b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061118f612a7e565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866111bb9190614196565b6111c5919061421f565b90508160000151819350935050509250929050565b6000600f805490508510611223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121a90614118565b60405180910390fd5b6000600f868154811061123957611238614138565b5b906000526020600020906006020190508060030160009054906101000a900460ff1661129a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112919061429c565b60405180910390fd5b8060030160019054906101000a900460ff161561136d576000856040516020016112c49190614304565b60405160208183030381529060405280519060200120905061132c858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050836004015483612a88565b61136b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113629061436b565b60405180910390fd5b505b80600201548160050160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106113c3576000915050611418565b8060050160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548160020154611414919061438b565b9150505b949350505050565b6122b881565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ad9061440b565b60405180910390fd5b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516114fe9061445c565b60006040518083038185875af1925050503d806000811461153b576040519150601f19603f3d011682016040523d82523d6000602084013e611540565b606091505b5050905080611584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157b906144bd565b60405180910390fd5b50565b61158f612a9f565b611597612b1d565b61159f612b66565b565b6115a9612a9f565b6115b1612bc9565b6122b8816115bd612c13565b6115c791906144dd565b1115611608576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ff9061457f565b60405180910390fd5b6116128282612c26565b5050565b61163183838360405180602001604052806000815250612294565b505050565b600061164182612878565b9050919050565b60026001540361168d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611684906145eb565b60405180910390fd5b600260018190555061169d612a9f565b6116a5612bc9565b6122b88183516116b59190614196565b6116bd612c13565b6116c791906144dd565b1115611708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ff9061457f565b60405180910390fd5b60005b825181101561174b5761173883828151811061172a57611729614138565b5b602002602001015183612c26565b80806117439061460b565b91505061170b565b50600180819055505050565b61175f612a9f565b8181600d918261177092919061480a565b505050565b6002600154036117ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b1906145eb565b60405180910390fd5b60026001819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611830576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182790614926565b60405180910390fd5b611838612bc9565b6000611842612119565b90506000600f828154811061185a57611859614138565b5b906000526020600020906006020190508060030160009054906101000a900460ff166118bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b29061429c565b60405180910390fd5b6122b8856118c7612c13565b6118d191906144dd565b1115611912576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119099061457f565b60405180910390fd5b8060030160019054906101000a900460ff1661197057600081600101541161196f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196690614992565b60405180910390fd5b5b8461197d833387876111da565b10156119be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b590614a24565b60405180910390fd5b60008160010154866119d09190614196565b9050803414611a14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0b90614a90565b60405180910390fd5b858260050160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a6591906144dd565b92505081905550611a763387612c26565b50505060018081905550505050565b6000600260009054906101000a900460ff16905090565b6000611aa7826128e8565b9050919050565b611ab6612a9f565b600f6000611ac4919061331a565b565b600d8054611ad39061409b565b80601f0160208091040260200160405190810160405280929190818152602001828054611aff9061409b565b8015611b4c5780601f10611b2157610100808354040283529160200191611b4c565b820191906000526020600020905b815481529060010190602001808311611b2f57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bbb576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611c14612a9f565b611c1e6000612c44565b565b611c28612a9f565b878790508a8a9050148015611c425750858590508a8a9050145b8015611c535750838390508a8a9050145b8015611c645750818190508a8a9050145b611ca3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9a90614afc565b60405180910390fd5b6000600190505b8a8a9050811015611d48578a8a600183611cc4919061438b565b818110611cd457611cd3614138565b5b905060200201358b8b83818110611cee57611ced614138565b5b9050602002013511611d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2c90614b8e565b60405180910390fd5b8080611d409061460b565b915050611caa565b5060005b8a8a9050811015611ea857600f805490508110611d8257600f600181600181540180825580915050039060005260206000209050505b6000600f8281548110611d9857611d97614138565b5b906000526020600020906006020190508b8b83818110611dbb57611dba614138565b5b905060200201358160000181905550898983818110611ddd57611ddc614138565b5b905060200201358160010181905550878783818110611dff57611dfe614138565b5b905060200201358160020181905550858583818110611e2157611e20614138565b5b9050602002016020810190611e369190614bae565b8160030160006101000a81548160ff021916908315150217905550838383818110611e6457611e63614138565b5b9050602002016020810190611e799190614bae565b8160030160016101000a81548160ff021916908315150217905550508080611ea09061460b565b915050611d4c565b5050505050505050505050565b611ebd612a9f565b611ec5612bc9565b611ecd612d08565b565b600f8181548110611edf57600080fd5b90600052602060002090600602016000915090508060000154908060010154908060020154908060030160009054906101000a900460ff16908060030160019054906101000a900460ff16908060040154905086565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611f66612a9f565b8181600e9182611f7792919061480a565b505050565b606060068054611f8b9061409b565b80601f0160208091040260200160405190810160405280929190818152602001828054611fb79061409b565b80156120045780601f10611fd957610100808354040283529160200191612004565b820191906000526020600020905b815481529060010190602001808311611fe757829003601f168201915b5050505050905090565b80600a600061201b6128d7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120c86128d7565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161210d9190613451565b60405180910390a35050565b600080600f8054905011612162576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215990614c27565b60405180910390fd5b60006001600f80549050612176919061438b565b90505b60008111156121ca57600f818154811061219657612195614138565b5b90600052602060002090600602016000015442106121b757809150506121d0565b80806121c290614c47565b915050612179565b50600090505b90565b6121db612a9f565b600f805490508310612222576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221990614118565b60405180910390fd5b6000600f848154811061223857612237614138565b5b90600052602060002090600602019050818160050160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b61229f848484610cce565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612301576122ca84848484612d6b565b612300576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061231282612878565b612348576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612352612ebb565b90506000815103612372576040518060200160405280600081525061239d565b8061237c84612f4d565b60405160200161238d929190614cac565b6040516020818303038152906040525b915050919050565b6123ad612a9f565b600f8054905082106123f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123eb90614118565b60405180910390fd5b6000600f838154811061240a57612409614138565b5b906000526020600020906006020190508060030160019054906101000a900460ff1661246b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246290614d1c565b60405180910390fd5b818160040181905550505050565b6060600e80546124889061409b565b80601f01602080910402602001604051908101604052809291908181526020018280546124b49061409b565b80156125015780601f106124d657610100808354040283529160200191612501565b820191906000526020600020905b8154815290600101906020018083116124e457829003601f168201915b5050505050905090565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6125a7612a9f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260d90614dae565b60405180910390fd5b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8c3aa5f43a388513435861bf27dfad7829cd248696fed367c62d441f6295449660405160405180910390a35050565b6126e4612a9f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274a90614e40565b60405180910390fd5b61275c81612c44565b50565b6000600f80549050905090565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127c757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806127f75750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612871575061287082612f9d565b5b9050919050565b6000816128836128df565b11158015612892575060035482105b80156128d0575060007c0100000000000000000000000000000000000000000000000000000000600760008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b600080829050806128f76128df565b1161297d5760035481101561297c5760006007600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361297a575b60008103612970576007600083600190039350838152602001908152602001600020549050612946565b80925050506129af565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006009600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612a3c868684613007565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b600082612a958584613010565b1490509392505050565b612aa7613066565b73ffffffffffffffffffffffffffffffffffffffff16612ac5611f35565b73ffffffffffffffffffffffffffffffffffffffff1614612b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1290614eac565b60405180910390fd5b565b612b25611a85565b612b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5b90614f18565b60405180910390fd5b565b612b6e612b1d565b6000600260006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612bb2613066565b604051612bbf91906135cb565b60405180910390a1565b612bd1611a85565b15612c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0890614f84565b60405180910390fd5b565b6000612c1d6128df565b60035403905090565b612c4082826040518060200160405280600081525061306e565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612d10612bc9565b6001600260006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612d54613066565b604051612d6191906135cb565b60405180910390a1565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d916128d7565b8786866040518563ffffffff1660e01b8152600401612db39493929190614ff9565b6020604051808303816000875af1925050508015612def57506040513d601f19601f82011682018060405250810190612dec919061505a565b60015b612e68573d8060008114612e1f576040519150601f19603f3d011682016040523d82523d6000602084013e612e24565b606091505b506000815103612e60576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600d8054612eca9061409b565b80601f0160208091040260200160405190810160405280929190818152602001828054612ef69061409b565b8015612f435780601f10612f1857610100808354040283529160200191612f43565b820191906000526020600020905b815481529060010190602001808311612f2657829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b600115612f8857600184039350600a81066030018453600a8104905080612f66575b50828103602084039350808452505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60009392505050565b60008082905060005b845181101561305b576130468286838151811061303957613038614138565b5b602002602001015161310c565b915080806130539061460b565b915050613019565b508091505092915050565b600033905090565b6130788383613137565b60008373ffffffffffffffffffffffffffffffffffffffff163b146131075760006003549050600083820390505b6130b96000868380600101945086612d6b565b6130ef576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106130a657816003541461310457600080fd5b50505b505050565b60008183106131245761311f82846132f3565b61312f565b61312e83836132f3565b5b905092915050565b6000600354905060008203613178576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6131856000848385612a1f565b600160406001901b178202600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506131fc836131ed6000866000612a25565b6131f68561330a565b17612a4d565b6007600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461329d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613262565b50600082036132d8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060038190555050506132ee6000848385612a78565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b508054600082556006029060005260206000209081019061333b919061333e565b50565b5b8082111561339957600080820160009055600182016000905560028201600090556003820160006101000a81549060ff02191690556003820160016101000a81549060ff021916905560048201600090555060060161333f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133e6816133b1565b81146133f157600080fd5b50565b600081359050613403816133dd565b92915050565b60006020828403121561341f5761341e6133a7565b5b600061342d848285016133f4565b91505092915050565b60008115159050919050565b61344b81613436565b82525050565b60006020820190506134666000830184613442565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134a657808201518184015260208101905061348b565b838111156134b5576000848401525b50505050565b6000601f19601f8301169050919050565b60006134d78261346c565b6134e18185613477565b93506134f1818560208601613488565b6134fa816134bb565b840191505092915050565b6000602082019050818103600083015261351f81846134cc565b905092915050565b6000819050919050565b61353a81613527565b811461354557600080fd5b50565b60008135905061355781613531565b92915050565b600060208284031215613573576135726133a7565b5b600061358184828501613548565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135b58261358a565b9050919050565b6135c5816135aa565b82525050565b60006020820190506135e060008301846135bc565b92915050565b6135ef816135aa565b81146135fa57600080fd5b50565b60008135905061360c816135e6565b92915050565b60008060408385031215613629576136286133a7565b5b6000613637858286016135fd565b925050602061364885828601613548565b9150509250929050565b60008060408385031215613669576136686133a7565b5b600061367785828601613548565b9250506020613688858286016135fd565b9150509250929050565b61369b81613527565b82525050565b60006020820190506136b66000830184613692565b92915050565b6000806000606084860312156136d5576136d46133a7565b5b60006136e3868287016135fd565b93505060206136f4868287016135fd565b925050604061370586828701613548565b9150509250925092565b60008060408385031215613726576137256133a7565b5b600061373485828601613548565b925050602061374585828601613548565b9150509250929050565b600060408201905061376460008301856135bc565b6137716020830184613692565b9392505050565b600080fd5b600080fd5b600080fd5b60008083601f84011261379d5761379c613778565b5b8235905067ffffffffffffffff8111156137ba576137b961377d565b5b6020830191508360208202830111156137d6576137d5613782565b5b9250929050565b600080600080606085870312156137f7576137f66133a7565b5b600061380587828801613548565b9450506020613816878288016135fd565b935050604085013567ffffffffffffffff811115613837576138366133ac565b5b61384387828801613787565b925092505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613889826134bb565b810181811067ffffffffffffffff821117156138a8576138a7613851565b5b80604052505050565b60006138bb61339d565b90506138c78282613880565b919050565b600067ffffffffffffffff8211156138e7576138e6613851565b5b602082029050602081019050919050565b600061390b613906846138cc565b6138b1565b9050808382526020820190506020840283018581111561392e5761392d613782565b5b835b81811015613957578061394388826135fd565b845260208401935050602081019050613930565b5050509392505050565b600082601f83011261397657613975613778565b5b81356139868482602086016138f8565b91505092915050565b600080604083850312156139a6576139a56133a7565b5b600083013567ffffffffffffffff8111156139c4576139c36133ac565b5b6139d085828601613961565b92505060206139e185828601613548565b9150509250929050565b60008083601f840112613a0157613a00613778565b5b8235905067ffffffffffffffff811115613a1e57613a1d61377d565b5b602083019150836001820283011115613a3a57613a39613782565b5b9250929050565b60008060208385031215613a5857613a576133a7565b5b600083013567ffffffffffffffff811115613a7657613a756133ac565b5b613a82858286016139eb565b92509250509250929050565b600080600060408486031215613aa757613aa66133a7565b5b6000613ab586828701613548565b935050602084013567ffffffffffffffff811115613ad657613ad56133ac565b5b613ae286828701613787565b92509250509250925092565b600060208284031215613b0457613b036133a7565b5b6000613b12848285016135fd565b91505092915050565b60008083601f840112613b3157613b30613778565b5b8235905067ffffffffffffffff811115613b4e57613b4d61377d565b5b602083019150836020820283011115613b6a57613b69613782565b5b9250929050565b60008083601f840112613b8757613b86613778565b5b8235905067ffffffffffffffff811115613ba457613ba361377d565b5b602083019150836020820283011115613bc057613bbf613782565b5b9250929050565b60008060008060008060008060008060a08b8d031215613bea57613be96133a7565b5b60008b013567ffffffffffffffff811115613c0857613c076133ac565b5b613c148d828e01613b1b565b9a509a505060208b013567ffffffffffffffff811115613c3757613c366133ac565b5b613c438d828e01613b1b565b985098505060408b013567ffffffffffffffff811115613c6657613c656133ac565b5b613c728d828e01613b1b565b965096505060608b013567ffffffffffffffff811115613c9557613c946133ac565b5b613ca18d828e01613b71565b945094505060808b013567ffffffffffffffff811115613cc457613cc36133ac565b5b613cd08d828e01613b71565b92509250509295989b9194979a5092959850565b6000819050919050565b613cf781613ce4565b82525050565b600060c082019050613d126000830189613692565b613d1f6020830188613692565b613d2c6040830187613692565b613d396060830186613442565b613d466080830185613442565b613d5360a0830184613cee565b979650505050505050565b613d6781613436565b8114613d7257600080fd5b50565b600081359050613d8481613d5e565b92915050565b60008060408385031215613da157613da06133a7565b5b6000613daf858286016135fd565b9250506020613dc085828601613d75565b9150509250929050565b600080600060608486031215613de357613de26133a7565b5b6000613df186828701613548565b9350506020613e02868287016135fd565b9250506040613e1386828701613548565b9150509250925092565b600080fd5b600067ffffffffffffffff821115613e3d57613e3c613851565b5b613e46826134bb565b9050602081019050919050565b82818337600083830152505050565b6000613e75613e7084613e22565b6138b1565b905082815260208101848484011115613e9157613e90613e1d565b5b613e9c848285613e53565b509392505050565b600082601f830112613eb957613eb8613778565b5b8135613ec9848260208601613e62565b91505092915050565b60008060008060808587031215613eec57613eeb6133a7565b5b6000613efa878288016135fd565b9450506020613f0b878288016135fd565b9350506040613f1c87828801613548565b925050606085013567ffffffffffffffff811115613f3d57613f3c6133ac565b5b613f4987828801613ea4565b91505092959194509250565b613f5e81613ce4565b8114613f6957600080fd5b50565b600081359050613f7b81613f55565b92915050565b60008060408385031215613f9857613f976133a7565b5b6000613fa685828601613548565b9250506020613fb785828601613f6c565b9150509250929050565b60008060408385031215613fd857613fd76133a7565b5b6000613fe6858286016135fd565b9250506020613ff7858286016135fd565b9150509250929050565b600061400c8261358a565b9050919050565b61401c81614001565b811461402757600080fd5b50565b60008135905061403981614013565b92915050565b600060208284031215614055576140546133a7565b5b60006140638482850161402a565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806140b357607f821691505b6020821081036140c6576140c561406c565b5b50919050565b7f496e76616c6964207374616765206e756d626572000000000000000000000000600082015250565b6000614102601483613477565b915061410d826140cc565b602082019050919050565b60006020820190508181036000830152614131816140f5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006141a182613527565b91506141ac83613527565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156141e5576141e4614167565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061422a82613527565b915061423583613527565b925082614245576142446141f0565b5b828204905092915050565b7f4e6f74206d696e7461626c6520647572696e6720746869732073746167650000600082015250565b6000614286601e83613477565b915061429182614250565b602082019050919050565b600060208201905081810360008301526142b581614279565b9050919050565b60008160601b9050919050565b60006142d4826142bc565b9050919050565b60006142e6826142c9565b9050919050565b6142fe6142f9826135aa565b6142db565b82525050565b600061431082846142ed565b60148201915081905092915050565b7f41646472657373206973206e6f7420696e20616c6c6f77206c69737400000000600082015250565b6000614355601c83613477565b91506143608261431f565b602082019050919050565b6000602082019050818103600083015261438481614348565b9050919050565b600061439682613527565b91506143a183613527565b9250828210156143b4576143b3614167565b5b828203905092915050565b7f43616c6c6572206973206e6f7420746865207472656173757279000000000000600082015250565b60006143f5601a83613477565b9150614400826143bf565b602082019050919050565b60006020820190508181036000830152614424816143e8565b9050919050565b600081905092915050565b50565b600061444660008361442b565b915061445182614436565b600082019050919050565b600061446782614439565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006144a7601083613477565b91506144b282614471565b602082019050919050565b600060208201905081810360008301526144d68161449a565b9050919050565b60006144e882613527565b91506144f383613527565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561452857614527614167565b5b828201905092915050565b7f4f766572206d617820737570706c790000000000000000000000000000000000600082015250565b6000614569600f83613477565b915061457482614533565b602082019050919050565b600060208201905081810360008301526145988161455c565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006145d5601f83613477565b91506145e08261459f565b602082019050919050565b60006020820190508181036000830152614604816145c8565b9050919050565b600061461682613527565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361464857614647614167565b5b600182019050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026146c07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614683565b6146ca8683614683565b95508019841693508086168417925050509392505050565b6000819050919050565b60006147076147026146fd84613527565b6146e2565b613527565b9050919050565b6000819050919050565b614721836146ec565b61473561472d8261470e565b848454614690565b825550505050565b600090565b61474a61473d565b614755818484614718565b505050565b5b818110156147795761476e600082614742565b60018101905061475b565b5050565b601f8211156147be5761478f8161465e565b61479884614673565b810160208510156147a7578190505b6147bb6147b385614673565b83018261475a565b50505b505050565b600082821c905092915050565b60006147e1600019846008026147c3565b1980831691505092915050565b60006147fa83836147d0565b9150826002028217905092915050565b6148148383614653565b67ffffffffffffffff81111561482d5761482c613851565b5b614837825461409b565b61484282828561477d565b6000601f831160018114614871576000841561485f578287013590505b61486985826147ee565b8655506148d1565b601f19841661487f8661465e565b60005b828110156148a757848901358255600182019150602085019450602081019050614882565b868310156148c457848901356148c0601f8916826147d0565b8355505b6001600288020188555050505b50505050505050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000614910601e83613477565b915061491b826148da565b602082019050919050565b6000602082019050818103600083015261493f81614903565b9050919050565b7f5072696365206e6f742073657420666f72207075626c69632073616c65000000600082015250565b600061497c601d83613477565b915061498782614946565b602082019050919050565b600060208201905081810360008301526149ab8161496f565b9050919050565b7f526571756573746564207175616e74697479206973206f76657220616c6c6f7760008201527f616e636520666f72206163636f756e7400000000000000000000000000000000602082015250565b6000614a0e603083613477565b9150614a19826149b2565b604082019050919050565b60006020820190508181036000830152614a3d81614a01565b9050919050565b7f57726f6e6720616d6f756e74206f66204554482073656e742e00000000000000600082015250565b6000614a7a601983613477565b9150614a8582614a44565b602082019050919050565b60006020820190508181036000830152614aa981614a6d565b9050919050565b7f4d69736d61746368656420706172616d65746572206c656e6774687300000000600082015250565b6000614ae6601c83613477565b9150614af182614ab0565b602082019050919050565b60006020820190508181036000830152614b1581614ad9565b9050919050565b7f53746172742074696d65206d7573742062652067726561746572207468616e2060008201527f70726576696f7573000000000000000000000000000000000000000000000000602082015250565b6000614b78602883613477565b9150614b8382614b1c565b604082019050919050565b60006020820190508181036000830152614ba781614b6b565b9050919050565b600060208284031215614bc457614bc36133a7565b5b6000614bd284828501613d75565b91505092915050565b7f4e6f2073616c6520737461676573207365740000000000000000000000000000600082015250565b6000614c11601283613477565b9150614c1c82614bdb565b602082019050919050565b60006020820190508181036000830152614c4081614c04565b9050919050565b6000614c5282613527565b915060008203614c6557614c64614167565b5b600182039050919050565b600081905092915050565b6000614c868261346c565b614c908185614c70565b9350614ca0818560208601613488565b80840191505092915050565b6000614cb88285614c7b565b9150614cc48284614c7b565b91508190509392505050565b7f537461676520646f6573206e6f742075736520616c6c6f77206c697374000000600082015250565b6000614d06601d83613477565b9150614d1182614cd0565b602082019050919050565b60006020820190508181036000830152614d3581614cf9565b9050919050565b7f43616e6e6f742073657420747265617375727920746f20746865207a65726f2060008201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b6000614d98602783613477565b9150614da382614d3c565b604082019050919050565b60006020820190508181036000830152614dc781614d8b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614e2a602683613477565b9150614e3582614dce565b604082019050919050565b60006020820190508181036000830152614e5981614e1d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614e96602083613477565b9150614ea182614e60565b602082019050919050565b60006020820190508181036000830152614ec581614e89565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614f02601483613477565b9150614f0d82614ecc565b602082019050919050565b60006020820190508181036000830152614f3181614ef5565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614f6e601083613477565b9150614f7982614f38565b602082019050919050565b60006020820190508181036000830152614f9d81614f61565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614fcb82614fa4565b614fd58185614faf565b9350614fe5818560208601613488565b614fee816134bb565b840191505092915050565b600060808201905061500e60008301876135bc565b61501b60208301866135bc565b6150286040830185613692565b818103606083015261503a8184614fc0565b905095945050505050565b600081519050615054816133dd565b92915050565b6000602082840312156150705761506f6133a7565b5b600061507e84828501615045565b9150509291505056fea2646970667358221220fc113ea590c7906d531e27343e300264065723facf758b1ff0f9963fb639d28a64736f6c634300080f0033

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.