ETH Price: $3,335.58 (-1.17%)
Gas: 2.72 Gwei

Token

Halloween Punks (HWP)
 

Overview

Max Total Supply

135 HWP

Holders

36

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
kakashechka.eth
Balance
1 HWP
0x9d819695056bb1a372f9e715af5ec4c79595b67c
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
HalloweenPunks

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : halloweenPunks.sol
// SPDX-License-Identifier: None

pragma solidity ^0.8.16;

import "./erc721a/contracts/ERC721A.sol";
import "./erc721a/contracts/IERC721A.sol";
import "./@openzeppelin/contracts/access/Ownable.sol";
import "./erc721a/contracts/extensions/ERC721AQueryable.sol";
import "./@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./@openzeppelin/contracts/utils/Strings.sol";


// Made with <3 by @terncrypto & @real_senyai
//██╗░░██╗░█████╗░██╗░░░░░██╗░░░░░░█████╗░░██╗░░░░░░░██╗███████╗███████╗███╗░░██╗██████╗░██╗░░░██╗███╗░░██╗██╗░░██╗░██████╗
//██║░░██║██╔══██╗██║░░░░░██║░░░░░██╔══██╗░██║░░██╗░░██║██╔════╝██╔════╝████╗░██║██╔══██╗██║░░░██║████╗░██║██║░██╔╝██╔════╝
//███████║███████║██║░░░░░██║░░░░░██║░░██║░╚██╗████╗██╔╝█████╗░░█████╗░░██╔██╗██║██████╔╝██║░░░██║██╔██╗██║█████═╝░╚█████╗░
//██╔══██║██╔══██║██║░░░░░██║░░░░░██║░░██║░░████╔═████║░██╔══╝░░██╔══╝░░██║╚████║██╔═══╝░██║░░░██║██║╚████║██╔═██╗░░╚═══██╗
//██║░░██║██║░░██║███████╗███████╗╚█████╔╝░░╚██╔╝░╚██╔╝░███████╗███████╗██║░╚███║██║░░░░░╚██████╔╝██║░╚███║██║░╚██╗██████╔╝
//╚═╝░░╚═╝╚═╝░░╚═╝╚══════╝╚══════╝░╚════╝░░░░╚═╝░░░╚═╝░░╚══════╝╚══════╝╚═╝░░╚══╝╚═╝░░░░░░╚═════╝░╚═╝░░╚══╝╚═╝░░╚═╝╚═════╝░

error SaleInactive();
error SoldOut();
error InvalidPrice();
error WithdrawFailed();
error InvalidQuantity();
error InvalidProof();
error InvalidBatchMint();
error NotBlueChipHolder();
error AlreadyMintedBlueChip();
error NoContracts();
error InvalidSignature();


contract HalloweenPunks is
    ERC721A,
    ERC721AQueryable,
    Ownable
{
    enum SaleState {
        CLOSED,
        OPEN,
        PRESALE,
        AUTH
    }

    enum BlueChip {
        PUNK,
        BIRD,
        MAYC,
        BAYC,
        CLONE,
        DOODLE,
        UNDER,
        AZUKI,
        DIGI
    }

    using Strings for uint256;
    using ECDSA for bytes32;

    string public baseExtension = ".json";

    mapping(BlueChip => address) public blueChipContracts;
    mapping(address => BlueChip[]) public addressBlueChipMintBalance;
    mapping(address => uint256) public addressMintBalance;

    SaleState public saleState = SaleState.CLOSED;

    uint256 public presalePrice = 0;
    uint256 public price = 0;
    uint256 public maxPerTx = 1;
    uint256 public maxPerWallet = 1;
    uint256 public presaleMaxPerWallet = 1;
    uint256 public presaleMaxPerTx = 1;

    uint256 public maxSupply = 3333;
    uint256 public presaleSupply = 2333;
    uint256 public immutable teamSupply = 100;

    address public signer;

    string public _baseTokenURI;

    bytes32 public merkleRoot;

    constructor() ERC721A("Halloween Punks", "HWP") {
        teamMint();
    }

    modifier onlyBlueChip(BlueChip _blueChip) {
        address blueChipAddress = blueChipContracts[_blueChip];
        IERC721A blueChipContract = IERC721A(blueChipAddress);
        if (blueChipContract.balanceOf(msg.sender) < 1) revert NotBlueChipHolder();
        _;
    }

    modifier onlyUser() {
        if (msg.sender != tx.origin) revert NoContracts();
        _;
    }

    function whitelistMint(uint256 qty, bytes32[] calldata merkleProof) external payable {
        if (saleState != SaleState.PRESALE) revert SaleInactive();
        if (totalSupply() + qty > presaleSupply) revert SoldOut();
        if (msg.value != presalePrice * qty) revert InvalidPrice();

        if (!MerkleProof.verify(merkleProof, merkleRoot, keccak256(abi.encodePacked(msg.sender)))) {
            revert InvalidProof();
        }
        if (addressMintBalance[msg.sender] + qty > presaleMaxPerWallet) revert InvalidQuantity();
        if (qty > presaleMaxPerTx) revert InvalidQuantity();
        addressMintBalance[msg.sender] += qty;

        _safeMint(msg.sender, qty);
    }

    function bluechipMint(uint256 qty, BlueChip _bluechip) external onlyBlueChip(_bluechip) {
        if (saleState != SaleState.PRESALE) revert SaleInactive();
        if (totalSupply() + qty > presaleSupply) revert SoldOut();
        if (!canMintByBlueChip(_bluechip, msg.sender)) revert AlreadyMintedBlueChip();
        if (qty > presaleMaxPerTx) revert InvalidQuantity();

        addressBlueChipMintBalance[msg.sender].push(_bluechip);

        _safeMint(msg.sender, qty);
    }

    function publicMint(uint256 qty) external payable onlyUser() {
        if (saleState != SaleState.OPEN) revert SaleInactive();
        if (totalSupply() + qty > maxSupply) revert SoldOut();
        if (msg.value != price * qty) revert InvalidPrice();

        if (addressMintBalance[msg.sender] + qty > maxPerWallet) revert InvalidQuantity();
        if (qty > maxPerTx) revert InvalidQuantity();
        addressMintBalance[msg.sender] += qty;

        _safeMint(msg.sender, qty);
    }

    function canMintByBlueChip(BlueChip _blueChip, address sender) view public returns (bool) {
        for (uint256 i = 0; i < addressBlueChipMintBalance[sender].length; i++) {
            if (addressBlueChipMintBalance[sender][i] == _blueChip) {
                return false;
            }
        }
        return true;
    }

    function publicAuthMint(uint256 qty, bytes calldata signature) external payable onlyUser() {
        if (saleState != SaleState.AUTH) revert SaleInactive();
        if (totalSupply() + qty > maxSupply) revert SoldOut();
        if (!isValidSignature(msg.sender, qty, signature)) revert InvalidSignature();
        if (msg.value != price * qty) revert InvalidPrice();

        if (addressMintBalance[msg.sender] + qty > maxPerWallet) revert InvalidQuantity();
        if (qty > maxPerTx) revert InvalidQuantity();

        addressMintBalance[msg.sender] += qty;

        _safeMint(msg.sender, qty);

    }

    function isValidSignature(
        address _sender, uint256 qty,
        bytes memory signature
    ) view internal returns (bool) {
        bytes32 data = keccak256(abi.encodePacked(_sender, qty));
        return signer == data.toEthSignedMessageHash().recover(signature);
    }

    function teamMint() public onlyOwner {
        if (totalSupply() != 0) revert InvalidQuantity();
        _mint(msg.sender, teamSupply);
    }

    function setBlueChipContracts(
        BlueChip[] memory _blueChips,
        address[] memory _contractAddresses
    ) external onlyOwner {
        require(_blueChips.length == _contractAddresses.length, "Invalid input");
        for (uint256 i = 0; i < _blueChips.length; ++i) {
            setBlueChipContract(_blueChips[i], _contractAddresses[i]);
        }
    }

    function setBlueChipContract(BlueChip _blueChip, address _contractAddress) private {
        blueChipContracts[_blueChip] = _contractAddress;
    }

    function setSaleState(uint8 _state) external onlyOwner {
        saleState = SaleState(_state);
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        _baseTokenURI = baseURI;
    }

    function setBaseExtension(string memory _baseExtension) public onlyOwner {
        baseExtension = _baseExtension;
    }

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

    function setSigner(address _signer) public onlyOwner {
        signer = _signer;
    }

    function withdraw(address _address) public onlyOwner {
        (bool success, ) = _address.call{value: address(this).balance}("");
        if (!success) revert WithdrawFailed();
    }

    function setPrice(uint256 newPrice) external onlyOwner {
        price = newPrice;
    }

    function setPresalePrice(uint256 newPrice) external onlyOwner {
        presalePrice = newPrice;
    }

    function setMaxPerTx(uint256 _maxPerTx) external onlyOwner {
        maxPerTx = _maxPerTx;
    }

    function setMaxPerWallet(uint256 _maxPerWallet) external onlyOwner {
        maxPerWallet = _maxPerWallet;
    }

    function setPresaleMaxPerWallet(uint256 _maxPerWallet) external onlyOwner {
        presaleMaxPerWallet = _maxPerWallet;
    }

    function setPresaleMaxPerTx(uint256 _maxPerTx) external onlyOwner {
        presaleMaxPerTx = _maxPerTx;
    }

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

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

    function batchTransfer(
        uint256[] calldata tokenIds,
        address[] calldata recipients
    ) external {
        require(tokenIds.length == recipients.length, "Invalid input");

        for (uint256 i = 0; i < tokenIds.length; ++i) {
            transferFrom(msg.sender, recipients[i], tokenIds[i]);
        }
    }

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

        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension))
        : "";
    }
}

File 2 of 10 : 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 3 of 10 : 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 4 of 10 : 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 5 of 10 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

File 6 of 10 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

File 7 of 10 : 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 10 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 9 of 10 : 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 10 of 10 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyMintedBlueChip","type":"error"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidPrice","type":"error"},{"inputs":[],"name":"InvalidProof","type":"error"},{"inputs":[],"name":"InvalidQuantity","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NoContracts","type":"error"},{"inputs":[],"name":"NotBlueChipHolder","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SaleInactive","type":"error"},{"inputs":[],"name":"SoldOut","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"},{"inputs":[],"name":"WithdrawFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"addressBlueChipMintBalance","outputs":[{"internalType":"enum HalloweenPunks.BlueChip","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintBalance","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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"batchTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum HalloweenPunks.BlueChip","name":"","type":"uint8"}],"name":"blueChipContracts","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"enum HalloweenPunks.BlueChip","name":"_bluechip","type":"uint8"}],"name":"bluechipMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum HalloweenPunks.BlueChip","name":"_blueChip","type":"uint8"},{"internalType":"address","name":"sender","type":"address"}],"name":"canMintByBlueChip","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"presaleMaxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMaxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"publicAuthMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"enum HalloweenPunks.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum HalloweenPunks.BlueChip[]","name":"_blueChips","type":"uint8[]"},{"internalType":"address[]","name":"_contractAddresses","type":"address[]"}],"name":"setBlueChipContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerTx","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerTx","type":"uint256"}],"name":"setPresaleMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"setPresaleMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_state","type":"uint8"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600990816200004a919062000899565b506000600d60006101000a81548160ff0219169083600381111562000074576200007362000980565b5b02179055506000600e556000600f556001601055600160115560016012556001601355610d0560145561091d6015556064608090815250348015620000b857600080fd5b506040518060400160405280600f81526020017f48616c6c6f7765656e2050756e6b7300000000000000000000000000000000008152506040518060400160405280600381526020017f4857500000000000000000000000000000000000000000000000000000000000815250816002908162000136919062000899565b50806003908162000148919062000899565b50620001596200019760201b60201c565b60008190555050506200018162000175620001a060201b60201c565b620001a860201b60201c565b620001916200026e60201b60201c565b62000a32565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200027e620002de60201b60201c565b6000620002906200036f60201b60201c565b14620002c8576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620002dc336080516200038e60201b60201c565b565b620002ee620001a060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003146200057560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200036d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003649062000a10565b60405180910390fd5b565b6000620003816200019760201b60201c565b6001546000540303905090565b60008054905060008203620003cf576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620003e460008483856200059f60201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506200047383620004556000866000620005a560201b60201c565b6200046685620005d560201b60201c565b17620005e560201b60201c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146200051657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050620004d9565b506000820362000552576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506200057060008483856200061060201b60201c565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b50505050565b60008060e883901c905060e8620005c48686846200061660201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60009392505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006a157607f821691505b602082108103620006b757620006b662000659565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007217fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620006e2565b6200072d8683620006e2565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200077a620007746200076e8462000745565b6200074f565b62000745565b9050919050565b6000819050919050565b620007968362000759565b620007ae620007a58262000781565b848454620006ef565b825550505050565b600090565b620007c5620007b6565b620007d28184846200078b565b505050565b5b81811015620007fa57620007ee600082620007bb565b600181019050620007d8565b5050565b601f82111562000849576200081381620006bd565b6200081e84620006d2565b810160208510156200082e578190505b620008466200083d85620006d2565b830182620007d7565b50505b505050565b600082821c905092915050565b60006200086e600019846008026200084e565b1980831691505092915050565b60006200088983836200085b565b9150826002028217905092915050565b620008a4826200061f565b67ffffffffffffffff811115620008c057620008bf6200062a565b5b620008cc825462000688565b620008d9828285620007fe565b600060209050601f831160018114620009115760008415620008fc578287015190505b6200090885826200087b565b86555062000978565b601f1984166200092186620006bd565b60005b828110156200094b5784890151825560018201915060208501945060208101905062000924565b868310156200096b578489015162000967601f8916826200085b565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620009f8602083620009af565b915062000a0582620009c0565b602082019050919050565b6000602082019050818103600083015262000a2b81620009e9565b9050919050565b608051615dbc62000a556000396000818161172401526123870152615dbc6000f3fe6080604052600436106103805760003560e01c8063715018a6116101d1578063c52c159311610102578063d5abeb01116100a0578063e985e9c51161006f578063e985e9c514610cd0578063f1d336eb14610d0d578063f2fde38b14610d38578063f968adbe14610d6157610380565b8063d5abeb0114610c2a578063da3ef23f14610c55578063ddde58bb14610c7e578063e268e4d314610ca757610380565b8063c87b56dd116100dc578063c87b56dd14610b69578063cfc86f7b14610ba6578063d259833014610bd1578063d2cab05614610c0e57610380565b8063c52c159314610aec578063c668286214610b15578063c6f6f21614610b4057610380565b8063a035b1fe1161016f578063b88d4fde11610149578063b88d4fde14610a60578063ba7a86b814610a7c578063c23dc68f14610a93578063c4cc7ec614610ad057610380565b8063a035b1fe146109e1578063a22cb46514610a0c578063b3a196e914610a3557610380565b80638da5cb5b116101ab5780638da5cb5b1461092557806391b7f5ed1461095057806395d89b411461097957806399a2557a146109a457610380565b8063715018a6146108a85780637cb64759146108bf5780638462151c146108e857610380565b80632eb4a7ab116102b657806351cff8d911610254578063603f4d5211610223578063603f4d52146107da5780636352211e146108055780636c19e7831461084257806370a082311461086b57610380565b806351cff8d91461072257806355f804b31461074b5780635a67de07146107745780635bbb21771461079d57610380565b80633549345e116102905780633549345e1461068957806342842e0e146106b2578063453c2310146106ce5780634c0770f0146106f957610380565b80632eb4a7ab146105e45780633406c7261461060f578063349c337e1461064c57610380565b8063150a35791161032357806323b872dd116102fd57806323b872dd146105445780632910fe50146105605780632cfac6ec1461059d5780632db11544146105c857610380565b8063150a3579146104c557806318160ddd146104ee578063238ac9331461051957610380565b8063081812fc1161035f578063081812fc14610418578063095ea7b31461045557806312c23bd814610471578063150726ea1461049c57610380565b80620e7fa81461038557806301ffc9a7146103b057806306fdde03146103ed575b600080fd5b34801561039157600080fd5b5061039a610d8c565b6040516103a79190613f82565b60405180910390f35b3480156103bc57600080fd5b506103d760048036038101906103d29190614009565b610d92565b6040516103e49190614051565b60405180910390f35b3480156103f957600080fd5b50610402610e24565b60405161040f91906140fc565b60405180910390f35b34801561042457600080fd5b5061043f600480360381019061043a919061414a565b610eb6565b60405161044c91906141b8565b60405180910390f35b61046f600480360381019061046a91906141ff565b610f35565b005b34801561047d57600080fd5b50610486611079565b6040516104939190613f82565b60405180910390f35b3480156104a857600080fd5b506104c360048036038101906104be919061414a565b61107f565b005b3480156104d157600080fd5b506104ec60048036038101906104e79190614264565b611091565b005b3480156104fa57600080fd5b50610503611380565b6040516105109190613f82565b60405180910390f35b34801561052557600080fd5b5061052e611397565b60405161053b91906141b8565b60405180910390f35b61055e600480360381019061055991906142a4565b6113bd565b005b34801561056c57600080fd5b50610587600480360381019061058291906141ff565b6116df565b604051610594919061436e565b60405180910390f35b3480156105a957600080fd5b506105b2611722565b6040516105bf9190613f82565b60405180910390f35b6105e260048036038101906105dd919061414a565b611746565b005b3480156105f057600080fd5b506105f96119d0565b60405161060691906143a2565b60405180910390f35b34801561061b57600080fd5b50610636600480360381019061063191906143bd565b6119d6565b6040516106439190613f82565b60405180910390f35b34801561065857600080fd5b50610673600480360381019061066e91906143ea565b6119ee565b60405161068091906141b8565b60405180910390f35b34801561069557600080fd5b506106b060048036038101906106ab919061414a565b611a21565b005b6106cc60048036038101906106c791906142a4565b611a33565b005b3480156106da57600080fd5b506106e3611a53565b6040516106f09190613f82565b60405180910390f35b34801561070557600080fd5b50610720600480360381019061071b919061414a565b611a59565b005b34801561072e57600080fd5b50610749600480360381019061074491906143bd565b611a6b565b005b34801561075757600080fd5b50610772600480360381019061076d919061454c565b611b1a565b005b34801561078057600080fd5b5061079b600480360381019061079691906145ce565b611b35565b005b3480156107a957600080fd5b506107c460048036038101906107bf919061465b565b611b7f565b6040516107d1919061480b565b60405180910390f35b3480156107e657600080fd5b506107ef611c42565b6040516107fc9190614875565b60405180910390f35b34801561081157600080fd5b5061082c6004803603810190610827919061414a565b611c55565b60405161083991906141b8565b60405180910390f35b34801561084e57600080fd5b50610869600480360381019061086491906143bd565b611c67565b005b34801561087757600080fd5b50610892600480360381019061088d91906143bd565b611cb3565b60405161089f9190613f82565b60405180910390f35b3480156108b457600080fd5b506108bd611d6b565b005b3480156108cb57600080fd5b506108e660048036038101906108e191906148bc565b611d7f565b005b3480156108f457600080fd5b5061090f600480360381019061090a91906143bd565b611d91565b60405161091c91906149a7565b60405180910390f35b34801561093157600080fd5b5061093a611ed4565b60405161094791906141b8565b60405180910390f35b34801561095c57600080fd5b506109776004803603810190610972919061414a565b611efe565b005b34801561098557600080fd5b5061098e611f10565b60405161099b91906140fc565b60405180910390f35b3480156109b057600080fd5b506109cb60048036038101906109c691906149c9565b611fa2565b6040516109d891906149a7565b60405180910390f35b3480156109ed57600080fd5b506109f66121ae565b604051610a039190613f82565b60405180910390f35b348015610a1857600080fd5b50610a336004803603810190610a2e9190614a48565b6121b4565b005b348015610a4157600080fd5b50610a4a6122bf565b604051610a579190613f82565b60405180910390f35b610a7a6004803603810190610a759190614b29565b6122c5565b005b348015610a8857600080fd5b50610a91612338565b005b348015610a9f57600080fd5b50610aba6004803603810190610ab5919061414a565b6123ad565b604051610ac79190614c01565b60405180910390f35b610aea6004803603810190610ae59190614c72565b612417565b005b348015610af857600080fd5b50610b136004803603810190610b0e9190614d28565b612727565b005b348015610b2157600080fd5b50610b2a6127e0565b604051610b3791906140fc565b60405180910390f35b348015610b4c57600080fd5b50610b676004803603810190610b62919061414a565b61286e565b005b348015610b7557600080fd5b50610b906004803603810190610b8b919061414a565b612880565b604051610b9d91906140fc565b60405180910390f35b348015610bb257600080fd5b50610bbb61292a565b604051610bc891906140fc565b60405180910390f35b348015610bdd57600080fd5b50610bf86004803603810190610bf39190614da9565b6129b8565b604051610c059190614051565b60405180910390f35b610c286004803603810190610c239190614e3f565b612ace565b005b348015610c3657600080fd5b50610c3f612d9f565b604051610c4c9190613f82565b60405180910390f35b348015610c6157600080fd5b50610c7c6004803603810190610c77919061454c565b612da5565b005b348015610c8a57600080fd5b50610ca56004803603810190610ca09190615025565b612dc0565b005b348015610cb357600080fd5b50610cce6004803603810190610cc9919061414a565b612e6c565b005b348015610cdc57600080fd5b50610cf76004803603810190610cf2919061509d565b612e7e565b604051610d049190614051565b60405180910390f35b348015610d1957600080fd5b50610d22612f12565b604051610d2f9190613f82565b60405180910390f35b348015610d4457600080fd5b50610d5f6004803603810190610d5a91906143bd565b612f18565b005b348015610d6d57600080fd5b50610d76612f9b565b604051610d839190613f82565b60405180910390f35b600e5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ded57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e1d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610e339061510c565b80601f0160208091040260200160405190810160405280929190818152602001828054610e5f9061510c565b8015610eac5780601f10610e8157610100808354040283529160200191610eac565b820191906000526020600020905b815481529060010190602001808311610e8f57829003601f168201915b5050505050905090565b6000610ec182612fa1565b610ef7576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f4082611c55565b90508073ffffffffffffffffffffffffffffffffffffffff16610f61613000565b73ffffffffffffffffffffffffffffffffffffffff1614610fc457610f8d81610f88613000565b612e7e565b610fc3576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60125481565b611087613008565b8060138190555050565b806000600a60008360088111156110ab576110aa6142f7565b5b60088111156110bd576110bc6142f7565b5b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600081905060018173ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161112e91906141b8565b602060405180830381865afa15801561114b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116f9190615152565b10156111a7576040517f4d9d992200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600260038111156111bb576111ba6142f7565b5b600d60009054906101000a900460ff1660038111156111dd576111dc6142f7565b5b14611214576040517f3f88677400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60155485611220611380565b61122a91906151ae565b1115611262576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61126c84336129b8565b6112a2576040517ffcbe7f9300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6013548511156112de576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208490806001815401808255809150506001900390600052602060002090602091828204019190069091909190916101000a81548160ff0219169083600881111561136a576113696142f7565b5b02179055506113793386613086565b5050505050565b600061138a6130a4565b6001546000540303905090565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006113c8826130ad565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461142f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061143b84613179565b91509150611451818761144c613000565b6131a0565b61149d5761146686611461613000565b612e7e565b61149c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611503576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61151086868660016131e4565b801561151b57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506115e9856115c58888876131ea565b7c020000000000000000000000000000000000000000000000000000000017613212565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361166f576000600185019050600060046000838152602001908152602001600020540361166d57600054811461166c578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46116d7868686600161323d565b505050505050565b600b60205281600052604060002081815481106116fb57600080fd5b9060005260206000209060209182820401919006915091509054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117ab576040517f875fdad700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160038111156117bf576117be6142f7565b5b600d60009054906101000a900460ff1660038111156117e1576117e06142f7565b5b14611818576040517f3f88677400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60145481611824611380565b61182e91906151ae565b1115611866576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600f5461187491906151e2565b34146118ab576040517ebfc92100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60115481600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118f991906151ae565b1115611931576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60105481111561196d576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119bc91906151ae565b925050819055506119cd3382613086565b50565b60185481565b600c6020528060005260406000206000915090505481565b600a6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611a29613008565b80600e8190555050565b611a4e838383604051806020016040528060008152506122c5565b505050565b60115481565b611a61613008565b8060128190555050565b611a73613008565b60008173ffffffffffffffffffffffffffffffffffffffff1647604051611a9990615255565b60006040518083038185875af1925050503d8060008114611ad6576040519150601f19603f3d011682016040523d82523d6000602084013e611adb565b606091505b5050905080611b16576040517f750b219c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b611b22613008565b8060179081611b319190615416565b5050565b611b3d613008565b8060ff166003811115611b5357611b526142f7565b5b600d60006101000a81548160ff02191690836003811115611b7757611b766142f7565b5b021790555050565b6060600083839050905060008167ffffffffffffffff811115611ba557611ba4614421565b5b604051908082528060200260200182016040528015611bde57816020015b611bcb613f1a565b815260200190600190039081611bc35790505b50905060005b828114611c3657611c0d868683818110611c0157611c006154e8565b5b905060200201356123ad565b828281518110611c2057611c1f6154e8565b5b6020026020010181905250806001019050611be4565b50809250505092915050565b600d60009054906101000a900460ff1681565b6000611c60826130ad565b9050919050565b611c6f613008565b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d1a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611d73613008565b611d7d6000613243565b565b611d87613008565b8060188190555050565b60606000806000611da185611cb3565b905060008167ffffffffffffffff811115611dbf57611dbe614421565b5b604051908082528060200260200182016040528015611ded5781602001602082028036833780820191505090505b509050611df8613f1a565b6000611e026130a4565b90505b838614611ec657611e1581613309565b91508160400151611ebb57600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611e6057816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611eba5780838780600101985081518110611ead57611eac6154e8565b5b6020026020010181815250505b5b806001019050611e05565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611f06613008565b80600f8190555050565b606060038054611f1f9061510c565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4b9061510c565b8015611f985780601f10611f6d57610100808354040283529160200191611f98565b820191906000526020600020905b815481529060010190602001808311611f7b57829003601f168201915b5050505050905090565b6060818310611fdd576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611fe8613334565b9050611ff26130a4565b851015612004576120016130a4565b94505b80841115612010578093505b600061201b87611cb3565b90508486101561203e576000868603905081811015612038578091505b50612043565b600090505b60008167ffffffffffffffff81111561205f5761205e614421565b5b60405190808252806020026020018201604052801561208d5781602001602082028036833780820191505090505b509050600082036120a457809450505050506121a7565b60006120af886123ad565b9050600081604001516120c457816000015190505b60008990505b8881141580156120da5750848714155b15612199576120e881613309565b9250826040015161218e57600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff161461213357826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361218d57808488806001019950815181106121805761217f6154e8565b5b6020026020010181815250505b5b8060010190506120ca565b508583528296505050505050505b9392505050565b600f5481565b80600760006121c1613000565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661226e613000565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122b39190614051565b60405180910390a35050565b60155481565b6122d08484846113bd565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612332576122fb8484848461333d565b612331576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b612340613008565b600061234a611380565b14612381576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123ab337f000000000000000000000000000000000000000000000000000000000000000061348d565b565b6123b5613f1a565b6123bd613f1a565b6123c56130a4565b8310806123d957506123d5613334565b8310155b156123e75780915050612412565b6123f083613309565b90508060400151156124055780915050612412565b61240e83613648565b9150505b919050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461247c576040517f875fdad700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60038081111561248f5761248e6142f7565b5b600d60009054906101000a900460ff1660038111156124b1576124b06142f7565b5b146124e8576040517f3f88677400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601454836124f4611380565b6124fe91906151ae565b1115612536576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612585338484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613668565b6125bb576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600f546125c991906151e2565b3414612600576040517ebfc92100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60115483600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461264e91906151ae565b1115612686576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010548311156126c2576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461271191906151ae565b925050819055506127223384613086565b505050565b81819050848490501461276f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276690615563565b60405180910390fd5b60005b848490508110156127d9576127c833848484818110612794576127936154e8565b5b90506020020160208101906127a991906143bd565b8787858181106127bc576127bb6154e8565b5b905060200201356113bd565b806127d290615583565b9050612772565b5050505050565b600980546127ed9061510c565b80601f01602080910402602001604051908101604052809291908181526020018280546128199061510c565b80156128665780601f1061283b57610100808354040283529160200191612866565b820191906000526020600020905b81548152906001019060200180831161284957829003601f168201915b505050505081565b612876613008565b8060108190555050565b606061288b82612fa1565b6128ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c19061563d565b60405180910390fd5b60006128d461370b565b905060008151116128f45760405180602001604052806000815250612922565b806128fe8461379d565b60096040516020016129129392919061571c565b6040516020818303038152906040525b915050919050565b601780546129379061510c565b80601f01602080910402602001604051908101604052809291908181526020018280546129639061510c565b80156129b05780601f10612985576101008083540402835291602001916129b0565b820191906000526020600020905b81548152906001019060200180831161299357829003601f168201915b505050505081565b600080600090505b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050811015612ac257836008811115612a1d57612a1c6142f7565b5b600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110612a6e57612a6d6154e8565b5b90600052602060002090602091828204019190069054906101000a900460ff166008811115612aa057612a9f6142f7565b5b03612aaf576000915050612ac8565b8080612aba90615583565b9150506129c0565b50600190505b92915050565b60026003811115612ae257612ae16142f7565b5b600d60009054906101000a900460ff166003811115612b0457612b036142f7565b5b14612b3b576040517f3f88677400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60155483612b47611380565b612b5191906151ae565b1115612b89576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600e54612b9791906151e2565b3414612bce576040517ebfc92100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c42828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060185433604051602001612c279190615795565b604051602081830303815290604052805190602001206138fd565b612c78576040517f09bde33900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60125483600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cc691906151ae565b1115612cfe576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601354831115612d3a576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d8991906151ae565b92505081905550612d9a3384613086565b505050565b60145481565b612dad613008565b8060099081612dbc9190615416565b5050565b612dc8613008565b8051825114612e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0390615563565b60405180910390fd5b60005b8251811015612e6757612e56838281518110612e2e57612e2d6154e8565b5b6020026020010151838381518110612e4957612e486154e8565b5b6020026020010151613914565b80612e6090615583565b9050612e0f565b505050565b612e74613008565b8060118190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60135481565b612f20613008565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612f8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8690615822565b60405180910390fd5b612f9881613243565b50565b60105481565b600081612fac6130a4565b11158015612fbb575060005482105b8015612ff9575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b61301061398e565b73ffffffffffffffffffffffffffffffffffffffff1661302e611ed4565b73ffffffffffffffffffffffffffffffffffffffff1614613084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307b9061588e565b60405180910390fd5b565b6130a0828260405180602001604052806000815250613996565b5050565b60006001905090565b600080829050806130bc6130a4565b11613142576000548110156131415760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361313f575b6000810361313557600460008360019003935083815260200190815260200160002054905061310b565b8092505050613174565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613201868684613a33565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613311613f1a565b61332d6004600084815260200190815260200160002054613a3c565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613363613000565b8786866040518563ffffffff1660e01b81526004016133859493929190615903565b6020604051808303816000875af19250505080156133c157506040513d601f19601f820116820180604052508101906133be9190615964565b60015b61343a573d80600081146133f1576040519150601f19603f3d011682016040523d82523d6000602084013e6133f6565b606091505b506000815103613432576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080549050600082036134cd576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134da60008483856131e4565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506135518361354260008660006131ea565b61354b85613af2565b17613212565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146135f257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506135b7565b506000820361362d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050613643600084838561323d565b505050565b613650613f1a565b61366161365c836130ad565b613a3c565b9050919050565b600080848460405160200161367e9291906159b2565b6040516020818303038152906040528051906020012090506136b1836136a383613b02565b613b3290919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16149150509392505050565b60606017805461371a9061510c565b80601f01602080910402602001604051908101604052809291908181526020018280546137469061510c565b80156137935780601f1061376857610100808354040283529160200191613793565b820191906000526020600020905b81548152906001019060200180831161377657829003601f168201915b5050505050905090565b6060600082036137e4576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506138f8565b600082905060005b600082146138165780806137ff90615583565b915050600a8261380f9190615a0d565b91506137ec565b60008167ffffffffffffffff81111561383257613831614421565b5b6040519080825280601f01601f1916602001820160405280156138645781602001600182028036833780820191505090505b5090505b600085146138f15760018261387d9190615a3e565b9150600a8561388c9190615a72565b603061389891906151ae565b60f81b8183815181106138ae576138ad6154e8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138ea9190615a0d565b9450613868565b8093505050505b919050565b60008261390a8584613b59565b1490509392505050565b80600a600084600881111561392c5761392b6142f7565b5b600881111561393e5761393d6142f7565b5b815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600033905090565b6139a0838361348d565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613a2e57600080549050600083820390505b6139e0600086838060010194508661333d565b613a16576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106139cd578160005414613a2b57600080fd5b50505b505050565b60009392505050565b613a44613f1a565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60006001821460e11b9050919050565b600081604051602001613b159190615b10565b604051602081830303815290604052805190602001209050919050565b6000806000613b418585613baf565b91509150613b4e81613c00565b819250505092915050565b60008082905060005b8451811015613ba457613b8f82868381518110613b8257613b816154e8565b5b6020026020010151613dcc565b91508080613b9c90615583565b915050613b62565b508091505092915050565b6000806041835103613bf05760008060006020860151925060408601519150606086015160001a9050613be487828585613df7565b94509450505050613bf9565b60006002915091505b9250929050565b60006004811115613c1457613c136142f7565b5b816004811115613c2757613c266142f7565b5b0315613dc95760016004811115613c4157613c406142f7565b5b816004811115613c5457613c536142f7565b5b03613c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c8b90615b82565b60405180910390fd5b60026004811115613ca857613ca76142f7565b5b816004811115613cbb57613cba6142f7565b5b03613cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cf290615bee565b60405180910390fd5b60036004811115613d0f57613d0e6142f7565b5b816004811115613d2257613d216142f7565b5b03613d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d5990615c80565b60405180910390fd5b600480811115613d7557613d746142f7565b5b816004811115613d8857613d876142f7565b5b03613dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dbf90615d12565b60405180910390fd5b5b50565b6000818310613de457613ddf8284613f03565b613def565b613dee8383613f03565b5b905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613e32576000600391509150613efa565b601b8560ff1614158015613e4a5750601c8560ff1614155b15613e5c576000600491509150613efa565b600060018787878760405160008152602001604052604051613e819493929190615d41565b6020604051602081039080840390855afa158015613ea3573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603613ef157600060019250925050613efa565b80600092509250505b94509492505050565b600082600052816020526040600020905092915050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000819050919050565b613f7c81613f69565b82525050565b6000602082019050613f976000830184613f73565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613fe681613fb1565b8114613ff157600080fd5b50565b60008135905061400381613fdd565b92915050565b60006020828403121561401f5761401e613fa7565b5b600061402d84828501613ff4565b91505092915050565b60008115159050919050565b61404b81614036565b82525050565b60006020820190506140666000830184614042565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156140a657808201518184015260208101905061408b565b60008484015250505050565b6000601f19601f8301169050919050565b60006140ce8261406c565b6140d88185614077565b93506140e8818560208601614088565b6140f1816140b2565b840191505092915050565b6000602082019050818103600083015261411681846140c3565b905092915050565b61412781613f69565b811461413257600080fd5b50565b6000813590506141448161411e565b92915050565b6000602082840312156141605761415f613fa7565b5b600061416e84828501614135565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006141a282614177565b9050919050565b6141b281614197565b82525050565b60006020820190506141cd60008301846141a9565b92915050565b6141dc81614197565b81146141e757600080fd5b50565b6000813590506141f9816141d3565b92915050565b6000806040838503121561421657614215613fa7565b5b6000614224858286016141ea565b925050602061423585828601614135565b9150509250929050565b6009811061424c57600080fd5b50565b60008135905061425e8161423f565b92915050565b6000806040838503121561427b5761427a613fa7565b5b600061428985828601614135565b925050602061429a8582860161424f565b9150509250929050565b6000806000606084860312156142bd576142bc613fa7565b5b60006142cb868287016141ea565b93505060206142dc868287016141ea565b92505060406142ed86828701614135565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60098110614337576143366142f7565b5b50565b600081905061434882614326565b919050565b60006143588261433a565b9050919050565b6143688161434d565b82525050565b6000602082019050614383600083018461435f565b92915050565b6000819050919050565b61439c81614389565b82525050565b60006020820190506143b76000830184614393565b92915050565b6000602082840312156143d3576143d2613fa7565b5b60006143e1848285016141ea565b91505092915050565b600060208284031215614400576143ff613fa7565b5b600061440e8482850161424f565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614459826140b2565b810181811067ffffffffffffffff8211171561447857614477614421565b5b80604052505050565b600061448b613f9d565b90506144978282614450565b919050565b600067ffffffffffffffff8211156144b7576144b6614421565b5b6144c0826140b2565b9050602081019050919050565b82818337600083830152505050565b60006144ef6144ea8461449c565b614481565b90508281526020810184848401111561450b5761450a61441c565b5b6145168482856144cd565b509392505050565b600082601f83011261453357614532614417565b5b81356145438482602086016144dc565b91505092915050565b60006020828403121561456257614561613fa7565b5b600082013567ffffffffffffffff8111156145805761457f613fac565b5b61458c8482850161451e565b91505092915050565b600060ff82169050919050565b6145ab81614595565b81146145b657600080fd5b50565b6000813590506145c8816145a2565b92915050565b6000602082840312156145e4576145e3613fa7565b5b60006145f2848285016145b9565b91505092915050565b600080fd5b600080fd5b60008083601f84011261461b5761461a614417565b5b8235905067ffffffffffffffff811115614638576146376145fb565b5b60208301915083602082028301111561465457614653614600565b5b9250929050565b6000806020838503121561467257614671613fa7565b5b600083013567ffffffffffffffff8111156146905761468f613fac565b5b61469c85828601614605565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6146dd81614197565b82525050565b600067ffffffffffffffff82169050919050565b614700816146e3565b82525050565b61470f81614036565b82525050565b600062ffffff82169050919050565b61472d81614715565b82525050565b60808201600082015161474960008501826146d4565b50602082015161475c60208501826146f7565b50604082015161476f6040850182614706565b5060608201516147826060850182614724565b50505050565b60006147948383614733565b60808301905092915050565b6000602082019050919050565b60006147b8826146a8565b6147c281856146b3565b93506147cd836146c4565b8060005b838110156147fe5781516147e58882614788565b97506147f0836147a0565b9250506001810190506147d1565b5085935050505092915050565b6000602082019050818103600083015261482581846147ad565b905092915050565b6004811061483e5761483d6142f7565b5b50565b600081905061484f8261482d565b919050565b600061485f82614841565b9050919050565b61486f81614854565b82525050565b600060208201905061488a6000830184614866565b92915050565b61489981614389565b81146148a457600080fd5b50565b6000813590506148b681614890565b92915050565b6000602082840312156148d2576148d1613fa7565b5b60006148e0848285016148a7565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61491e81613f69565b82525050565b60006149308383614915565b60208301905092915050565b6000602082019050919050565b6000614954826148e9565b61495e81856148f4565b935061496983614905565b8060005b8381101561499a5781516149818882614924565b975061498c8361493c565b92505060018101905061496d565b5085935050505092915050565b600060208201905081810360008301526149c18184614949565b905092915050565b6000806000606084860312156149e2576149e1613fa7565b5b60006149f0868287016141ea565b9350506020614a0186828701614135565b9250506040614a1286828701614135565b9150509250925092565b614a2581614036565b8114614a3057600080fd5b50565b600081359050614a4281614a1c565b92915050565b60008060408385031215614a5f57614a5e613fa7565b5b6000614a6d858286016141ea565b9250506020614a7e85828601614a33565b9150509250929050565b600067ffffffffffffffff821115614aa357614aa2614421565b5b614aac826140b2565b9050602081019050919050565b6000614acc614ac784614a88565b614481565b905082815260208101848484011115614ae857614ae761441c565b5b614af38482856144cd565b509392505050565b600082601f830112614b1057614b0f614417565b5b8135614b20848260208601614ab9565b91505092915050565b60008060008060808587031215614b4357614b42613fa7565b5b6000614b51878288016141ea565b9450506020614b62878288016141ea565b9350506040614b7387828801614135565b925050606085013567ffffffffffffffff811115614b9457614b93613fac565b5b614ba087828801614afb565b91505092959194509250565b608082016000820151614bc260008501826146d4565b506020820151614bd560208501826146f7565b506040820151614be86040850182614706565b506060820151614bfb6060850182614724565b50505050565b6000608082019050614c166000830184614bac565b92915050565b60008083601f840112614c3257614c31614417565b5b8235905067ffffffffffffffff811115614c4f57614c4e6145fb565b5b602083019150836001820283011115614c6b57614c6a614600565b5b9250929050565b600080600060408486031215614c8b57614c8a613fa7565b5b6000614c9986828701614135565b935050602084013567ffffffffffffffff811115614cba57614cb9613fac565b5b614cc686828701614c1c565b92509250509250925092565b60008083601f840112614ce857614ce7614417565b5b8235905067ffffffffffffffff811115614d0557614d046145fb565b5b602083019150836020820283011115614d2157614d20614600565b5b9250929050565b60008060008060408587031215614d4257614d41613fa7565b5b600085013567ffffffffffffffff811115614d6057614d5f613fac565b5b614d6c87828801614605565b9450945050602085013567ffffffffffffffff811115614d8f57614d8e613fac565b5b614d9b87828801614cd2565b925092505092959194509250565b60008060408385031215614dc057614dbf613fa7565b5b6000614dce8582860161424f565b9250506020614ddf858286016141ea565b9150509250929050565b60008083601f840112614dff57614dfe614417565b5b8235905067ffffffffffffffff811115614e1c57614e1b6145fb565b5b602083019150836020820283011115614e3857614e37614600565b5b9250929050565b600080600060408486031215614e5857614e57613fa7565b5b6000614e6686828701614135565b935050602084013567ffffffffffffffff811115614e8757614e86613fac565b5b614e9386828701614de9565b92509250509250925092565b600067ffffffffffffffff821115614eba57614eb9614421565b5b602082029050602081019050919050565b6000614ede614ed984614e9f565b614481565b90508083825260208201905060208402830185811115614f0157614f00614600565b5b835b81811015614f2a5780614f16888261424f565b845260208401935050602081019050614f03565b5050509392505050565b600082601f830112614f4957614f48614417565b5b8135614f59848260208601614ecb565b91505092915050565b600067ffffffffffffffff821115614f7d57614f7c614421565b5b602082029050602081019050919050565b6000614fa1614f9c84614f62565b614481565b90508083825260208201905060208402830185811115614fc457614fc3614600565b5b835b81811015614fed5780614fd988826141ea565b845260208401935050602081019050614fc6565b5050509392505050565b600082601f83011261500c5761500b614417565b5b813561501c848260208601614f8e565b91505092915050565b6000806040838503121561503c5761503b613fa7565b5b600083013567ffffffffffffffff81111561505a57615059613fac565b5b61506685828601614f34565b925050602083013567ffffffffffffffff81111561508757615086613fac565b5b61509385828601614ff7565b9150509250929050565b600080604083850312156150b4576150b3613fa7565b5b60006150c2858286016141ea565b92505060206150d3858286016141ea565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061512457607f821691505b602082108103615137576151366150dd565b5b50919050565b60008151905061514c8161411e565b92915050565b60006020828403121561516857615167613fa7565b5b60006151768482850161513d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006151b982613f69565b91506151c483613f69565b92508282019050808211156151dc576151db61517f565b5b92915050565b60006151ed82613f69565b91506151f883613f69565b925082820261520681613f69565b9150828204841483151761521d5761521c61517f565b5b5092915050565b600081905092915050565b50565b600061523f600083615224565b915061524a8261522f565b600082019050919050565b600061526082615232565b9150819050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026152cc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261528f565b6152d6868361528f565b95508019841693508086168417925050509392505050565b6000819050919050565b600061531361530e61530984613f69565b6152ee565b613f69565b9050919050565b6000819050919050565b61532d836152f8565b6153416153398261531a565b84845461529c565b825550505050565b600090565b615356615349565b615361818484615324565b505050565b5b818110156153855761537a60008261534e565b600181019050615367565b5050565b601f8211156153ca5761539b8161526a565b6153a48461527f565b810160208510156153b3578190505b6153c76153bf8561527f565b830182615366565b50505b505050565b600082821c905092915050565b60006153ed600019846008026153cf565b1980831691505092915050565b600061540683836153dc565b9150826002028217905092915050565b61541f8261406c565b67ffffffffffffffff81111561543857615437614421565b5b615442825461510c565b61544d828285615389565b600060209050601f831160018114615480576000841561546e578287015190505b61547885826153fa565b8655506154e0565b601f19841661548e8661526a565b60005b828110156154b657848901518255600182019150602085019450602081019050615491565b868310156154d357848901516154cf601f8916826153dc565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f496e76616c696420696e70757400000000000000000000000000000000000000600082015250565b600061554d600d83614077565b915061555882615517565b602082019050919050565b6000602082019050818103600083015261557c81615540565b9050919050565b600061558e82613f69565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036155c0576155bf61517f565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615627602f83614077565b9150615632826155cb565b604082019050919050565b600060208201905081810360008301526156568161561a565b9050919050565b600081905092915050565b60006156738261406c565b61567d818561565d565b935061568d818560208601614088565b80840191505092915050565b600081546156a68161510c565b6156b0818661565d565b945060018216600081146156cb57600181146156e057615713565b60ff1983168652811515820286019350615713565b6156e98561526a565b60005b8381101561570b578154818901526001820191506020810190506156ec565b838801955050505b50505092915050565b60006157288286615668565b91506157348285615668565b91506157408284615699565b9150819050949350505050565b60008160601b9050919050565b60006157658261574d565b9050919050565b60006157778261575a565b9050919050565b61578f61578a82614197565b61576c565b82525050565b60006157a1828461577e565b60148201915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061580c602683614077565b9150615817826157b0565b604082019050919050565b6000602082019050818103600083015261583b816157ff565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615878602083614077565b915061588382615842565b602082019050919050565b600060208201905081810360008301526158a78161586b565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006158d5826158ae565b6158df81856158b9565b93506158ef818560208601614088565b6158f8816140b2565b840191505092915050565b600060808201905061591860008301876141a9565b61592560208301866141a9565b6159326040830185613f73565b818103606083015261594481846158ca565b905095945050505050565b60008151905061595e81613fdd565b92915050565b60006020828403121561597a57615979613fa7565b5b60006159888482850161594f565b91505092915050565b6000819050919050565b6159ac6159a782613f69565b615991565b82525050565b60006159be828561577e565b6014820191506159ce828461599b565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615a1882613f69565b9150615a2383613f69565b925082615a3357615a326159de565b5b828204905092915050565b6000615a4982613f69565b9150615a5483613f69565b9250828203905081811115615a6c57615a6b61517f565b5b92915050565b6000615a7d82613f69565b9150615a8883613f69565b925082615a9857615a976159de565b5b828206905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615ad9601c8361565d565b9150615ae482615aa3565b601c82019050919050565b6000819050919050565b615b0a615b0582614389565b615aef565b82525050565b6000615b1b82615acc565b9150615b278284615af9565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615b6c601883614077565b9150615b7782615b36565b602082019050919050565b60006020820190508181036000830152615b9b81615b5f565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615bd8601f83614077565b9150615be382615ba2565b602082019050919050565b60006020820190508181036000830152615c0781615bcb565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615c6a602283614077565b9150615c7582615c0e565b604082019050919050565b60006020820190508181036000830152615c9981615c5d565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615cfc602283614077565b9150615d0782615ca0565b604082019050919050565b60006020820190508181036000830152615d2b81615cef565b9050919050565b615d3b81614595565b82525050565b6000608082019050615d566000830187614393565b615d636020830186615d32565b615d706040830185614393565b615d7d6060830184614393565b9594505050505056fea26469706673582212206360ee27ec581384f12ebafc048784852cb9de9f38c1a5618e7f0249ea70109164736f6c63430008110033

Deployed Bytecode

0x6080604052600436106103805760003560e01c8063715018a6116101d1578063c52c159311610102578063d5abeb01116100a0578063e985e9c51161006f578063e985e9c514610cd0578063f1d336eb14610d0d578063f2fde38b14610d38578063f968adbe14610d6157610380565b8063d5abeb0114610c2a578063da3ef23f14610c55578063ddde58bb14610c7e578063e268e4d314610ca757610380565b8063c87b56dd116100dc578063c87b56dd14610b69578063cfc86f7b14610ba6578063d259833014610bd1578063d2cab05614610c0e57610380565b8063c52c159314610aec578063c668286214610b15578063c6f6f21614610b4057610380565b8063a035b1fe1161016f578063b88d4fde11610149578063b88d4fde14610a60578063ba7a86b814610a7c578063c23dc68f14610a93578063c4cc7ec614610ad057610380565b8063a035b1fe146109e1578063a22cb46514610a0c578063b3a196e914610a3557610380565b80638da5cb5b116101ab5780638da5cb5b1461092557806391b7f5ed1461095057806395d89b411461097957806399a2557a146109a457610380565b8063715018a6146108a85780637cb64759146108bf5780638462151c146108e857610380565b80632eb4a7ab116102b657806351cff8d911610254578063603f4d5211610223578063603f4d52146107da5780636352211e146108055780636c19e7831461084257806370a082311461086b57610380565b806351cff8d91461072257806355f804b31461074b5780635a67de07146107745780635bbb21771461079d57610380565b80633549345e116102905780633549345e1461068957806342842e0e146106b2578063453c2310146106ce5780634c0770f0146106f957610380565b80632eb4a7ab146105e45780633406c7261461060f578063349c337e1461064c57610380565b8063150a35791161032357806323b872dd116102fd57806323b872dd146105445780632910fe50146105605780632cfac6ec1461059d5780632db11544146105c857610380565b8063150a3579146104c557806318160ddd146104ee578063238ac9331461051957610380565b8063081812fc1161035f578063081812fc14610418578063095ea7b31461045557806312c23bd814610471578063150726ea1461049c57610380565b80620e7fa81461038557806301ffc9a7146103b057806306fdde03146103ed575b600080fd5b34801561039157600080fd5b5061039a610d8c565b6040516103a79190613f82565b60405180910390f35b3480156103bc57600080fd5b506103d760048036038101906103d29190614009565b610d92565b6040516103e49190614051565b60405180910390f35b3480156103f957600080fd5b50610402610e24565b60405161040f91906140fc565b60405180910390f35b34801561042457600080fd5b5061043f600480360381019061043a919061414a565b610eb6565b60405161044c91906141b8565b60405180910390f35b61046f600480360381019061046a91906141ff565b610f35565b005b34801561047d57600080fd5b50610486611079565b6040516104939190613f82565b60405180910390f35b3480156104a857600080fd5b506104c360048036038101906104be919061414a565b61107f565b005b3480156104d157600080fd5b506104ec60048036038101906104e79190614264565b611091565b005b3480156104fa57600080fd5b50610503611380565b6040516105109190613f82565b60405180910390f35b34801561052557600080fd5b5061052e611397565b60405161053b91906141b8565b60405180910390f35b61055e600480360381019061055991906142a4565b6113bd565b005b34801561056c57600080fd5b50610587600480360381019061058291906141ff565b6116df565b604051610594919061436e565b60405180910390f35b3480156105a957600080fd5b506105b2611722565b6040516105bf9190613f82565b60405180910390f35b6105e260048036038101906105dd919061414a565b611746565b005b3480156105f057600080fd5b506105f96119d0565b60405161060691906143a2565b60405180910390f35b34801561061b57600080fd5b50610636600480360381019061063191906143bd565b6119d6565b6040516106439190613f82565b60405180910390f35b34801561065857600080fd5b50610673600480360381019061066e91906143ea565b6119ee565b60405161068091906141b8565b60405180910390f35b34801561069557600080fd5b506106b060048036038101906106ab919061414a565b611a21565b005b6106cc60048036038101906106c791906142a4565b611a33565b005b3480156106da57600080fd5b506106e3611a53565b6040516106f09190613f82565b60405180910390f35b34801561070557600080fd5b50610720600480360381019061071b919061414a565b611a59565b005b34801561072e57600080fd5b50610749600480360381019061074491906143bd565b611a6b565b005b34801561075757600080fd5b50610772600480360381019061076d919061454c565b611b1a565b005b34801561078057600080fd5b5061079b600480360381019061079691906145ce565b611b35565b005b3480156107a957600080fd5b506107c460048036038101906107bf919061465b565b611b7f565b6040516107d1919061480b565b60405180910390f35b3480156107e657600080fd5b506107ef611c42565b6040516107fc9190614875565b60405180910390f35b34801561081157600080fd5b5061082c6004803603810190610827919061414a565b611c55565b60405161083991906141b8565b60405180910390f35b34801561084e57600080fd5b50610869600480360381019061086491906143bd565b611c67565b005b34801561087757600080fd5b50610892600480360381019061088d91906143bd565b611cb3565b60405161089f9190613f82565b60405180910390f35b3480156108b457600080fd5b506108bd611d6b565b005b3480156108cb57600080fd5b506108e660048036038101906108e191906148bc565b611d7f565b005b3480156108f457600080fd5b5061090f600480360381019061090a91906143bd565b611d91565b60405161091c91906149a7565b60405180910390f35b34801561093157600080fd5b5061093a611ed4565b60405161094791906141b8565b60405180910390f35b34801561095c57600080fd5b506109776004803603810190610972919061414a565b611efe565b005b34801561098557600080fd5b5061098e611f10565b60405161099b91906140fc565b60405180910390f35b3480156109b057600080fd5b506109cb60048036038101906109c691906149c9565b611fa2565b6040516109d891906149a7565b60405180910390f35b3480156109ed57600080fd5b506109f66121ae565b604051610a039190613f82565b60405180910390f35b348015610a1857600080fd5b50610a336004803603810190610a2e9190614a48565b6121b4565b005b348015610a4157600080fd5b50610a4a6122bf565b604051610a579190613f82565b60405180910390f35b610a7a6004803603810190610a759190614b29565b6122c5565b005b348015610a8857600080fd5b50610a91612338565b005b348015610a9f57600080fd5b50610aba6004803603810190610ab5919061414a565b6123ad565b604051610ac79190614c01565b60405180910390f35b610aea6004803603810190610ae59190614c72565b612417565b005b348015610af857600080fd5b50610b136004803603810190610b0e9190614d28565b612727565b005b348015610b2157600080fd5b50610b2a6127e0565b604051610b3791906140fc565b60405180910390f35b348015610b4c57600080fd5b50610b676004803603810190610b62919061414a565b61286e565b005b348015610b7557600080fd5b50610b906004803603810190610b8b919061414a565b612880565b604051610b9d91906140fc565b60405180910390f35b348015610bb257600080fd5b50610bbb61292a565b604051610bc891906140fc565b60405180910390f35b348015610bdd57600080fd5b50610bf86004803603810190610bf39190614da9565b6129b8565b604051610c059190614051565b60405180910390f35b610c286004803603810190610c239190614e3f565b612ace565b005b348015610c3657600080fd5b50610c3f612d9f565b604051610c4c9190613f82565b60405180910390f35b348015610c6157600080fd5b50610c7c6004803603810190610c77919061454c565b612da5565b005b348015610c8a57600080fd5b50610ca56004803603810190610ca09190615025565b612dc0565b005b348015610cb357600080fd5b50610cce6004803603810190610cc9919061414a565b612e6c565b005b348015610cdc57600080fd5b50610cf76004803603810190610cf2919061509d565b612e7e565b604051610d049190614051565b60405180910390f35b348015610d1957600080fd5b50610d22612f12565b604051610d2f9190613f82565b60405180910390f35b348015610d4457600080fd5b50610d5f6004803603810190610d5a91906143bd565b612f18565b005b348015610d6d57600080fd5b50610d76612f9b565b604051610d839190613f82565b60405180910390f35b600e5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ded57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e1d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610e339061510c565b80601f0160208091040260200160405190810160405280929190818152602001828054610e5f9061510c565b8015610eac5780601f10610e8157610100808354040283529160200191610eac565b820191906000526020600020905b815481529060010190602001808311610e8f57829003601f168201915b5050505050905090565b6000610ec182612fa1565b610ef7576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f4082611c55565b90508073ffffffffffffffffffffffffffffffffffffffff16610f61613000565b73ffffffffffffffffffffffffffffffffffffffff1614610fc457610f8d81610f88613000565b612e7e565b610fc3576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60125481565b611087613008565b8060138190555050565b806000600a60008360088111156110ab576110aa6142f7565b5b60088111156110bd576110bc6142f7565b5b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600081905060018173ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161112e91906141b8565b602060405180830381865afa15801561114b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116f9190615152565b10156111a7576040517f4d9d992200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600260038111156111bb576111ba6142f7565b5b600d60009054906101000a900460ff1660038111156111dd576111dc6142f7565b5b14611214576040517f3f88677400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60155485611220611380565b61122a91906151ae565b1115611262576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61126c84336129b8565b6112a2576040517ffcbe7f9300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6013548511156112de576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208490806001815401808255809150506001900390600052602060002090602091828204019190069091909190916101000a81548160ff0219169083600881111561136a576113696142f7565b5b02179055506113793386613086565b5050505050565b600061138a6130a4565b6001546000540303905090565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006113c8826130ad565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461142f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061143b84613179565b91509150611451818761144c613000565b6131a0565b61149d5761146686611461613000565b612e7e565b61149c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611503576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61151086868660016131e4565b801561151b57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506115e9856115c58888876131ea565b7c020000000000000000000000000000000000000000000000000000000017613212565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361166f576000600185019050600060046000838152602001908152602001600020540361166d57600054811461166c578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46116d7868686600161323d565b505050505050565b600b60205281600052604060002081815481106116fb57600080fd5b9060005260206000209060209182820401919006915091509054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000006481565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117ab576040517f875fdad700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160038111156117bf576117be6142f7565b5b600d60009054906101000a900460ff1660038111156117e1576117e06142f7565b5b14611818576040517f3f88677400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60145481611824611380565b61182e91906151ae565b1115611866576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600f5461187491906151e2565b34146118ab576040517ebfc92100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60115481600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118f991906151ae565b1115611931576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60105481111561196d576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119bc91906151ae565b925050819055506119cd3382613086565b50565b60185481565b600c6020528060005260406000206000915090505481565b600a6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611a29613008565b80600e8190555050565b611a4e838383604051806020016040528060008152506122c5565b505050565b60115481565b611a61613008565b8060128190555050565b611a73613008565b60008173ffffffffffffffffffffffffffffffffffffffff1647604051611a9990615255565b60006040518083038185875af1925050503d8060008114611ad6576040519150601f19603f3d011682016040523d82523d6000602084013e611adb565b606091505b5050905080611b16576040517f750b219c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b611b22613008565b8060179081611b319190615416565b5050565b611b3d613008565b8060ff166003811115611b5357611b526142f7565b5b600d60006101000a81548160ff02191690836003811115611b7757611b766142f7565b5b021790555050565b6060600083839050905060008167ffffffffffffffff811115611ba557611ba4614421565b5b604051908082528060200260200182016040528015611bde57816020015b611bcb613f1a565b815260200190600190039081611bc35790505b50905060005b828114611c3657611c0d868683818110611c0157611c006154e8565b5b905060200201356123ad565b828281518110611c2057611c1f6154e8565b5b6020026020010181905250806001019050611be4565b50809250505092915050565b600d60009054906101000a900460ff1681565b6000611c60826130ad565b9050919050565b611c6f613008565b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d1a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611d73613008565b611d7d6000613243565b565b611d87613008565b8060188190555050565b60606000806000611da185611cb3565b905060008167ffffffffffffffff811115611dbf57611dbe614421565b5b604051908082528060200260200182016040528015611ded5781602001602082028036833780820191505090505b509050611df8613f1a565b6000611e026130a4565b90505b838614611ec657611e1581613309565b91508160400151611ebb57600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611e6057816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611eba5780838780600101985081518110611ead57611eac6154e8565b5b6020026020010181815250505b5b806001019050611e05565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611f06613008565b80600f8190555050565b606060038054611f1f9061510c565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4b9061510c565b8015611f985780601f10611f6d57610100808354040283529160200191611f98565b820191906000526020600020905b815481529060010190602001808311611f7b57829003601f168201915b5050505050905090565b6060818310611fdd576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611fe8613334565b9050611ff26130a4565b851015612004576120016130a4565b94505b80841115612010578093505b600061201b87611cb3565b90508486101561203e576000868603905081811015612038578091505b50612043565b600090505b60008167ffffffffffffffff81111561205f5761205e614421565b5b60405190808252806020026020018201604052801561208d5781602001602082028036833780820191505090505b509050600082036120a457809450505050506121a7565b60006120af886123ad565b9050600081604001516120c457816000015190505b60008990505b8881141580156120da5750848714155b15612199576120e881613309565b9250826040015161218e57600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff161461213357826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361218d57808488806001019950815181106121805761217f6154e8565b5b6020026020010181815250505b5b8060010190506120ca565b508583528296505050505050505b9392505050565b600f5481565b80600760006121c1613000565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661226e613000565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122b39190614051565b60405180910390a35050565b60155481565b6122d08484846113bd565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612332576122fb8484848461333d565b612331576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b612340613008565b600061234a611380565b14612381576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123ab337f000000000000000000000000000000000000000000000000000000000000006461348d565b565b6123b5613f1a565b6123bd613f1a565b6123c56130a4565b8310806123d957506123d5613334565b8310155b156123e75780915050612412565b6123f083613309565b90508060400151156124055780915050612412565b61240e83613648565b9150505b919050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461247c576040517f875fdad700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60038081111561248f5761248e6142f7565b5b600d60009054906101000a900460ff1660038111156124b1576124b06142f7565b5b146124e8576040517f3f88677400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601454836124f4611380565b6124fe91906151ae565b1115612536576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612585338484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613668565b6125bb576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600f546125c991906151e2565b3414612600576040517ebfc92100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60115483600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461264e91906151ae565b1115612686576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010548311156126c2576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461271191906151ae565b925050819055506127223384613086565b505050565b81819050848490501461276f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276690615563565b60405180910390fd5b60005b848490508110156127d9576127c833848484818110612794576127936154e8565b5b90506020020160208101906127a991906143bd565b8787858181106127bc576127bb6154e8565b5b905060200201356113bd565b806127d290615583565b9050612772565b5050505050565b600980546127ed9061510c565b80601f01602080910402602001604051908101604052809291908181526020018280546128199061510c565b80156128665780601f1061283b57610100808354040283529160200191612866565b820191906000526020600020905b81548152906001019060200180831161284957829003601f168201915b505050505081565b612876613008565b8060108190555050565b606061288b82612fa1565b6128ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c19061563d565b60405180910390fd5b60006128d461370b565b905060008151116128f45760405180602001604052806000815250612922565b806128fe8461379d565b60096040516020016129129392919061571c565b6040516020818303038152906040525b915050919050565b601780546129379061510c565b80601f01602080910402602001604051908101604052809291908181526020018280546129639061510c565b80156129b05780601f10612985576101008083540402835291602001916129b0565b820191906000526020600020905b81548152906001019060200180831161299357829003601f168201915b505050505081565b600080600090505b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050811015612ac257836008811115612a1d57612a1c6142f7565b5b600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110612a6e57612a6d6154e8565b5b90600052602060002090602091828204019190069054906101000a900460ff166008811115612aa057612a9f6142f7565b5b03612aaf576000915050612ac8565b8080612aba90615583565b9150506129c0565b50600190505b92915050565b60026003811115612ae257612ae16142f7565b5b600d60009054906101000a900460ff166003811115612b0457612b036142f7565b5b14612b3b576040517f3f88677400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60155483612b47611380565b612b5191906151ae565b1115612b89576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600e54612b9791906151e2565b3414612bce576040517ebfc92100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c42828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060185433604051602001612c279190615795565b604051602081830303815290604052805190602001206138fd565b612c78576040517f09bde33900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60125483600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cc691906151ae565b1115612cfe576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601354831115612d3a576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d8991906151ae565b92505081905550612d9a3384613086565b505050565b60145481565b612dad613008565b8060099081612dbc9190615416565b5050565b612dc8613008565b8051825114612e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0390615563565b60405180910390fd5b60005b8251811015612e6757612e56838281518110612e2e57612e2d6154e8565b5b6020026020010151838381518110612e4957612e486154e8565b5b6020026020010151613914565b80612e6090615583565b9050612e0f565b505050565b612e74613008565b8060118190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60135481565b612f20613008565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612f8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8690615822565b60405180910390fd5b612f9881613243565b50565b60105481565b600081612fac6130a4565b11158015612fbb575060005482105b8015612ff9575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b61301061398e565b73ffffffffffffffffffffffffffffffffffffffff1661302e611ed4565b73ffffffffffffffffffffffffffffffffffffffff1614613084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307b9061588e565b60405180910390fd5b565b6130a0828260405180602001604052806000815250613996565b5050565b60006001905090565b600080829050806130bc6130a4565b11613142576000548110156131415760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361313f575b6000810361313557600460008360019003935083815260200190815260200160002054905061310b565b8092505050613174565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613201868684613a33565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613311613f1a565b61332d6004600084815260200190815260200160002054613a3c565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613363613000565b8786866040518563ffffffff1660e01b81526004016133859493929190615903565b6020604051808303816000875af19250505080156133c157506040513d601f19601f820116820180604052508101906133be9190615964565b60015b61343a573d80600081146133f1576040519150601f19603f3d011682016040523d82523d6000602084013e6133f6565b606091505b506000815103613432576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080549050600082036134cd576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134da60008483856131e4565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506135518361354260008660006131ea565b61354b85613af2565b17613212565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146135f257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506135b7565b506000820361362d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050613643600084838561323d565b505050565b613650613f1a565b61366161365c836130ad565b613a3c565b9050919050565b600080848460405160200161367e9291906159b2565b6040516020818303038152906040528051906020012090506136b1836136a383613b02565b613b3290919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16149150509392505050565b60606017805461371a9061510c565b80601f01602080910402602001604051908101604052809291908181526020018280546137469061510c565b80156137935780601f1061376857610100808354040283529160200191613793565b820191906000526020600020905b81548152906001019060200180831161377657829003601f168201915b5050505050905090565b6060600082036137e4576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506138f8565b600082905060005b600082146138165780806137ff90615583565b915050600a8261380f9190615a0d565b91506137ec565b60008167ffffffffffffffff81111561383257613831614421565b5b6040519080825280601f01601f1916602001820160405280156138645781602001600182028036833780820191505090505b5090505b600085146138f15760018261387d9190615a3e565b9150600a8561388c9190615a72565b603061389891906151ae565b60f81b8183815181106138ae576138ad6154e8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138ea9190615a0d565b9450613868565b8093505050505b919050565b60008261390a8584613b59565b1490509392505050565b80600a600084600881111561392c5761392b6142f7565b5b600881111561393e5761393d6142f7565b5b815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600033905090565b6139a0838361348d565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613a2e57600080549050600083820390505b6139e0600086838060010194508661333d565b613a16576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106139cd578160005414613a2b57600080fd5b50505b505050565b60009392505050565b613a44613f1a565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60006001821460e11b9050919050565b600081604051602001613b159190615b10565b604051602081830303815290604052805190602001209050919050565b6000806000613b418585613baf565b91509150613b4e81613c00565b819250505092915050565b60008082905060005b8451811015613ba457613b8f82868381518110613b8257613b816154e8565b5b6020026020010151613dcc565b91508080613b9c90615583565b915050613b62565b508091505092915050565b6000806041835103613bf05760008060006020860151925060408601519150606086015160001a9050613be487828585613df7565b94509450505050613bf9565b60006002915091505b9250929050565b60006004811115613c1457613c136142f7565b5b816004811115613c2757613c266142f7565b5b0315613dc95760016004811115613c4157613c406142f7565b5b816004811115613c5457613c536142f7565b5b03613c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c8b90615b82565b60405180910390fd5b60026004811115613ca857613ca76142f7565b5b816004811115613cbb57613cba6142f7565b5b03613cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cf290615bee565b60405180910390fd5b60036004811115613d0f57613d0e6142f7565b5b816004811115613d2257613d216142f7565b5b03613d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d5990615c80565b60405180910390fd5b600480811115613d7557613d746142f7565b5b816004811115613d8857613d876142f7565b5b03613dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dbf90615d12565b60405180910390fd5b5b50565b6000818310613de457613ddf8284613f03565b613def565b613dee8383613f03565b5b905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613e32576000600391509150613efa565b601b8560ff1614158015613e4a5750601c8560ff1614155b15613e5c576000600491509150613efa565b600060018787878760405160008152602001604052604051613e819493929190615d41565b6020604051602081039080840390855afa158015613ea3573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603613ef157600060019250925050613efa565b80600092509250505b94509492505050565b600082600052816020526040600020905092915050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000819050919050565b613f7c81613f69565b82525050565b6000602082019050613f976000830184613f73565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613fe681613fb1565b8114613ff157600080fd5b50565b60008135905061400381613fdd565b92915050565b60006020828403121561401f5761401e613fa7565b5b600061402d84828501613ff4565b91505092915050565b60008115159050919050565b61404b81614036565b82525050565b60006020820190506140666000830184614042565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156140a657808201518184015260208101905061408b565b60008484015250505050565b6000601f19601f8301169050919050565b60006140ce8261406c565b6140d88185614077565b93506140e8818560208601614088565b6140f1816140b2565b840191505092915050565b6000602082019050818103600083015261411681846140c3565b905092915050565b61412781613f69565b811461413257600080fd5b50565b6000813590506141448161411e565b92915050565b6000602082840312156141605761415f613fa7565b5b600061416e84828501614135565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006141a282614177565b9050919050565b6141b281614197565b82525050565b60006020820190506141cd60008301846141a9565b92915050565b6141dc81614197565b81146141e757600080fd5b50565b6000813590506141f9816141d3565b92915050565b6000806040838503121561421657614215613fa7565b5b6000614224858286016141ea565b925050602061423585828601614135565b9150509250929050565b6009811061424c57600080fd5b50565b60008135905061425e8161423f565b92915050565b6000806040838503121561427b5761427a613fa7565b5b600061428985828601614135565b925050602061429a8582860161424f565b9150509250929050565b6000806000606084860312156142bd576142bc613fa7565b5b60006142cb868287016141ea565b93505060206142dc868287016141ea565b92505060406142ed86828701614135565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60098110614337576143366142f7565b5b50565b600081905061434882614326565b919050565b60006143588261433a565b9050919050565b6143688161434d565b82525050565b6000602082019050614383600083018461435f565b92915050565b6000819050919050565b61439c81614389565b82525050565b60006020820190506143b76000830184614393565b92915050565b6000602082840312156143d3576143d2613fa7565b5b60006143e1848285016141ea565b91505092915050565b600060208284031215614400576143ff613fa7565b5b600061440e8482850161424f565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614459826140b2565b810181811067ffffffffffffffff8211171561447857614477614421565b5b80604052505050565b600061448b613f9d565b90506144978282614450565b919050565b600067ffffffffffffffff8211156144b7576144b6614421565b5b6144c0826140b2565b9050602081019050919050565b82818337600083830152505050565b60006144ef6144ea8461449c565b614481565b90508281526020810184848401111561450b5761450a61441c565b5b6145168482856144cd565b509392505050565b600082601f83011261453357614532614417565b5b81356145438482602086016144dc565b91505092915050565b60006020828403121561456257614561613fa7565b5b600082013567ffffffffffffffff8111156145805761457f613fac565b5b61458c8482850161451e565b91505092915050565b600060ff82169050919050565b6145ab81614595565b81146145b657600080fd5b50565b6000813590506145c8816145a2565b92915050565b6000602082840312156145e4576145e3613fa7565b5b60006145f2848285016145b9565b91505092915050565b600080fd5b600080fd5b60008083601f84011261461b5761461a614417565b5b8235905067ffffffffffffffff811115614638576146376145fb565b5b60208301915083602082028301111561465457614653614600565b5b9250929050565b6000806020838503121561467257614671613fa7565b5b600083013567ffffffffffffffff8111156146905761468f613fac565b5b61469c85828601614605565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6146dd81614197565b82525050565b600067ffffffffffffffff82169050919050565b614700816146e3565b82525050565b61470f81614036565b82525050565b600062ffffff82169050919050565b61472d81614715565b82525050565b60808201600082015161474960008501826146d4565b50602082015161475c60208501826146f7565b50604082015161476f6040850182614706565b5060608201516147826060850182614724565b50505050565b60006147948383614733565b60808301905092915050565b6000602082019050919050565b60006147b8826146a8565b6147c281856146b3565b93506147cd836146c4565b8060005b838110156147fe5781516147e58882614788565b97506147f0836147a0565b9250506001810190506147d1565b5085935050505092915050565b6000602082019050818103600083015261482581846147ad565b905092915050565b6004811061483e5761483d6142f7565b5b50565b600081905061484f8261482d565b919050565b600061485f82614841565b9050919050565b61486f81614854565b82525050565b600060208201905061488a6000830184614866565b92915050565b61489981614389565b81146148a457600080fd5b50565b6000813590506148b681614890565b92915050565b6000602082840312156148d2576148d1613fa7565b5b60006148e0848285016148a7565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61491e81613f69565b82525050565b60006149308383614915565b60208301905092915050565b6000602082019050919050565b6000614954826148e9565b61495e81856148f4565b935061496983614905565b8060005b8381101561499a5781516149818882614924565b975061498c8361493c565b92505060018101905061496d565b5085935050505092915050565b600060208201905081810360008301526149c18184614949565b905092915050565b6000806000606084860312156149e2576149e1613fa7565b5b60006149f0868287016141ea565b9350506020614a0186828701614135565b9250506040614a1286828701614135565b9150509250925092565b614a2581614036565b8114614a3057600080fd5b50565b600081359050614a4281614a1c565b92915050565b60008060408385031215614a5f57614a5e613fa7565b5b6000614a6d858286016141ea565b9250506020614a7e85828601614a33565b9150509250929050565b600067ffffffffffffffff821115614aa357614aa2614421565b5b614aac826140b2565b9050602081019050919050565b6000614acc614ac784614a88565b614481565b905082815260208101848484011115614ae857614ae761441c565b5b614af38482856144cd565b509392505050565b600082601f830112614b1057614b0f614417565b5b8135614b20848260208601614ab9565b91505092915050565b60008060008060808587031215614b4357614b42613fa7565b5b6000614b51878288016141ea565b9450506020614b62878288016141ea565b9350506040614b7387828801614135565b925050606085013567ffffffffffffffff811115614b9457614b93613fac565b5b614ba087828801614afb565b91505092959194509250565b608082016000820151614bc260008501826146d4565b506020820151614bd560208501826146f7565b506040820151614be86040850182614706565b506060820151614bfb6060850182614724565b50505050565b6000608082019050614c166000830184614bac565b92915050565b60008083601f840112614c3257614c31614417565b5b8235905067ffffffffffffffff811115614c4f57614c4e6145fb565b5b602083019150836001820283011115614c6b57614c6a614600565b5b9250929050565b600080600060408486031215614c8b57614c8a613fa7565b5b6000614c9986828701614135565b935050602084013567ffffffffffffffff811115614cba57614cb9613fac565b5b614cc686828701614c1c565b92509250509250925092565b60008083601f840112614ce857614ce7614417565b5b8235905067ffffffffffffffff811115614d0557614d046145fb565b5b602083019150836020820283011115614d2157614d20614600565b5b9250929050565b60008060008060408587031215614d4257614d41613fa7565b5b600085013567ffffffffffffffff811115614d6057614d5f613fac565b5b614d6c87828801614605565b9450945050602085013567ffffffffffffffff811115614d8f57614d8e613fac565b5b614d9b87828801614cd2565b925092505092959194509250565b60008060408385031215614dc057614dbf613fa7565b5b6000614dce8582860161424f565b9250506020614ddf858286016141ea565b9150509250929050565b60008083601f840112614dff57614dfe614417565b5b8235905067ffffffffffffffff811115614e1c57614e1b6145fb565b5b602083019150836020820283011115614e3857614e37614600565b5b9250929050565b600080600060408486031215614e5857614e57613fa7565b5b6000614e6686828701614135565b935050602084013567ffffffffffffffff811115614e8757614e86613fac565b5b614e9386828701614de9565b92509250509250925092565b600067ffffffffffffffff821115614eba57614eb9614421565b5b602082029050602081019050919050565b6000614ede614ed984614e9f565b614481565b90508083825260208201905060208402830185811115614f0157614f00614600565b5b835b81811015614f2a5780614f16888261424f565b845260208401935050602081019050614f03565b5050509392505050565b600082601f830112614f4957614f48614417565b5b8135614f59848260208601614ecb565b91505092915050565b600067ffffffffffffffff821115614f7d57614f7c614421565b5b602082029050602081019050919050565b6000614fa1614f9c84614f62565b614481565b90508083825260208201905060208402830185811115614fc457614fc3614600565b5b835b81811015614fed5780614fd988826141ea565b845260208401935050602081019050614fc6565b5050509392505050565b600082601f83011261500c5761500b614417565b5b813561501c848260208601614f8e565b91505092915050565b6000806040838503121561503c5761503b613fa7565b5b600083013567ffffffffffffffff81111561505a57615059613fac565b5b61506685828601614f34565b925050602083013567ffffffffffffffff81111561508757615086613fac565b5b61509385828601614ff7565b9150509250929050565b600080604083850312156150b4576150b3613fa7565b5b60006150c2858286016141ea565b92505060206150d3858286016141ea565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061512457607f821691505b602082108103615137576151366150dd565b5b50919050565b60008151905061514c8161411e565b92915050565b60006020828403121561516857615167613fa7565b5b60006151768482850161513d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006151b982613f69565b91506151c483613f69565b92508282019050808211156151dc576151db61517f565b5b92915050565b60006151ed82613f69565b91506151f883613f69565b925082820261520681613f69565b9150828204841483151761521d5761521c61517f565b5b5092915050565b600081905092915050565b50565b600061523f600083615224565b915061524a8261522f565b600082019050919050565b600061526082615232565b9150819050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026152cc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261528f565b6152d6868361528f565b95508019841693508086168417925050509392505050565b6000819050919050565b600061531361530e61530984613f69565b6152ee565b613f69565b9050919050565b6000819050919050565b61532d836152f8565b6153416153398261531a565b84845461529c565b825550505050565b600090565b615356615349565b615361818484615324565b505050565b5b818110156153855761537a60008261534e565b600181019050615367565b5050565b601f8211156153ca5761539b8161526a565b6153a48461527f565b810160208510156153b3578190505b6153c76153bf8561527f565b830182615366565b50505b505050565b600082821c905092915050565b60006153ed600019846008026153cf565b1980831691505092915050565b600061540683836153dc565b9150826002028217905092915050565b61541f8261406c565b67ffffffffffffffff81111561543857615437614421565b5b615442825461510c565b61544d828285615389565b600060209050601f831160018114615480576000841561546e578287015190505b61547885826153fa565b8655506154e0565b601f19841661548e8661526a565b60005b828110156154b657848901518255600182019150602085019450602081019050615491565b868310156154d357848901516154cf601f8916826153dc565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f496e76616c696420696e70757400000000000000000000000000000000000000600082015250565b600061554d600d83614077565b915061555882615517565b602082019050919050565b6000602082019050818103600083015261557c81615540565b9050919050565b600061558e82613f69565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036155c0576155bf61517f565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615627602f83614077565b9150615632826155cb565b604082019050919050565b600060208201905081810360008301526156568161561a565b9050919050565b600081905092915050565b60006156738261406c565b61567d818561565d565b935061568d818560208601614088565b80840191505092915050565b600081546156a68161510c565b6156b0818661565d565b945060018216600081146156cb57600181146156e057615713565b60ff1983168652811515820286019350615713565b6156e98561526a565b60005b8381101561570b578154818901526001820191506020810190506156ec565b838801955050505b50505092915050565b60006157288286615668565b91506157348285615668565b91506157408284615699565b9150819050949350505050565b60008160601b9050919050565b60006157658261574d565b9050919050565b60006157778261575a565b9050919050565b61578f61578a82614197565b61576c565b82525050565b60006157a1828461577e565b60148201915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061580c602683614077565b9150615817826157b0565b604082019050919050565b6000602082019050818103600083015261583b816157ff565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615878602083614077565b915061588382615842565b602082019050919050565b600060208201905081810360008301526158a78161586b565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006158d5826158ae565b6158df81856158b9565b93506158ef818560208601614088565b6158f8816140b2565b840191505092915050565b600060808201905061591860008301876141a9565b61592560208301866141a9565b6159326040830185613f73565b818103606083015261594481846158ca565b905095945050505050565b60008151905061595e81613fdd565b92915050565b60006020828403121561597a57615979613fa7565b5b60006159888482850161594f565b91505092915050565b6000819050919050565b6159ac6159a782613f69565b615991565b82525050565b60006159be828561577e565b6014820191506159ce828461599b565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615a1882613f69565b9150615a2383613f69565b925082615a3357615a326159de565b5b828204905092915050565b6000615a4982613f69565b9150615a5483613f69565b9250828203905081811115615a6c57615a6b61517f565b5b92915050565b6000615a7d82613f69565b9150615a8883613f69565b925082615a9857615a976159de565b5b828206905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615ad9601c8361565d565b9150615ae482615aa3565b601c82019050919050565b6000819050919050565b615b0a615b0582614389565b615aef565b82525050565b6000615b1b82615acc565b9150615b278284615af9565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615b6c601883614077565b9150615b7782615b36565b602082019050919050565b60006020820190508181036000830152615b9b81615b5f565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615bd8601f83614077565b9150615be382615ba2565b602082019050919050565b60006020820190508181036000830152615c0781615bcb565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615c6a602283614077565b9150615c7582615c0e565b604082019050919050565b60006020820190508181036000830152615c9981615c5d565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615cfc602283614077565b9150615d0782615ca0565b604082019050919050565b60006020820190508181036000830152615d2b81615cef565b9050919050565b615d3b81614595565b82525050565b6000608082019050615d566000830187614393565b615d636020830186615d32565b615d706040830185614393565b615d7d6060830184614393565b9594505050505056fea26469706673582212206360ee27ec581384f12ebafc048784852cb9de9f38c1a5618e7f0249ea70109164736f6c63430008110033

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.