ETH Price: $3,326.24 (-3.91%)

Token

Prompter (TPC)
 

Overview

Max Total Supply

147 TPC

Holders

87

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
xatarrer.eth
Balance
1 TPC
0x2b7841c71f2866E5E0c7E66f27cE6cdC0182dab8
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:
Prompter

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : contract.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;

// @creator: 0xmonas.eth
// @author: f

////////////////////////////
//                        //
//                        //
//          ████          //
//          ████          //
//          ████          //
//          ████          //
//          ████          //
//          ████          //
//                        //
//                        //
////////////////////////////

import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Base64.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";

contract Prompter is ERC721, Ownable {
    using Strings for uint256;
    enum Status { Inactive, Private, Public }

    mapping (uint256 => string) private prompts;
    mapping (string => bool) public promptCheck;
    mapping (address => uint256) public promptCount;
    mapping (uint256 => uint256) public promptTimestamp;
    mapping (address => uint256) public privateCount;
    
    uint256 public constant price = 0.01 ether;

    uint256 public constant maxPerWallet = 1;
    uint256 public constant maxPerWalletPrivate = 3;

    uint256 public constant maxSupply = 10000;
    uint256 public constant privateSupply = 9000;
    uint256 public totalSupply;

    uint256 royaltyAmount;

    bytes32 private merkleRootPrivate;

    address public frac;
    address royalties_recipient;

    Status public saleStatus;

    error FundsInsufficient();
    error MerkleProofInvalid();
    error MintLimitReached();
    error PromptClaimed();
    error PromptInvalid();
    error SaleStatusInvalid();
    error SupplyLimitReached();
    
    constructor(address initialOwner) ERC721("Prompter", "TPC") Ownable(initialOwner) {
        saleStatus = Status.Inactive;
        frac = 0x63e967a97407E66D12fE57155345bfA7992Ed6D6;
    }

    modifier checkRequirements(uint256 _minPrice, string calldata _prompt, uint256 _saleStatus, uint256 mintLimit, uint256 maxMintPerWallet, uint256 mintCount) {
        if(bytes(_prompt).length > 420) revert PromptInvalid();
        if(promptCheck[_prompt] == true) revert PromptClaimed();
        if(msg.value < _minPrice) revert FundsInsufficient();
        if(uint256(saleStatus) != _saleStatus) revert SaleStatusInvalid();
        if(totalSupply >= mintLimit) revert SupplyLimitReached();
        if(mintCount >= maxMintPerWallet) revert MintLimitReached();
        _;
    }


    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return
        ERC721.supportsInterface(interfaceId) ||
        interfaceId == type(IERC2981).interfaceId ||
        super.supportsInterface(interfaceId);
    }

    function mint(string calldata _prompt) public payable checkRequirements(price, _prompt, 2, maxSupply, maxPerWallet, promptCount[msg.sender]) {
        claimPrompt(_prompt, block.timestamp);
    }

    function mintPrivate(string calldata _prompt, bytes32[] calldata _merkleProof) public payable checkRequirements(0, _prompt, 1, privateSupply, maxPerWalletPrivate, privateCount[msg.sender]){
        if(!MerkleProof.verify(_merkleProof, merkleRootPrivate, keccak256(abi.encodePacked(msg.sender)))) revert MerkleProofInvalid();

        privateCount[msg.sender]++;
        claimPrompt(_prompt, block.timestamp);
    }

    function claimPrompt(string memory _prompt, uint256 _timestamp) internal {
        totalSupply++;
        promptCheck[_prompt] = true;
        prompts[totalSupply] = _prompt;
        promptCount[msg.sender]++;
        promptTimestamp[totalSupply] = _timestamp;

        _safeMint(msg.sender, totalSupply);
    }

    function adminMint(string calldata _prompt) public onlyOwner {
        claimPrompt(_prompt, block.timestamp);
    }

    function buildImage(string memory _prompt) internal pure returns (string memory) {
        return
            Base64.encode(
                abi.encodePacked(
                    '<svg width="1000" height="1000" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">',
                    '<rect height="100%" width="100%" y="0" x="0" fill="#0c0c0c"/>',
                    '<defs>',
                    '<path id="path1" d="M29.43,81.73H970.93M29.43,147.1H970.93M28.93,212.5H970.41M29.21,277.82H970.69M29.21,343.17H970.69M29.21,408.55H970.69M28.7,473.91H970.18M29.8,539.26H971.3M29.8,604.64H971.3M29.31,670.04H970.77M29.59,735.35H971.07M29.59,800.71H971.07M29.59,866.09H971.07M29.07,931.44H970.53" opacity="0"></path>',
                    '</defs>',
                    '<use xlink:href="#path1" />',
                    '<text font-size="50.50px" fill="#73fa79" font-family="Courier New" font-variant="normal" font-weight="bold">',
                    '<textPath xlink:href="#path1">', _prompt,'</textPath></text>',
                    '</svg>'
                )
            );
    }

    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        return
            string(
                string.concat(
                    "data:application/json;base64,",
                    string(
                        Base64.encode(
                            abi.encodePacked(
                                '{"name":"', abi.encodePacked("#", _tokenId.toString()),'",','"description":"Prompter is a collection by You and Monas.",','"image":"data:image/svg+xml;base64,', buildImage(prompts[_tokenId]), '",','"attributes": [{"trait_type": "Timestamp", "value": "', promptTimestamp[_tokenId].toString() ,'"}, {"trait_type": "Length", "value": ', bytes(prompts[_tokenId]).length.toString() ,'}]}'
                            )
                        )
                    )
                )
            );
    }
    
    function setSaleStatus(Status _status) public onlyOwner {
        saleStatus = _status;
    }

    function setMerkleRoot(bytes32 _rootPrivate) public onlyOwner {
        merkleRootPrivate = _rootPrivate;
    }

    function setRoyalties(address payable _recipient, uint256 _royaltyPerCent) external onlyOwner {
        royalties_recipient = _recipient;
        royaltyAmount = _royaltyPerCent;
    }

    function royaltyInfo(uint256 salePrice) external view returns (address, uint256) {
        if(royalties_recipient != address(0)){
            return (royalties_recipient, (salePrice * royaltyAmount) / 100 );
        }
        return (address(0), 0);
    }

    function withdraw() public onlyOwner {
        payable(msg.sender).transfer(address(this).balance/2);
        payable(frac).transfer(address(this).balance);
    }
}

File 2 of 17 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../utils/introspection/IERC165.sol";

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

File 3 of 17 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.20;

/**
 * @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 The multiproof provided is not valid.
     */
    error MerkleProofInvalidMultiproof();

    /**
     * @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}
     */
    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.
     */
    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}
     */
    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.
     */
    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.
     */
    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).
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds 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 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen != totalHashes + 1) {
            revert MerkleProofInvalidMultiproof();
        }

        // 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 from 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) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                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.
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds 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 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen != totalHashes + 1) {
            revert MerkleProofInvalidMultiproof();
        }

        // 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 from 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) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Sorts the pair (a, b) and hashes the result.
     */
    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    /**
     * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory.
     */
    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 17 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.20;

import {IERC721} from "./IERC721.sol";
import {IERC721Receiver} from "./IERC721Receiver.sol";
import {IERC721Metadata} from "./extensions/IERC721Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {Strings} from "../../utils/Strings.sol";
import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol";
import {IERC721Errors} from "../../interfaces/draft-IERC6093.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors {
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    mapping(uint256 tokenId => address) private _owners;

    mapping(address owner => uint256) private _balances;

    mapping(uint256 tokenId => address) private _tokenApprovals;

    mapping(address owner => mapping(address operator => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual returns (uint256) {
        if (owner == address(0)) {
            revert ERC721InvalidOwner(address(0));
        }
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual returns (address) {
        return _requireOwned(tokenId);
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual returns (string memory) {
        _requireOwned(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string.concat(baseURI, tokenId.toString()) : "";
    }

    /**
     * @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, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual {
        _approve(to, tokenId, _msgSender());
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual returns (address) {
        _requireOwned(tokenId);

        return _getApproved(tokenId);
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        // Setting an "auth" arguments enables the `_isAuthorized` check which verifies that the token exists
        // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.
        address previousOwner = _update(to, tokenId, _msgSender());
        if (previousOwner != from) {
            revert ERC721IncorrectOwner(from, tokenId, previousOwner);
        }
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {
        transferFrom(from, to, tokenId);
        _checkOnERC721Received(from, to, tokenId, data);
    }

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     *
     * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the
     * core ERC721 logic MUST be matched with the use of {_increaseBalance} to keep balances
     * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by
     * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`.
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted.
     */
    function _getApproved(uint256 tokenId) internal view virtual returns (address) {
        return _tokenApprovals[tokenId];
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in
     * particular (ignoring whether it is owned by `owner`).
     *
     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
     * assumption.
     */
    function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) {
        return
            spender != address(0) &&
            (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender);
    }

    /**
     * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.
     * Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets
     * the `spender` for the specific `tokenId`.
     *
     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
     * assumption.
     */
    function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual {
        if (!_isAuthorized(owner, spender, tokenId)) {
            if (owner == address(0)) {
                revert ERC721NonexistentToken(tokenId);
            } else {
                revert ERC721InsufficientApproval(spender, tokenId);
            }
        }
    }

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that
     * a uint256 would ever overflow from increments when these increments are bounded to uint128 values.
     *
     * WARNING: Increasing an account's balance using this function tends to be paired with an override of the
     * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership
     * remain consistent with one another.
     */
    function _increaseBalance(address account, uint128 value) internal virtual {
        unchecked {
            _balances[account] += value;
        }
    }

    /**
     * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner
     * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.
     *
     * The `auth` argument is optional. If the value passed is non 0, then this function will check that
     * `auth` is either the owner of the token, or approved to operate on the token (by the owner).
     *
     * Emits a {Transfer} event.
     *
     * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}.
     */
    function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) {
        address from = _ownerOf(tokenId);

        // Perform (optional) operator check
        if (auth != address(0)) {
            _checkAuthorized(from, auth, tokenId);
        }

        // Execute the update
        if (from != address(0)) {
            // Clear approval. No need to re-authorize or emit the Approval event
            _approve(address(0), tokenId, address(0), false);

            unchecked {
                _balances[from] -= 1;
            }
        }

        if (to != address(0)) {
            unchecked {
                _balances[to] += 1;
            }
        }

        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        return from;
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        address previousOwner = _update(to, tokenId, address(0));
        if (previousOwner != address(0)) {
            revert ERC721InvalidSender(address(0));
        }
    }

    /**
     * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual {
        _mint(to, tokenId);
        _checkOnERC721Received(address(0), to, tokenId, data);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal {
        address previousOwner = _update(address(0), tokenId, address(0));
        if (previousOwner == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        }
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(address from, address to, uint256 tokenId) internal {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        address previousOwner = _update(to, tokenId, address(0));
        if (previousOwner == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        } else if (previousOwner != from) {
            revert ERC721IncorrectOwner(from, tokenId, previousOwner);
        }
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients
     * are aware of the ERC721 standard to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is like {safeTransferFrom} in the sense that it invokes
     * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `tokenId` token must exist and be owned by `from`.
     * - `to` cannot be the zero address.
     * - `from` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(address from, address to, uint256 tokenId) internal {
        _safeTransfer(from, to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {
        _transfer(from, to, tokenId);
        _checkOnERC721Received(from, to, tokenId, data);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is
     * either the owner of the token, or approved to operate on all tokens held by this owner.
     *
     * Emits an {Approval} event.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address to, uint256 tokenId, address auth) internal {
        _approve(to, tokenId, auth, true);
    }

    /**
     * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not
     * emitted in the context of transfers.
     */
    function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual {
        // Avoid reading the owner unless necessary
        if (emitEvent || auth != address(0)) {
            address owner = _requireOwned(tokenId);

            // We do not use _isAuthorized because single-token approvals should not be able to call approve
            if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) {
                revert ERC721InvalidApprover(auth);
            }

            if (emitEvent) {
                emit Approval(owner, to, tokenId);
            }
        }

        _tokenApprovals[tokenId] = to;
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Requirements:
     * - operator can't be the address zero.
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        if (operator == address(0)) {
            revert ERC721InvalidOperator(operator);
        }
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).
     * Returns the owner.
     *
     * Overrides to ownership logic should be done to {_ownerOf}.
     */
    function _requireOwned(uint256 tokenId) internal view returns (address) {
        address owner = _ownerOf(tokenId);
        if (owner == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        }
        return owner;
    }

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the
     * recipient doesn't accept the token transfer. The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private {
        if (to.code.length > 0) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                if (retval != IERC721Receiver.onERC721Received.selector) {
                    revert ERC721InvalidReceiver(to);
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert ERC721InvalidReceiver(to);
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }
}

File 5 of 17 : Base64.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Base64.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

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

pragma solidity ^0.8.20;

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

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

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

File 7 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

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

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @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), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @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) {
        uint256 localValue = value;
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = HEX_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        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);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

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

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 17 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 10 of 17 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

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

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 11 of 17 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @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 towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (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 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 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.

            uint256 twos = denominator & (0 - denominator);
            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 (unsignedRoundsUp(rounding) && 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
     * towards zero.
     *
     * 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 + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * 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 + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * 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 + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * 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 256, 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 + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

File 12 of 17 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 13 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;

import {IERC165} from "./IERC165.sol";

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

File 14 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.20;

import {IERC721} from "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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);
}

File 15 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.20;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be
     * reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 16 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @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`.
     *
     * 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 calldata data) external;

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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;

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

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

File 17 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"inputs":[],"name":"FundsInsufficient","type":"error"},{"inputs":[],"name":"MerkleProofInvalid","type":"error"},{"inputs":[],"name":"MintLimitReached","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"PromptClaimed","type":"error"},{"inputs":[],"name":"PromptInvalid","type":"error"},{"inputs":[],"name":"SaleStatusInvalid","type":"error"},{"inputs":[],"name":"SupplyLimitReached","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"string","name":"_prompt","type":"string"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"frac","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletPrivate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_prompt","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"_prompt","type":"string"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintPrivate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"privateCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"privateSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"promptCheck","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"promptCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"promptTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","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":"nonpayable","type":"function"},{"inputs":[],"name":"saleStatus","outputs":[{"internalType":"enum Prompter.Status","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_rootPrivate","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_royaltyPerCent","type":"uint256"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Prompter.Status","name":"_status","type":"uint8"}],"name":"setSaleStatus","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801562000010575f80fd5b5060405162004b7038038062004b708339818101604052810190620000369190620002fd565b806040518060400160405280600881526020017f50726f6d707465720000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f5450430000000000000000000000000000000000000000000000000000000000815250815f9081620000b3919062000591565b508060019081620000c5919062000591565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200013b575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040162000132919062000686565b60405180910390fd5b6200014c81620001d560201b60201c565b505f601060146101000a81548160ff02191690836002811115620001755762000174620006a1565b5b02179055507363e967a97407e66d12fe57155345bfa7992ed6d6600f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050620006ce565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620002c7826200029c565b9050919050565b620002d981620002bb565b8114620002e4575f80fd5b50565b5f81519050620002f781620002ce565b92915050565b5f6020828403121562000315576200031462000298565b5b5f6200032484828501620002e7565b91505092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680620003a957607f821691505b602082108103620003bf57620003be62000364565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620004237fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620003e6565b6200042f8683620003e6565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f62000479620004736200046d8462000447565b62000450565b62000447565b9050919050565b5f819050919050565b620004948362000459565b620004ac620004a38262000480565b848454620003f2565b825550505050565b5f90565b620004c2620004b4565b620004cf81848462000489565b505050565b5b81811015620004f657620004ea5f82620004b8565b600181019050620004d5565b5050565b601f82111562000545576200050f81620003c5565b6200051a84620003d7565b810160208510156200052a578190505b620005426200053985620003d7565b830182620004d4565b50505b505050565b5f82821c905092915050565b5f620005675f19846008026200054a565b1980831691505092915050565b5f62000581838362000556565b9150826002028217905092915050565b6200059c826200032d565b67ffffffffffffffff811115620005b857620005b762000337565b5b620005c4825462000391565b620005d1828285620004fa565b5f60209050601f83116001811462000607575f8415620005f2578287015190505b620005fe858262000574565b8655506200066d565b601f1984166200061786620003c5565b5f5b82811015620006405784890151825560018201915060208501945060208101905062000619565b868310156200066057848901516200065c601f89168262000556565b8355505b6001600288020188555050505b505050505050565b6200068081620002bb565b82525050565b5f6020820190506200069b5f83018462000675565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b61449480620006dc5f395ff3fe60806040526004361061020e575f3560e01c80638c7ea24b11610117578063cef6d3681161009f578063e67530d51161006e578063e67530d514610775578063e985e9c51461079f578063f2fde38b146107db578063f9020e3314610803578063fa8d18e91461082d5761020e565b8063cef6d368146106d6578063d5abeb0114610713578063d85d3d271461073d578063e04c7b82146107595761020e565b8063a22cb465116100e6578063a22cb465146105d2578063a6a0eea8146105fa578063af15b97c14610636578063b88d4fde14610672578063c87b56dd1461069a5761020e565b80638c7ea24b1461052c5780638da5cb5b1461055457806395d89b411461057e578063a035b1fe146105a85761020e565b8063453c23101161019a5780636352211e116101695780636352211e1461044c57806370a0823114610488578063715018a6146104c457806371c180ba146104da5780637cb64759146105045761020e565b8063453c2310146103a85780634891ad88146103d257806353655d5d146103fa57806356bd182d146104225761020e565b806318160ddd116101e157806318160ddd146102dc57806323b872dd14610306578063323916c71461032e5780633ccfd60b1461036a57806342842e0e146103805761020e565b806301ffc9a71461021257806306fdde031461024e578063081812fc14610278578063095ea7b3146102b4575b5f80fd5b34801561021d575f80fd5b5061023860048036038101906102339190612aa6565b610869565b6040516102459190612aeb565b60405180910390f35b348015610259575f80fd5b506102626108f2565b60405161026f9190612b8e565b60405180910390f35b348015610283575f80fd5b5061029e60048036038101906102999190612be1565b610981565b6040516102ab9190612c4b565b60405180910390f35b3480156102bf575f80fd5b506102da60048036038101906102d59190612c8e565b61099c565b005b3480156102e7575f80fd5b506102f06109b2565b6040516102fd9190612cdb565b60405180910390f35b348015610311575f80fd5b5061032c60048036038101906103279190612cf4565b6109b8565b005b348015610339575f80fd5b50610354600480360381019061034f9190612be1565b610ab7565b6040516103619190612cdb565b60405180910390f35b348015610375575f80fd5b5061037e610acc565b005b34801561038b575f80fd5b506103a660048036038101906103a19190612cf4565b610b8b565b005b3480156103b3575f80fd5b506103bc610baa565b6040516103c99190612cdb565b60405180910390f35b3480156103dd575f80fd5b506103f860048036038101906103f39190612d67565b610baf565b005b348015610405575f80fd5b50610420600480360381019061041b9190612df3565b610be4565b005b34801561042d575f80fd5b50610436610c3d565b6040516104439190612cdb565b60405180910390f35b348015610457575f80fd5b50610472600480360381019061046d9190612be1565b610c43565b60405161047f9190612c4b565b60405180910390f35b348015610493575f80fd5b506104ae60048036038101906104a99190612e3e565b610c54565b6040516104bb9190612cdb565b60405180910390f35b3480156104cf575f80fd5b506104d8610d0a565b005b3480156104e5575f80fd5b506104ee610d1d565b6040516104fb9190612c4b565b60405180910390f35b34801561050f575f80fd5b5061052a60048036038101906105259190612e9c565b610d42565b005b348015610537575f80fd5b50610552600480360381019061054d9190612f02565b610d54565b005b34801561055f575f80fd5b50610568610da7565b6040516105759190612c4b565b60405180910390f35b348015610589575f80fd5b50610592610dcf565b60405161059f9190612b8e565b60405180910390f35b3480156105b3575f80fd5b506105bc610e5f565b6040516105c99190612cdb565b60405180910390f35b3480156105dd575f80fd5b506105f860048036038101906105f39190612f6a565b610e6a565b005b348015610605575f80fd5b50610620600480360381019061061b9190612e3e565b610e80565b60405161062d9190612cdb565b60405180910390f35b348015610641575f80fd5b5061065c60048036038101906106579190612e3e565b610e95565b6040516106699190612cdb565b60405180910390f35b34801561067d575f80fd5b50610698600480360381019061069391906130d0565b610eaa565b005b3480156106a5575f80fd5b506106c060048036038101906106bb9190612be1565b610ec7565b6040516106cd9190612b8e565b60405180910390f35b3480156106e1575f80fd5b506106fc60048036038101906106f79190612be1565b611021565b60405161070a929190613150565b60405180910390f35b34801561071e575f80fd5b506107276110c8565b6040516107349190612cdb565b60405180910390f35b61075760048036038101906107529190612df3565b6110ce565b005b610773600480360381019061076e91906131cc565b611326565b005b348015610780575f80fd5b50610789611674565b6040516107969190612cdb565b60405180910390f35b3480156107aa575f80fd5b506107c560048036038101906107c0919061324a565b611679565b6040516107d29190612aeb565b60405180910390f35b3480156107e6575f80fd5b5061080160048036038101906107fc9190612e3e565b611707565b005b34801561080e575f80fd5b5061081761178b565b60405161082491906132fb565b60405180910390f35b348015610838575f80fd5b50610853600480360381019061084e91906133b2565b61179e565b6040516108609190612aeb565b60405180910390f35b5f610873826117d3565b806108db57507f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108eb57506108ea826117d3565b5b9050919050565b60605f805461090090613426565b80601f016020809104026020016040519081016040528092919081815260200182805461092c90613426565b80156109775780601f1061094e57610100808354040283529160200191610977565b820191905f5260205f20905b81548152906001019060200180831161095a57829003601f168201915b5050505050905090565b5f61098b826118b4565b506109958261193a565b9050919050565b6109ae82826109a9611973565b61197a565b5050565b600c5481565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a28575f6040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401610a1f9190612c4b565b60405180910390fd5b5f610a3b8383610a36611973565b61198c565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ab1578382826040517f64283d7b000000000000000000000000000000000000000000000000000000008152600401610aa893929190613456565b60405180910390fd5b50505050565b600a602052805f5260405f205f915090505481565b610ad4611b97565b3373ffffffffffffffffffffffffffffffffffffffff166108fc600247610afb91906134e5565b90811502906040515f60405180830381858888f19350505050158015610b23573d5f803e3d5ffd5b50600f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610b88573d5f803e3d5ffd5b50565b610ba583838360405180602001604052805f815250610eaa565b505050565b600181565b610bb7611b97565b80601060146101000a81548160ff02191690836002811115610bdc57610bdb613288565b5b021790555050565b610bec611b97565b610c3982828080601f0160208091040260200160405190810160405280939291908181526020018383808284375f81840152601f19601f8201169050808301925050505050505042611c1e565b5050565b61232881565b5f610c4d826118b4565b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610cc5575f6040517f89c62b64000000000000000000000000000000000000000000000000000000008152600401610cbc9190612c4b565b60405180910390fd5b60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610d12611b97565b610d1b5f611d06565b565b600f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d4a611b97565b80600e8190555050565b610d5c611b97565b8160105f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d819055505050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610dde90613426565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0a90613426565b8015610e555780601f10610e2c57610100808354040283529160200191610e55565b820191905f5260205f20905b815481529060010190602001808311610e3857829003601f168201915b5050505050905090565b662386f26fc1000081565b610e7c610e75611973565b8383611dc9565b5050565b6009602052805f5260405f205f915090505481565b600b602052805f5260405f205f915090505481565b610eb58484846109b8565b610ec184848484611f32565b50505050565b6060610ffb610ed5836120e4565b604051602001610ee59190613599565b604051602081830303815290604052610f9460075f8681526020019081526020015f208054610f1390613426565b80601f0160208091040260200160405190810160405280929190818152602001828054610f3f90613426565b8015610f8a5780601f10610f6157610100808354040283529160200191610f8a565b820191905f5260205f20905b815481529060010190602001808311610f6d57829003601f168201915b50505050506121ae565b610fae600a5f8781526020019081526020015f20546120e4565b610fd460075f8881526020019081526020015f208054610fcd90613426565b90506120e4565b604051602001610fe7949392919061389c565b6040516020818303038152906040526121df565b60405160200161100b9190613957565b6040516020818303038152906040529050919050565b5f805f73ffffffffffffffffffffffffffffffffffffffff1660105f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110bc5760105f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600d54856110a9919061397c565b6110b391906134e5565b915091506110c3565b5f80915091505b915091565b61271081565b662386f26fc1000082826002612710600160095f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546101a486869050111561115c576040517f85ff92ab00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60011515600887876040516111729291906139e1565b90815260200160405180910390205f9054906101000a900460ff161515036111c6576040517f92b0811700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b86341015611200576040517f1e602a8800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83601060149054906101000a900460ff16600281111561122357611222613288565b5b1461125a576040517f9e1583b400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c5410611295576040517fe09ad7f200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106112ce576040517f303b682f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61131b89898080601f0160208091040260200160405190810160405280939291908181526020018383808284375f81840152601f19601f8201169050808301925050505050505042611c1e565b505050505050505050565b5f848460016123286003600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546101a48686905011156113ad576040517f85ff92ab00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60011515600887876040516113c39291906139e1565b90815260200160405180910390205f9054906101000a900460ff16151503611417576040517f92b0811700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b86341015611451576040517f1e602a8800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83601060149054906101000a900460ff16600281111561147457611473613288565b5b146114ab576040517f9e1583b400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c54106114e6576040517fe09ad7f200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061151f576040517f303b682f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6115928989808060200260200160405190810160405280939291908181526020018383602002808284375f81840152601f19601f82011690508083019250505050505050600e54336040516020016115779190613a3e565b6040516020818303038152906040528051906020012061233e565b6115c8576040517fc8ac23c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f81548092919061161590613a58565b91905055506116678b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f81840152601f19601f8201169050808301925050505050505042611c1e565b5050505050505050505050565b600381565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b61170f611b97565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361177f575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016117769190612c4b565b60405180910390fd5b61178881611d06565b50565b601060149054906101000a900460ff1681565b6008818051602081018201805184825260208301602085012081835280955050505050505f915054906101000a900460ff1681565b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061189d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806118ad57506118ac82612354565b5b9050919050565b5f806118bf836123bd565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361193157826040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016119289190612cdb565b60405180910390fd5b80915050919050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f33905090565b61198783838360016123f6565b505050565b5f80611997846123bd565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146119d8576119d78184866125b5565b5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611a6357611a175f855f806123f6565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825403925050819055505b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614611ae257600160035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8460025f8681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b611b9f611973565b73ffffffffffffffffffffffffffffffffffffffff16611bbd610da7565b73ffffffffffffffffffffffffffffffffffffffff1614611c1c57611be0611973565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611c139190612c4b565b60405180910390fd5b565b600c5f815480929190611c3090613a58565b91905055506001600883604051611c479190613a9f565b90815260200160405180910390205f6101000a81548160ff0219169083151502179055508160075f600c5481526020019081526020015f209081611c8b9190613c52565b5060095f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815480929190611cd990613a58565b919050555080600a5f600c5481526020019081526020015f2081905550611d0233600c54612678565b5050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e3957816040517f5b08ba18000000000000000000000000000000000000000000000000000000008152600401611e309190612c4b565b60405180910390fd5b8060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f259190612aeb565b60405180910390a3505050565b5f8373ffffffffffffffffffffffffffffffffffffffff163b11156120de578273ffffffffffffffffffffffffffffffffffffffff1663150b7a02611f75611973565b8685856040518563ffffffff1660e01b8152600401611f979493929190613d69565b6020604051808303815f875af1925050508015611fd257506040513d601f19601f82011682018060405250810190611fcf9190613dc7565b60015b612053573d805f8114612000576040519150601f19603f3d011682016040523d82523d5f602084013e612005565b606091505b505f81510361204b57836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016120429190612c4b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146120dc57836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016120d39190612c4b565b60405180910390fd5b505b50505050565b60605f60016120f284612695565b0190505f8167ffffffffffffffff8111156121105761210f612fac565b5b6040519080825280601f01601f1916602001820160405280156121425781602001600182028036833780820191505090505b5090505f82602001820190505b6001156121a3578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816121985761219761348b565b5b0494505f850361214f575b819350505050919050565b60606121d8826040516020016121c4919061433a565b6040516020818303038152906040526121df565b9050919050565b60605f8251036121ff5760405180602001604052805f8152509050612339565b5f60405180606001604052806040815260200161441f6040913990505f60036002855161222c91906143be565b61223691906134e5565b6004612242919061397c565b67ffffffffffffffff81111561225b5761225a612fac565b5b6040519080825280601f01601f19166020018201604052801561228d5781602001600182028036833780820191505090505b509050600182016020820185865187015b808210156122f9576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f811685015184536001840193505061229e565b5050600386510660018114612315576002811461232857612330565b603d6001830353603d6002830353612330565b603d60018303535b50505080925050505b919050565b5f8261234a85846127e6565b1490509392505050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b808061242e57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15612560575f61243d846118b4565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156124a757508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b80156124ba57506124b88184611679565b155b156124fc57826040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526004016124f39190612c4b565b60405180910390fd5b811561255e57838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b8360045f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b6125c0838383612834565b612673575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361263457806040517f7e27328900000000000000000000000000000000000000000000000000000000815260040161262b9190612cdb565b60405180910390fd5b81816040517f177e802f00000000000000000000000000000000000000000000000000000000815260040161266a929190613150565b60405180910390fd5b505050565b612691828260405180602001604052805f8152506128f4565b5050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106126f1577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816126e7576126e661348b565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061272e576d04ee2d6d415b85acef810000000083816127245761272361348b565b5b0492506020810190505b662386f26fc10000831061275d57662386f26fc1000083816127535761275261348b565b5b0492506010810190505b6305f5e1008310612786576305f5e100838161277c5761277b61348b565b5b0492506008810190505b61271083106127ab5761271083816127a1576127a061348b565b5b0492506004810190505b606483106127ce57606483816127c4576127c361348b565b5b0492506002810190505b600a83106127dd576001810190505b80915050919050565b5f808290505f5b84518110156128295761281a8286838151811061280d5761280c6143f1565b5b602002602001015161290f565b915080806001019150506127ed565b508091505092915050565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156128eb57508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806128ac57506128ab8484611679565b5b806128ea57508273ffffffffffffffffffffffffffffffffffffffff166128d28361193a565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b6128fe8383612939565b61290a5f848484611f32565b505050565b5f818310612926576129218284612a2c565b612931565b6129308383612a2c565b5b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036129a9575f6040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016129a09190612c4b565b60405180910390fd5b5f6129b583835f61198c565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612a27575f6040517f73c6ac6e000000000000000000000000000000000000000000000000000000008152600401612a1e9190612c4b565b60405180910390fd5b505050565b5f825f528160205260405f20905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a8581612a51565b8114612a8f575f80fd5b50565b5f81359050612aa081612a7c565b92915050565b5f60208284031215612abb57612aba612a49565b5b5f612ac884828501612a92565b91505092915050565b5f8115159050919050565b612ae581612ad1565b82525050565b5f602082019050612afe5f830184612adc565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015612b3b578082015181840152602081019050612b20565b5f8484015250505050565b5f601f19601f8301169050919050565b5f612b6082612b04565b612b6a8185612b0e565b9350612b7a818560208601612b1e565b612b8381612b46565b840191505092915050565b5f6020820190508181035f830152612ba68184612b56565b905092915050565b5f819050919050565b612bc081612bae565b8114612bca575f80fd5b50565b5f81359050612bdb81612bb7565b92915050565b5f60208284031215612bf657612bf5612a49565b5b5f612c0384828501612bcd565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612c3582612c0c565b9050919050565b612c4581612c2b565b82525050565b5f602082019050612c5e5f830184612c3c565b92915050565b612c6d81612c2b565b8114612c77575f80fd5b50565b5f81359050612c8881612c64565b92915050565b5f8060408385031215612ca457612ca3612a49565b5b5f612cb185828601612c7a565b9250506020612cc285828601612bcd565b9150509250929050565b612cd581612bae565b82525050565b5f602082019050612cee5f830184612ccc565b92915050565b5f805f60608486031215612d0b57612d0a612a49565b5b5f612d1886828701612c7a565b9350506020612d2986828701612c7a565b9250506040612d3a86828701612bcd565b9150509250925092565b60038110612d50575f80fd5b50565b5f81359050612d6181612d44565b92915050565b5f60208284031215612d7c57612d7b612a49565b5b5f612d8984828501612d53565b91505092915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112612db357612db2612d92565b5b8235905067ffffffffffffffff811115612dd057612dcf612d96565b5b602083019150836001820283011115612dec57612deb612d9a565b5b9250929050565b5f8060208385031215612e0957612e08612a49565b5b5f83013567ffffffffffffffff811115612e2657612e25612a4d565b5b612e3285828601612d9e565b92509250509250929050565b5f60208284031215612e5357612e52612a49565b5b5f612e6084828501612c7a565b91505092915050565b5f819050919050565b612e7b81612e69565b8114612e85575f80fd5b50565b5f81359050612e9681612e72565b92915050565b5f60208284031215612eb157612eb0612a49565b5b5f612ebe84828501612e88565b91505092915050565b5f612ed182612c0c565b9050919050565b612ee181612ec7565b8114612eeb575f80fd5b50565b5f81359050612efc81612ed8565b92915050565b5f8060408385031215612f1857612f17612a49565b5b5f612f2585828601612eee565b9250506020612f3685828601612bcd565b9150509250929050565b612f4981612ad1565b8114612f53575f80fd5b50565b5f81359050612f6481612f40565b92915050565b5f8060408385031215612f8057612f7f612a49565b5b5f612f8d85828601612c7a565b9250506020612f9e85828601612f56565b9150509250929050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612fe282612b46565b810181811067ffffffffffffffff8211171561300157613000612fac565b5b80604052505050565b5f613013612a40565b905061301f8282612fd9565b919050565b5f67ffffffffffffffff82111561303e5761303d612fac565b5b61304782612b46565b9050602081019050919050565b828183375f83830152505050565b5f61307461306f84613024565b61300a565b9050828152602081018484840111156130905761308f612fa8565b5b61309b848285613054565b509392505050565b5f82601f8301126130b7576130b6612d92565b5b81356130c7848260208601613062565b91505092915050565b5f805f80608085870312156130e8576130e7612a49565b5b5f6130f587828801612c7a565b945050602061310687828801612c7a565b935050604061311787828801612bcd565b925050606085013567ffffffffffffffff81111561313857613137612a4d565b5b613144878288016130a3565b91505092959194509250565b5f6040820190506131635f830185612c3c565b6131706020830184612ccc565b9392505050565b5f8083601f84011261318c5761318b612d92565b5b8235905067ffffffffffffffff8111156131a9576131a8612d96565b5b6020830191508360208202830111156131c5576131c4612d9a565b5b9250929050565b5f805f80604085870312156131e4576131e3612a49565b5b5f85013567ffffffffffffffff81111561320157613200612a4d565b5b61320d87828801612d9e565b9450945050602085013567ffffffffffffffff8111156132305761322f612a4d565b5b61323c87828801613177565b925092505092959194509250565b5f80604083850312156132605761325f612a49565b5b5f61326d85828601612c7a565b925050602061327e85828601612c7a565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b600381106132c6576132c5613288565b5b50565b5f8190506132d6826132b5565b919050565b5f6132e5826132c9565b9050919050565b6132f5816132db565b82525050565b5f60208201905061330e5f8301846132ec565b92915050565b5f67ffffffffffffffff82111561332e5761332d612fac565b5b61333782612b46565b9050602081019050919050565b5f61335661335184613314565b61300a565b90508281526020810184848401111561337257613371612fa8565b5b61337d848285613054565b509392505050565b5f82601f83011261339957613398612d92565b5b81356133a9848260208601613344565b91505092915050565b5f602082840312156133c7576133c6612a49565b5b5f82013567ffffffffffffffff8111156133e4576133e3612a4d565b5b6133f084828501613385565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061343d57607f821691505b6020821081036134505761344f6133f9565b5b50919050565b5f6060820190506134695f830186612c3c565b6134766020830185612ccc565b6134836040830184612c3c565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6134ef82612bae565b91506134fa83612bae565b92508261350a5761350961348b565b5b828204905092915050565b5f81905092915050565b7f23000000000000000000000000000000000000000000000000000000000000005f82015250565b5f613553600183613515565b915061355e8261351f565b600182019050919050565b5f61357382612b04565b61357d8185613515565b935061358d818560208601612b1e565b80840191505092915050565b5f6135a382613547565b91506135af8284613569565b915081905092915050565b7f7b226e616d65223a2200000000000000000000000000000000000000000000005f82015250565b5f6135ee600983613515565b91506135f9826135ba565b600982019050919050565b5f81519050919050565b5f81905092915050565b5f61362282613604565b61362c818561360e565b935061363c818560208601612b1e565b80840191505092915050565b7f222c0000000000000000000000000000000000000000000000000000000000005f82015250565b5f61367c600283613515565b915061368782613648565b600282019050919050565b7f226465736372697074696f6e223a2250726f6d70746572206973206120636f6c5f8201527f6c656374696f6e20627920596f7520616e64204d6f6e61732e222c0000000000602082015250565b5f6136ec603b83613515565b91506136f782613692565b603b82019050919050565b7f22696d616765223a22646174613a696d6167652f7376672b786d6c3b626173655f8201527f36342c0000000000000000000000000000000000000000000000000000000000602082015250565b5f61375c602383613515565b915061376782613702565b602382019050919050565b7f2261747472696275746573223a205b7b2274726169745f74797065223a2022545f8201527f696d657374616d70222c202276616c7565223a20220000000000000000000000602082015250565b5f6137cc603583613515565b91506137d782613772565b603582019050919050565b7f227d2c207b2274726169745f74797065223a20224c656e677468222c202276615f8201527f6c7565223a200000000000000000000000000000000000000000000000000000602082015250565b5f61383c602683613515565b9150613847826137e2565b602682019050919050565b7f7d5d7d00000000000000000000000000000000000000000000000000000000005f82015250565b5f613886600383613515565b915061389182613852565b600382019050919050565b5f6138a6826135e2565b91506138b28287613618565b91506138bd82613670565b91506138c8826136e0565b91506138d382613750565b91506138df8286613569565b91506138ea82613670565b91506138f5826137c0565b91506139018285613569565b915061390c82613830565b91506139188284613569565b91506139238261387a565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815250565b5f61396182613931565b601d820191506139718284613569565b915081905092915050565b5f61398682612bae565b915061399183612bae565b925082820261399f81612bae565b915082820484148315176139b6576139b56134b8565b5b5092915050565b5f6139c88385613515565b93506139d5838584613054565b82840190509392505050565b5f6139ed8284866139bd565b91508190509392505050565b5f8160601b9050919050565b5f613a0f826139f9565b9050919050565b5f613a2082613a05565b9050919050565b613a38613a3382612c2b565b613a16565b82525050565b5f613a498284613a27565b60148201915081905092915050565b5f613a6282612bae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613a9457613a936134b8565b5b600182019050919050565b5f613aaa8284613569565b915081905092915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302613b117fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613ad6565b613b1b8683613ad6565b95508019841693508086168417925050509392505050565b5f819050919050565b5f613b56613b51613b4c84612bae565b613b33565b612bae565b9050919050565b5f819050919050565b613b6f83613b3c565b613b83613b7b82613b5d565b848454613ae2565b825550505050565b5f90565b613b97613b8b565b613ba2818484613b66565b505050565b5b81811015613bc557613bba5f82613b8f565b600181019050613ba8565b5050565b601f821115613c0a57613bdb81613ab5565b613be484613ac7565b81016020851015613bf3578190505b613c07613bff85613ac7565b830182613ba7565b50505b505050565b5f82821c905092915050565b5f613c2a5f1984600802613c0f565b1980831691505092915050565b5f613c428383613c1b565b9150826002028217905092915050565b613c5b82612b04565b67ffffffffffffffff811115613c7457613c73612fac565b5b613c7e8254613426565b613c89828285613bc9565b5f60209050601f831160018114613cba575f8415613ca8578287015190505b613cb28582613c37565b865550613d19565b601f198416613cc886613ab5565b5f5b82811015613cef57848901518255600182019150602085019450602081019050613cca565b86831015613d0c5784890151613d08601f891682613c1b565b8355505b6001600288020188555050505b505050505050565b5f82825260208201905092915050565b5f613d3b82613604565b613d458185613d21565b9350613d55818560208601612b1e565b613d5e81612b46565b840191505092915050565b5f608082019050613d7c5f830187612c3c565b613d896020830186612c3c565b613d966040830185612ccc565b8181036060830152613da88184613d31565b905095945050505050565b5f81519050613dc181612a7c565b92915050565b5f60208284031215613ddc57613ddb612a49565b5b5f613de984828501613db3565b91505092915050565b7f3c7376672077696474683d223130303022206865696768743d223130303022205f8201527f786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737660208201527f672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e77332e6f7260408201527f672f313939392f786c696e6b223e000000000000000000000000000000000000606082015250565b5f613e98606e83613515565b9150613ea382613df2565b606e82019050919050565b7f3c72656374206865696768743d2231303025222077696474683d2231303025225f8201527f20793d22302220783d2230222066696c6c3d2223306330633063222f3e000000602082015250565b5f613f08603d83613515565b9150613f1382613eae565b603d82019050919050565b7f3c646566733e00000000000000000000000000000000000000000000000000005f82015250565b5f613f52600683613515565b9150613f5d82613f1e565b600682019050919050565b7f3c706174682069643d2270617468312220643d224d32392e34332c38312e37335f8201527f483937302e39334d32392e34332c3134372e31483937302e39334d32382e393360208201527f2c3231322e35483937302e34314d32392e32312c3237372e3832483937302e3660408201527f394d32392e32312c3334332e3137483937302e36394d32392e32312c3430382e60608201527f3535483937302e36394d32382e372c3437332e3931483937302e31384d32392e60808201527f382c3533392e3236483937312e334d32392e382c3630342e3634483937312e3360a08201527f4d32392e33312c3637302e3034483937302e37374d32392e35392c3733352e3360c08201527f35483937312e30374d32392e35392c3830302e3731483937312e30374d32392e60e08201527f35392c3836362e3039483937312e30374d32392e30372c3933312e34344839376101008201527f302e353322206f7061636974793d2230223e3c2f706174683e0000000000000061012082015250565b5f6140f561013983613515565b915061410082613f68565b61013982019050919050565b7f3c2f646566733e000000000000000000000000000000000000000000000000005f82015250565b5f614140600783613515565b915061414b8261410c565b600782019050919050565b7f3c75736520786c696e6b3a687265663d2223706174683122202f3e00000000005f82015250565b5f61418a601b83613515565b915061419582614156565b601b82019050919050565b7f3c7465787420666f6e742d73697a653d2235302e35307078222066696c6c3d225f8201527f233733666137392220666f6e742d66616d696c793d22436f7572696572204e6560208201527f772220666f6e742d76617269616e743d226e6f726d616c2220666f6e742d776560408201527f696768743d22626f6c64223e0000000000000000000000000000000000000000606082015250565b5f614246606c83613515565b9150614251826141a0565b606c82019050919050565b7f3c746578745061746820786c696e6b3a687265663d22237061746831223e00005f82015250565b5f614290601e83613515565b915061429b8261425c565b601e82019050919050565b7f3c2f74657874506174683e3c2f746578743e00000000000000000000000000005f82015250565b5f6142da601283613515565b91506142e5826142a6565b601282019050919050565b7f3c2f7376673e00000000000000000000000000000000000000000000000000005f82015250565b5f614324600683613515565b915061432f826142f0565b600682019050919050565b5f61434482613e8c565b915061434f82613efc565b915061435a82613f46565b9150614365826140e8565b915061437082614134565b915061437b8261417e565b91506143868261423a565b915061439182614284565b915061439d8284613569565b91506143a8826142ce565b91506143b382614318565b915081905092915050565b5f6143c882612bae565b91506143d383612bae565b92508282019050808211156143eb576143ea6134b8565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d149db14a12cf722e0e1b596e70af6a378dcb05039730e2270f87272b20cd3cd64736f6c63430008160033000000000000000000000000e0df49b36e44cda5679b3f65916467639c434d0d

Deployed Bytecode

0x60806040526004361061020e575f3560e01c80638c7ea24b11610117578063cef6d3681161009f578063e67530d51161006e578063e67530d514610775578063e985e9c51461079f578063f2fde38b146107db578063f9020e3314610803578063fa8d18e91461082d5761020e565b8063cef6d368146106d6578063d5abeb0114610713578063d85d3d271461073d578063e04c7b82146107595761020e565b8063a22cb465116100e6578063a22cb465146105d2578063a6a0eea8146105fa578063af15b97c14610636578063b88d4fde14610672578063c87b56dd1461069a5761020e565b80638c7ea24b1461052c5780638da5cb5b1461055457806395d89b411461057e578063a035b1fe146105a85761020e565b8063453c23101161019a5780636352211e116101695780636352211e1461044c57806370a0823114610488578063715018a6146104c457806371c180ba146104da5780637cb64759146105045761020e565b8063453c2310146103a85780634891ad88146103d257806353655d5d146103fa57806356bd182d146104225761020e565b806318160ddd116101e157806318160ddd146102dc57806323b872dd14610306578063323916c71461032e5780633ccfd60b1461036a57806342842e0e146103805761020e565b806301ffc9a71461021257806306fdde031461024e578063081812fc14610278578063095ea7b3146102b4575b5f80fd5b34801561021d575f80fd5b5061023860048036038101906102339190612aa6565b610869565b6040516102459190612aeb565b60405180910390f35b348015610259575f80fd5b506102626108f2565b60405161026f9190612b8e565b60405180910390f35b348015610283575f80fd5b5061029e60048036038101906102999190612be1565b610981565b6040516102ab9190612c4b565b60405180910390f35b3480156102bf575f80fd5b506102da60048036038101906102d59190612c8e565b61099c565b005b3480156102e7575f80fd5b506102f06109b2565b6040516102fd9190612cdb565b60405180910390f35b348015610311575f80fd5b5061032c60048036038101906103279190612cf4565b6109b8565b005b348015610339575f80fd5b50610354600480360381019061034f9190612be1565b610ab7565b6040516103619190612cdb565b60405180910390f35b348015610375575f80fd5b5061037e610acc565b005b34801561038b575f80fd5b506103a660048036038101906103a19190612cf4565b610b8b565b005b3480156103b3575f80fd5b506103bc610baa565b6040516103c99190612cdb565b60405180910390f35b3480156103dd575f80fd5b506103f860048036038101906103f39190612d67565b610baf565b005b348015610405575f80fd5b50610420600480360381019061041b9190612df3565b610be4565b005b34801561042d575f80fd5b50610436610c3d565b6040516104439190612cdb565b60405180910390f35b348015610457575f80fd5b50610472600480360381019061046d9190612be1565b610c43565b60405161047f9190612c4b565b60405180910390f35b348015610493575f80fd5b506104ae60048036038101906104a99190612e3e565b610c54565b6040516104bb9190612cdb565b60405180910390f35b3480156104cf575f80fd5b506104d8610d0a565b005b3480156104e5575f80fd5b506104ee610d1d565b6040516104fb9190612c4b565b60405180910390f35b34801561050f575f80fd5b5061052a60048036038101906105259190612e9c565b610d42565b005b348015610537575f80fd5b50610552600480360381019061054d9190612f02565b610d54565b005b34801561055f575f80fd5b50610568610da7565b6040516105759190612c4b565b60405180910390f35b348015610589575f80fd5b50610592610dcf565b60405161059f9190612b8e565b60405180910390f35b3480156105b3575f80fd5b506105bc610e5f565b6040516105c99190612cdb565b60405180910390f35b3480156105dd575f80fd5b506105f860048036038101906105f39190612f6a565b610e6a565b005b348015610605575f80fd5b50610620600480360381019061061b9190612e3e565b610e80565b60405161062d9190612cdb565b60405180910390f35b348015610641575f80fd5b5061065c60048036038101906106579190612e3e565b610e95565b6040516106699190612cdb565b60405180910390f35b34801561067d575f80fd5b50610698600480360381019061069391906130d0565b610eaa565b005b3480156106a5575f80fd5b506106c060048036038101906106bb9190612be1565b610ec7565b6040516106cd9190612b8e565b60405180910390f35b3480156106e1575f80fd5b506106fc60048036038101906106f79190612be1565b611021565b60405161070a929190613150565b60405180910390f35b34801561071e575f80fd5b506107276110c8565b6040516107349190612cdb565b60405180910390f35b61075760048036038101906107529190612df3565b6110ce565b005b610773600480360381019061076e91906131cc565b611326565b005b348015610780575f80fd5b50610789611674565b6040516107969190612cdb565b60405180910390f35b3480156107aa575f80fd5b506107c560048036038101906107c0919061324a565b611679565b6040516107d29190612aeb565b60405180910390f35b3480156107e6575f80fd5b5061080160048036038101906107fc9190612e3e565b611707565b005b34801561080e575f80fd5b5061081761178b565b60405161082491906132fb565b60405180910390f35b348015610838575f80fd5b50610853600480360381019061084e91906133b2565b61179e565b6040516108609190612aeb565b60405180910390f35b5f610873826117d3565b806108db57507f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108eb57506108ea826117d3565b5b9050919050565b60605f805461090090613426565b80601f016020809104026020016040519081016040528092919081815260200182805461092c90613426565b80156109775780601f1061094e57610100808354040283529160200191610977565b820191905f5260205f20905b81548152906001019060200180831161095a57829003601f168201915b5050505050905090565b5f61098b826118b4565b506109958261193a565b9050919050565b6109ae82826109a9611973565b61197a565b5050565b600c5481565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a28575f6040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401610a1f9190612c4b565b60405180910390fd5b5f610a3b8383610a36611973565b61198c565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ab1578382826040517f64283d7b000000000000000000000000000000000000000000000000000000008152600401610aa893929190613456565b60405180910390fd5b50505050565b600a602052805f5260405f205f915090505481565b610ad4611b97565b3373ffffffffffffffffffffffffffffffffffffffff166108fc600247610afb91906134e5565b90811502906040515f60405180830381858888f19350505050158015610b23573d5f803e3d5ffd5b50600f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610b88573d5f803e3d5ffd5b50565b610ba583838360405180602001604052805f815250610eaa565b505050565b600181565b610bb7611b97565b80601060146101000a81548160ff02191690836002811115610bdc57610bdb613288565b5b021790555050565b610bec611b97565b610c3982828080601f0160208091040260200160405190810160405280939291908181526020018383808284375f81840152601f19601f8201169050808301925050505050505042611c1e565b5050565b61232881565b5f610c4d826118b4565b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610cc5575f6040517f89c62b64000000000000000000000000000000000000000000000000000000008152600401610cbc9190612c4b565b60405180910390fd5b60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610d12611b97565b610d1b5f611d06565b565b600f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d4a611b97565b80600e8190555050565b610d5c611b97565b8160105f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d819055505050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610dde90613426565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0a90613426565b8015610e555780601f10610e2c57610100808354040283529160200191610e55565b820191905f5260205f20905b815481529060010190602001808311610e3857829003601f168201915b5050505050905090565b662386f26fc1000081565b610e7c610e75611973565b8383611dc9565b5050565b6009602052805f5260405f205f915090505481565b600b602052805f5260405f205f915090505481565b610eb58484846109b8565b610ec184848484611f32565b50505050565b6060610ffb610ed5836120e4565b604051602001610ee59190613599565b604051602081830303815290604052610f9460075f8681526020019081526020015f208054610f1390613426565b80601f0160208091040260200160405190810160405280929190818152602001828054610f3f90613426565b8015610f8a5780601f10610f6157610100808354040283529160200191610f8a565b820191905f5260205f20905b815481529060010190602001808311610f6d57829003601f168201915b50505050506121ae565b610fae600a5f8781526020019081526020015f20546120e4565b610fd460075f8881526020019081526020015f208054610fcd90613426565b90506120e4565b604051602001610fe7949392919061389c565b6040516020818303038152906040526121df565b60405160200161100b9190613957565b6040516020818303038152906040529050919050565b5f805f73ffffffffffffffffffffffffffffffffffffffff1660105f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110bc5760105f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600d54856110a9919061397c565b6110b391906134e5565b915091506110c3565b5f80915091505b915091565b61271081565b662386f26fc1000082826002612710600160095f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546101a486869050111561115c576040517f85ff92ab00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60011515600887876040516111729291906139e1565b90815260200160405180910390205f9054906101000a900460ff161515036111c6576040517f92b0811700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b86341015611200576040517f1e602a8800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83601060149054906101000a900460ff16600281111561122357611222613288565b5b1461125a576040517f9e1583b400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c5410611295576040517fe09ad7f200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106112ce576040517f303b682f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61131b89898080601f0160208091040260200160405190810160405280939291908181526020018383808284375f81840152601f19601f8201169050808301925050505050505042611c1e565b505050505050505050565b5f848460016123286003600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546101a48686905011156113ad576040517f85ff92ab00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60011515600887876040516113c39291906139e1565b90815260200160405180910390205f9054906101000a900460ff16151503611417576040517f92b0811700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b86341015611451576040517f1e602a8800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83601060149054906101000a900460ff16600281111561147457611473613288565b5b146114ab576040517f9e1583b400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c54106114e6576040517fe09ad7f200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061151f576040517f303b682f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6115928989808060200260200160405190810160405280939291908181526020018383602002808284375f81840152601f19601f82011690508083019250505050505050600e54336040516020016115779190613a3e565b6040516020818303038152906040528051906020012061233e565b6115c8576040517fc8ac23c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f81548092919061161590613a58565b91905055506116678b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f81840152601f19601f8201169050808301925050505050505042611c1e565b5050505050505050505050565b600381565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b61170f611b97565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361177f575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016117769190612c4b565b60405180910390fd5b61178881611d06565b50565b601060149054906101000a900460ff1681565b6008818051602081018201805184825260208301602085012081835280955050505050505f915054906101000a900460ff1681565b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061189d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806118ad57506118ac82612354565b5b9050919050565b5f806118bf836123bd565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361193157826040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016119289190612cdb565b60405180910390fd5b80915050919050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f33905090565b61198783838360016123f6565b505050565b5f80611997846123bd565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146119d8576119d78184866125b5565b5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611a6357611a175f855f806123f6565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825403925050819055505b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614611ae257600160035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8460025f8681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b611b9f611973565b73ffffffffffffffffffffffffffffffffffffffff16611bbd610da7565b73ffffffffffffffffffffffffffffffffffffffff1614611c1c57611be0611973565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611c139190612c4b565b60405180910390fd5b565b600c5f815480929190611c3090613a58565b91905055506001600883604051611c479190613a9f565b90815260200160405180910390205f6101000a81548160ff0219169083151502179055508160075f600c5481526020019081526020015f209081611c8b9190613c52565b5060095f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815480929190611cd990613a58565b919050555080600a5f600c5481526020019081526020015f2081905550611d0233600c54612678565b5050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e3957816040517f5b08ba18000000000000000000000000000000000000000000000000000000008152600401611e309190612c4b565b60405180910390fd5b8060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f259190612aeb565b60405180910390a3505050565b5f8373ffffffffffffffffffffffffffffffffffffffff163b11156120de578273ffffffffffffffffffffffffffffffffffffffff1663150b7a02611f75611973565b8685856040518563ffffffff1660e01b8152600401611f979493929190613d69565b6020604051808303815f875af1925050508015611fd257506040513d601f19601f82011682018060405250810190611fcf9190613dc7565b60015b612053573d805f8114612000576040519150601f19603f3d011682016040523d82523d5f602084013e612005565b606091505b505f81510361204b57836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016120429190612c4b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146120dc57836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016120d39190612c4b565b60405180910390fd5b505b50505050565b60605f60016120f284612695565b0190505f8167ffffffffffffffff8111156121105761210f612fac565b5b6040519080825280601f01601f1916602001820160405280156121425781602001600182028036833780820191505090505b5090505f82602001820190505b6001156121a3578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816121985761219761348b565b5b0494505f850361214f575b819350505050919050565b60606121d8826040516020016121c4919061433a565b6040516020818303038152906040526121df565b9050919050565b60605f8251036121ff5760405180602001604052805f8152509050612339565b5f60405180606001604052806040815260200161441f6040913990505f60036002855161222c91906143be565b61223691906134e5565b6004612242919061397c565b67ffffffffffffffff81111561225b5761225a612fac565b5b6040519080825280601f01601f19166020018201604052801561228d5781602001600182028036833780820191505090505b509050600182016020820185865187015b808210156122f9576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f811685015184536001840193505061229e565b5050600386510660018114612315576002811461232857612330565b603d6001830353603d6002830353612330565b603d60018303535b50505080925050505b919050565b5f8261234a85846127e6565b1490509392505050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b808061242e57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15612560575f61243d846118b4565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156124a757508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b80156124ba57506124b88184611679565b155b156124fc57826040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526004016124f39190612c4b565b60405180910390fd5b811561255e57838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b8360045f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b6125c0838383612834565b612673575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361263457806040517f7e27328900000000000000000000000000000000000000000000000000000000815260040161262b9190612cdb565b60405180910390fd5b81816040517f177e802f00000000000000000000000000000000000000000000000000000000815260040161266a929190613150565b60405180910390fd5b505050565b612691828260405180602001604052805f8152506128f4565b5050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106126f1577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816126e7576126e661348b565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061272e576d04ee2d6d415b85acef810000000083816127245761272361348b565b5b0492506020810190505b662386f26fc10000831061275d57662386f26fc1000083816127535761275261348b565b5b0492506010810190505b6305f5e1008310612786576305f5e100838161277c5761277b61348b565b5b0492506008810190505b61271083106127ab5761271083816127a1576127a061348b565b5b0492506004810190505b606483106127ce57606483816127c4576127c361348b565b5b0492506002810190505b600a83106127dd576001810190505b80915050919050565b5f808290505f5b84518110156128295761281a8286838151811061280d5761280c6143f1565b5b602002602001015161290f565b915080806001019150506127ed565b508091505092915050565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156128eb57508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806128ac57506128ab8484611679565b5b806128ea57508273ffffffffffffffffffffffffffffffffffffffff166128d28361193a565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b6128fe8383612939565b61290a5f848484611f32565b505050565b5f818310612926576129218284612a2c565b612931565b6129308383612a2c565b5b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036129a9575f6040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016129a09190612c4b565b60405180910390fd5b5f6129b583835f61198c565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612a27575f6040517f73c6ac6e000000000000000000000000000000000000000000000000000000008152600401612a1e9190612c4b565b60405180910390fd5b505050565b5f825f528160205260405f20905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a8581612a51565b8114612a8f575f80fd5b50565b5f81359050612aa081612a7c565b92915050565b5f60208284031215612abb57612aba612a49565b5b5f612ac884828501612a92565b91505092915050565b5f8115159050919050565b612ae581612ad1565b82525050565b5f602082019050612afe5f830184612adc565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015612b3b578082015181840152602081019050612b20565b5f8484015250505050565b5f601f19601f8301169050919050565b5f612b6082612b04565b612b6a8185612b0e565b9350612b7a818560208601612b1e565b612b8381612b46565b840191505092915050565b5f6020820190508181035f830152612ba68184612b56565b905092915050565b5f819050919050565b612bc081612bae565b8114612bca575f80fd5b50565b5f81359050612bdb81612bb7565b92915050565b5f60208284031215612bf657612bf5612a49565b5b5f612c0384828501612bcd565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612c3582612c0c565b9050919050565b612c4581612c2b565b82525050565b5f602082019050612c5e5f830184612c3c565b92915050565b612c6d81612c2b565b8114612c77575f80fd5b50565b5f81359050612c8881612c64565b92915050565b5f8060408385031215612ca457612ca3612a49565b5b5f612cb185828601612c7a565b9250506020612cc285828601612bcd565b9150509250929050565b612cd581612bae565b82525050565b5f602082019050612cee5f830184612ccc565b92915050565b5f805f60608486031215612d0b57612d0a612a49565b5b5f612d1886828701612c7a565b9350506020612d2986828701612c7a565b9250506040612d3a86828701612bcd565b9150509250925092565b60038110612d50575f80fd5b50565b5f81359050612d6181612d44565b92915050565b5f60208284031215612d7c57612d7b612a49565b5b5f612d8984828501612d53565b91505092915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112612db357612db2612d92565b5b8235905067ffffffffffffffff811115612dd057612dcf612d96565b5b602083019150836001820283011115612dec57612deb612d9a565b5b9250929050565b5f8060208385031215612e0957612e08612a49565b5b5f83013567ffffffffffffffff811115612e2657612e25612a4d565b5b612e3285828601612d9e565b92509250509250929050565b5f60208284031215612e5357612e52612a49565b5b5f612e6084828501612c7a565b91505092915050565b5f819050919050565b612e7b81612e69565b8114612e85575f80fd5b50565b5f81359050612e9681612e72565b92915050565b5f60208284031215612eb157612eb0612a49565b5b5f612ebe84828501612e88565b91505092915050565b5f612ed182612c0c565b9050919050565b612ee181612ec7565b8114612eeb575f80fd5b50565b5f81359050612efc81612ed8565b92915050565b5f8060408385031215612f1857612f17612a49565b5b5f612f2585828601612eee565b9250506020612f3685828601612bcd565b9150509250929050565b612f4981612ad1565b8114612f53575f80fd5b50565b5f81359050612f6481612f40565b92915050565b5f8060408385031215612f8057612f7f612a49565b5b5f612f8d85828601612c7a565b9250506020612f9e85828601612f56565b9150509250929050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612fe282612b46565b810181811067ffffffffffffffff8211171561300157613000612fac565b5b80604052505050565b5f613013612a40565b905061301f8282612fd9565b919050565b5f67ffffffffffffffff82111561303e5761303d612fac565b5b61304782612b46565b9050602081019050919050565b828183375f83830152505050565b5f61307461306f84613024565b61300a565b9050828152602081018484840111156130905761308f612fa8565b5b61309b848285613054565b509392505050565b5f82601f8301126130b7576130b6612d92565b5b81356130c7848260208601613062565b91505092915050565b5f805f80608085870312156130e8576130e7612a49565b5b5f6130f587828801612c7a565b945050602061310687828801612c7a565b935050604061311787828801612bcd565b925050606085013567ffffffffffffffff81111561313857613137612a4d565b5b613144878288016130a3565b91505092959194509250565b5f6040820190506131635f830185612c3c565b6131706020830184612ccc565b9392505050565b5f8083601f84011261318c5761318b612d92565b5b8235905067ffffffffffffffff8111156131a9576131a8612d96565b5b6020830191508360208202830111156131c5576131c4612d9a565b5b9250929050565b5f805f80604085870312156131e4576131e3612a49565b5b5f85013567ffffffffffffffff81111561320157613200612a4d565b5b61320d87828801612d9e565b9450945050602085013567ffffffffffffffff8111156132305761322f612a4d565b5b61323c87828801613177565b925092505092959194509250565b5f80604083850312156132605761325f612a49565b5b5f61326d85828601612c7a565b925050602061327e85828601612c7a565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b600381106132c6576132c5613288565b5b50565b5f8190506132d6826132b5565b919050565b5f6132e5826132c9565b9050919050565b6132f5816132db565b82525050565b5f60208201905061330e5f8301846132ec565b92915050565b5f67ffffffffffffffff82111561332e5761332d612fac565b5b61333782612b46565b9050602081019050919050565b5f61335661335184613314565b61300a565b90508281526020810184848401111561337257613371612fa8565b5b61337d848285613054565b509392505050565b5f82601f83011261339957613398612d92565b5b81356133a9848260208601613344565b91505092915050565b5f602082840312156133c7576133c6612a49565b5b5f82013567ffffffffffffffff8111156133e4576133e3612a4d565b5b6133f084828501613385565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061343d57607f821691505b6020821081036134505761344f6133f9565b5b50919050565b5f6060820190506134695f830186612c3c565b6134766020830185612ccc565b6134836040830184612c3c565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6134ef82612bae565b91506134fa83612bae565b92508261350a5761350961348b565b5b828204905092915050565b5f81905092915050565b7f23000000000000000000000000000000000000000000000000000000000000005f82015250565b5f613553600183613515565b915061355e8261351f565b600182019050919050565b5f61357382612b04565b61357d8185613515565b935061358d818560208601612b1e565b80840191505092915050565b5f6135a382613547565b91506135af8284613569565b915081905092915050565b7f7b226e616d65223a2200000000000000000000000000000000000000000000005f82015250565b5f6135ee600983613515565b91506135f9826135ba565b600982019050919050565b5f81519050919050565b5f81905092915050565b5f61362282613604565b61362c818561360e565b935061363c818560208601612b1e565b80840191505092915050565b7f222c0000000000000000000000000000000000000000000000000000000000005f82015250565b5f61367c600283613515565b915061368782613648565b600282019050919050565b7f226465736372697074696f6e223a2250726f6d70746572206973206120636f6c5f8201527f6c656374696f6e20627920596f7520616e64204d6f6e61732e222c0000000000602082015250565b5f6136ec603b83613515565b91506136f782613692565b603b82019050919050565b7f22696d616765223a22646174613a696d6167652f7376672b786d6c3b626173655f8201527f36342c0000000000000000000000000000000000000000000000000000000000602082015250565b5f61375c602383613515565b915061376782613702565b602382019050919050565b7f2261747472696275746573223a205b7b2274726169745f74797065223a2022545f8201527f696d657374616d70222c202276616c7565223a20220000000000000000000000602082015250565b5f6137cc603583613515565b91506137d782613772565b603582019050919050565b7f227d2c207b2274726169745f74797065223a20224c656e677468222c202276615f8201527f6c7565223a200000000000000000000000000000000000000000000000000000602082015250565b5f61383c602683613515565b9150613847826137e2565b602682019050919050565b7f7d5d7d00000000000000000000000000000000000000000000000000000000005f82015250565b5f613886600383613515565b915061389182613852565b600382019050919050565b5f6138a6826135e2565b91506138b28287613618565b91506138bd82613670565b91506138c8826136e0565b91506138d382613750565b91506138df8286613569565b91506138ea82613670565b91506138f5826137c0565b91506139018285613569565b915061390c82613830565b91506139188284613569565b91506139238261387a565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815250565b5f61396182613931565b601d820191506139718284613569565b915081905092915050565b5f61398682612bae565b915061399183612bae565b925082820261399f81612bae565b915082820484148315176139b6576139b56134b8565b5b5092915050565b5f6139c88385613515565b93506139d5838584613054565b82840190509392505050565b5f6139ed8284866139bd565b91508190509392505050565b5f8160601b9050919050565b5f613a0f826139f9565b9050919050565b5f613a2082613a05565b9050919050565b613a38613a3382612c2b565b613a16565b82525050565b5f613a498284613a27565b60148201915081905092915050565b5f613a6282612bae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613a9457613a936134b8565b5b600182019050919050565b5f613aaa8284613569565b915081905092915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302613b117fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613ad6565b613b1b8683613ad6565b95508019841693508086168417925050509392505050565b5f819050919050565b5f613b56613b51613b4c84612bae565b613b33565b612bae565b9050919050565b5f819050919050565b613b6f83613b3c565b613b83613b7b82613b5d565b848454613ae2565b825550505050565b5f90565b613b97613b8b565b613ba2818484613b66565b505050565b5b81811015613bc557613bba5f82613b8f565b600181019050613ba8565b5050565b601f821115613c0a57613bdb81613ab5565b613be484613ac7565b81016020851015613bf3578190505b613c07613bff85613ac7565b830182613ba7565b50505b505050565b5f82821c905092915050565b5f613c2a5f1984600802613c0f565b1980831691505092915050565b5f613c428383613c1b565b9150826002028217905092915050565b613c5b82612b04565b67ffffffffffffffff811115613c7457613c73612fac565b5b613c7e8254613426565b613c89828285613bc9565b5f60209050601f831160018114613cba575f8415613ca8578287015190505b613cb28582613c37565b865550613d19565b601f198416613cc886613ab5565b5f5b82811015613cef57848901518255600182019150602085019450602081019050613cca565b86831015613d0c5784890151613d08601f891682613c1b565b8355505b6001600288020188555050505b505050505050565b5f82825260208201905092915050565b5f613d3b82613604565b613d458185613d21565b9350613d55818560208601612b1e565b613d5e81612b46565b840191505092915050565b5f608082019050613d7c5f830187612c3c565b613d896020830186612c3c565b613d966040830185612ccc565b8181036060830152613da88184613d31565b905095945050505050565b5f81519050613dc181612a7c565b92915050565b5f60208284031215613ddc57613ddb612a49565b5b5f613de984828501613db3565b91505092915050565b7f3c7376672077696474683d223130303022206865696768743d223130303022205f8201527f786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737660208201527f672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e77332e6f7260408201527f672f313939392f786c696e6b223e000000000000000000000000000000000000606082015250565b5f613e98606e83613515565b9150613ea382613df2565b606e82019050919050565b7f3c72656374206865696768743d2231303025222077696474683d2231303025225f8201527f20793d22302220783d2230222066696c6c3d2223306330633063222f3e000000602082015250565b5f613f08603d83613515565b9150613f1382613eae565b603d82019050919050565b7f3c646566733e00000000000000000000000000000000000000000000000000005f82015250565b5f613f52600683613515565b9150613f5d82613f1e565b600682019050919050565b7f3c706174682069643d2270617468312220643d224d32392e34332c38312e37335f8201527f483937302e39334d32392e34332c3134372e31483937302e39334d32382e393360208201527f2c3231322e35483937302e34314d32392e32312c3237372e3832483937302e3660408201527f394d32392e32312c3334332e3137483937302e36394d32392e32312c3430382e60608201527f3535483937302e36394d32382e372c3437332e3931483937302e31384d32392e60808201527f382c3533392e3236483937312e334d32392e382c3630342e3634483937312e3360a08201527f4d32392e33312c3637302e3034483937302e37374d32392e35392c3733352e3360c08201527f35483937312e30374d32392e35392c3830302e3731483937312e30374d32392e60e08201527f35392c3836362e3039483937312e30374d32392e30372c3933312e34344839376101008201527f302e353322206f7061636974793d2230223e3c2f706174683e0000000000000061012082015250565b5f6140f561013983613515565b915061410082613f68565b61013982019050919050565b7f3c2f646566733e000000000000000000000000000000000000000000000000005f82015250565b5f614140600783613515565b915061414b8261410c565b600782019050919050565b7f3c75736520786c696e6b3a687265663d2223706174683122202f3e00000000005f82015250565b5f61418a601b83613515565b915061419582614156565b601b82019050919050565b7f3c7465787420666f6e742d73697a653d2235302e35307078222066696c6c3d225f8201527f233733666137392220666f6e742d66616d696c793d22436f7572696572204e6560208201527f772220666f6e742d76617269616e743d226e6f726d616c2220666f6e742d776560408201527f696768743d22626f6c64223e0000000000000000000000000000000000000000606082015250565b5f614246606c83613515565b9150614251826141a0565b606c82019050919050565b7f3c746578745061746820786c696e6b3a687265663d22237061746831223e00005f82015250565b5f614290601e83613515565b915061429b8261425c565b601e82019050919050565b7f3c2f74657874506174683e3c2f746578743e00000000000000000000000000005f82015250565b5f6142da601283613515565b91506142e5826142a6565b601282019050919050565b7f3c2f7376673e00000000000000000000000000000000000000000000000000005f82015250565b5f614324600683613515565b915061432f826142f0565b600682019050919050565b5f61434482613e8c565b915061434f82613efc565b915061435a82613f46565b9150614365826140e8565b915061437082614134565b915061437b8261417e565b91506143868261423a565b915061439182614284565b915061439d8284613569565b91506143a8826142ce565b91506143b382614318565b915081905092915050565b5f6143c882612bae565b91506143d383612bae565b92508282019050808211156143eb576143ea6134b8565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d149db14a12cf722e0e1b596e70af6a378dcb05039730e2270f87272b20cd3cd64736f6c63430008160033

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

000000000000000000000000e0df49b36e44cda5679b3f65916467639c434d0d

-----Decoded View---------------
Arg [0] : initialOwner (address): 0xe0Df49B36e44Cda5679B3F65916467639C434d0d

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e0df49b36e44cda5679b3f65916467639c434d0d


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.