ETH Price: $3,040.13 (+4.44%)
 

Overview

Max Total Supply

2,377 NYXAI

Holders

2,240

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
rizzu.eth
Balance
1 NYXAI
0x53cF6198b88c405870D88D75968B34ce53a6C968
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:
NYXSoulmateAI

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : NYXSoulmateAI.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "./ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract NYXSoulmateAI is ERC721Enumerable, Ownable, ReentrancyGuard {
    using Strings for uint256;

    string private _baseTokenURI;
    string private _tokenURISuffix;

    uint256 public constant MAX_SOUL_SUPPLY = 10000;
    uint256 public maxPerWalletAl = 3;
    uint256 public maxPerWallet = 10;
    uint256 public publicMintCost = 88000000000000000; // 0.088 ETH
    uint256 public allowlistMintCost = 70000000000000000; // 0.07 ETH
    uint256 public tmpMaxSupply = 5000; // can never be higher than MAX_SOUL_SUPPLY
    uint256 public burnedSouls;

    bytes32 public merkleRoot;

    bool public isPublic;
    bool public isAllowList;
    bool public isBurningAllowed;

    mapping(address => uint256) public mintedCount;
    mapping(address => bool) public hasFreeMint;

    address payable internal constant po =
        payable(0x088927f87d11BE6C5D0411097aD0b7eaC89b9455);
    address payable internal constant dev =
        payable(0x9933Fc3Ae2188Ff5C53AEB6a24f31104733CD87F);

    constructor() ERC721("NYX Soulmate A.I.", "NYXAI") {}

    function mint(uint256 count) external payable nonReentrant {
        require(isPublic, "Public mint closed");

        if (hasFreeMint[msg.sender]) {
            require(
                mintedCount[msg.sender] + count <= maxPerWallet + 1,
                "Exceeds your allowance"
            );
        } else {
            require(
                mintedCount[msg.sender] + count <= maxPerWallet,
                "Exceeds your allowance"
            );
        }

        mintedCount[msg.sender] += count;

        uint256 supply = _owners.length;
        require(supply + count <= tmpMaxSupply, "Max supply reached");

        require(publicMintCost * count == msg.value, "Invalid funds provided");

        for (uint256 i = 0; i < count; i++) {
            _safeMint(msg.sender, supply++);
        }
    }

    function allowListMint(
        bool freeRoot,
        uint256 count,
        bytes32[] calldata proof
    ) external payable nonReentrant {
        require(isAllowList, "Wait for allowlist mint");

        bytes32 leaf = keccak256(abi.encodePacked(freeRoot, msg.sender));
        require(_verify(leaf, proof), "Invalid proof");

        bool isFreeMint = freeRoot && !hasFreeMint[msg.sender];

        if (isFreeMint) {
            require(
                mintedCount[msg.sender] + count <= maxPerWalletAl + 1,
                "Exceeds your allowance"
            );
            hasFreeMint[msg.sender] = true;
        } else if (hasFreeMint[msg.sender]) {
            require(
                mintedCount[msg.sender] + count <= maxPerWalletAl + 1,
                "Exceeds your allowance"
            );
        } else {
            require(
                mintedCount[msg.sender] + count <= maxPerWalletAl,
                "Exceeds your allowance"
            );
        }

        mintedCount[msg.sender] += count;

        uint256 supply = _owners.length;
        require(supply + count <= tmpMaxSupply, "Max supply reached");

        uint256 payedCount = isFreeMint ? count - 1 : count;
        require(
            allowlistMintCost * payedCount == msg.value,
            "Invalid funds provided"
        );

        for (uint256 i = 0; i < count; i++) {
            _safeMint(msg.sender, supply++);
        }
    }

    function burnMultiple(uint256[] calldata tokenIds) external nonReentrant {
        require(isBurningAllowed, "Burning not authorized");
        for (uint256 i = 0; i < tokenIds.length; i++) {
            require(
                _isApprovedOrOwner(_msgSender(), tokenIds[i]),
                "Unauthorized"
            );
            _burn(tokenIds[i]);
        }
        burnedSouls += tokenIds.length;
    }

    function burnSingle(uint256 tokenId) external nonReentrant {
        require(isBurningAllowed, "Burning not authorized");
        require(_isApprovedOrOwner(_msgSender(), tokenId), "Unauthorized");
        _burn(tokenId);
        burnedSouls++;
    }

    /* VIEW FUNCTIONS */

    function tokenURI(uint256 tokenId)
        external
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        require(bytes(_baseTokenURI).length > 0, "Base URI missing");
        return
            string(
                abi.encodePacked(
                    _baseTokenURI,
                    tokenId.toString(),
                    _tokenURISuffix
                )
            );
    }

    /* ONLY OWNER FUNCTIONS */

    function airdrop(uint256[] calldata quantity, address[] calldata recipient)
        external
        onlyOwner
    {
        require(
            quantity.length == recipient.length,
            "Quantity length is not equal to recipients"
        );

        uint256 totalQuantity;
        for (uint256 i = 0; i < quantity.length; ++i) {
            totalQuantity += quantity[i];
        }

        uint256 supply = _owners.length;
        require(
            supply + totalQuantity <= MAX_SOUL_SUPPLY,
            "Max supply reached"
        );

        delete totalQuantity;

        for (uint256 i = 0; i < recipient.length; ++i) {
            for (uint256 j = 0; j < quantity[i]; ++j) {
                _safeMint(recipient[i], supply++);
            }
        }
    }

    function toggleAllowList() external onlyOwner {
        isAllowList = !isAllowList;
    }

    function toggleSales() external onlyOwner {
        isPublic = !isPublic;
        isAllowList = !isAllowList;
    }

    function togglePublicSale() external onlyOwner {
        isPublic = !isPublic;
    }

    function toggleBurningAllowed() external onlyOwner {
        isBurningAllowed = !isBurningAllowed;
    }

    function setMerkleRoot(bytes32 newMerkleRoot) external onlyOwner {
        merkleRoot = newMerkleRoot;
    }

    function setTmpMaxSupply(uint256 maxSupply) external onlyOwner {
        require(
            maxSupply <= MAX_SOUL_SUPPLY,
            "New max supply must be lower than MAX_SOUL_SUPPLY"
        );
        require(
            maxSupply > tmpMaxSupply,
            "New max supply must be higher than tmpMaxSupply"
        );
        tmpMaxSupply = maxSupply;
    }

    function setPublicMintCost(uint256 mintCost) external onlyOwner {
        publicMintCost = mintCost;
    }

    function setAllowListMintCost(uint256 mintCost) external onlyOwner {
        allowlistMintCost = mintCost;
    }

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

    function setMaxPerWalletAL(uint256 _maxPerWallet) external onlyOwner {
        maxPerWalletAl = _maxPerWallet;
    }

    function setBaseURI(string calldata newBaseURI, string calldata newSuffix)
        external
        onlyOwner
    {
        _baseTokenURI = newBaseURI;
        _tokenURISuffix = newSuffix;
    }

    function withdraw() external onlyOwner {
        uint256 devPart = ((address(this).balance * 5) / 100);
        dev.transfer(devPart);
        po.transfer(address(this).balance);
    }

    /* INTERNAL FUNCTIONS */

    function _verify(bytes32 leaf, bytes32[] memory proof)
        internal
        view
        returns (bool)
    {
        return MerkleProof.verify(proof, merkleRoot, leaf);
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _owners.length - burnedSouls;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

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

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

File 4 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 5 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../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 6 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../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 caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

File 7 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @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 8 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

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

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

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

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

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

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

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

File 15 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/utils/Address.sol";

abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;

    string private _name;
    string private _symbol;

    // Mapping from token ID to owner address
    address[] internal _owners;

    mapping(uint256 => address) private _tokenApprovals;
    mapping(address => mapping(address => 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
        override
        returns (uint256)
    {
        require(
            owner != address(0),
            "ERC721: balance query for the zero address"
        );

        uint256 count = 0;
        for (uint256 i = 0; i < _owners.length; ++i) {
            if (owner == _owners[i]) ++count;
        }
        return count;
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        address owner = _owners[tokenId];
        require(
            owner != address(0),
            "ERC721: owner query for nonexistent token"
        );
        return owner;
    }

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        require(
            _exists(tokenId),
            "ERC721: approved query for nonexistent token"
        );

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721: transfer caller is not owner nor approved"
        );

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721: transfer caller is not owner nor approved"
        );
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - 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,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return tokenId < _owners.length && _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId)
        internal
        view
        virtual
        returns (bool)
    {
        require(
            _exists(tokenId),
            "ERC721: operator query for nonexistent token"
        );
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner ||
            getApproved(tokenId) == spender ||
            isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * 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 virtual {
        _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);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @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 virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);
        _owners.push(to);

        emit Transfer(address(0), to, tokenId);
    }

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

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);
        _owners[tokenId] = address(0);

        emit Transfer(owner, address(0), 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 virtual {
        require(
            ERC721.ownerOf(tokenId) == from,
            "ERC721: transfer of token that is not own"
        );
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * 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
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try
                IERC721Receiver(to).onERC721Received(
                    _msgSender(),
                    from,
                    tokenId,
                    _data
                )
            returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert(
                        "ERC721: transfer to non ERC721Receiver implementer"
                    );
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 16 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "./ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(IERC165, ERC721)
        returns (bool)
    {
        return
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index)
        public
        view
        virtual
        override
        returns (uint256)
    {
        require(
            _exists(index),
            "ERC721Enumerable: query for nonexistent token"
        );
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
        public
        view
        virtual
        override
        returns (uint256 tokenId)
    {
        require(
            index < balanceOf(owner),
            "ERC721Enumerable: owner index out of bounds"
        );

        uint256 count = 0;
        for (uint256 i = 0; i < _owners.length; i++) {
            if (owner == _owners[i]) {
                if (count == index) return i;
                else count++;
            }
        }

        revert("ERC721Enumerable: owner index out of bounds");
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":[],"name":"MAX_SOUL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"freeRoot","type":"bool"},{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"allowListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"allowlistMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burnMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnSingle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnedSouls","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasFreeMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAllowList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"isBurningAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublic","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":"maxPerWalletAl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":[{"internalType":"uint256","name":"mintCost","type":"uint256"}],"name":"setAllowListMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"},{"internalType":"string","name":"newSuffix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"setMaxPerWalletAL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintCost","type":"uint256"}],"name":"setPublicMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setTmpMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tmpMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleBurningAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSales","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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"}]

60806040526003600955600a8055670138a388a43c0000600b5566f8b0a10e470000600c55611388600d553480156200003757600080fd5b506040805180820182526011815270272cac1029b7bab636b0ba32902097249760791b6020808301918252835180850190945260058452644e5958414960d81b9084015281519192916200008e9160009162000122565b508051620000a490600190602084019062000122565b505050620000c1620000bb620000cc60201b60201c565b620000d0565b60016006556200020f565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013090620001de565b90600052602060002090601f0160209004810192826200015457600085556200019f565b82601f106200016f57805160ff19168380011785556200019f565b828001600101855582156200019f579182015b828111156200019f57825182559160200191906001019062000182565b50620001ad929150620001b1565b5090565b5b80821115620001ad5760008155600101620001b2565b634e487b7160e01b600052602260045260246000fd5b600281046001821680620001f357607f821691505b60208210811415620002095762000209620001c8565b50919050565b61315d806200021f6000396000f3fe6080604052600436106102ae5760003560e01c8063715018a611610175578063b88d4fde116100dc578063e222c7f911610095578063e985e9c51161006f578063e985e9c5146107cc578063f2fde38b14610815578063fddcb5ea14610835578063ff0bd24f1461086257600080fd5b8063e222c7f914610777578063e268e4d31461078c578063e76af32e146107ac57600080fd5b8063b88d4fde146106b9578063c87b56dd146106d9578063d5cde1f2146106f9578063dbd30ae014610729578063dc4efe101461073e578063dc9a15351461075d57600080fd5b806395d89b411161012e57806395d89b411461061c57806396dee89614610631578063984adc6614610651578063988934af14610671578063a0712d6814610686578063a22cb4651461069957600080fd5b8063715018a61461057d57806376b8ff0a146105925780637cb64759146105a857806380eae578146105c85780638c770067146105e85780638da5cb5b146105fe57600080fd5b806337951c761161021957806360fa1fbd116101d257806360fa1fbd146104c75780636352211e146104dd5780636673c4c2146104fd5780636790a9de1461051d5780636ab49a5b1461053d57806370a082311461055d57600080fd5b806337951c76146104335780633ccfd60b1461044657806342842e0e1461045b578063453c23101461047b5780634f6ccce7146104915780635f23c422146104b157600080fd5b806323b872dd1161026b57806323b872dd146103925780632adf64b1146103b25780632eb4a7ab146103c75780632f745c59146103dd57806332f2e14a146103fd578063342e28011461041d57600080fd5b806301ffc9a7146102b357806306fdde03146102e9578063081812fc1461030b578063095ea7b31461033857806318160ddd1461035a578063231e53f81461037c575b600080fd5b3480156102bf57600080fd5b506102d36102ce366004611f56565b610882565b6040516102e09190611f81565b60405180910390f35b3480156102f557600080fd5b506102fe6108ad565b6040516102e09190611fed565b34801561031757600080fd5b5061032b61032636600461200f565b61093f565b6040516102e0919061204a565b34801561034457600080fd5b5061035861035336600461206c565b61098b565b005b34801561036657600080fd5b5061036f610a11565b6040516102e091906120af565b34801561038857600080fd5b5061036f600e5481565b34801561039e57600080fd5b506103586103ad3660046120bd565b610a28565b3480156103be57600080fd5b50610358610a5a565b3480156103d357600080fd5b5061036f600f5481565b3480156103e957600080fd5b5061036f6103f836600461206c565b610a81565b34801561040957600080fd5b5061035861041836600461200f565b610b34565b34801561042957600080fd5b5061036f600d5481565b610358610441366004612172565b610b84565b34801561045257600080fd5b50610358610e45565b34801561046757600080fd5b506103586104763660046120bd565b610eef565b34801561048757600080fd5b5061036f600a5481565b34801561049d57600080fd5b5061036f6104ac36600461200f565b610f0a565b3480156104bd57600080fd5b5061036f600c5481565b3480156104d357600080fd5b5061036f60095481565b3480156104e957600080fd5b5061032b6104f836600461200f565b610f35565b34801561050957600080fd5b506103586105183660046121e0565b610f7f565b34801561052957600080fd5b5061035861053836600461228c565b6110a7565b34801561054957600080fd5b506103586105583660046122f9565b6110cf565b34801561056957600080fd5b5061036f610578366004612341565b61119f565b34801561058957600080fd5b5061035861122a565b34801561059e57600080fd5b5061036f61271081565b3480156105b457600080fd5b506103586105c336600461200f565b61123e565b3480156105d457600080fd5b506103586105e336600461200f565b61124b565b3480156105f457600080fd5b5061036f600b5481565b34801561060a57600080fd5b506005546001600160a01b031661032b565b34801561062857600080fd5b506102fe611258565b34801561063d57600080fd5b5061035861064c36600461200f565b611267565b34801561065d57600080fd5b5061035861066c36600461200f565b611274565b34801561067d57600080fd5b50610358611281565b61035861069436600461200f565b6112a6565b3480156106a557600080fd5b506103586106b4366004612362565b61142f565b3480156106c557600080fd5b506103586106d4366004612488565b6114c7565b3480156106e557600080fd5b506102fe6106f436600461200f565b6114f9565b34801561070557600080fd5b506102d3610714366004612341565b60126020526000908152604090205460ff1681565b34801561073557600080fd5b50610358611583565b34801561074a57600080fd5b506010546102d390610100900460ff1681565b34801561076957600080fd5b506010546102d39060ff1681565b34801561078357600080fd5b506103586115bf565b34801561079857600080fd5b506103586107a736600461200f565b6115db565b3480156107b857600080fd5b506010546102d39062010000900460ff1681565b3480156107d857600080fd5b506102d36107e7366004612507565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561082157600080fd5b50610358610830366004612341565b6115e8565b34801561084157600080fd5b5061036f610850366004612341565b60116020526000908152604090205481565b34801561086e57600080fd5b5061035861087d36600461200f565b61161f565b60006001600160e01b0319821663780e9d6360e01b14806108a757506108a78261169c565b92915050565b6060600080546108bc90612550565b80601f01602080910402602001604051908101604052809291908181526020018280546108e890612550565b80156109355780601f1061090a57610100808354040283529160200191610935565b820191906000526020600020905b81548152906001019060200180831161091857829003601f168201915b5050505050905090565b600061094a826116ec565b61096f5760405162461bcd60e51b8152600401610966906125c9565b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061099682610f35565b9050806001600160a01b0316836001600160a01b031614156109ca5760405162461bcd60e51b815260040161096690612617565b336001600160a01b03821614806109e657506109e681336107e7565b610a025760405162461bcd60e51b815260040161096690612681565b610a0c8383611736565b505050565b600e54600254600091610a23916126a7565b905090565b610a33335b826117a4565b610a4f5760405162461bcd60e51b81526004016109669061270c565b610a0c838383611849565b610a62611921565b6010805462ff0000198116620100009182900460ff1615909102179055565b6000610a8c8361119f565b8210610aaa5760405162461bcd60e51b815260040161096690612764565b6000805b600254811015610b1b5760028181548110610acb57610acb612774565b6000918252602090912001546001600160a01b0386811691161415610b095783821415610afb5791506108a79050565b81610b058161278a565b9250505b80610b138161278a565b915050610aae565b5060405162461bcd60e51b815260040161096690612764565b610b3c611921565b612710811115610b5e5760405162461bcd60e51b8152600401610966906127f3565b600d548111610b7f5760405162461bcd60e51b81526004016109669061284f565b600d55565b610b8c61194b565b601054610100900460ff16610bb35760405162461bcd60e51b815260040161096690612896565b60008433604051602001610bc89291906128f0565b604051602081830303815290604052805190602001209050610c1d8184848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061197592505050565b610c395760405162461bcd60e51b81526004016109669061293a565b6000858015610c5857503360009081526012602052604090205460ff16155b90508015610cc657600954610c6e90600161294a565b33600090815260116020526040902054610c8990879061294a565b1115610ca75760405162461bcd60e51b81526004016109669061298f565b336000908152601260205260409020805460ff19166001179055610d66565b3360009081526012602052604090205460ff1615610d2a57600954610cec90600161294a565b33600090815260116020526040902054610d0790879061294a565b1115610d255760405162461bcd60e51b81526004016109669061298f565b610d66565b60095433600090815260116020526040902054610d4890879061294a565b1115610d665760405162461bcd60e51b81526004016109669061298f565b3360009081526011602052604081208054879290610d8590849061294a565b9091555050600254600d54610d9a878361294a565b1115610db85760405162461bcd60e51b8152600401610966906129c8565b600082610dc55786610dd0565b610dd06001886126a7565b90503481600c54610de191906129d8565b14610dfe5760405162461bcd60e51b815260040161096690612a24565b60005b87811015610e3057610e1e3384610e178161278a565b955061198b565b80610e288161278a565b915050610e01565b5050505050610e3f6001600655565b50505050565b610e4d611921565b60006064610e5c4760056129d8565b610e669190612a4a565b604051909150739933fc3ae2188ff5c53aeb6a24f31104733cd87f9082156108fc029083906000818181858888f19350505050158015610eaa573d6000803e3d6000fd5b5060405173088927f87d11be6c5d0411097ad0b7eac89b9455904780156108fc02916000818181858888f19350505050158015610eeb573d6000803e3d6000fd5b5050565b610a0c838383604051806020016040528060008152506114c7565b6000610f15826116ec565b610f315760405162461bcd60e51b815260040161096690612aa8565b5090565b60008060028381548110610f4b57610f4b612774565b6000918252602090912001546001600160a01b03169050806108a75760405162461bcd60e51b815260040161096690612afe565b610f87611921565b828114610fa65760405162461bcd60e51b815260040161096690612b55565b6000805b84811015610fe857858582818110610fc457610fc4612774565b9050602002013582610fd6919061294a565b9150610fe18161278a565b9050610faa565b50600254612710610ff9838361294a565b11156110175760405162461bcd60e51b8152600401610966906129c8565b6000915060005b8381101561109e5760005b87878381811061103b5761103b612774565b9050602002013581101561108d5761107d86868481811061105e5761105e612774565b90506020020160208101906110739190612341565b84610e178161278a565b6110868161278a565b9050611029565b506110978161278a565b905061101e565b50505050505050565b6110af611921565b6110bb60078585611ea4565b506110c860088383611ea4565b5050505050565b6110d761194b565b60105462010000900460ff166110ff5760405162461bcd60e51b815260040161096690612b92565b60005b8181101561117b5761112c3384848481811061112057611120612774565b905060200201356117a4565b6111485760405162461bcd60e51b815260040161096690612bc5565b61116983838381811061115d5761115d612774565b905060200201356119a5565b806111738161278a565b915050611102565b5081819050600e6000828254611191919061294a565b909155505060016006555050565b60006001600160a01b0382166111c75760405162461bcd60e51b815260040161096690612c1c565b6000805b60025481101561122357600281815481106111e8576111e8612774565b6000918252602090912001546001600160a01b0385811691161415611213576112108261278a565b91505b61121c8161278a565b90506111cb565b5092915050565b611232611921565b61123c6000611a27565b565b611246611921565b600f55565b611253611921565b600b55565b6060600180546108bc90612550565b61126f611921565b600955565b61127c611921565b600c55565b611289611921565b6010805461ff001981166101009182900460ff1615909102179055565b6112ae61194b565b60105460ff166112d05760405162461bcd60e51b815260040161096690612c55565b3360009081526012602052604090205460ff161561133457600a546112f690600161294a565b3360009081526011602052604090205461131190839061294a565b111561132f5760405162461bcd60e51b81526004016109669061298f565b611370565b600a543360009081526011602052604090205461135290839061294a565b11156113705760405162461bcd60e51b81526004016109669061298f565b336000908152601160205260408120805483929061138f90849061294a565b9091555050600254600d546113a4838361294a565b11156113c25760405162461bcd60e51b8152600401610966906129c8565b3482600b546113d191906129d8565b146113ee5760405162461bcd60e51b815260040161096690612a24565b60005b828110156114205761140e33836114078161278a565b945061198b565b806114188161278a565b9150506113f1565b505061142c6001600655565b50565b6001600160a01b0382163314156114585760405162461bcd60e51b815260040161096690612c99565b3360008181526004602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31906114bb908590611f81565b60405180910390a35050565b6114d133836117a4565b6114ed5760405162461bcd60e51b81526004016109669061270c565b610e3f84848484611a79565b6060611504826116ec565b6115205760405162461bcd60e51b815260040161096690612cf5565b60006007805461152f90612550565b90501161154e5760405162461bcd60e51b815260040161096690612d2c565b600761155983611aac565b600860405160200161156d93929190612dcc565b6040516020818303038152906040529050919050565b61158b611921565b6010805461010060ff19821660ff80841615918217839004161590910261ff001990911661ffff1990921691909117179055565b6115c7611921565b6010805460ff19811660ff90911615179055565b6115e3611921565b600a55565b6115f0611921565b6001600160a01b0381166116165760405162461bcd60e51b815260040161096690612e3c565b61142c81611a27565b61162761194b565b60105462010000900460ff1661164f5760405162461bcd60e51b815260040161096690612b92565b61165833610a2d565b6116745760405162461bcd60e51b815260040161096690612bc5565b61167d816119a5565b600e805490600061168d8361278a565b919050555061142c6001600655565b60006001600160e01b031982166380ac58cd60e01b14806116cd57506001600160e01b03198216635b5e139f60e01b145b806108a757506301ffc9a760e01b6001600160e01b03198316146108a7565b600254600090821080156108a7575060006001600160a01b03166002838154811061171957611719612774565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061176b82610f35565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006117af826116ec565b6117cb5760405162461bcd60e51b815260040161096690612e95565b60006117d683610f35565b9050806001600160a01b0316846001600160a01b031614806118115750836001600160a01b03166118068461093f565b6001600160a01b0316145b8061184157506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661185c82610f35565b6001600160a01b0316146118825760405162461bcd60e51b815260040161096690612eeb565b6001600160a01b0382166118a85760405162461bcd60e51b815260040161096690612f3c565b6118b3600082611736565b81600282815481106118c7576118c7612774565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6005546001600160a01b0316331461123c5760405162461bcd60e51b815260040161096690612f7e565b6002600654141561196e5760405162461bcd60e51b815260040161096690612fc2565b6002600655565b600061198482600f5485611b49565b9392505050565b610eeb828260405180602001604052806000815250611b5f565b60006119b082610f35565b90506119bd600083611736565b6000600283815481106119d2576119d2612774565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611a84848484611849565b611a9084848484611b92565b610e3f5760405162461bcd60e51b815260040161096690613021565b60606000611ab983611c90565b600101905060008167ffffffffffffffff811115611ad957611ad9612395565b6040519080825280601f01601f191660200182016040528015611b03576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611b3c57611b41565b611b0d565b509392505050565b600082611b568584611d68565b14949350505050565b611b698383611dad565b611b766000848484611b92565b610a0c5760405162461bcd60e51b815260040161096690613021565b60006001600160a01b0384163b15611c8557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611bd6903390899088908890600401613031565b6020604051808303816000875af1925050508015611c11575060408051601f3d908101601f19168201909252611c0e91810190613080565b60015b611c6b573d808015611c3f576040519150601f19603f3d011682016040523d82523d6000602084013e611c44565b606091505b508051611c635760405162461bcd60e51b815260040161096690613021565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611841565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611ccf5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611cfb576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611d1957662386f26fc10000830492506010015b6305f5e1008310611d31576305f5e100830492506008015b6127108310611d4557612710830492506004015b60648310611d57576064830492506002015b600a83106108a75760010192915050565b600081815b8451811015611b4157611d9982868381518110611d8c57611d8c612774565b6020026020010151611e75565b915080611da58161278a565b915050611d6d565b6001600160a01b038216611dd35760405162461bcd60e51b8152600401610966906130d3565b611ddc816116ec565b15611df95760405162461bcd60e51b815260040161096690613117565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818310611e91576000828152602084905260409020611984565b6000838152602083905260409020611984565b828054611eb090612550565b90600052602060002090601f016020900481019282611ed25760008555611f18565b82601f10611eeb5782800160ff19823516178555611f18565b82800160010185558215611f18579182015b82811115611f18578235825591602001919060010190611efd565b50610f319291505b80821115610f315760008155600101611f20565b6001600160e01b031981165b811461142c57600080fd5b80356108a781611f34565b600060208284031215611f6b57611f6b600080fd5b60006118418484611f4b565b8015155b82525050565b602081016108a78284611f77565b60005b83811015611faa578181015183820152602001611f92565b83811115610e3f5750506000910152565b6000611fc5825190565b808452602084019350611fdc818560208601611f8f565b601f01601f19169290920192915050565b602080825281016119848184611fbb565b80611f40565b80356108a781611ffe565b60006020828403121561202457612024600080fd5b60006118418484612004565b60006001600160a01b0382166108a7565b611f7b81612030565b602081016108a78284612041565b611f4081612030565b80356108a781612058565b6000806040838503121561208257612082600080fd5b600061208e8585612061565b925050602061209f85828601612004565b9150509250929050565b80611f7b565b602081016108a782846120a9565b6000806000606084860312156120d5576120d5600080fd5b60006120e18686612061565b93505060206120f286828701612061565b925050604061210386828701612004565b9150509250925092565b801515611f40565b80356108a78161210d565b60008083601f84011261213557612135600080fd5b50813567ffffffffffffffff81111561215057612150600080fd5b60208301915083602082028301111561216b5761216b600080fd5b9250929050565b6000806000806060858703121561218b5761218b600080fd5b60006121978787612115565b94505060206121a887828801612004565b935050604085013567ffffffffffffffff8111156121c8576121c8600080fd5b6121d487828801612120565b95989497509550505050565b600080600080604085870312156121f9576121f9600080fd5b843567ffffffffffffffff81111561221357612213600080fd5b61221f87828801612120565b9450945050602085013567ffffffffffffffff8111156121c8576121c8600080fd5b60008083601f84011261225657612256600080fd5b50813567ffffffffffffffff81111561227157612271600080fd5b60208301915083600182028301111561216b5761216b600080fd5b600080600080604085870312156122a5576122a5600080fd5b843567ffffffffffffffff8111156122bf576122bf600080fd5b6122cb87828801612241565b9450945050602085013567ffffffffffffffff8111156122ed576122ed600080fd5b6121d487828801612241565b6000806020838503121561230f5761230f600080fd5b823567ffffffffffffffff81111561232957612329600080fd5b61233585828601612120565b92509250509250929050565b60006020828403121561235657612356600080fd5b60006118418484612061565b6000806040838503121561237857612378600080fd5b60006123848585612061565b925050602061209f85828601612115565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff821117156123d1576123d1612395565b6040525050565b60006123e360405190565b90506123ef82826123ab565b919050565b600067ffffffffffffffff82111561240e5761240e612395565b601f19601f83011660200192915050565b82818337506000910152565b600061243e612439846123f4565b6123d8565b90508281526020810184848401111561245957612459600080fd5b611b4184828561241f565b600082601f83011261247857612478600080fd5b813561184184826020860161242b565b600080600080608085870312156124a1576124a1600080fd5b60006124ad8787612061565b94505060206124be87828801612061565b93505060406124cf87828801612004565b925050606085013567ffffffffffffffff8111156124ef576124ef600080fd5b6124fb87828801612464565b91505092959194509250565b6000806040838503121561251d5761251d600080fd5b60006125298585612061565b925050602061209f85828601612061565b634e487b7160e01b600052602260045260246000fd5b60028104600182168061256457607f821691505b602082108114156125775761257761253a565b50919050565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291505b5060400190565b602080825281016108a78161257d565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b602082015291506125c2565b602080825281016108a7816125d9565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015291506125c2565b602080825281016108a781612627565b634e487b7160e01b600052601160045260246000fd5b6000828210156126b9576126b9612691565b500390565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b602082015291506125c2565b602080825281016108a7816126be565b602b81526000602082017f455243373231456e756d657261626c653a206f776e657220696e646578206f7581526a74206f6620626f756e647360a81b602082015291506125c2565b602080825281016108a78161271c565b634e487b7160e01b600052603260045260246000fd5b600060001982141561279e5761279e612691565b5060010190565b603181526000602082017f4e6577206d617820737570706c79206d757374206265206c6f776572207468618152706e204d41585f534f554c5f535550504c5960781b602082015291506125c2565b602080825281016108a7816127a5565b602f81526000602082017f4e6577206d617820737570706c79206d7573742062652068696768657220746881526e616e20746d704d6178537570706c7960881b602082015291506125c2565b602080825281016108a781612803565b601781526000602082017f5761697420666f7220616c6c6f776c697374206d696e74000000000000000000815291505b5060200190565b602080825281016108a78161285f565b60006108a78260f81b90565b60006108a7826128a6565b611f7b8115156128b2565b60006108a78260601b90565b60006108a7826128c8565b611f7b6128eb82612030565b6128d4565b60006128fc82856128bd565b60018201915061290c82846128df565b5060140192915050565b600d81526000602082016c24b73b30b634b210383937b7b360991b8152915061288f565b602080825281016108a781612916565b6000821982111561295d5761295d612691565b500190565b60168152600060208201754578636565647320796f757220616c6c6f77616e636560501b8152915061288f565b602080825281016108a781612962565b601281526000602082017113585e081cdd5c1c1b1e481c995858da195960721b8152915061288f565b602080825281016108a78161299f565b60008160001904831182151516156129f2576129f2612691565b500290565b6016815260006020820175125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b8152915061288f565b602080825281016108a7816129f7565b634e487b7160e01b600052601260045260246000fd5b600082612a5957612a59612a34565b500490565b602d81526000602082017f455243373231456e756d657261626c653a20717565727920666f72206e6f6e6581526c3c34b9ba32b73a103a37b5b2b760991b602082015291506125c2565b602080825281016108a781612a5e565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b602082015291506125c2565b602080825281016108a781612ab8565b602a81526000602082017f5175616e74697479206c656e677468206973206e6f7420657175616c20746f20815269726563697069656e747360b01b602082015291506125c2565b602080825281016108a781612b0e565b6016815260006020820175109d5c9b9a5b99c81b9bdd08185d5d1a1bdc9a5e995960521b8152915061288f565b602080825281016108a781612b65565b600c81526000602082016b155b985d5d1a1bdc9a5e995960a21b8152915061288f565b602080825281016108a781612ba2565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b602082015291506125c2565b602080825281016108a781612bd5565b6012815260006020820171141d589b1a58c81b5a5b9d0818db1bdcd95960721b8152915061288f565b602080825281016108a781612c2c565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c6572000000000000008152915061288f565b602080825281016108a781612c65565b602f81526000602082017f4552433732314d657461646174613a2055524920717565727920666f72206e6f81526e3732bc34b9ba32b73a103a37b5b2b760891b602082015291506125c2565b602080825281016108a781612ca9565b601081526000602082016f4261736520555249206d697373696e6760801b8152915061288f565b602080825281016108a781612d05565b60008154612d4981612550565b600182168015612d605760018114612d7157612da1565b60ff19831686528186019350612da1565b60008581526020902060005b83811015612d9957815488820152600190910190602001612d7d565b838801955050505b50505092915050565b6000612db4825190565b612dc2818560208601611f8f565b9290920192915050565b6000612dd88286612d3c565b9150612de48285612daa565b9150612df08284612d3c565b95945050505050565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b602082015291506125c2565b602080825281016108a781612df9565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291506125c2565b602080825281016108a781612e4c565b602981526000602082017f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981526839903737ba1037bbb760b91b602082015291506125c2565b602080825281016108a781612ea5565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b602082015291506125c2565b602080825281016108a781612efb565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65729101908152600061288f565b602080825281016108a781612f4c565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c008152915061288f565b602080825281016108a781612f8e565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b602082015291506125c2565b602080825281016108a781612fd2565b6080810161303f8287612041565b61304c6020830186612041565b61305960408301856120a9565b818103606083015261306b8184611fbb565b9695505050505050565b80516108a781611f34565b60006020828403121561309557613095600080fd5b60006118418484613075565b60208082527f4552433732313a206d696e7420746f20746865207a65726f20616464726573739101908152600061288f565b602080825281016108a7816130a1565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e746564000000008152915061288f565b602080825281016108a7816130e356fea2646970667358221220f20ade7391e3b153d2b732461574c79d9937c204635358c24a274a5ec961221264736f6c634300080c0033

Deployed Bytecode

0x6080604052600436106102ae5760003560e01c8063715018a611610175578063b88d4fde116100dc578063e222c7f911610095578063e985e9c51161006f578063e985e9c5146107cc578063f2fde38b14610815578063fddcb5ea14610835578063ff0bd24f1461086257600080fd5b8063e222c7f914610777578063e268e4d31461078c578063e76af32e146107ac57600080fd5b8063b88d4fde146106b9578063c87b56dd146106d9578063d5cde1f2146106f9578063dbd30ae014610729578063dc4efe101461073e578063dc9a15351461075d57600080fd5b806395d89b411161012e57806395d89b411461061c57806396dee89614610631578063984adc6614610651578063988934af14610671578063a0712d6814610686578063a22cb4651461069957600080fd5b8063715018a61461057d57806376b8ff0a146105925780637cb64759146105a857806380eae578146105c85780638c770067146105e85780638da5cb5b146105fe57600080fd5b806337951c761161021957806360fa1fbd116101d257806360fa1fbd146104c75780636352211e146104dd5780636673c4c2146104fd5780636790a9de1461051d5780636ab49a5b1461053d57806370a082311461055d57600080fd5b806337951c76146104335780633ccfd60b1461044657806342842e0e1461045b578063453c23101461047b5780634f6ccce7146104915780635f23c422146104b157600080fd5b806323b872dd1161026b57806323b872dd146103925780632adf64b1146103b25780632eb4a7ab146103c75780632f745c59146103dd57806332f2e14a146103fd578063342e28011461041d57600080fd5b806301ffc9a7146102b357806306fdde03146102e9578063081812fc1461030b578063095ea7b31461033857806318160ddd1461035a578063231e53f81461037c575b600080fd5b3480156102bf57600080fd5b506102d36102ce366004611f56565b610882565b6040516102e09190611f81565b60405180910390f35b3480156102f557600080fd5b506102fe6108ad565b6040516102e09190611fed565b34801561031757600080fd5b5061032b61032636600461200f565b61093f565b6040516102e0919061204a565b34801561034457600080fd5b5061035861035336600461206c565b61098b565b005b34801561036657600080fd5b5061036f610a11565b6040516102e091906120af565b34801561038857600080fd5b5061036f600e5481565b34801561039e57600080fd5b506103586103ad3660046120bd565b610a28565b3480156103be57600080fd5b50610358610a5a565b3480156103d357600080fd5b5061036f600f5481565b3480156103e957600080fd5b5061036f6103f836600461206c565b610a81565b34801561040957600080fd5b5061035861041836600461200f565b610b34565b34801561042957600080fd5b5061036f600d5481565b610358610441366004612172565b610b84565b34801561045257600080fd5b50610358610e45565b34801561046757600080fd5b506103586104763660046120bd565b610eef565b34801561048757600080fd5b5061036f600a5481565b34801561049d57600080fd5b5061036f6104ac36600461200f565b610f0a565b3480156104bd57600080fd5b5061036f600c5481565b3480156104d357600080fd5b5061036f60095481565b3480156104e957600080fd5b5061032b6104f836600461200f565b610f35565b34801561050957600080fd5b506103586105183660046121e0565b610f7f565b34801561052957600080fd5b5061035861053836600461228c565b6110a7565b34801561054957600080fd5b506103586105583660046122f9565b6110cf565b34801561056957600080fd5b5061036f610578366004612341565b61119f565b34801561058957600080fd5b5061035861122a565b34801561059e57600080fd5b5061036f61271081565b3480156105b457600080fd5b506103586105c336600461200f565b61123e565b3480156105d457600080fd5b506103586105e336600461200f565b61124b565b3480156105f457600080fd5b5061036f600b5481565b34801561060a57600080fd5b506005546001600160a01b031661032b565b34801561062857600080fd5b506102fe611258565b34801561063d57600080fd5b5061035861064c36600461200f565b611267565b34801561065d57600080fd5b5061035861066c36600461200f565b611274565b34801561067d57600080fd5b50610358611281565b61035861069436600461200f565b6112a6565b3480156106a557600080fd5b506103586106b4366004612362565b61142f565b3480156106c557600080fd5b506103586106d4366004612488565b6114c7565b3480156106e557600080fd5b506102fe6106f436600461200f565b6114f9565b34801561070557600080fd5b506102d3610714366004612341565b60126020526000908152604090205460ff1681565b34801561073557600080fd5b50610358611583565b34801561074a57600080fd5b506010546102d390610100900460ff1681565b34801561076957600080fd5b506010546102d39060ff1681565b34801561078357600080fd5b506103586115bf565b34801561079857600080fd5b506103586107a736600461200f565b6115db565b3480156107b857600080fd5b506010546102d39062010000900460ff1681565b3480156107d857600080fd5b506102d36107e7366004612507565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561082157600080fd5b50610358610830366004612341565b6115e8565b34801561084157600080fd5b5061036f610850366004612341565b60116020526000908152604090205481565b34801561086e57600080fd5b5061035861087d36600461200f565b61161f565b60006001600160e01b0319821663780e9d6360e01b14806108a757506108a78261169c565b92915050565b6060600080546108bc90612550565b80601f01602080910402602001604051908101604052809291908181526020018280546108e890612550565b80156109355780601f1061090a57610100808354040283529160200191610935565b820191906000526020600020905b81548152906001019060200180831161091857829003601f168201915b5050505050905090565b600061094a826116ec565b61096f5760405162461bcd60e51b8152600401610966906125c9565b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061099682610f35565b9050806001600160a01b0316836001600160a01b031614156109ca5760405162461bcd60e51b815260040161096690612617565b336001600160a01b03821614806109e657506109e681336107e7565b610a025760405162461bcd60e51b815260040161096690612681565b610a0c8383611736565b505050565b600e54600254600091610a23916126a7565b905090565b610a33335b826117a4565b610a4f5760405162461bcd60e51b81526004016109669061270c565b610a0c838383611849565b610a62611921565b6010805462ff0000198116620100009182900460ff1615909102179055565b6000610a8c8361119f565b8210610aaa5760405162461bcd60e51b815260040161096690612764565b6000805b600254811015610b1b5760028181548110610acb57610acb612774565b6000918252602090912001546001600160a01b0386811691161415610b095783821415610afb5791506108a79050565b81610b058161278a565b9250505b80610b138161278a565b915050610aae565b5060405162461bcd60e51b815260040161096690612764565b610b3c611921565b612710811115610b5e5760405162461bcd60e51b8152600401610966906127f3565b600d548111610b7f5760405162461bcd60e51b81526004016109669061284f565b600d55565b610b8c61194b565b601054610100900460ff16610bb35760405162461bcd60e51b815260040161096690612896565b60008433604051602001610bc89291906128f0565b604051602081830303815290604052805190602001209050610c1d8184848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061197592505050565b610c395760405162461bcd60e51b81526004016109669061293a565b6000858015610c5857503360009081526012602052604090205460ff16155b90508015610cc657600954610c6e90600161294a565b33600090815260116020526040902054610c8990879061294a565b1115610ca75760405162461bcd60e51b81526004016109669061298f565b336000908152601260205260409020805460ff19166001179055610d66565b3360009081526012602052604090205460ff1615610d2a57600954610cec90600161294a565b33600090815260116020526040902054610d0790879061294a565b1115610d255760405162461bcd60e51b81526004016109669061298f565b610d66565b60095433600090815260116020526040902054610d4890879061294a565b1115610d665760405162461bcd60e51b81526004016109669061298f565b3360009081526011602052604081208054879290610d8590849061294a565b9091555050600254600d54610d9a878361294a565b1115610db85760405162461bcd60e51b8152600401610966906129c8565b600082610dc55786610dd0565b610dd06001886126a7565b90503481600c54610de191906129d8565b14610dfe5760405162461bcd60e51b815260040161096690612a24565b60005b87811015610e3057610e1e3384610e178161278a565b955061198b565b80610e288161278a565b915050610e01565b5050505050610e3f6001600655565b50505050565b610e4d611921565b60006064610e5c4760056129d8565b610e669190612a4a565b604051909150739933fc3ae2188ff5c53aeb6a24f31104733cd87f9082156108fc029083906000818181858888f19350505050158015610eaa573d6000803e3d6000fd5b5060405173088927f87d11be6c5d0411097ad0b7eac89b9455904780156108fc02916000818181858888f19350505050158015610eeb573d6000803e3d6000fd5b5050565b610a0c838383604051806020016040528060008152506114c7565b6000610f15826116ec565b610f315760405162461bcd60e51b815260040161096690612aa8565b5090565b60008060028381548110610f4b57610f4b612774565b6000918252602090912001546001600160a01b03169050806108a75760405162461bcd60e51b815260040161096690612afe565b610f87611921565b828114610fa65760405162461bcd60e51b815260040161096690612b55565b6000805b84811015610fe857858582818110610fc457610fc4612774565b9050602002013582610fd6919061294a565b9150610fe18161278a565b9050610faa565b50600254612710610ff9838361294a565b11156110175760405162461bcd60e51b8152600401610966906129c8565b6000915060005b8381101561109e5760005b87878381811061103b5761103b612774565b9050602002013581101561108d5761107d86868481811061105e5761105e612774565b90506020020160208101906110739190612341565b84610e178161278a565b6110868161278a565b9050611029565b506110978161278a565b905061101e565b50505050505050565b6110af611921565b6110bb60078585611ea4565b506110c860088383611ea4565b5050505050565b6110d761194b565b60105462010000900460ff166110ff5760405162461bcd60e51b815260040161096690612b92565b60005b8181101561117b5761112c3384848481811061112057611120612774565b905060200201356117a4565b6111485760405162461bcd60e51b815260040161096690612bc5565b61116983838381811061115d5761115d612774565b905060200201356119a5565b806111738161278a565b915050611102565b5081819050600e6000828254611191919061294a565b909155505060016006555050565b60006001600160a01b0382166111c75760405162461bcd60e51b815260040161096690612c1c565b6000805b60025481101561122357600281815481106111e8576111e8612774565b6000918252602090912001546001600160a01b0385811691161415611213576112108261278a565b91505b61121c8161278a565b90506111cb565b5092915050565b611232611921565b61123c6000611a27565b565b611246611921565b600f55565b611253611921565b600b55565b6060600180546108bc90612550565b61126f611921565b600955565b61127c611921565b600c55565b611289611921565b6010805461ff001981166101009182900460ff1615909102179055565b6112ae61194b565b60105460ff166112d05760405162461bcd60e51b815260040161096690612c55565b3360009081526012602052604090205460ff161561133457600a546112f690600161294a565b3360009081526011602052604090205461131190839061294a565b111561132f5760405162461bcd60e51b81526004016109669061298f565b611370565b600a543360009081526011602052604090205461135290839061294a565b11156113705760405162461bcd60e51b81526004016109669061298f565b336000908152601160205260408120805483929061138f90849061294a565b9091555050600254600d546113a4838361294a565b11156113c25760405162461bcd60e51b8152600401610966906129c8565b3482600b546113d191906129d8565b146113ee5760405162461bcd60e51b815260040161096690612a24565b60005b828110156114205761140e33836114078161278a565b945061198b565b806114188161278a565b9150506113f1565b505061142c6001600655565b50565b6001600160a01b0382163314156114585760405162461bcd60e51b815260040161096690612c99565b3360008181526004602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31906114bb908590611f81565b60405180910390a35050565b6114d133836117a4565b6114ed5760405162461bcd60e51b81526004016109669061270c565b610e3f84848484611a79565b6060611504826116ec565b6115205760405162461bcd60e51b815260040161096690612cf5565b60006007805461152f90612550565b90501161154e5760405162461bcd60e51b815260040161096690612d2c565b600761155983611aac565b600860405160200161156d93929190612dcc565b6040516020818303038152906040529050919050565b61158b611921565b6010805461010060ff19821660ff80841615918217839004161590910261ff001990911661ffff1990921691909117179055565b6115c7611921565b6010805460ff19811660ff90911615179055565b6115e3611921565b600a55565b6115f0611921565b6001600160a01b0381166116165760405162461bcd60e51b815260040161096690612e3c565b61142c81611a27565b61162761194b565b60105462010000900460ff1661164f5760405162461bcd60e51b815260040161096690612b92565b61165833610a2d565b6116745760405162461bcd60e51b815260040161096690612bc5565b61167d816119a5565b600e805490600061168d8361278a565b919050555061142c6001600655565b60006001600160e01b031982166380ac58cd60e01b14806116cd57506001600160e01b03198216635b5e139f60e01b145b806108a757506301ffc9a760e01b6001600160e01b03198316146108a7565b600254600090821080156108a7575060006001600160a01b03166002838154811061171957611719612774565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061176b82610f35565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006117af826116ec565b6117cb5760405162461bcd60e51b815260040161096690612e95565b60006117d683610f35565b9050806001600160a01b0316846001600160a01b031614806118115750836001600160a01b03166118068461093f565b6001600160a01b0316145b8061184157506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661185c82610f35565b6001600160a01b0316146118825760405162461bcd60e51b815260040161096690612eeb565b6001600160a01b0382166118a85760405162461bcd60e51b815260040161096690612f3c565b6118b3600082611736565b81600282815481106118c7576118c7612774565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6005546001600160a01b0316331461123c5760405162461bcd60e51b815260040161096690612f7e565b6002600654141561196e5760405162461bcd60e51b815260040161096690612fc2565b6002600655565b600061198482600f5485611b49565b9392505050565b610eeb828260405180602001604052806000815250611b5f565b60006119b082610f35565b90506119bd600083611736565b6000600283815481106119d2576119d2612774565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611a84848484611849565b611a9084848484611b92565b610e3f5760405162461bcd60e51b815260040161096690613021565b60606000611ab983611c90565b600101905060008167ffffffffffffffff811115611ad957611ad9612395565b6040519080825280601f01601f191660200182016040528015611b03576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611b3c57611b41565b611b0d565b509392505050565b600082611b568584611d68565b14949350505050565b611b698383611dad565b611b766000848484611b92565b610a0c5760405162461bcd60e51b815260040161096690613021565b60006001600160a01b0384163b15611c8557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611bd6903390899088908890600401613031565b6020604051808303816000875af1925050508015611c11575060408051601f3d908101601f19168201909252611c0e91810190613080565b60015b611c6b573d808015611c3f576040519150601f19603f3d011682016040523d82523d6000602084013e611c44565b606091505b508051611c635760405162461bcd60e51b815260040161096690613021565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611841565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611ccf5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611cfb576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611d1957662386f26fc10000830492506010015b6305f5e1008310611d31576305f5e100830492506008015b6127108310611d4557612710830492506004015b60648310611d57576064830492506002015b600a83106108a75760010192915050565b600081815b8451811015611b4157611d9982868381518110611d8c57611d8c612774565b6020026020010151611e75565b915080611da58161278a565b915050611d6d565b6001600160a01b038216611dd35760405162461bcd60e51b8152600401610966906130d3565b611ddc816116ec565b15611df95760405162461bcd60e51b815260040161096690613117565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818310611e91576000828152602084905260409020611984565b6000838152602083905260409020611984565b828054611eb090612550565b90600052602060002090601f016020900481019282611ed25760008555611f18565b82601f10611eeb5782800160ff19823516178555611f18565b82800160010185558215611f18579182015b82811115611f18578235825591602001919060010190611efd565b50610f319291505b80821115610f315760008155600101611f20565b6001600160e01b031981165b811461142c57600080fd5b80356108a781611f34565b600060208284031215611f6b57611f6b600080fd5b60006118418484611f4b565b8015155b82525050565b602081016108a78284611f77565b60005b83811015611faa578181015183820152602001611f92565b83811115610e3f5750506000910152565b6000611fc5825190565b808452602084019350611fdc818560208601611f8f565b601f01601f19169290920192915050565b602080825281016119848184611fbb565b80611f40565b80356108a781611ffe565b60006020828403121561202457612024600080fd5b60006118418484612004565b60006001600160a01b0382166108a7565b611f7b81612030565b602081016108a78284612041565b611f4081612030565b80356108a781612058565b6000806040838503121561208257612082600080fd5b600061208e8585612061565b925050602061209f85828601612004565b9150509250929050565b80611f7b565b602081016108a782846120a9565b6000806000606084860312156120d5576120d5600080fd5b60006120e18686612061565b93505060206120f286828701612061565b925050604061210386828701612004565b9150509250925092565b801515611f40565b80356108a78161210d565b60008083601f84011261213557612135600080fd5b50813567ffffffffffffffff81111561215057612150600080fd5b60208301915083602082028301111561216b5761216b600080fd5b9250929050565b6000806000806060858703121561218b5761218b600080fd5b60006121978787612115565b94505060206121a887828801612004565b935050604085013567ffffffffffffffff8111156121c8576121c8600080fd5b6121d487828801612120565b95989497509550505050565b600080600080604085870312156121f9576121f9600080fd5b843567ffffffffffffffff81111561221357612213600080fd5b61221f87828801612120565b9450945050602085013567ffffffffffffffff8111156121c8576121c8600080fd5b60008083601f84011261225657612256600080fd5b50813567ffffffffffffffff81111561227157612271600080fd5b60208301915083600182028301111561216b5761216b600080fd5b600080600080604085870312156122a5576122a5600080fd5b843567ffffffffffffffff8111156122bf576122bf600080fd5b6122cb87828801612241565b9450945050602085013567ffffffffffffffff8111156122ed576122ed600080fd5b6121d487828801612241565b6000806020838503121561230f5761230f600080fd5b823567ffffffffffffffff81111561232957612329600080fd5b61233585828601612120565b92509250509250929050565b60006020828403121561235657612356600080fd5b60006118418484612061565b6000806040838503121561237857612378600080fd5b60006123848585612061565b925050602061209f85828601612115565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff821117156123d1576123d1612395565b6040525050565b60006123e360405190565b90506123ef82826123ab565b919050565b600067ffffffffffffffff82111561240e5761240e612395565b601f19601f83011660200192915050565b82818337506000910152565b600061243e612439846123f4565b6123d8565b90508281526020810184848401111561245957612459600080fd5b611b4184828561241f565b600082601f83011261247857612478600080fd5b813561184184826020860161242b565b600080600080608085870312156124a1576124a1600080fd5b60006124ad8787612061565b94505060206124be87828801612061565b93505060406124cf87828801612004565b925050606085013567ffffffffffffffff8111156124ef576124ef600080fd5b6124fb87828801612464565b91505092959194509250565b6000806040838503121561251d5761251d600080fd5b60006125298585612061565b925050602061209f85828601612061565b634e487b7160e01b600052602260045260246000fd5b60028104600182168061256457607f821691505b602082108114156125775761257761253a565b50919050565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291505b5060400190565b602080825281016108a78161257d565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b602082015291506125c2565b602080825281016108a7816125d9565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015291506125c2565b602080825281016108a781612627565b634e487b7160e01b600052601160045260246000fd5b6000828210156126b9576126b9612691565b500390565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b602082015291506125c2565b602080825281016108a7816126be565b602b81526000602082017f455243373231456e756d657261626c653a206f776e657220696e646578206f7581526a74206f6620626f756e647360a81b602082015291506125c2565b602080825281016108a78161271c565b634e487b7160e01b600052603260045260246000fd5b600060001982141561279e5761279e612691565b5060010190565b603181526000602082017f4e6577206d617820737570706c79206d757374206265206c6f776572207468618152706e204d41585f534f554c5f535550504c5960781b602082015291506125c2565b602080825281016108a7816127a5565b602f81526000602082017f4e6577206d617820737570706c79206d7573742062652068696768657220746881526e616e20746d704d6178537570706c7960881b602082015291506125c2565b602080825281016108a781612803565b601781526000602082017f5761697420666f7220616c6c6f776c697374206d696e74000000000000000000815291505b5060200190565b602080825281016108a78161285f565b60006108a78260f81b90565b60006108a7826128a6565b611f7b8115156128b2565b60006108a78260601b90565b60006108a7826128c8565b611f7b6128eb82612030565b6128d4565b60006128fc82856128bd565b60018201915061290c82846128df565b5060140192915050565b600d81526000602082016c24b73b30b634b210383937b7b360991b8152915061288f565b602080825281016108a781612916565b6000821982111561295d5761295d612691565b500190565b60168152600060208201754578636565647320796f757220616c6c6f77616e636560501b8152915061288f565b602080825281016108a781612962565b601281526000602082017113585e081cdd5c1c1b1e481c995858da195960721b8152915061288f565b602080825281016108a78161299f565b60008160001904831182151516156129f2576129f2612691565b500290565b6016815260006020820175125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b8152915061288f565b602080825281016108a7816129f7565b634e487b7160e01b600052601260045260246000fd5b600082612a5957612a59612a34565b500490565b602d81526000602082017f455243373231456e756d657261626c653a20717565727920666f72206e6f6e6581526c3c34b9ba32b73a103a37b5b2b760991b602082015291506125c2565b602080825281016108a781612a5e565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b602082015291506125c2565b602080825281016108a781612ab8565b602a81526000602082017f5175616e74697479206c656e677468206973206e6f7420657175616c20746f20815269726563697069656e747360b01b602082015291506125c2565b602080825281016108a781612b0e565b6016815260006020820175109d5c9b9a5b99c81b9bdd08185d5d1a1bdc9a5e995960521b8152915061288f565b602080825281016108a781612b65565b600c81526000602082016b155b985d5d1a1bdc9a5e995960a21b8152915061288f565b602080825281016108a781612ba2565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b602082015291506125c2565b602080825281016108a781612bd5565b6012815260006020820171141d589b1a58c81b5a5b9d0818db1bdcd95960721b8152915061288f565b602080825281016108a781612c2c565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c6572000000000000008152915061288f565b602080825281016108a781612c65565b602f81526000602082017f4552433732314d657461646174613a2055524920717565727920666f72206e6f81526e3732bc34b9ba32b73a103a37b5b2b760891b602082015291506125c2565b602080825281016108a781612ca9565b601081526000602082016f4261736520555249206d697373696e6760801b8152915061288f565b602080825281016108a781612d05565b60008154612d4981612550565b600182168015612d605760018114612d7157612da1565b60ff19831686528186019350612da1565b60008581526020902060005b83811015612d9957815488820152600190910190602001612d7d565b838801955050505b50505092915050565b6000612db4825190565b612dc2818560208601611f8f565b9290920192915050565b6000612dd88286612d3c565b9150612de48285612daa565b9150612df08284612d3c565b95945050505050565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b602082015291506125c2565b602080825281016108a781612df9565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291506125c2565b602080825281016108a781612e4c565b602981526000602082017f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981526839903737ba1037bbb760b91b602082015291506125c2565b602080825281016108a781612ea5565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b602082015291506125c2565b602080825281016108a781612efb565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65729101908152600061288f565b602080825281016108a781612f4c565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c008152915061288f565b602080825281016108a781612f8e565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b602082015291506125c2565b602080825281016108a781612fd2565b6080810161303f8287612041565b61304c6020830186612041565b61305960408301856120a9565b818103606083015261306b8184611fbb565b9695505050505050565b80516108a781611f34565b60006020828403121561309557613095600080fd5b60006118418484613075565b60208082527f4552433732313a206d696e7420746f20746865207a65726f20616464726573739101908152600061288f565b602080825281016108a7816130a1565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e746564000000008152915061288f565b602080825281016108a7816130e356fea2646970667358221220f20ade7391e3b153d2b732461574c79d9937c204635358c24a274a5ec961221264736f6c634300080c0033

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.