ETH Price: $2,513.33 (+1.81%)
Gas: 1.32 Gwei

Token

Kill Team Stabbi Collection (KTSC)
 

Overview

Max Total Supply

473 KTSC

Holders

133

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
12 KTSC
0x01207ACf8705847E112eCBF185A50d4779Ad7188
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:
Stabbi

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : Stabbi.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;

// Uncomment this line to use console.log
// import "hardhat/console.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";

contract Stabbi is ERC721A, ReentrancyGuard, Ownable {
    using Address for address;

    enum State {
        Setup,
        NormalMint,
        WhitelistMint,
        Finished
    }

    uint256 public maxSupply = 750;
    uint256 public price = 0.0012 ether;
    uint256 public capsuleCounter = 0;
    bytes32 public merkleRoot;

    State private _state;
    string private _tokenUriBase;
    IERC1155 private _greetingToken;

    mapping(uint256 => mapping(address => bool)) private _mintedInBlock;

    event mintEvent(
        address indexed user,
        uint256 quantity,
        string indexed name,
        uint256 tokenId
    );

    constructor() ERC721A("Kill Team Stabbi Collection", "KTSC") {
        _state = State.Setup;
    }

    function setBonusToken(address greetingToken) external onlyOwner {
        _greetingToken = IERC1155(greetingToken);
    }

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

    function setMaxSupply(uint256 _maxSupply) public onlyOwner {
        maxSupply = _maxSupply;
    }

    function setPrice(uint256 _price) public onlyOwner {
        price = _price;
    }

    function setStateToSetup() public onlyOwner {
        _state = State.Setup;
    }

    function setStateToNormalMint() public onlyOwner {
        _state = State.NormalMint;
    }

    function setStateToWhitelistMint() public onlyOwner {
        _state = State.WhitelistMint;
    }

    function setStateToFinished() public onlyOwner {
        _state = State.Finished;
    }

    function tokenURI(
        uint256 tokenId
    ) public view override(ERC721A) returns (string memory) {
        return
            string(abi.encodePacked(baseTokenURI(), Strings.toString(tokenId)));
    }

    function baseTokenURI() public view virtual returns (string memory) {
        return _tokenUriBase;
    }

    function setTokenBaseURI(string memory tokenUriBase) public onlyOwner {
        _tokenUriBase = tokenUriBase;
    }

    function normalMint(
        uint256 quantity,
        string memory attr
    ) external payable nonReentrant {
        address sender = msg.sender;
        uint256 blockNumber = block.number;
        require(quantity <= 5, "quantity must be less than or equal to 5");
        require(
            capsuleCounter + quantity < maxSupply + 1,
            "amount should not exceed max supply"
        );
        require(_state == State.NormalMint, "sale is not active");
        require(sender == tx.origin, "mint from contract not allowed");
        require(msg.value >= quantity * price, "ether value sent is incorrect");
        require(
            !Address.isContract(sender),
            "contracts are not allowed to mint"
        );
        require(
            _mintedInBlock[blockNumber][sender] == false,
            "already minted in this block"
        );
        _mintedInBlock[blockNumber][sender] = true;
        capsuleCounter = capsuleCounter + quantity;
        uint256 total = quantity * 3;
        if (_greetingToken.balanceOf(sender, 1) > 0) ++total;
        _safeMint(sender, total);
        uint256 tokenId = totalSupply() - total;
        emit mintEvent(sender, total, attr, tokenId);
    }

    function mintBatch(
        address receiver,
        uint256 quantity,
        string memory attr
    ) external onlyOwner {
        _safeMint(receiver, quantity);
        uint256 tokenId = totalSupply() - quantity;
        emit mintEvent(receiver, quantity, attr, tokenId);
    }

    function airdrop(
        address[] calldata wallets,
        uint256[] memory quantity,
        string[] memory attr
    ) external onlyOwner {
        require(
            wallets.length == quantity.length || wallets.length == attr.length,
            "length mismatch"
        );
        for (uint8 i = 0; i < wallets.length; i++) {
            _safeMint(wallets[i], quantity[i]);
            uint256 tokenId = totalSupply() - quantity[i];
            emit mintEvent(wallets[i], quantity[i], attr[i], tokenId);
        }
    }

    function whitelistMint(
        uint256 quantity,
        string memory attr,
        bytes32[] calldata _merkleProof
    ) external payable nonReentrant {
        address sender = msg.sender;
        uint256 blockNumber = block.number;
        require(quantity <= 5, "quantity must be less than or equal to 5");
        require(
            capsuleCounter + quantity < maxSupply+1,
            "amount should not exceed max supply"
        );
        require(_state == State.WhitelistMint, "mint is not active");
        require(sender == tx.origin, "mint from contract not allowed");
        require(msg.value >= quantity * price, "ether value sent is incorrect");
        require(
            !Address.isContract(sender),
            "contracts are not allowed to mint"
        );
        require(
            _mintedInBlock[blockNumber][sender] == false,
            "already minted in this block"
        );
        _mintedInBlock[blockNumber][sender] = true;

        bytes32 leaf = keccak256(abi.encodePacked(sender));
        require(
            MerkleProof.verify(_merkleProof, merkleRoot, leaf),
            "Invalid proof."
        );

        capsuleCounter = capsuleCounter + quantity;
        uint256 total = quantity * 3;
        if (_greetingToken.balanceOf(msg.sender, 1) > 0) ++total;

        _safeMint(msg.sender, total);
        uint256 tokenId = totalSupply() - total;
        emit mintEvent(sender, total, attr, tokenId);
    }

    function withdrawAll(address recipient) public onlyOwner {
        require(recipient != address(0), "recipient is the zero address");
        payable(recipient).transfer(address(this).balance);
    }

    function withdrawAllViaCall(address payable to) public onlyOwner {
        require(to != address(0), "recipient is the zero address");
        (bool sent, ) = to.call{value: address(this).balance}("");
        require(sent, "Failed to send Ether");
    }
}

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

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * 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.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
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 simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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 sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _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}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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 4 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 5 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

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

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

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

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

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 12 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 12 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":true,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintEvent","type":"event"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"string[]","name":"attr","type":"string[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"capsuleCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"string","name":"attr","type":"string"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"string","name":"attr","type":"string"}],"name":"normalMint","outputs":[],"stateMutability":"payable","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"greetingToken","type":"address"}],"name":"setBonusToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStateToFinished","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStateToNormalMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStateToSetup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStateToWhitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenUriBase","type":"string"}],"name":"setTokenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"quantity","type":"uint256"},{"internalType":"string","name":"attr","type":"string"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"}],"name":"withdrawAllViaCall","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526102ee600a5566044364c5bb0000600b556000600c553480156200002757600080fd5b506040518060400160405280601b81526020017f4b696c6c205465616d2053746162626920436f6c6c656374696f6e00000000008152506040518060400160405280600481526020017f4b545343000000000000000000000000000000000000000000000000000000008152508160029081620000a5919062000479565b508060039081620000b7919062000479565b50620000c86200012c60201b60201c565b60008190555050506001600881905550620000f8620000ec6200013160201b60201c565b6200013960201b60201c565b6000600e60006101000a81548160ff0219169083600381111562000121576200012062000560565b5b02179055506200058f565b600090565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200028157607f821691505b60208210810362000297576200029662000239565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002c2565b6200030d8683620002c2565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200035a620003546200034e8462000325565b6200032f565b62000325565b9050919050565b6000819050919050565b620003768362000339565b6200038e620003858262000361565b848454620002cf565b825550505050565b600090565b620003a562000396565b620003b28184846200036b565b505050565b5b81811015620003da57620003ce6000826200039b565b600181019050620003b8565b5050565b601f8211156200042957620003f3816200029d565b620003fe84620002b2565b810160208510156200040e578190505b620004266200041d85620002b2565b830182620003b7565b50505b505050565b600082821c905092915050565b60006200044e600019846008026200042e565b1980831691505092915050565b60006200046983836200043b565b9150826002028217905092915050565b6200048482620001ff565b67ffffffffffffffff811115620004a0576200049f6200020a565b5b620004ac825462000268565b620004b9828285620003de565b600060209050601f831160018114620004f15760008415620004dc578287015190505b620004e885826200045b565b86555062000558565b601f19841662000501866200029d565b60005b828110156200052b5784890151825560018201915060208501945060208101905062000504565b868310156200054b578489015162000547601f8916826200043b565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b614845806200059f6000396000f3fe60806040526004361061021a5760003560e01c8063827c32f311610123578063b2eaeaaa116100ab578063d5abeb011161006f578063d5abeb0114610718578063e8d1ebaf14610743578063e985e9c51461075f578063f2fde38b1461079c578063fa09e630146107c55761021a565b8063b2eaeaaa14610640578063b88d4fde14610669578063c87b56dd14610685578063d2db53d7146106c2578063d547cfb7146106ed5761021a565b806395d89b41116100f257806395d89b4114610581578063a035b1fe146105ac578063a22cb465146105d7578063a905821a14610600578063b0384ea1146106295761021a565b8063827c32f3146104ed5780638da5cb5b146105045780638ef79e911461052f57806391b7f5ed146105585761021a565b806331e4737b116101a65780636352211e116101755780636352211e1461040a5780636f8b44b01461044757806370a0823114610470578063715018a6146104ad5780637cb64759146104c45761021a565b806331e4737b1461038557806342842e0e146103ae57806342d5b8e0146103ca578063443cc499146103e15761021a565b806316afebe5116101ed57806316afebe5146102e057806318160ddd146102fc57806323af88271461032757806323b872dd1461033e5780632eb4a7ab1461035a5761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190612dfe565b6107ee565b6040516102539190612e46565b60405180910390f35b34801561026857600080fd5b50610271610880565b60405161027e9190612ef1565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a99190612f49565b610912565b6040516102bb9190612fb7565b60405180910390f35b6102de60048036038101906102d99190612ffe565b610991565b005b6102fa60048036038101906102f591906131d3565b610ad5565b005b34801561030857600080fd5b5061031161103c565b60405161031e9190613272565b60405180910390f35b34801561033357600080fd5b5061033c611053565b005b6103586004803603810190610353919061328d565b611088565b005b34801561036657600080fd5b5061036f6113aa565b60405161037c91906132f9565b60405180910390f35b34801561039157600080fd5b506103ac60048036038101906103a79190613314565b6113b0565b005b6103c860048036038101906103c3919061328d565b611445565b005b3480156103d657600080fd5b506103df611465565b005b3480156103ed57600080fd5b506104086004803603810190610403919061357d565b61149a565b005b34801561041657600080fd5b50610431600480360381019061042c9190612f49565b611671565b60405161043e9190612fb7565b60405180910390f35b34801561045357600080fd5b5061046e60048036038101906104699190612f49565b611683565b005b34801561047c57600080fd5b5061049760048036038101906104929190613629565b611695565b6040516104a49190613272565b60405180910390f35b3480156104b957600080fd5b506104c261174d565b005b3480156104d057600080fd5b506104eb60048036038101906104e69190613682565b611761565b005b3480156104f957600080fd5b50610502611773565b005b34801561051057600080fd5b506105196117a8565b6040516105269190612fb7565b60405180910390f35b34801561053b57600080fd5b50610556600480360381019061055191906136af565b6117d2565b005b34801561056457600080fd5b5061057f600480360381019061057a9190612f49565b6117ed565b005b34801561058d57600080fd5b506105966117ff565b6040516105a39190612ef1565b60405180910390f35b3480156105b857600080fd5b506105c1611891565b6040516105ce9190613272565b60405180910390f35b3480156105e357600080fd5b506105fe60048036038101906105f99190613724565b611897565b005b34801561060c57600080fd5b50610627600480360381019061062291906137a2565b6119a2565b005b34801561063557600080fd5b5061063e611ac9565b005b34801561064c57600080fd5b5061066760048036038101906106629190613629565b611afe565b005b610683600480360381019061067e9190613870565b611b4a565b005b34801561069157600080fd5b506106ac60048036038101906106a79190612f49565b611bbd565b6040516106b99190612ef1565b60405180910390f35b3480156106ce57600080fd5b506106d7611bf7565b6040516106e49190613272565b60405180910390f35b3480156106f957600080fd5b50610702611bfd565b60405161070f9190612ef1565b60405180910390f35b34801561072457600080fd5b5061072d611c8f565b60405161073a9190613272565b60405180910390f35b61075d600480360381019061075891906138f3565b611c95565b005b34801561076b57600080fd5b506107866004803603810190610781919061394f565b612141565b6040516107939190612e46565b60405180910390f35b3480156107a857600080fd5b506107c360048036038101906107be9190613629565b6121d5565b005b3480156107d157600080fd5b506107ec60048036038101906107e79190613629565b612258565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061084957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108795750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461088f906139be565b80601f01602080910402602001604051908101604052809291908181526020018280546108bb906139be565b80156109085780601f106108dd57610100808354040283529160200191610908565b820191906000526020600020905b8154815290600101906020018083116108eb57829003601f168201915b5050505050905090565b600061091d82612319565b610953576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061099c82611671565b90508073ffffffffffffffffffffffffffffffffffffffff166109bd612378565b73ffffffffffffffffffffffffffffffffffffffff1614610a20576109e9816109e4612378565b612141565b610a1f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610add612380565b600033905060004390506005861115610b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2290613a61565b60405180910390fd5b6001600a54610b3a9190613ab0565b86600c54610b489190613ab0565b10610b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7f90613b56565b60405180910390fd5b60026003811115610b9c57610b9b613b76565b5b600e60009054906101000a900460ff166003811115610bbe57610bbd613b76565b5b14610bfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf590613bf1565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6390613c5d565b60405180910390fd5b600b5486610c7a9190613c7d565b341015610cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb390613d0b565b60405180910390fd5b610cc5826123cf565b15610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90613d9d565b60405180910390fd5b600015156011600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da090613e09565b60405180910390fd5b60016011600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600082604051602001610e259190613e71565b604051602081830303815290604052805190602001209050610e8b858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d54836123f2565b610eca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec190613ed8565b60405180910390fd5b86600c54610ed89190613ab0565b600c819055506000600388610eed9190613c7d565b90506000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b8152600401610f4e929190613f3d565b602060405180830381865afa158015610f6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8f9190613f7b565b1115610fa25780610f9f90613fa8565b90505b610fac3382612409565b600081610fb761103c565b610fc19190613ff0565b905087604051610fd19190614060565b60405180910390208573ffffffffffffffffffffffffffffffffffffffff167f6f6e6b32eea0c8ccd59bf49fd556d70c51074e6a6cb4e575da0506e18e75a7be8484604051611021929190614077565b60405180910390a35050505050611036612427565b50505050565b6000611046612431565b6001546000540303905090565b61105b612436565b6000600e60006101000a81548160ff0219169083600381111561108157611080613b76565b5b0217905550565b6000611093826124b4565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110fa576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061110684612580565b9150915061111c8187611117612378565b6125a7565b611168576111318661112c612378565b612141565b611167576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036111ce576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111db86868660016125eb565b80156111e657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506112b4856112908888876125f1565b7c020000000000000000000000000000000000000000000000000000000017612619565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361133a5760006001850190506000600460008381526020019081526020016000205403611338576000548114611337578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46113a28686866001612644565b505050505050565b600d5481565b6113b8612436565b6113c28383612409565b6000826113cd61103c565b6113d79190613ff0565b9050816040516113e79190614060565b60405180910390208473ffffffffffffffffffffffffffffffffffffffff167f6f6e6b32eea0c8ccd59bf49fd556d70c51074e6a6cb4e575da0506e18e75a7be8584604051611437929190614077565b60405180910390a350505050565b61146083838360405180602001604052806000815250611b4a565b505050565b61146d612436565b6001600e60006101000a81548160ff0219169083600381111561149357611492613b76565b5b0217905550565b6114a2612436565b81518484905014806114b75750805184849050145b6114f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ed906140ec565b60405180910390fd5b60005b848490508160ff16101561166a5761155885858360ff168181106115205761151f61410c565b5b90506020020160208101906115359190613629565b848360ff168151811061154b5761154a61410c565b5b6020026020010151612409565b6000838260ff16815181106115705761156f61410c565b5b602002602001015161158061103c565b61158a9190613ff0565b9050828260ff16815181106115a2576115a161410c565b5b60200260200101516040516115b79190614060565b604051809103902086868460ff168181106115d5576115d461410c565b5b90506020020160208101906115ea9190613629565b73ffffffffffffffffffffffffffffffffffffffff167f6f6e6b32eea0c8ccd59bf49fd556d70c51074e6a6cb4e575da0506e18e75a7be868560ff16815181106116375761163661410c565b5b60200260200101518460405161164e929190614077565b60405180910390a350808061166290614148565b9150506114f9565b5050505050565b600061167c826124b4565b9050919050565b61168b612436565b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116fc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611755612436565b61175f600061264a565b565b611769612436565b80600d8190555050565b61177b612436565b6002600e60006101000a81548160ff021916908360038111156117a1576117a0613b76565b5b0217905550565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117da612436565b80600f90816117e99190614313565b5050565b6117f5612436565b80600b8190555050565b60606003805461180e906139be565b80601f016020809104026020016040519081016040528092919081815260200182805461183a906139be565b80156118875780601f1061185c57610100808354040283529160200191611887565b820191906000526020600020905b81548152906001019060200180831161186a57829003601f168201915b5050505050905090565b600b5481565b80600760006118a4612378565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611951612378565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119969190612e46565b60405180910390a35050565b6119aa612436565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1090614431565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff1647604051611a3f90614482565b60006040518083038185875af1925050503d8060008114611a7c576040519150601f19603f3d011682016040523d82523d6000602084013e611a81565b606091505b5050905080611ac5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abc906144e3565b60405180910390fd5b5050565b611ad1612436565b6003600e60006101000a81548160ff02191690836003811115611af757611af6613b76565b5b0217905550565b611b06612436565b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611b55848484611088565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611bb757611b8084848484612710565b611bb6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611bc7611bfd565b611bd083612860565b604051602001611be1929190614503565b6040516020818303038152906040529050919050565b600c5481565b6060600f8054611c0c906139be565b80601f0160208091040260200160405190810160405280929190818152602001828054611c38906139be565b8015611c855780601f10611c5a57610100808354040283529160200191611c85565b820191906000526020600020905b815481529060010190602001808311611c6857829003601f168201915b5050505050905090565b600a5481565b611c9d612380565b600033905060004390506005841115611ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce290613a61565b60405180910390fd5b6001600a54611cfa9190613ab0565b84600c54611d089190613ab0565b10611d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3f90613b56565b60405180910390fd5b60016003811115611d5c57611d5b613b76565b5b600e60009054906101000a900460ff166003811115611d7e57611d7d613b76565b5b14611dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db590614573565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2390613c5d565b60405180910390fd5b600b5484611e3a9190613c7d565b341015611e7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7390613d0b565b60405180910390fd5b611e85826123cf565b15611ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebc90613d9d565b60405180910390fd5b600015156011600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611f69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6090613e09565b60405180910390fd5b60016011600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555083600c54611fe09190613ab0565b600c819055506000600385611ff59190613c7d565b90506000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e8560016040518363ffffffff1660e01b8152600401612056929190613f3d565b602060405180830381865afa158015612073573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120979190613f7b565b11156120aa57806120a790613fa8565b90505b6120b48382612409565b6000816120bf61103c565b6120c99190613ff0565b9050846040516120d99190614060565b60405180910390208473ffffffffffffffffffffffffffffffffffffffff167f6f6e6b32eea0c8ccd59bf49fd556d70c51074e6a6cb4e575da0506e18e75a7be8484604051612129929190614077565b60405180910390a35050505061213d612427565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6121dd612436565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361224c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224390614605565b60405180910390fd5b6122558161264a565b50565b612260612436565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036122cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c690614431565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015612315573d6000803e3d6000fd5b5050565b600081612324612431565b11158015612333575060005482105b8015612371575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b6002600854036123c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bc90614671565b60405180910390fd5b6002600881905550565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000826123ff858461292e565b1490509392505050565b612423828260405180602001604052806000815250612984565b5050565b6001600881905550565b600090565b61243e612a21565b73ffffffffffffffffffffffffffffffffffffffff1661245c6117a8565b73ffffffffffffffffffffffffffffffffffffffff16146124b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a9906146dd565b60405180910390fd5b565b600080829050806124c3612431565b11612549576000548110156125485760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612546575b6000810361253c576004600083600190039350838152602001908152602001600020549050612512565b809250505061257b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612608868684612a29565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612736612378565b8786866040518563ffffffff1660e01b81526004016127589493929190614752565b6020604051808303816000875af192505050801561279457506040513d601f19601f8201168201806040525081019061279191906147b3565b60015b61280d573d80600081146127c4576040519150601f19603f3d011682016040523d82523d6000602084013e6127c9565b606091505b506000815103612805576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000600161286f84612a32565b01905060008167ffffffffffffffff81111561288e5761288d613048565b5b6040519080825280601f01601f1916602001820160405280156128c05781602001600182028036833780820191505090505b509050600082602001820190505b600115612923578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612917576129166147e0565b5b049450600085036128ce575b819350505050919050565b60008082905060005b845181101561297957612964828683815181106129575761295661410c565b5b6020026020010151612b85565b9150808061297190613fa8565b915050612937565b508091505092915050565b61298e8383612bb0565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612a1c57600080549050600083820390505b6129ce6000868380600101945086612710565b612a04576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106129bb578160005414612a1957600080fd5b50505b505050565b600033905090565b60009392505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612a90577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612a8657612a856147e0565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612acd576d04ee2d6d415b85acef81000000008381612ac357612ac26147e0565b5b0492506020810190505b662386f26fc100008310612afc57662386f26fc100008381612af257612af16147e0565b5b0492506010810190505b6305f5e1008310612b25576305f5e1008381612b1b57612b1a6147e0565b5b0492506008810190505b6127108310612b4a576127108381612b4057612b3f6147e0565b5b0492506004810190505b60648310612b6d5760648381612b6357612b626147e0565b5b0492506002810190505b600a8310612b7c576001810190505b80915050919050565b6000818310612b9d57612b988284612d6b565b612ba8565b612ba78383612d6b565b5b905092915050565b60008054905060008203612bf0576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612bfd60008483856125eb565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612c7483612c6560008660006125f1565b612c6e85612d82565b17612619565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612d1557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612cda565b5060008203612d50576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612d666000848385612644565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ddb81612da6565b8114612de657600080fd5b50565b600081359050612df881612dd2565b92915050565b600060208284031215612e1457612e13612d9c565b5b6000612e2284828501612de9565b91505092915050565b60008115159050919050565b612e4081612e2b565b82525050565b6000602082019050612e5b6000830184612e37565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e9b578082015181840152602081019050612e80565b60008484015250505050565b6000601f19601f8301169050919050565b6000612ec382612e61565b612ecd8185612e6c565b9350612edd818560208601612e7d565b612ee681612ea7565b840191505092915050565b60006020820190508181036000830152612f0b8184612eb8565b905092915050565b6000819050919050565b612f2681612f13565b8114612f3157600080fd5b50565b600081359050612f4381612f1d565b92915050565b600060208284031215612f5f57612f5e612d9c565b5b6000612f6d84828501612f34565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612fa182612f76565b9050919050565b612fb181612f96565b82525050565b6000602082019050612fcc6000830184612fa8565b92915050565b612fdb81612f96565b8114612fe657600080fd5b50565b600081359050612ff881612fd2565b92915050565b6000806040838503121561301557613014612d9c565b5b600061302385828601612fe9565b925050602061303485828601612f34565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61308082612ea7565b810181811067ffffffffffffffff8211171561309f5761309e613048565b5b80604052505050565b60006130b2612d92565b90506130be8282613077565b919050565b600067ffffffffffffffff8211156130de576130dd613048565b5b6130e782612ea7565b9050602081019050919050565b82818337600083830152505050565b6000613116613111846130c3565b6130a8565b90508281526020810184848401111561313257613131613043565b5b61313d8482856130f4565b509392505050565b600082601f83011261315a5761315961303e565b5b813561316a848260208601613103565b91505092915050565b600080fd5b600080fd5b60008083601f8401126131935761319261303e565b5b8235905067ffffffffffffffff8111156131b0576131af613173565b5b6020830191508360208202830111156131cc576131cb613178565b5b9250929050565b600080600080606085870312156131ed576131ec612d9c565b5b60006131fb87828801612f34565b945050602085013567ffffffffffffffff81111561321c5761321b612da1565b5b61322887828801613145565b935050604085013567ffffffffffffffff81111561324957613248612da1565b5b6132558782880161317d565b925092505092959194509250565b61326c81612f13565b82525050565b60006020820190506132876000830184613263565b92915050565b6000806000606084860312156132a6576132a5612d9c565b5b60006132b486828701612fe9565b93505060206132c586828701612fe9565b92505060406132d686828701612f34565b9150509250925092565b6000819050919050565b6132f3816132e0565b82525050565b600060208201905061330e60008301846132ea565b92915050565b60008060006060848603121561332d5761332c612d9c565b5b600061333b86828701612fe9565b935050602061334c86828701612f34565b925050604084013567ffffffffffffffff81111561336d5761336c612da1565b5b61337986828701613145565b9150509250925092565b60008083601f8401126133995761339861303e565b5b8235905067ffffffffffffffff8111156133b6576133b5613173565b5b6020830191508360208202830111156133d2576133d1613178565b5b9250929050565b600067ffffffffffffffff8211156133f4576133f3613048565b5b602082029050602081019050919050565b6000613418613413846133d9565b6130a8565b9050808382526020820190506020840283018581111561343b5761343a613178565b5b835b8181101561346457806134508882612f34565b84526020840193505060208101905061343d565b5050509392505050565b600082601f8301126134835761348261303e565b5b8135613493848260208601613405565b91505092915050565b600067ffffffffffffffff8211156134b7576134b6613048565b5b602082029050602081019050919050565b60006134db6134d68461349c565b6130a8565b905080838252602082019050602084028301858111156134fe576134fd613178565b5b835b8181101561354557803567ffffffffffffffff8111156135235761352261303e565b5b8086016135308982613145565b85526020850194505050602081019050613500565b5050509392505050565b600082601f8301126135645761356361303e565b5b81356135748482602086016134c8565b91505092915050565b6000806000806060858703121561359757613596612d9c565b5b600085013567ffffffffffffffff8111156135b5576135b4612da1565b5b6135c187828801613383565b9450945050602085013567ffffffffffffffff8111156135e4576135e3612da1565b5b6135f08782880161346e565b925050604085013567ffffffffffffffff81111561361157613610612da1565b5b61361d8782880161354f565b91505092959194509250565b60006020828403121561363f5761363e612d9c565b5b600061364d84828501612fe9565b91505092915050565b61365f816132e0565b811461366a57600080fd5b50565b60008135905061367c81613656565b92915050565b60006020828403121561369857613697612d9c565b5b60006136a68482850161366d565b91505092915050565b6000602082840312156136c5576136c4612d9c565b5b600082013567ffffffffffffffff8111156136e3576136e2612da1565b5b6136ef84828501613145565b91505092915050565b61370181612e2b565b811461370c57600080fd5b50565b60008135905061371e816136f8565b92915050565b6000806040838503121561373b5761373a612d9c565b5b600061374985828601612fe9565b925050602061375a8582860161370f565b9150509250929050565b600061376f82612f76565b9050919050565b61377f81613764565b811461378a57600080fd5b50565b60008135905061379c81613776565b92915050565b6000602082840312156137b8576137b7612d9c565b5b60006137c68482850161378d565b91505092915050565b600067ffffffffffffffff8211156137ea576137e9613048565b5b6137f382612ea7565b9050602081019050919050565b600061381361380e846137cf565b6130a8565b90508281526020810184848401111561382f5761382e613043565b5b61383a8482856130f4565b509392505050565b600082601f8301126138575761385661303e565b5b8135613867848260208601613800565b91505092915050565b6000806000806080858703121561388a57613889612d9c565b5b600061389887828801612fe9565b94505060206138a987828801612fe9565b93505060406138ba87828801612f34565b925050606085013567ffffffffffffffff8111156138db576138da612da1565b5b6138e787828801613842565b91505092959194509250565b6000806040838503121561390a57613909612d9c565b5b600061391885828601612f34565b925050602083013567ffffffffffffffff81111561393957613938612da1565b5b61394585828601613145565b9150509250929050565b6000806040838503121561396657613965612d9c565b5b600061397485828601612fe9565b925050602061398585828601612fe9565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806139d657607f821691505b6020821081036139e9576139e861398f565b5b50919050565b7f7175616e74697479206d757374206265206c657373207468616e206f7220657160008201527f75616c20746f2035000000000000000000000000000000000000000000000000602082015250565b6000613a4b602883612e6c565b9150613a56826139ef565b604082019050919050565b60006020820190508181036000830152613a7a81613a3e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613abb82612f13565b9150613ac683612f13565b9250828201905080821115613ade57613add613a81565b5b92915050565b7f616d6f756e742073686f756c64206e6f7420657863656564206d61782073757060008201527f706c790000000000000000000000000000000000000000000000000000000000602082015250565b6000613b40602383612e6c565b9150613b4b82613ae4565b604082019050919050565b60006020820190508181036000830152613b6f81613b33565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f6d696e74206973206e6f74206163746976650000000000000000000000000000600082015250565b6000613bdb601283612e6c565b9150613be682613ba5565b602082019050919050565b60006020820190508181036000830152613c0a81613bce565b9050919050565b7f6d696e742066726f6d20636f6e7472616374206e6f7420616c6c6f7765640000600082015250565b6000613c47601e83612e6c565b9150613c5282613c11565b602082019050919050565b60006020820190508181036000830152613c7681613c3a565b9050919050565b6000613c8882612f13565b9150613c9383612f13565b9250828202613ca181612f13565b91508282048414831517613cb857613cb7613a81565b5b5092915050565b7f65746865722076616c75652073656e7420697320696e636f7272656374000000600082015250565b6000613cf5601d83612e6c565b9150613d0082613cbf565b602082019050919050565b60006020820190508181036000830152613d2481613ce8565b9050919050565b7f636f6e74726163747320617265206e6f7420616c6c6f77656420746f206d696e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d87602183612e6c565b9150613d9282613d2b565b604082019050919050565b60006020820190508181036000830152613db681613d7a565b9050919050565b7f616c7265616479206d696e74656420696e207468697320626c6f636b00000000600082015250565b6000613df3601c83612e6c565b9150613dfe82613dbd565b602082019050919050565b60006020820190508181036000830152613e2281613de6565b9050919050565b60008160601b9050919050565b6000613e4182613e29565b9050919050565b6000613e5382613e36565b9050919050565b613e6b613e6682612f96565b613e48565b82525050565b6000613e7d8284613e5a565b60148201915081905092915050565b7f496e76616c69642070726f6f662e000000000000000000000000000000000000600082015250565b6000613ec2600e83612e6c565b9150613ecd82613e8c565b602082019050919050565b60006020820190508181036000830152613ef181613eb5565b9050919050565b6000819050919050565b6000819050919050565b6000613f27613f22613f1d84613ef8565b613f02565b612f13565b9050919050565b613f3781613f0c565b82525050565b6000604082019050613f526000830185612fa8565b613f5f6020830184613f2e565b9392505050565b600081519050613f7581612f1d565b92915050565b600060208284031215613f9157613f90612d9c565b5b6000613f9f84828501613f66565b91505092915050565b6000613fb382612f13565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613fe557613fe4613a81565b5b600182019050919050565b6000613ffb82612f13565b915061400683612f13565b925082820390508181111561401e5761401d613a81565b5b92915050565b600081905092915050565b600061403a82612e61565b6140448185614024565b9350614054818560208601612e7d565b80840191505092915050565b600061406c828461402f565b915081905092915050565b600060408201905061408c6000830185613263565b6140996020830184613263565b9392505050565b7f6c656e677468206d69736d617463680000000000000000000000000000000000600082015250565b60006140d6600f83612e6c565b91506140e1826140a0565b602082019050919050565b60006020820190508181036000830152614105816140c9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff82169050919050565b60006141538261413b565b915060ff820361416657614165613a81565b5b600182019050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026141d37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614196565b6141dd8683614196565b95508019841693508086168417925050509392505050565b600061421061420b61420684612f13565b613f02565b612f13565b9050919050565b6000819050919050565b61422a836141f5565b61423e61423682614217565b8484546141a3565b825550505050565b600090565b614253614246565b61425e818484614221565b505050565b5b818110156142825761427760008261424b565b600181019050614264565b5050565b601f8211156142c75761429881614171565b6142a184614186565b810160208510156142b0578190505b6142c46142bc85614186565b830182614263565b50505b505050565b600082821c905092915050565b60006142ea600019846008026142cc565b1980831691505092915050565b600061430383836142d9565b9150826002028217905092915050565b61431c82612e61565b67ffffffffffffffff81111561433557614334613048565b5b61433f82546139be565b61434a828285614286565b600060209050601f83116001811461437d576000841561436b578287015190505b61437585826142f7565b8655506143dd565b601f19841661438b86614171565b60005b828110156143b35784890151825560018201915060208501945060208101905061438e565b868310156143d057848901516143cc601f8916826142d9565b8355505b6001600288020188555050505b505050505050565b7f726563697069656e7420697320746865207a65726f2061646472657373000000600082015250565b600061441b601d83612e6c565b9150614426826143e5565b602082019050919050565b6000602082019050818103600083015261444a8161440e565b9050919050565b600081905092915050565b50565b600061446c600083614451565b91506144778261445c565b600082019050919050565b600061448d8261445f565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b60006144cd601483612e6c565b91506144d882614497565b602082019050919050565b600060208201905081810360008301526144fc816144c0565b9050919050565b600061450f828561402f565b915061451b828461402f565b91508190509392505050565b7f73616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b600061455d601283612e6c565b915061456882614527565b602082019050919050565b6000602082019050818103600083015261458c81614550565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145ef602683612e6c565b91506145fa82614593565b604082019050919050565b6000602082019050818103600083015261461e816145e2565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061465b601f83612e6c565b915061466682614625565b602082019050919050565b6000602082019050818103600083015261468a8161464e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006146c7602083612e6c565b91506146d282614691565b602082019050919050565b600060208201905081810360008301526146f6816146ba565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614724826146fd565b61472e8185614708565b935061473e818560208601612e7d565b61474781612ea7565b840191505092915050565b60006080820190506147676000830187612fa8565b6147746020830186612fa8565b6147816040830185613263565b81810360608301526147938184614719565b905095945050505050565b6000815190506147ad81612dd2565b92915050565b6000602082840312156147c9576147c8612d9c565b5b60006147d78482850161479e565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea26469706673582212204cd456eae88534cf38c16ed2bdf87031e497367656673a4a4b8838b4fe19384a64736f6c63430008120033

Deployed Bytecode

0x60806040526004361061021a5760003560e01c8063827c32f311610123578063b2eaeaaa116100ab578063d5abeb011161006f578063d5abeb0114610718578063e8d1ebaf14610743578063e985e9c51461075f578063f2fde38b1461079c578063fa09e630146107c55761021a565b8063b2eaeaaa14610640578063b88d4fde14610669578063c87b56dd14610685578063d2db53d7146106c2578063d547cfb7146106ed5761021a565b806395d89b41116100f257806395d89b4114610581578063a035b1fe146105ac578063a22cb465146105d7578063a905821a14610600578063b0384ea1146106295761021a565b8063827c32f3146104ed5780638da5cb5b146105045780638ef79e911461052f57806391b7f5ed146105585761021a565b806331e4737b116101a65780636352211e116101755780636352211e1461040a5780636f8b44b01461044757806370a0823114610470578063715018a6146104ad5780637cb64759146104c45761021a565b806331e4737b1461038557806342842e0e146103ae57806342d5b8e0146103ca578063443cc499146103e15761021a565b806316afebe5116101ed57806316afebe5146102e057806318160ddd146102fc57806323af88271461032757806323b872dd1461033e5780632eb4a7ab1461035a5761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190612dfe565b6107ee565b6040516102539190612e46565b60405180910390f35b34801561026857600080fd5b50610271610880565b60405161027e9190612ef1565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a99190612f49565b610912565b6040516102bb9190612fb7565b60405180910390f35b6102de60048036038101906102d99190612ffe565b610991565b005b6102fa60048036038101906102f591906131d3565b610ad5565b005b34801561030857600080fd5b5061031161103c565b60405161031e9190613272565b60405180910390f35b34801561033357600080fd5b5061033c611053565b005b6103586004803603810190610353919061328d565b611088565b005b34801561036657600080fd5b5061036f6113aa565b60405161037c91906132f9565b60405180910390f35b34801561039157600080fd5b506103ac60048036038101906103a79190613314565b6113b0565b005b6103c860048036038101906103c3919061328d565b611445565b005b3480156103d657600080fd5b506103df611465565b005b3480156103ed57600080fd5b506104086004803603810190610403919061357d565b61149a565b005b34801561041657600080fd5b50610431600480360381019061042c9190612f49565b611671565b60405161043e9190612fb7565b60405180910390f35b34801561045357600080fd5b5061046e60048036038101906104699190612f49565b611683565b005b34801561047c57600080fd5b5061049760048036038101906104929190613629565b611695565b6040516104a49190613272565b60405180910390f35b3480156104b957600080fd5b506104c261174d565b005b3480156104d057600080fd5b506104eb60048036038101906104e69190613682565b611761565b005b3480156104f957600080fd5b50610502611773565b005b34801561051057600080fd5b506105196117a8565b6040516105269190612fb7565b60405180910390f35b34801561053b57600080fd5b50610556600480360381019061055191906136af565b6117d2565b005b34801561056457600080fd5b5061057f600480360381019061057a9190612f49565b6117ed565b005b34801561058d57600080fd5b506105966117ff565b6040516105a39190612ef1565b60405180910390f35b3480156105b857600080fd5b506105c1611891565b6040516105ce9190613272565b60405180910390f35b3480156105e357600080fd5b506105fe60048036038101906105f99190613724565b611897565b005b34801561060c57600080fd5b50610627600480360381019061062291906137a2565b6119a2565b005b34801561063557600080fd5b5061063e611ac9565b005b34801561064c57600080fd5b5061066760048036038101906106629190613629565b611afe565b005b610683600480360381019061067e9190613870565b611b4a565b005b34801561069157600080fd5b506106ac60048036038101906106a79190612f49565b611bbd565b6040516106b99190612ef1565b60405180910390f35b3480156106ce57600080fd5b506106d7611bf7565b6040516106e49190613272565b60405180910390f35b3480156106f957600080fd5b50610702611bfd565b60405161070f9190612ef1565b60405180910390f35b34801561072457600080fd5b5061072d611c8f565b60405161073a9190613272565b60405180910390f35b61075d600480360381019061075891906138f3565b611c95565b005b34801561076b57600080fd5b506107866004803603810190610781919061394f565b612141565b6040516107939190612e46565b60405180910390f35b3480156107a857600080fd5b506107c360048036038101906107be9190613629565b6121d5565b005b3480156107d157600080fd5b506107ec60048036038101906107e79190613629565b612258565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061084957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108795750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461088f906139be565b80601f01602080910402602001604051908101604052809291908181526020018280546108bb906139be565b80156109085780601f106108dd57610100808354040283529160200191610908565b820191906000526020600020905b8154815290600101906020018083116108eb57829003601f168201915b5050505050905090565b600061091d82612319565b610953576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061099c82611671565b90508073ffffffffffffffffffffffffffffffffffffffff166109bd612378565b73ffffffffffffffffffffffffffffffffffffffff1614610a20576109e9816109e4612378565b612141565b610a1f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610add612380565b600033905060004390506005861115610b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2290613a61565b60405180910390fd5b6001600a54610b3a9190613ab0565b86600c54610b489190613ab0565b10610b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7f90613b56565b60405180910390fd5b60026003811115610b9c57610b9b613b76565b5b600e60009054906101000a900460ff166003811115610bbe57610bbd613b76565b5b14610bfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf590613bf1565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6390613c5d565b60405180910390fd5b600b5486610c7a9190613c7d565b341015610cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb390613d0b565b60405180910390fd5b610cc5826123cf565b15610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90613d9d565b60405180910390fd5b600015156011600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da090613e09565b60405180910390fd5b60016011600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600082604051602001610e259190613e71565b604051602081830303815290604052805190602001209050610e8b858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d54836123f2565b610eca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec190613ed8565b60405180910390fd5b86600c54610ed89190613ab0565b600c819055506000600388610eed9190613c7d565b90506000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b8152600401610f4e929190613f3d565b602060405180830381865afa158015610f6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8f9190613f7b565b1115610fa25780610f9f90613fa8565b90505b610fac3382612409565b600081610fb761103c565b610fc19190613ff0565b905087604051610fd19190614060565b60405180910390208573ffffffffffffffffffffffffffffffffffffffff167f6f6e6b32eea0c8ccd59bf49fd556d70c51074e6a6cb4e575da0506e18e75a7be8484604051611021929190614077565b60405180910390a35050505050611036612427565b50505050565b6000611046612431565b6001546000540303905090565b61105b612436565b6000600e60006101000a81548160ff0219169083600381111561108157611080613b76565b5b0217905550565b6000611093826124b4565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110fa576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061110684612580565b9150915061111c8187611117612378565b6125a7565b611168576111318661112c612378565b612141565b611167576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036111ce576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111db86868660016125eb565b80156111e657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506112b4856112908888876125f1565b7c020000000000000000000000000000000000000000000000000000000017612619565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361133a5760006001850190506000600460008381526020019081526020016000205403611338576000548114611337578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46113a28686866001612644565b505050505050565b600d5481565b6113b8612436565b6113c28383612409565b6000826113cd61103c565b6113d79190613ff0565b9050816040516113e79190614060565b60405180910390208473ffffffffffffffffffffffffffffffffffffffff167f6f6e6b32eea0c8ccd59bf49fd556d70c51074e6a6cb4e575da0506e18e75a7be8584604051611437929190614077565b60405180910390a350505050565b61146083838360405180602001604052806000815250611b4a565b505050565b61146d612436565b6001600e60006101000a81548160ff0219169083600381111561149357611492613b76565b5b0217905550565b6114a2612436565b81518484905014806114b75750805184849050145b6114f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ed906140ec565b60405180910390fd5b60005b848490508160ff16101561166a5761155885858360ff168181106115205761151f61410c565b5b90506020020160208101906115359190613629565b848360ff168151811061154b5761154a61410c565b5b6020026020010151612409565b6000838260ff16815181106115705761156f61410c565b5b602002602001015161158061103c565b61158a9190613ff0565b9050828260ff16815181106115a2576115a161410c565b5b60200260200101516040516115b79190614060565b604051809103902086868460ff168181106115d5576115d461410c565b5b90506020020160208101906115ea9190613629565b73ffffffffffffffffffffffffffffffffffffffff167f6f6e6b32eea0c8ccd59bf49fd556d70c51074e6a6cb4e575da0506e18e75a7be868560ff16815181106116375761163661410c565b5b60200260200101518460405161164e929190614077565b60405180910390a350808061166290614148565b9150506114f9565b5050505050565b600061167c826124b4565b9050919050565b61168b612436565b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116fc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611755612436565b61175f600061264a565b565b611769612436565b80600d8190555050565b61177b612436565b6002600e60006101000a81548160ff021916908360038111156117a1576117a0613b76565b5b0217905550565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117da612436565b80600f90816117e99190614313565b5050565b6117f5612436565b80600b8190555050565b60606003805461180e906139be565b80601f016020809104026020016040519081016040528092919081815260200182805461183a906139be565b80156118875780601f1061185c57610100808354040283529160200191611887565b820191906000526020600020905b81548152906001019060200180831161186a57829003601f168201915b5050505050905090565b600b5481565b80600760006118a4612378565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611951612378565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119969190612e46565b60405180910390a35050565b6119aa612436565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1090614431565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff1647604051611a3f90614482565b60006040518083038185875af1925050503d8060008114611a7c576040519150601f19603f3d011682016040523d82523d6000602084013e611a81565b606091505b5050905080611ac5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abc906144e3565b60405180910390fd5b5050565b611ad1612436565b6003600e60006101000a81548160ff02191690836003811115611af757611af6613b76565b5b0217905550565b611b06612436565b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611b55848484611088565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611bb757611b8084848484612710565b611bb6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611bc7611bfd565b611bd083612860565b604051602001611be1929190614503565b6040516020818303038152906040529050919050565b600c5481565b6060600f8054611c0c906139be565b80601f0160208091040260200160405190810160405280929190818152602001828054611c38906139be565b8015611c855780601f10611c5a57610100808354040283529160200191611c85565b820191906000526020600020905b815481529060010190602001808311611c6857829003601f168201915b5050505050905090565b600a5481565b611c9d612380565b600033905060004390506005841115611ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce290613a61565b60405180910390fd5b6001600a54611cfa9190613ab0565b84600c54611d089190613ab0565b10611d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3f90613b56565b60405180910390fd5b60016003811115611d5c57611d5b613b76565b5b600e60009054906101000a900460ff166003811115611d7e57611d7d613b76565b5b14611dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db590614573565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2390613c5d565b60405180910390fd5b600b5484611e3a9190613c7d565b341015611e7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7390613d0b565b60405180910390fd5b611e85826123cf565b15611ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebc90613d9d565b60405180910390fd5b600015156011600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611f69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6090613e09565b60405180910390fd5b60016011600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555083600c54611fe09190613ab0565b600c819055506000600385611ff59190613c7d565b90506000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e8560016040518363ffffffff1660e01b8152600401612056929190613f3d565b602060405180830381865afa158015612073573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120979190613f7b565b11156120aa57806120a790613fa8565b90505b6120b48382612409565b6000816120bf61103c565b6120c99190613ff0565b9050846040516120d99190614060565b60405180910390208473ffffffffffffffffffffffffffffffffffffffff167f6f6e6b32eea0c8ccd59bf49fd556d70c51074e6a6cb4e575da0506e18e75a7be8484604051612129929190614077565b60405180910390a35050505061213d612427565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6121dd612436565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361224c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224390614605565b60405180910390fd5b6122558161264a565b50565b612260612436565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036122cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c690614431565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015612315573d6000803e3d6000fd5b5050565b600081612324612431565b11158015612333575060005482105b8015612371575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b6002600854036123c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bc90614671565b60405180910390fd5b6002600881905550565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000826123ff858461292e565b1490509392505050565b612423828260405180602001604052806000815250612984565b5050565b6001600881905550565b600090565b61243e612a21565b73ffffffffffffffffffffffffffffffffffffffff1661245c6117a8565b73ffffffffffffffffffffffffffffffffffffffff16146124b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a9906146dd565b60405180910390fd5b565b600080829050806124c3612431565b11612549576000548110156125485760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612546575b6000810361253c576004600083600190039350838152602001908152602001600020549050612512565b809250505061257b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612608868684612a29565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612736612378565b8786866040518563ffffffff1660e01b81526004016127589493929190614752565b6020604051808303816000875af192505050801561279457506040513d601f19601f8201168201806040525081019061279191906147b3565b60015b61280d573d80600081146127c4576040519150601f19603f3d011682016040523d82523d6000602084013e6127c9565b606091505b506000815103612805576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000600161286f84612a32565b01905060008167ffffffffffffffff81111561288e5761288d613048565b5b6040519080825280601f01601f1916602001820160405280156128c05781602001600182028036833780820191505090505b509050600082602001820190505b600115612923578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612917576129166147e0565b5b049450600085036128ce575b819350505050919050565b60008082905060005b845181101561297957612964828683815181106129575761295661410c565b5b6020026020010151612b85565b9150808061297190613fa8565b915050612937565b508091505092915050565b61298e8383612bb0565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612a1c57600080549050600083820390505b6129ce6000868380600101945086612710565b612a04576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106129bb578160005414612a1957600080fd5b50505b505050565b600033905090565b60009392505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612a90577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612a8657612a856147e0565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612acd576d04ee2d6d415b85acef81000000008381612ac357612ac26147e0565b5b0492506020810190505b662386f26fc100008310612afc57662386f26fc100008381612af257612af16147e0565b5b0492506010810190505b6305f5e1008310612b25576305f5e1008381612b1b57612b1a6147e0565b5b0492506008810190505b6127108310612b4a576127108381612b4057612b3f6147e0565b5b0492506004810190505b60648310612b6d5760648381612b6357612b626147e0565b5b0492506002810190505b600a8310612b7c576001810190505b80915050919050565b6000818310612b9d57612b988284612d6b565b612ba8565b612ba78383612d6b565b5b905092915050565b60008054905060008203612bf0576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612bfd60008483856125eb565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612c7483612c6560008660006125f1565b612c6e85612d82565b17612619565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612d1557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612cda565b5060008203612d50576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612d666000848385612644565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ddb81612da6565b8114612de657600080fd5b50565b600081359050612df881612dd2565b92915050565b600060208284031215612e1457612e13612d9c565b5b6000612e2284828501612de9565b91505092915050565b60008115159050919050565b612e4081612e2b565b82525050565b6000602082019050612e5b6000830184612e37565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e9b578082015181840152602081019050612e80565b60008484015250505050565b6000601f19601f8301169050919050565b6000612ec382612e61565b612ecd8185612e6c565b9350612edd818560208601612e7d565b612ee681612ea7565b840191505092915050565b60006020820190508181036000830152612f0b8184612eb8565b905092915050565b6000819050919050565b612f2681612f13565b8114612f3157600080fd5b50565b600081359050612f4381612f1d565b92915050565b600060208284031215612f5f57612f5e612d9c565b5b6000612f6d84828501612f34565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612fa182612f76565b9050919050565b612fb181612f96565b82525050565b6000602082019050612fcc6000830184612fa8565b92915050565b612fdb81612f96565b8114612fe657600080fd5b50565b600081359050612ff881612fd2565b92915050565b6000806040838503121561301557613014612d9c565b5b600061302385828601612fe9565b925050602061303485828601612f34565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61308082612ea7565b810181811067ffffffffffffffff8211171561309f5761309e613048565b5b80604052505050565b60006130b2612d92565b90506130be8282613077565b919050565b600067ffffffffffffffff8211156130de576130dd613048565b5b6130e782612ea7565b9050602081019050919050565b82818337600083830152505050565b6000613116613111846130c3565b6130a8565b90508281526020810184848401111561313257613131613043565b5b61313d8482856130f4565b509392505050565b600082601f83011261315a5761315961303e565b5b813561316a848260208601613103565b91505092915050565b600080fd5b600080fd5b60008083601f8401126131935761319261303e565b5b8235905067ffffffffffffffff8111156131b0576131af613173565b5b6020830191508360208202830111156131cc576131cb613178565b5b9250929050565b600080600080606085870312156131ed576131ec612d9c565b5b60006131fb87828801612f34565b945050602085013567ffffffffffffffff81111561321c5761321b612da1565b5b61322887828801613145565b935050604085013567ffffffffffffffff81111561324957613248612da1565b5b6132558782880161317d565b925092505092959194509250565b61326c81612f13565b82525050565b60006020820190506132876000830184613263565b92915050565b6000806000606084860312156132a6576132a5612d9c565b5b60006132b486828701612fe9565b93505060206132c586828701612fe9565b92505060406132d686828701612f34565b9150509250925092565b6000819050919050565b6132f3816132e0565b82525050565b600060208201905061330e60008301846132ea565b92915050565b60008060006060848603121561332d5761332c612d9c565b5b600061333b86828701612fe9565b935050602061334c86828701612f34565b925050604084013567ffffffffffffffff81111561336d5761336c612da1565b5b61337986828701613145565b9150509250925092565b60008083601f8401126133995761339861303e565b5b8235905067ffffffffffffffff8111156133b6576133b5613173565b5b6020830191508360208202830111156133d2576133d1613178565b5b9250929050565b600067ffffffffffffffff8211156133f4576133f3613048565b5b602082029050602081019050919050565b6000613418613413846133d9565b6130a8565b9050808382526020820190506020840283018581111561343b5761343a613178565b5b835b8181101561346457806134508882612f34565b84526020840193505060208101905061343d565b5050509392505050565b600082601f8301126134835761348261303e565b5b8135613493848260208601613405565b91505092915050565b600067ffffffffffffffff8211156134b7576134b6613048565b5b602082029050602081019050919050565b60006134db6134d68461349c565b6130a8565b905080838252602082019050602084028301858111156134fe576134fd613178565b5b835b8181101561354557803567ffffffffffffffff8111156135235761352261303e565b5b8086016135308982613145565b85526020850194505050602081019050613500565b5050509392505050565b600082601f8301126135645761356361303e565b5b81356135748482602086016134c8565b91505092915050565b6000806000806060858703121561359757613596612d9c565b5b600085013567ffffffffffffffff8111156135b5576135b4612da1565b5b6135c187828801613383565b9450945050602085013567ffffffffffffffff8111156135e4576135e3612da1565b5b6135f08782880161346e565b925050604085013567ffffffffffffffff81111561361157613610612da1565b5b61361d8782880161354f565b91505092959194509250565b60006020828403121561363f5761363e612d9c565b5b600061364d84828501612fe9565b91505092915050565b61365f816132e0565b811461366a57600080fd5b50565b60008135905061367c81613656565b92915050565b60006020828403121561369857613697612d9c565b5b60006136a68482850161366d565b91505092915050565b6000602082840312156136c5576136c4612d9c565b5b600082013567ffffffffffffffff8111156136e3576136e2612da1565b5b6136ef84828501613145565b91505092915050565b61370181612e2b565b811461370c57600080fd5b50565b60008135905061371e816136f8565b92915050565b6000806040838503121561373b5761373a612d9c565b5b600061374985828601612fe9565b925050602061375a8582860161370f565b9150509250929050565b600061376f82612f76565b9050919050565b61377f81613764565b811461378a57600080fd5b50565b60008135905061379c81613776565b92915050565b6000602082840312156137b8576137b7612d9c565b5b60006137c68482850161378d565b91505092915050565b600067ffffffffffffffff8211156137ea576137e9613048565b5b6137f382612ea7565b9050602081019050919050565b600061381361380e846137cf565b6130a8565b90508281526020810184848401111561382f5761382e613043565b5b61383a8482856130f4565b509392505050565b600082601f8301126138575761385661303e565b5b8135613867848260208601613800565b91505092915050565b6000806000806080858703121561388a57613889612d9c565b5b600061389887828801612fe9565b94505060206138a987828801612fe9565b93505060406138ba87828801612f34565b925050606085013567ffffffffffffffff8111156138db576138da612da1565b5b6138e787828801613842565b91505092959194509250565b6000806040838503121561390a57613909612d9c565b5b600061391885828601612f34565b925050602083013567ffffffffffffffff81111561393957613938612da1565b5b61394585828601613145565b9150509250929050565b6000806040838503121561396657613965612d9c565b5b600061397485828601612fe9565b925050602061398585828601612fe9565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806139d657607f821691505b6020821081036139e9576139e861398f565b5b50919050565b7f7175616e74697479206d757374206265206c657373207468616e206f7220657160008201527f75616c20746f2035000000000000000000000000000000000000000000000000602082015250565b6000613a4b602883612e6c565b9150613a56826139ef565b604082019050919050565b60006020820190508181036000830152613a7a81613a3e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613abb82612f13565b9150613ac683612f13565b9250828201905080821115613ade57613add613a81565b5b92915050565b7f616d6f756e742073686f756c64206e6f7420657863656564206d61782073757060008201527f706c790000000000000000000000000000000000000000000000000000000000602082015250565b6000613b40602383612e6c565b9150613b4b82613ae4565b604082019050919050565b60006020820190508181036000830152613b6f81613b33565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f6d696e74206973206e6f74206163746976650000000000000000000000000000600082015250565b6000613bdb601283612e6c565b9150613be682613ba5565b602082019050919050565b60006020820190508181036000830152613c0a81613bce565b9050919050565b7f6d696e742066726f6d20636f6e7472616374206e6f7420616c6c6f7765640000600082015250565b6000613c47601e83612e6c565b9150613c5282613c11565b602082019050919050565b60006020820190508181036000830152613c7681613c3a565b9050919050565b6000613c8882612f13565b9150613c9383612f13565b9250828202613ca181612f13565b91508282048414831517613cb857613cb7613a81565b5b5092915050565b7f65746865722076616c75652073656e7420697320696e636f7272656374000000600082015250565b6000613cf5601d83612e6c565b9150613d0082613cbf565b602082019050919050565b60006020820190508181036000830152613d2481613ce8565b9050919050565b7f636f6e74726163747320617265206e6f7420616c6c6f77656420746f206d696e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d87602183612e6c565b9150613d9282613d2b565b604082019050919050565b60006020820190508181036000830152613db681613d7a565b9050919050565b7f616c7265616479206d696e74656420696e207468697320626c6f636b00000000600082015250565b6000613df3601c83612e6c565b9150613dfe82613dbd565b602082019050919050565b60006020820190508181036000830152613e2281613de6565b9050919050565b60008160601b9050919050565b6000613e4182613e29565b9050919050565b6000613e5382613e36565b9050919050565b613e6b613e6682612f96565b613e48565b82525050565b6000613e7d8284613e5a565b60148201915081905092915050565b7f496e76616c69642070726f6f662e000000000000000000000000000000000000600082015250565b6000613ec2600e83612e6c565b9150613ecd82613e8c565b602082019050919050565b60006020820190508181036000830152613ef181613eb5565b9050919050565b6000819050919050565b6000819050919050565b6000613f27613f22613f1d84613ef8565b613f02565b612f13565b9050919050565b613f3781613f0c565b82525050565b6000604082019050613f526000830185612fa8565b613f5f6020830184613f2e565b9392505050565b600081519050613f7581612f1d565b92915050565b600060208284031215613f9157613f90612d9c565b5b6000613f9f84828501613f66565b91505092915050565b6000613fb382612f13565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613fe557613fe4613a81565b5b600182019050919050565b6000613ffb82612f13565b915061400683612f13565b925082820390508181111561401e5761401d613a81565b5b92915050565b600081905092915050565b600061403a82612e61565b6140448185614024565b9350614054818560208601612e7d565b80840191505092915050565b600061406c828461402f565b915081905092915050565b600060408201905061408c6000830185613263565b6140996020830184613263565b9392505050565b7f6c656e677468206d69736d617463680000000000000000000000000000000000600082015250565b60006140d6600f83612e6c565b91506140e1826140a0565b602082019050919050565b60006020820190508181036000830152614105816140c9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff82169050919050565b60006141538261413b565b915060ff820361416657614165613a81565b5b600182019050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026141d37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614196565b6141dd8683614196565b95508019841693508086168417925050509392505050565b600061421061420b61420684612f13565b613f02565b612f13565b9050919050565b6000819050919050565b61422a836141f5565b61423e61423682614217565b8484546141a3565b825550505050565b600090565b614253614246565b61425e818484614221565b505050565b5b818110156142825761427760008261424b565b600181019050614264565b5050565b601f8211156142c75761429881614171565b6142a184614186565b810160208510156142b0578190505b6142c46142bc85614186565b830182614263565b50505b505050565b600082821c905092915050565b60006142ea600019846008026142cc565b1980831691505092915050565b600061430383836142d9565b9150826002028217905092915050565b61431c82612e61565b67ffffffffffffffff81111561433557614334613048565b5b61433f82546139be565b61434a828285614286565b600060209050601f83116001811461437d576000841561436b578287015190505b61437585826142f7565b8655506143dd565b601f19841661438b86614171565b60005b828110156143b35784890151825560018201915060208501945060208101905061438e565b868310156143d057848901516143cc601f8916826142d9565b8355505b6001600288020188555050505b505050505050565b7f726563697069656e7420697320746865207a65726f2061646472657373000000600082015250565b600061441b601d83612e6c565b9150614426826143e5565b602082019050919050565b6000602082019050818103600083015261444a8161440e565b9050919050565b600081905092915050565b50565b600061446c600083614451565b91506144778261445c565b600082019050919050565b600061448d8261445f565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b60006144cd601483612e6c565b91506144d882614497565b602082019050919050565b600060208201905081810360008301526144fc816144c0565b9050919050565b600061450f828561402f565b915061451b828461402f565b91508190509392505050565b7f73616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b600061455d601283612e6c565b915061456882614527565b602082019050919050565b6000602082019050818103600083015261458c81614550565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145ef602683612e6c565b91506145fa82614593565b604082019050919050565b6000602082019050818103600083015261461e816145e2565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061465b601f83612e6c565b915061466682614625565b602082019050919050565b6000602082019050818103600083015261468a8161464e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006146c7602083612e6c565b91506146d282614691565b602082019050919050565b600060208201905081810360008301526146f6816146ba565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614724826146fd565b61472e8185614708565b935061473e818560208601612e7d565b61474781612ea7565b840191505092915050565b60006080820190506147676000830187612fa8565b6147746020830186612fa8565b6147816040830185613263565b81810360608301526147938184614719565b905095945050505050565b6000815190506147ad81612dd2565b92915050565b6000602082840312156147c9576147c8612d9c565b5b60006147d78482850161479e565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea26469706673582212204cd456eae88534cf38c16ed2bdf87031e497367656673a4a4b8838b4fe19384a64736f6c63430008120033

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.