ETH Price: $3,423.80 (+3.37%)

Token

Mystery Nft Collection (MNC)
 

Overview

Max Total Supply

2,883 MNC

Holders

945

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 MNC
0xf7f09ccfb7e7f7df3adea1c5a94a07d3cae4f73d
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:
NFT

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : mystery.sol
// SPDX-License-Identifier: GPL-3.0
// File: @openzeppelin/contracts/utils/Strings.sol

/// @title Mystery NFT
/// @author Mystery NFT

pragma solidity ^0.8.9;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol



pragma solidity ^0.8.9;

/**
 * @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: @openzeppelin/contracts/access/Ownable.sol



pragma solidity ^0.8.9;


/**
 * @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() {
        _setOwner(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: @openzeppelin/contracts/utils/Address.sol



pragma solidity ^0.8.9;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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 functionCall(target, data, "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");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol

pragma solidity ^0.8.9;

/**
 * @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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol



pragma solidity ^0.8.9;

/**
 * @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: @openzeppelin/contracts/utils/introspection/ERC165.sol



pragma solidity ^0.8.9;


/**
 * @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: @openzeppelin/contracts/token/ERC721/IERC721.sol



pragma solidity ^0.8.9;


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

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

    /**
     * @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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol



pragma solidity ^0.8.9;


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


pragma solidity >=0.8.9;
// to enable certain compiler features



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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;
    
    //Mapping para atribuirle un URI para cada token
    mapping(uint256 => string) internal id_to_URI;

    /**
     * @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");
        return _balances[owner];
    }

    /**
     * @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 {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {  }

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

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

        _balances[to] += 1;
        _owners[tokenId] = 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);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        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);

        _balances[from] -= 1;
        _balances[to] += 1;
        _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 {}
}

pragma solidity ^0.8.9;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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


pragma solidity ^0.8.9;

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


// Creator: Chiru Labs

pragma solidity ^0.8.9;

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 *
 * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal currentIndex;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < totalSupply(), 'ERC721A: global index out of bounds');
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        revert('ERC721A: unable to get token of owner by index');
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        require(owner != address(0), 'ERC721A: balance query for the zero address');
        return uint256(_addressData[owner].balance);
    }

    function _numberMinted(address owner) internal view returns (uint256) {
        require(owner != address(0), 'ERC721A: number minted query for the zero address');
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

        unchecked {
            for (uint256 curr = tokenId; curr >= 0; curr--) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (ownership.addr != address(0)) {
                    return ownership;
                }
            }
        }

        revert('ERC721A: unable to determine the owner of token');
    }

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

    /**
     * @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 {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token');

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), 'ERC721A: 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 {
        _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 override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            'ERC721A: 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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), 'ERC721A: mint to the zero address');
        require(quantity != 0, 'ERC721A: quantity must be greater than 0');

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint128(quantity);
            _addressData[to].numberMinted += uint128(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe) {
                    require(
                        _checkOnERC721Received(address(0), to, updatedIndex, _data),
                        'ERC721A: transfer to non ERC721Receiver implementer'
                    );
                }

                updatedIndex++;
            }

            currentIndex = updatedIndex;
        }

        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved');

        require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner');
        require(to != address(0), 'ERC721A: transfer to the zero address');

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership.addr);

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

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                if (_exists(nextTokenId)) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, 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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert('ERC721A: transfer to non ERC721Receiver implementer');
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)


contract NFT is ERC721A, Ownable {
    
    using Strings for uint256;
    
    //declares the maximum amount of tokens that can be minted, total and in presale
    uint256 private maxTotalTokens;
    
    //initial part of the URI for the metadata
    string private _currentBaseURI;
        
    //cost of mints depending on state of sale    
    uint private mintCost_; 

    //max amount of mints a user can have
    uint public maxMint;

    //max amount of mints a user can execute per tx
    uint public maxMintPerTX;
    
    //the amount of reserved mints that have currently been executed by creator and giveaways
    uint private _reservedMints;

    //amount of mints that each address has executed
    mapping(address => uint256) public mintsPerAddress;
    
    //current state os sale
    enum State {NoSale, OpenSale}
    State private saleState_;
    
    //declaring initial values for variables
    constructor() ERC721A('Mystery Nft Collection', 'MNC') {
        _currentBaseURI = "ipfs://Qmep3wXLS3oz63x6iSjsGesWYgLGEYtqNFXS1mdmacyYVU/";
        maxTotalTokens = 3333;
        mintCost_ = 0.008 ether;
        maxMint = 1000;
        maxMintPerTX = 25;
    }
    
    //in case somebody accidentaly sends funds or transaction to contract
    receive() payable external {}
    fallback() payable external {
        revert();
    }
    
    //visualize baseURI
    function _baseURI() internal view virtual override returns (string memory) {
        return _currentBaseURI;
    }
    
    //change baseURI in case needed for IPFS
    function changeBaseURI(string memory baseURI_) public onlyOwner {
        _currentBaseURI = baseURI_;
    }

    //open and close the sale
    function toggleSale() public onlyOwner {
        if (saleState_ == State.NoSale) {
            saleState_ = State.OpenSale;
        }
        else {
            saleState_ = State.NoSale;
        }
    }
    
    //mint a @param number of NFTs in presale
    function mint(uint256 number) public payable {
        require(saleState_ != State.NoSale, "Sale is not open yet!");
        require(totalSupply() + number <= maxTotalTokens, "Not enough NFTs left to mint..");
        require(number <= maxMintPerTX, "Max Mints per TX exceeded!");
        require(mintsPerAddress[msg.sender] + number <= maxMint, "Max mints per address exceeded!");
        require(msg.value >= mintCost(msg.sender, number), "Not sufficient Ether to mint this amount of NFTs");
        
        _safeMint(msg.sender, number);
        mintsPerAddress[msg.sender] += number;

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

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId_.toString(), ".json")) : "";
            
    }
    
    //reserved NFTs for creator
    function reservedMint(uint number, address recipient) public onlyOwner {
        require(totalSupply() + number <= maxTotalTokens, "Not enough Reserved NFTs left to mint..");

        _safeMint(recipient, number);
        mintsPerAddress[recipient] += number;
        _reservedMints += number; 
        
    }


    
    //se the current account balance
    function accountBalance() public onlyOwner view returns(uint) {
        return address(this).balance;
    }
    
    //retrieve all funds recieved from minting
    function withdraw() public onlyOwner {
        uint256 balance = accountBalance();
        require(balance > 0, 'No Funds to withdraw, Balance is 0');

        _withdraw(payable(owner()), balance); 
    }
    
    //send the percentage of funds to a shareholder´s wallet
    function _withdraw(address payable account, uint256 amount) internal {
        (bool sent, ) = account.call{value: amount}("");
        require(sent, "Failed to send Ether");
    }
    
    //see current state of sale
    //see the current state of the sale
    function saleState() public view returns(State){
        return saleState_;
    }
    
    //gets the cost of current mint
    function mintCost(address minter, uint quantity) public view returns(uint) {
        if (mintsPerAddress[minter] > 0) {
            return quantity * mintCost_;
        }
        else {
            return (quantity - 1) * mintCost_;
        }
        
    }

    //change the mint cost
    function changeMintCost(uint256 newMintCost) public onlyOwner {
        mintCost_ = newMintCost;
    }

    //change the max mints
    function changeMaxMint(uint256 newMaxMint) public onlyOwner {
        maxMint = newMaxMint;
    }

    //change the max mints per tx
    function changeMaxMintPerTX(uint256 newMaxMintPerTX) public onlyOwner {
        maxMintPerTX = newMaxMintPerTX;
    }
   
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"accountBalance","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":"string","name":"baseURI_","type":"string"}],"name":"changeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxMint","type":"uint256"}],"name":"changeMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxMintPerTX","type":"uint256"}],"name":"changeMaxMintPerTX","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintCost","type":"uint256"}],"name":"changeMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerTX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"number","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintsPerAddress","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"number","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"reservedMint","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":[],"name":"saleState","outputs":[{"internalType":"enum NFT.State","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"toggleSale","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":"","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"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506040518060400160405280601681526020017f4d797374657279204e667420436f6c6c656374696f6e000000000000000000008152506040518060400160405280600381526020017f4d4e43000000000000000000000000000000000000000000000000000000000081525081600190805190602001906200009692919062000200565b508060029080519060200190620000af92919062000200565b505050620000d2620000c66200013260201b60201c565b6200013a60201b60201c565b60405180606001604052806036815260200162004c6e60369139600990805190602001906200010392919062000200565b50610d05600881905550661c6bf526340000600a819055506103e8600b819055506019600c8190555062000315565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200020e90620002df565b90600052602060002090601f0160209004810192826200023257600085556200027e565b82601f106200024d57805160ff19168380011785556200027e565b828001600101855582156200027e579182015b828111156200027d57825182559160200191906001019062000260565b5b5090506200028d919062000291565b5090565b5b80821115620002ac57600081600090555060010162000292565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002f857607f821691505b602082108114156200030f576200030e620002b0565b5b50919050565b61494980620003256000396000f3fe6080604052600436106101f25760003560e01c8063553f241e1161010d5780638da5cb5b116100a0578063b0a1c1c41161006f578063b0a1c1c4146106e5578063b88d4fde14610710578063c87b56dd14610739578063e985e9c514610776578063f2fde38b146107b3576101f9565b80638da5cb5b1461064a57806395d89b4114610675578063a0712d68146106a0578063a22cb465146106bc576101f9565b8063715018a6116100dc578063715018a6146105c85780637501f741146105df5780637d8966e41461060a5780637f1921ef14610621576101f9565b8063553f241e146104f8578063603f4d52146105235780636352211e1461054e57806370a082311461058b576101f9565b806323b872dd116101855780633ccfd60b116101545780633ccfd60b1461043e57806342842e0e146104555780634364f1cf1461047e5780634f6ccce7146104bb576101f9565b806323b872dd146103725780632f745c591461039b5780633023eba6146103d857806339a0c6f914610415576101f9565b806318160ddd116101c157806318160ddd146102cc57806318df6403146102f757806320c63e3b14610320578063214584d514610349576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3576101f9565b366101f957005b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190612f47565b6107dc565b6040516102329190612f8f565b60405180910390f35b34801561024757600080fd5b50610250610926565b60405161025d9190613043565b60405180910390f35b34801561027257600080fd5b5061028d6004803603810190610288919061309b565b6109b8565b60405161029a9190613109565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190613150565b610a3d565b005b3480156102d857600080fd5b506102e1610b56565b6040516102ee919061319f565b60405180910390f35b34801561030357600080fd5b5061031e600480360381019061031991906131ba565b610b5f565b005b34801561032c57600080fd5b506103476004803603810190610342919061309b565b610caf565b005b34801561035557600080fd5b50610370600480360381019061036b919061309b565b610d35565b005b34801561037e57600080fd5b50610399600480360381019061039491906131fa565b610dbb565b005b3480156103a757600080fd5b506103c260048036038101906103bd9190613150565b610dcb565b6040516103cf919061319f565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa919061324d565b610fbd565b60405161040c919061319f565b60405180910390f35b34801561042157600080fd5b5061043c600480360381019061043791906133af565b610fd5565b005b34801561044a57600080fd5b5061045361106b565b005b34801561046157600080fd5b5061047c600480360381019061047791906131fa565b61114a565b005b34801561048a57600080fd5b506104a560048036038101906104a09190613150565b61116a565b6040516104b2919061319f565b60405180910390f35b3480156104c757600080fd5b506104e260048036038101906104dd919061309b565b6111eb565b6040516104ef919061319f565b60405180910390f35b34801561050457600080fd5b5061050d61123e565b60405161051a919061319f565b60405180910390f35b34801561052f57600080fd5b50610538611244565b604051610545919061346f565b60405180910390f35b34801561055a57600080fd5b506105756004803603810190610570919061309b565b61125b565b6040516105829190613109565b60405180910390f35b34801561059757600080fd5b506105b260048036038101906105ad919061324d565b611271565b6040516105bf919061319f565b60405180910390f35b3480156105d457600080fd5b506105dd61135a565b005b3480156105eb57600080fd5b506105f46113e2565b604051610601919061319f565b60405180910390f35b34801561061657600080fd5b5061061f6113e8565b005b34801561062d57600080fd5b506106486004803603810190610643919061309b565b6114fe565b005b34801561065657600080fd5b5061065f611584565b60405161066c9190613109565b60405180910390f35b34801561068157600080fd5b5061068a6115ae565b6040516106979190613043565b60405180910390f35b6106ba60048036038101906106b5919061309b565b611640565b005b3480156106c857600080fd5b506106e360048036038101906106de91906134b6565b611891565b005b3480156106f157600080fd5b506106fa611a12565b604051610707919061319f565b60405180910390f35b34801561071c57600080fd5b5061073760048036038101906107329190613597565b611a96565b005b34801561074557600080fd5b50610760600480360381019061075b919061309b565b611af2565b60405161076d9190613043565b60405180910390f35b34801561078257600080fd5b5061079d6004803603810190610798919061361a565b611b99565b6040516107aa9190612f8f565b60405180910390f35b3480156107bf57600080fd5b506107da60048036038101906107d5919061324d565b611c2d565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108a757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061090f57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061091f575061091e82611d25565b5b9050919050565b60606001805461093590613689565b80601f016020809104026020016040519081016040528092919081815260200182805461096190613689565b80156109ae5780601f10610983576101008083540402835291602001916109ae565b820191906000526020600020905b81548152906001019060200180831161099157829003601f168201915b5050505050905090565b60006109c382611d8f565b610a02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f99061372d565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a488261125b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab0906137bf565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ad8611d9c565b73ffffffffffffffffffffffffffffffffffffffff161480610b075750610b0681610b01611d9c565b611b99565b5b610b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3d90613851565b60405180910390fd5b610b51838383611da4565b505050565b60008054905090565b610b67611d9c565b73ffffffffffffffffffffffffffffffffffffffff16610b85611584565b73ffffffffffffffffffffffffffffffffffffffff1614610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd2906138bd565b60405180910390fd5b60085482610be7610b56565b610bf1919061390c565b1115610c32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c29906139d4565b60405180910390fd5b610c3c8183611e56565b81600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c8b919061390c565b9250508190555081600d6000828254610ca4919061390c565b925050819055505050565b610cb7611d9c565b73ffffffffffffffffffffffffffffffffffffffff16610cd5611584565b73ffffffffffffffffffffffffffffffffffffffff1614610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d22906138bd565b60405180910390fd5b80600b8190555050565b610d3d611d9c565b73ffffffffffffffffffffffffffffffffffffffff16610d5b611584565b73ffffffffffffffffffffffffffffffffffffffff1614610db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da8906138bd565b60405180910390fd5b80600c8190555050565b610dc6838383611e74565b505050565b6000610dd683611271565b8210610e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0e90613a66565b60405180910390fd5b6000610e21610b56565b905060008060005b83811015610f7b576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610f1b57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f6d5786841415610f64578195505050505050610fb7565b83806001019450505b508080600101915050610e29565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fae90613af8565b60405180910390fd5b92915050565b600e6020528060005260406000206000915090505481565b610fdd611d9c565b73ffffffffffffffffffffffffffffffffffffffff16610ffb611584565b73ffffffffffffffffffffffffffffffffffffffff1614611051576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611048906138bd565b60405180910390fd5b8060099080519060200190611067929190612dfe565b5050565b611073611d9c565b73ffffffffffffffffffffffffffffffffffffffff16611091611584565b73ffffffffffffffffffffffffffffffffffffffff16146110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de906138bd565b60405180910390fd5b60006110f1611a12565b905060008111611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d90613b8a565b60405180910390fd5b611147611141611584565b826123b4565b50565b61116583838360405180602001604052806000815250611a96565b505050565b600080600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156111c857600a54826111c19190613baa565b90506111e5565b600a546001836111d89190613c04565b6111e29190613baa565b90505b92915050565b60006111f5610b56565b8210611236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122d90613caa565b60405180910390fd5b819050919050565b600c5481565b6000600f60009054906101000a900460ff16905090565b600061126682612465565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d990613d3c565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611362611d9c565b73ffffffffffffffffffffffffffffffffffffffff16611380611584565b73ffffffffffffffffffffffffffffffffffffffff16146113d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cd906138bd565b60405180910390fd5b6113e060006125ff565b565b600b5481565b6113f0611d9c565b73ffffffffffffffffffffffffffffffffffffffff1661140e611584565b73ffffffffffffffffffffffffffffffffffffffff1614611464576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145b906138bd565b60405180910390fd5b60006001811115611478576114776133f8565b5b600f60009054906101000a900460ff16600181111561149a576114996133f8565b5b14156114d0576001600f60006101000a81548160ff021916908360018111156114c6576114c56133f8565b5b02179055506114fc565b6000600f60006101000a81548160ff021916908360018111156114f6576114f56133f8565b5b02179055505b565b611506611d9c565b73ffffffffffffffffffffffffffffffffffffffff16611524611584565b73ffffffffffffffffffffffffffffffffffffffff161461157a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611571906138bd565b60405180910390fd5b80600a8190555050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280546115bd90613689565b80601f01602080910402602001604051908101604052809291908181526020018280546115e990613689565b80156116365780601f1061160b57610100808354040283529160200191611636565b820191906000526020600020905b81548152906001019060200180831161161957829003601f168201915b5050505050905090565b60006001811115611654576116536133f8565b5b600f60009054906101000a900460ff166001811115611676576116756133f8565b5b14156116b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ae90613da8565b60405180910390fd5b600854816116c3610b56565b6116cd919061390c565b111561170e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170590613e14565b60405180910390fd5b600c54811115611753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174a90613e80565b60405180910390fd5b600b5481600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117a1919061390c565b11156117e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d990613eec565b60405180910390fd5b6117ec338261116a565b34101561182e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182590613f7e565b60405180910390fd5b6118383382611e56565b80600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611887919061390c565b9250508190555050565b611899611d9c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fe90613fea565b60405180910390fd5b8060066000611914611d9c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119c1611d9c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a069190612f8f565b60405180910390a35050565b6000611a1c611d9c565b73ffffffffffffffffffffffffffffffffffffffff16611a3a611584565b73ffffffffffffffffffffffffffffffffffffffff1614611a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a87906138bd565b60405180910390fd5b47905090565b611aa1848484611e74565b611aad848484846126c5565b611aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae39061407c565b60405180910390fd5b50505050565b6060611afd82611d8f565b611b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b339061410e565b60405180910390fd5b6000611b4661285c565b90506000815111611b665760405180602001604052806000815250611b91565b80611b70846128ee565b604051602001611b819291906141b6565b6040516020818303038152906040525b915050919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c35611d9c565b73ffffffffffffffffffffffffffffffffffffffff16611c53611584565b73ffffffffffffffffffffffffffffffffffffffff1614611ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca0906138bd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1090614257565b60405180910390fd5b611d22816125ff565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b611e70828260405180602001604052806000815250612a4f565b5050565b6000611e7f82612465565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611ea6611d9c565b73ffffffffffffffffffffffffffffffffffffffff161480611f025750611ecb611d9c565b73ffffffffffffffffffffffffffffffffffffffff16611eea846109b8565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f1e5750611f1d8260000151611f18611d9c565b611b99565b5b905080611f60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f57906142e9565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc99061437b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612042576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120399061440d565b60405180910390fd5b61204f8585856001612a61565b61205f6000848460000151611da4565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612344576122a381611d8f565b156123435782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123ad8585856001612a67565b5050505050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516123da9061445e565b60006040518083038185875af1925050503d8060008114612417576040519150601f19603f3d011682016040523d82523d6000602084013e61241c565b606091505b5050905080612460576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612457906144bf565b60405180910390fd5b505050565b61246d612e84565b61247682611d8f565b6124b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ac90614551565b60405180910390fd5b60008290505b600081106125be576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146125af5780925050506125fa565b508080600190039150506124bb565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f1906145e3565b60405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006126e68473ffffffffffffffffffffffffffffffffffffffff16612a6d565b1561284f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261270f611d9c565b8786866040518563ffffffff1660e01b81526004016127319493929190614658565b602060405180830381600087803b15801561274b57600080fd5b505af192505050801561277c57506040513d601f19601f8201168201806040525081019061277991906146b9565b60015b6127ff573d80600081146127ac576040519150601f19603f3d011682016040523d82523d6000602084013e6127b1565b606091505b506000815114156127f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ee9061407c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612854565b600190505b949350505050565b60606009805461286b90613689565b80601f016020809104026020016040519081016040528092919081815260200182805461289790613689565b80156128e45780601f106128b9576101008083540402835291602001916128e4565b820191906000526020600020905b8154815290600101906020018083116128c757829003601f168201915b5050505050905090565b60606000821415612936576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a4a565b600082905060005b60008214612968578080612951906146e6565b915050600a82612961919061475e565b915061293e565b60008167ffffffffffffffff81111561298457612983613284565b5b6040519080825280601f01601f1916602001820160405280156129b65781602001600182028036833780820191505090505b5090505b60008514612a43576001826129cf9190613c04565b9150600a856129de919061478f565b60306129ea919061390c565b60f81b818381518110612a00576129ff6147c0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a3c919061475e565b94506129ba565b8093505050505b919050565b612a5c8383836001612a80565b505050565b50505050565b50505050565b600080823b905060008111915050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aed90614861565b60405180910390fd5b6000841415612b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b31906148f3565b60405180910390fd5b612b476000868387612a61565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015612de157818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48315612dcc57612d8c60008884886126c5565b612dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc29061407c565b60405180910390fd5b5b81806001019250508080600101915050612d15565b508060008190555050612df76000868387612a67565b5050505050565b828054612e0a90613689565b90600052602060002090601f016020900481019282612e2c5760008555612e73565b82601f10612e4557805160ff1916838001178555612e73565b82800160010185558215612e73579182015b82811115612e72578251825591602001919060010190612e57565b5b509050612e809190612ebe565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115612ed7576000816000905550600101612ebf565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f2481612eef565b8114612f2f57600080fd5b50565b600081359050612f4181612f1b565b92915050565b600060208284031215612f5d57612f5c612ee5565b5b6000612f6b84828501612f32565b91505092915050565b60008115159050919050565b612f8981612f74565b82525050565b6000602082019050612fa46000830184612f80565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fe4578082015181840152602081019050612fc9565b83811115612ff3576000848401525b50505050565b6000601f19601f8301169050919050565b600061301582612faa565b61301f8185612fb5565b935061302f818560208601612fc6565b61303881612ff9565b840191505092915050565b6000602082019050818103600083015261305d818461300a565b905092915050565b6000819050919050565b61307881613065565b811461308357600080fd5b50565b6000813590506130958161306f565b92915050565b6000602082840312156130b1576130b0612ee5565b5b60006130bf84828501613086565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130f3826130c8565b9050919050565b613103816130e8565b82525050565b600060208201905061311e60008301846130fa565b92915050565b61312d816130e8565b811461313857600080fd5b50565b60008135905061314a81613124565b92915050565b6000806040838503121561316757613166612ee5565b5b60006131758582860161313b565b925050602061318685828601613086565b9150509250929050565b61319981613065565b82525050565b60006020820190506131b46000830184613190565b92915050565b600080604083850312156131d1576131d0612ee5565b5b60006131df85828601613086565b92505060206131f08582860161313b565b9150509250929050565b60008060006060848603121561321357613212612ee5565b5b60006132218682870161313b565b93505060206132328682870161313b565b925050604061324386828701613086565b9150509250925092565b60006020828403121561326357613262612ee5565b5b60006132718482850161313b565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6132bc82612ff9565b810181811067ffffffffffffffff821117156132db576132da613284565b5b80604052505050565b60006132ee612edb565b90506132fa82826132b3565b919050565b600067ffffffffffffffff82111561331a57613319613284565b5b61332382612ff9565b9050602081019050919050565b82818337600083830152505050565b600061335261334d846132ff565b6132e4565b90508281526020810184848401111561336e5761336d61327f565b5b613379848285613330565b509392505050565b600082601f8301126133965761339561327a565b5b81356133a684826020860161333f565b91505092915050565b6000602082840312156133c5576133c4612ee5565b5b600082013567ffffffffffffffff8111156133e3576133e2612eea565b5b6133ef84828501613381565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60028110613438576134376133f8565b5b50565b600081905061344982613427565b919050565b60006134598261343b565b9050919050565b6134698161344e565b82525050565b60006020820190506134846000830184613460565b92915050565b61349381612f74565b811461349e57600080fd5b50565b6000813590506134b08161348a565b92915050565b600080604083850312156134cd576134cc612ee5565b5b60006134db8582860161313b565b92505060206134ec858286016134a1565b9150509250929050565b600067ffffffffffffffff82111561351157613510613284565b5b61351a82612ff9565b9050602081019050919050565b600061353a613535846134f6565b6132e4565b9050828152602081018484840111156135565761355561327f565b5b613561848285613330565b509392505050565b600082601f83011261357e5761357d61327a565b5b813561358e848260208601613527565b91505092915050565b600080600080608085870312156135b1576135b0612ee5565b5b60006135bf8782880161313b565b94505060206135d08782880161313b565b93505060406135e187828801613086565b925050606085013567ffffffffffffffff81111561360257613601612eea565b5b61360e87828801613569565b91505092959194509250565b6000806040838503121561363157613630612ee5565b5b600061363f8582860161313b565b92505060206136508582860161313b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806136a157607f821691505b602082108114156136b5576136b461365a565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000613717602d83612fb5565b9150613722826136bb565b604082019050919050565b600060208201905081810360008301526137468161370a565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b60006137a9602283612fb5565b91506137b48261374d565b604082019050919050565b600060208201905081810360008301526137d88161379c565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b600061383b603983612fb5565b9150613846826137df565b604082019050919050565b6000602082019050818103600083015261386a8161382e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138a7602083612fb5565b91506138b282613871565b602082019050919050565b600060208201905081810360008301526138d68161389a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061391782613065565b915061392283613065565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613957576139566138dd565b5b828201905092915050565b7f4e6f7420656e6f756768205265736572766564204e465473206c65667420746f60008201527f206d696e742e2e00000000000000000000000000000000000000000000000000602082015250565b60006139be602783612fb5565b91506139c982613962565b604082019050919050565b600060208201905081810360008301526139ed816139b1565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000613a50602283612fb5565b9150613a5b826139f4565b604082019050919050565b60006020820190508181036000830152613a7f81613a43565b9050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000613ae2602e83612fb5565b9150613aed82613a86565b604082019050919050565b60006020820190508181036000830152613b1181613ad5565b9050919050565b7f4e6f2046756e647320746f2077697468647261772c2042616c616e636520697360008201527f2030000000000000000000000000000000000000000000000000000000000000602082015250565b6000613b74602283612fb5565b9150613b7f82613b18565b604082019050919050565b60006020820190508181036000830152613ba381613b67565b9050919050565b6000613bb582613065565b9150613bc083613065565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613bf957613bf86138dd565b5b828202905092915050565b6000613c0f82613065565b9150613c1a83613065565b925082821015613c2d57613c2c6138dd565b5b828203905092915050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b6000613c94602383612fb5565b9150613c9f82613c38565b604082019050919050565b60006020820190508181036000830152613cc381613c87565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613d26602b83612fb5565b9150613d3182613cca565b604082019050919050565b60006020820190508181036000830152613d5581613d19565b9050919050565b7f53616c65206973206e6f74206f70656e20796574210000000000000000000000600082015250565b6000613d92601583612fb5565b9150613d9d82613d5c565b602082019050919050565b60006020820190508181036000830152613dc181613d85565b9050919050565b7f4e6f7420656e6f756768204e465473206c65667420746f206d696e742e2e0000600082015250565b6000613dfe601e83612fb5565b9150613e0982613dc8565b602082019050919050565b60006020820190508181036000830152613e2d81613df1565b9050919050565b7f4d6178204d696e74732070657220545820657863656564656421000000000000600082015250565b6000613e6a601a83612fb5565b9150613e7582613e34565b602082019050919050565b60006020820190508181036000830152613e9981613e5d565b9050919050565b7f4d6178206d696e74732070657220616464726573732065786365656465642100600082015250565b6000613ed6601f83612fb5565b9150613ee182613ea0565b602082019050919050565b60006020820190508181036000830152613f0581613ec9565b9050919050565b7f4e6f742073756666696369656e7420457468657220746f206d696e742074686960008201527f7320616d6f756e74206f66204e46547300000000000000000000000000000000602082015250565b6000613f68603083612fb5565b9150613f7382613f0c565b604082019050919050565b60006020820190508181036000830152613f9781613f5b565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000613fd4601a83612fb5565b9150613fdf82613f9e565b602082019050919050565b6000602082019050818103600083015261400381613fc7565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b6000614066603383612fb5565b91506140718261400a565b604082019050919050565b6000602082019050818103600083015261409581614059565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006140f8602f83612fb5565b91506141038261409c565b604082019050919050565b60006020820190508181036000830152614127816140eb565b9050919050565b600081905092915050565b600061414482612faa565b61414e818561412e565b935061415e818560208601612fc6565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006141a060058361412e565b91506141ab8261416a565b600582019050919050565b60006141c28285614139565b91506141ce8284614139565b91506141d982614193565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614241602683612fb5565b915061424c826141e5565b604082019050919050565b6000602082019050818103600083015261427081614234565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006142d3603283612fb5565b91506142de82614277565b604082019050919050565b60006020820190508181036000830152614302816142c6565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000614365602683612fb5565b915061437082614309565b604082019050919050565b6000602082019050818103600083015261439481614358565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006143f7602583612fb5565b91506144028261439b565b604082019050919050565b60006020820190508181036000830152614426816143ea565b9050919050565b600081905092915050565b50565b600061444860008361442d565b915061445382614438565b600082019050919050565b60006144698261443b565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b60006144a9601483612fb5565b91506144b482614473565b602082019050919050565b600060208201905081810360008301526144d88161449c565b9050919050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b600061453b602a83612fb5565b9150614546826144df565b604082019050919050565b6000602082019050818103600083015261456a8161452e565b9050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b60006145cd602f83612fb5565b91506145d882614571565b604082019050919050565b600060208201905081810360008301526145fc816145c0565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061462a82614603565b614634818561460e565b9350614644818560208601612fc6565b61464d81612ff9565b840191505092915050565b600060808201905061466d60008301876130fa565b61467a60208301866130fa565b6146876040830185613190565b8181036060830152614699818461461f565b905095945050505050565b6000815190506146b381612f1b565b92915050565b6000602082840312156146cf576146ce612ee5565b5b60006146dd848285016146a4565b91505092915050565b60006146f182613065565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614724576147236138dd565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061476982613065565b915061477483613065565b9250826147845761478361472f565b5b828204905092915050565b600061479a82613065565b91506147a583613065565b9250826147b5576147b461472f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061484b602183612fb5565b9150614856826147ef565b604082019050919050565b6000602082019050818103600083015261487a8161483e565b9050919050565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b60006148dd602883612fb5565b91506148e882614881565b604082019050919050565b6000602082019050818103600083015261490c816148d0565b905091905056fea26469706673582212205bd3966db764195c1e184422205283664ea25cac7a2bbb3cb526659aae56e5b964736f6c63430008090033697066733a2f2f516d65703377584c53336f7a3633783669536a734765735759674c47455974714e465853316d646d6163795956552f

Deployed Bytecode

0x6080604052600436106101f25760003560e01c8063553f241e1161010d5780638da5cb5b116100a0578063b0a1c1c41161006f578063b0a1c1c4146106e5578063b88d4fde14610710578063c87b56dd14610739578063e985e9c514610776578063f2fde38b146107b3576101f9565b80638da5cb5b1461064a57806395d89b4114610675578063a0712d68146106a0578063a22cb465146106bc576101f9565b8063715018a6116100dc578063715018a6146105c85780637501f741146105df5780637d8966e41461060a5780637f1921ef14610621576101f9565b8063553f241e146104f8578063603f4d52146105235780636352211e1461054e57806370a082311461058b576101f9565b806323b872dd116101855780633ccfd60b116101545780633ccfd60b1461043e57806342842e0e146104555780634364f1cf1461047e5780634f6ccce7146104bb576101f9565b806323b872dd146103725780632f745c591461039b5780633023eba6146103d857806339a0c6f914610415576101f9565b806318160ddd116101c157806318160ddd146102cc57806318df6403146102f757806320c63e3b14610320578063214584d514610349576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3576101f9565b366101f957005b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190612f47565b6107dc565b6040516102329190612f8f565b60405180910390f35b34801561024757600080fd5b50610250610926565b60405161025d9190613043565b60405180910390f35b34801561027257600080fd5b5061028d6004803603810190610288919061309b565b6109b8565b60405161029a9190613109565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190613150565b610a3d565b005b3480156102d857600080fd5b506102e1610b56565b6040516102ee919061319f565b60405180910390f35b34801561030357600080fd5b5061031e600480360381019061031991906131ba565b610b5f565b005b34801561032c57600080fd5b506103476004803603810190610342919061309b565b610caf565b005b34801561035557600080fd5b50610370600480360381019061036b919061309b565b610d35565b005b34801561037e57600080fd5b50610399600480360381019061039491906131fa565b610dbb565b005b3480156103a757600080fd5b506103c260048036038101906103bd9190613150565b610dcb565b6040516103cf919061319f565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa919061324d565b610fbd565b60405161040c919061319f565b60405180910390f35b34801561042157600080fd5b5061043c600480360381019061043791906133af565b610fd5565b005b34801561044a57600080fd5b5061045361106b565b005b34801561046157600080fd5b5061047c600480360381019061047791906131fa565b61114a565b005b34801561048a57600080fd5b506104a560048036038101906104a09190613150565b61116a565b6040516104b2919061319f565b60405180910390f35b3480156104c757600080fd5b506104e260048036038101906104dd919061309b565b6111eb565b6040516104ef919061319f565b60405180910390f35b34801561050457600080fd5b5061050d61123e565b60405161051a919061319f565b60405180910390f35b34801561052f57600080fd5b50610538611244565b604051610545919061346f565b60405180910390f35b34801561055a57600080fd5b506105756004803603810190610570919061309b565b61125b565b6040516105829190613109565b60405180910390f35b34801561059757600080fd5b506105b260048036038101906105ad919061324d565b611271565b6040516105bf919061319f565b60405180910390f35b3480156105d457600080fd5b506105dd61135a565b005b3480156105eb57600080fd5b506105f46113e2565b604051610601919061319f565b60405180910390f35b34801561061657600080fd5b5061061f6113e8565b005b34801561062d57600080fd5b506106486004803603810190610643919061309b565b6114fe565b005b34801561065657600080fd5b5061065f611584565b60405161066c9190613109565b60405180910390f35b34801561068157600080fd5b5061068a6115ae565b6040516106979190613043565b60405180910390f35b6106ba60048036038101906106b5919061309b565b611640565b005b3480156106c857600080fd5b506106e360048036038101906106de91906134b6565b611891565b005b3480156106f157600080fd5b506106fa611a12565b604051610707919061319f565b60405180910390f35b34801561071c57600080fd5b5061073760048036038101906107329190613597565b611a96565b005b34801561074557600080fd5b50610760600480360381019061075b919061309b565b611af2565b60405161076d9190613043565b60405180910390f35b34801561078257600080fd5b5061079d6004803603810190610798919061361a565b611b99565b6040516107aa9190612f8f565b60405180910390f35b3480156107bf57600080fd5b506107da60048036038101906107d5919061324d565b611c2d565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108a757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061090f57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061091f575061091e82611d25565b5b9050919050565b60606001805461093590613689565b80601f016020809104026020016040519081016040528092919081815260200182805461096190613689565b80156109ae5780601f10610983576101008083540402835291602001916109ae565b820191906000526020600020905b81548152906001019060200180831161099157829003601f168201915b5050505050905090565b60006109c382611d8f565b610a02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f99061372d565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a488261125b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab0906137bf565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ad8611d9c565b73ffffffffffffffffffffffffffffffffffffffff161480610b075750610b0681610b01611d9c565b611b99565b5b610b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3d90613851565b60405180910390fd5b610b51838383611da4565b505050565b60008054905090565b610b67611d9c565b73ffffffffffffffffffffffffffffffffffffffff16610b85611584565b73ffffffffffffffffffffffffffffffffffffffff1614610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd2906138bd565b60405180910390fd5b60085482610be7610b56565b610bf1919061390c565b1115610c32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c29906139d4565b60405180910390fd5b610c3c8183611e56565b81600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c8b919061390c565b9250508190555081600d6000828254610ca4919061390c565b925050819055505050565b610cb7611d9c565b73ffffffffffffffffffffffffffffffffffffffff16610cd5611584565b73ffffffffffffffffffffffffffffffffffffffff1614610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d22906138bd565b60405180910390fd5b80600b8190555050565b610d3d611d9c565b73ffffffffffffffffffffffffffffffffffffffff16610d5b611584565b73ffffffffffffffffffffffffffffffffffffffff1614610db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da8906138bd565b60405180910390fd5b80600c8190555050565b610dc6838383611e74565b505050565b6000610dd683611271565b8210610e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0e90613a66565b60405180910390fd5b6000610e21610b56565b905060008060005b83811015610f7b576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610f1b57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f6d5786841415610f64578195505050505050610fb7565b83806001019450505b508080600101915050610e29565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fae90613af8565b60405180910390fd5b92915050565b600e6020528060005260406000206000915090505481565b610fdd611d9c565b73ffffffffffffffffffffffffffffffffffffffff16610ffb611584565b73ffffffffffffffffffffffffffffffffffffffff1614611051576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611048906138bd565b60405180910390fd5b8060099080519060200190611067929190612dfe565b5050565b611073611d9c565b73ffffffffffffffffffffffffffffffffffffffff16611091611584565b73ffffffffffffffffffffffffffffffffffffffff16146110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de906138bd565b60405180910390fd5b60006110f1611a12565b905060008111611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d90613b8a565b60405180910390fd5b611147611141611584565b826123b4565b50565b61116583838360405180602001604052806000815250611a96565b505050565b600080600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156111c857600a54826111c19190613baa565b90506111e5565b600a546001836111d89190613c04565b6111e29190613baa565b90505b92915050565b60006111f5610b56565b8210611236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122d90613caa565b60405180910390fd5b819050919050565b600c5481565b6000600f60009054906101000a900460ff16905090565b600061126682612465565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d990613d3c565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611362611d9c565b73ffffffffffffffffffffffffffffffffffffffff16611380611584565b73ffffffffffffffffffffffffffffffffffffffff16146113d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cd906138bd565b60405180910390fd5b6113e060006125ff565b565b600b5481565b6113f0611d9c565b73ffffffffffffffffffffffffffffffffffffffff1661140e611584565b73ffffffffffffffffffffffffffffffffffffffff1614611464576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145b906138bd565b60405180910390fd5b60006001811115611478576114776133f8565b5b600f60009054906101000a900460ff16600181111561149a576114996133f8565b5b14156114d0576001600f60006101000a81548160ff021916908360018111156114c6576114c56133f8565b5b02179055506114fc565b6000600f60006101000a81548160ff021916908360018111156114f6576114f56133f8565b5b02179055505b565b611506611d9c565b73ffffffffffffffffffffffffffffffffffffffff16611524611584565b73ffffffffffffffffffffffffffffffffffffffff161461157a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611571906138bd565b60405180910390fd5b80600a8190555050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280546115bd90613689565b80601f01602080910402602001604051908101604052809291908181526020018280546115e990613689565b80156116365780601f1061160b57610100808354040283529160200191611636565b820191906000526020600020905b81548152906001019060200180831161161957829003601f168201915b5050505050905090565b60006001811115611654576116536133f8565b5b600f60009054906101000a900460ff166001811115611676576116756133f8565b5b14156116b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ae90613da8565b60405180910390fd5b600854816116c3610b56565b6116cd919061390c565b111561170e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170590613e14565b60405180910390fd5b600c54811115611753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174a90613e80565b60405180910390fd5b600b5481600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117a1919061390c565b11156117e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d990613eec565b60405180910390fd5b6117ec338261116a565b34101561182e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182590613f7e565b60405180910390fd5b6118383382611e56565b80600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611887919061390c565b9250508190555050565b611899611d9c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fe90613fea565b60405180910390fd5b8060066000611914611d9c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119c1611d9c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a069190612f8f565b60405180910390a35050565b6000611a1c611d9c565b73ffffffffffffffffffffffffffffffffffffffff16611a3a611584565b73ffffffffffffffffffffffffffffffffffffffff1614611a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a87906138bd565b60405180910390fd5b47905090565b611aa1848484611e74565b611aad848484846126c5565b611aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae39061407c565b60405180910390fd5b50505050565b6060611afd82611d8f565b611b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b339061410e565b60405180910390fd5b6000611b4661285c565b90506000815111611b665760405180602001604052806000815250611b91565b80611b70846128ee565b604051602001611b819291906141b6565b6040516020818303038152906040525b915050919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c35611d9c565b73ffffffffffffffffffffffffffffffffffffffff16611c53611584565b73ffffffffffffffffffffffffffffffffffffffff1614611ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca0906138bd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1090614257565b60405180910390fd5b611d22816125ff565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b611e70828260405180602001604052806000815250612a4f565b5050565b6000611e7f82612465565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611ea6611d9c565b73ffffffffffffffffffffffffffffffffffffffff161480611f025750611ecb611d9c565b73ffffffffffffffffffffffffffffffffffffffff16611eea846109b8565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f1e5750611f1d8260000151611f18611d9c565b611b99565b5b905080611f60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f57906142e9565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc99061437b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612042576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120399061440d565b60405180910390fd5b61204f8585856001612a61565b61205f6000848460000151611da4565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612344576122a381611d8f565b156123435782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123ad8585856001612a67565b5050505050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516123da9061445e565b60006040518083038185875af1925050503d8060008114612417576040519150601f19603f3d011682016040523d82523d6000602084013e61241c565b606091505b5050905080612460576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612457906144bf565b60405180910390fd5b505050565b61246d612e84565b61247682611d8f565b6124b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ac90614551565b60405180910390fd5b60008290505b600081106125be576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146125af5780925050506125fa565b508080600190039150506124bb565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f1906145e3565b60405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006126e68473ffffffffffffffffffffffffffffffffffffffff16612a6d565b1561284f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261270f611d9c565b8786866040518563ffffffff1660e01b81526004016127319493929190614658565b602060405180830381600087803b15801561274b57600080fd5b505af192505050801561277c57506040513d601f19601f8201168201806040525081019061277991906146b9565b60015b6127ff573d80600081146127ac576040519150601f19603f3d011682016040523d82523d6000602084013e6127b1565b606091505b506000815114156127f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ee9061407c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612854565b600190505b949350505050565b60606009805461286b90613689565b80601f016020809104026020016040519081016040528092919081815260200182805461289790613689565b80156128e45780601f106128b9576101008083540402835291602001916128e4565b820191906000526020600020905b8154815290600101906020018083116128c757829003601f168201915b5050505050905090565b60606000821415612936576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a4a565b600082905060005b60008214612968578080612951906146e6565b915050600a82612961919061475e565b915061293e565b60008167ffffffffffffffff81111561298457612983613284565b5b6040519080825280601f01601f1916602001820160405280156129b65781602001600182028036833780820191505090505b5090505b60008514612a43576001826129cf9190613c04565b9150600a856129de919061478f565b60306129ea919061390c565b60f81b818381518110612a00576129ff6147c0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a3c919061475e565b94506129ba565b8093505050505b919050565b612a5c8383836001612a80565b505050565b50505050565b50505050565b600080823b905060008111915050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aed90614861565b60405180910390fd5b6000841415612b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b31906148f3565b60405180910390fd5b612b476000868387612a61565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015612de157818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48315612dcc57612d8c60008884886126c5565b612dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc29061407c565b60405180910390fd5b5b81806001019250508080600101915050612d15565b508060008190555050612df76000868387612a67565b5050505050565b828054612e0a90613689565b90600052602060002090601f016020900481019282612e2c5760008555612e73565b82601f10612e4557805160ff1916838001178555612e73565b82800160010185558215612e73579182015b82811115612e72578251825591602001919060010190612e57565b5b509050612e809190612ebe565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115612ed7576000816000905550600101612ebf565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f2481612eef565b8114612f2f57600080fd5b50565b600081359050612f4181612f1b565b92915050565b600060208284031215612f5d57612f5c612ee5565b5b6000612f6b84828501612f32565b91505092915050565b60008115159050919050565b612f8981612f74565b82525050565b6000602082019050612fa46000830184612f80565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fe4578082015181840152602081019050612fc9565b83811115612ff3576000848401525b50505050565b6000601f19601f8301169050919050565b600061301582612faa565b61301f8185612fb5565b935061302f818560208601612fc6565b61303881612ff9565b840191505092915050565b6000602082019050818103600083015261305d818461300a565b905092915050565b6000819050919050565b61307881613065565b811461308357600080fd5b50565b6000813590506130958161306f565b92915050565b6000602082840312156130b1576130b0612ee5565b5b60006130bf84828501613086565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130f3826130c8565b9050919050565b613103816130e8565b82525050565b600060208201905061311e60008301846130fa565b92915050565b61312d816130e8565b811461313857600080fd5b50565b60008135905061314a81613124565b92915050565b6000806040838503121561316757613166612ee5565b5b60006131758582860161313b565b925050602061318685828601613086565b9150509250929050565b61319981613065565b82525050565b60006020820190506131b46000830184613190565b92915050565b600080604083850312156131d1576131d0612ee5565b5b60006131df85828601613086565b92505060206131f08582860161313b565b9150509250929050565b60008060006060848603121561321357613212612ee5565b5b60006132218682870161313b565b93505060206132328682870161313b565b925050604061324386828701613086565b9150509250925092565b60006020828403121561326357613262612ee5565b5b60006132718482850161313b565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6132bc82612ff9565b810181811067ffffffffffffffff821117156132db576132da613284565b5b80604052505050565b60006132ee612edb565b90506132fa82826132b3565b919050565b600067ffffffffffffffff82111561331a57613319613284565b5b61332382612ff9565b9050602081019050919050565b82818337600083830152505050565b600061335261334d846132ff565b6132e4565b90508281526020810184848401111561336e5761336d61327f565b5b613379848285613330565b509392505050565b600082601f8301126133965761339561327a565b5b81356133a684826020860161333f565b91505092915050565b6000602082840312156133c5576133c4612ee5565b5b600082013567ffffffffffffffff8111156133e3576133e2612eea565b5b6133ef84828501613381565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60028110613438576134376133f8565b5b50565b600081905061344982613427565b919050565b60006134598261343b565b9050919050565b6134698161344e565b82525050565b60006020820190506134846000830184613460565b92915050565b61349381612f74565b811461349e57600080fd5b50565b6000813590506134b08161348a565b92915050565b600080604083850312156134cd576134cc612ee5565b5b60006134db8582860161313b565b92505060206134ec858286016134a1565b9150509250929050565b600067ffffffffffffffff82111561351157613510613284565b5b61351a82612ff9565b9050602081019050919050565b600061353a613535846134f6565b6132e4565b9050828152602081018484840111156135565761355561327f565b5b613561848285613330565b509392505050565b600082601f83011261357e5761357d61327a565b5b813561358e848260208601613527565b91505092915050565b600080600080608085870312156135b1576135b0612ee5565b5b60006135bf8782880161313b565b94505060206135d08782880161313b565b93505060406135e187828801613086565b925050606085013567ffffffffffffffff81111561360257613601612eea565b5b61360e87828801613569565b91505092959194509250565b6000806040838503121561363157613630612ee5565b5b600061363f8582860161313b565b92505060206136508582860161313b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806136a157607f821691505b602082108114156136b5576136b461365a565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000613717602d83612fb5565b9150613722826136bb565b604082019050919050565b600060208201905081810360008301526137468161370a565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b60006137a9602283612fb5565b91506137b48261374d565b604082019050919050565b600060208201905081810360008301526137d88161379c565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b600061383b603983612fb5565b9150613846826137df565b604082019050919050565b6000602082019050818103600083015261386a8161382e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138a7602083612fb5565b91506138b282613871565b602082019050919050565b600060208201905081810360008301526138d68161389a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061391782613065565b915061392283613065565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613957576139566138dd565b5b828201905092915050565b7f4e6f7420656e6f756768205265736572766564204e465473206c65667420746f60008201527f206d696e742e2e00000000000000000000000000000000000000000000000000602082015250565b60006139be602783612fb5565b91506139c982613962565b604082019050919050565b600060208201905081810360008301526139ed816139b1565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000613a50602283612fb5565b9150613a5b826139f4565b604082019050919050565b60006020820190508181036000830152613a7f81613a43565b9050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000613ae2602e83612fb5565b9150613aed82613a86565b604082019050919050565b60006020820190508181036000830152613b1181613ad5565b9050919050565b7f4e6f2046756e647320746f2077697468647261772c2042616c616e636520697360008201527f2030000000000000000000000000000000000000000000000000000000000000602082015250565b6000613b74602283612fb5565b9150613b7f82613b18565b604082019050919050565b60006020820190508181036000830152613ba381613b67565b9050919050565b6000613bb582613065565b9150613bc083613065565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613bf957613bf86138dd565b5b828202905092915050565b6000613c0f82613065565b9150613c1a83613065565b925082821015613c2d57613c2c6138dd565b5b828203905092915050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b6000613c94602383612fb5565b9150613c9f82613c38565b604082019050919050565b60006020820190508181036000830152613cc381613c87565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613d26602b83612fb5565b9150613d3182613cca565b604082019050919050565b60006020820190508181036000830152613d5581613d19565b9050919050565b7f53616c65206973206e6f74206f70656e20796574210000000000000000000000600082015250565b6000613d92601583612fb5565b9150613d9d82613d5c565b602082019050919050565b60006020820190508181036000830152613dc181613d85565b9050919050565b7f4e6f7420656e6f756768204e465473206c65667420746f206d696e742e2e0000600082015250565b6000613dfe601e83612fb5565b9150613e0982613dc8565b602082019050919050565b60006020820190508181036000830152613e2d81613df1565b9050919050565b7f4d6178204d696e74732070657220545820657863656564656421000000000000600082015250565b6000613e6a601a83612fb5565b9150613e7582613e34565b602082019050919050565b60006020820190508181036000830152613e9981613e5d565b9050919050565b7f4d6178206d696e74732070657220616464726573732065786365656465642100600082015250565b6000613ed6601f83612fb5565b9150613ee182613ea0565b602082019050919050565b60006020820190508181036000830152613f0581613ec9565b9050919050565b7f4e6f742073756666696369656e7420457468657220746f206d696e742074686960008201527f7320616d6f756e74206f66204e46547300000000000000000000000000000000602082015250565b6000613f68603083612fb5565b9150613f7382613f0c565b604082019050919050565b60006020820190508181036000830152613f9781613f5b565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000613fd4601a83612fb5565b9150613fdf82613f9e565b602082019050919050565b6000602082019050818103600083015261400381613fc7565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b6000614066603383612fb5565b91506140718261400a565b604082019050919050565b6000602082019050818103600083015261409581614059565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006140f8602f83612fb5565b91506141038261409c565b604082019050919050565b60006020820190508181036000830152614127816140eb565b9050919050565b600081905092915050565b600061414482612faa565b61414e818561412e565b935061415e818560208601612fc6565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006141a060058361412e565b91506141ab8261416a565b600582019050919050565b60006141c28285614139565b91506141ce8284614139565b91506141d982614193565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614241602683612fb5565b915061424c826141e5565b604082019050919050565b6000602082019050818103600083015261427081614234565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006142d3603283612fb5565b91506142de82614277565b604082019050919050565b60006020820190508181036000830152614302816142c6565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000614365602683612fb5565b915061437082614309565b604082019050919050565b6000602082019050818103600083015261439481614358565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006143f7602583612fb5565b91506144028261439b565b604082019050919050565b60006020820190508181036000830152614426816143ea565b9050919050565b600081905092915050565b50565b600061444860008361442d565b915061445382614438565b600082019050919050565b60006144698261443b565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b60006144a9601483612fb5565b91506144b482614473565b602082019050919050565b600060208201905081810360008301526144d88161449c565b9050919050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b600061453b602a83612fb5565b9150614546826144df565b604082019050919050565b6000602082019050818103600083015261456a8161452e565b9050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b60006145cd602f83612fb5565b91506145d882614571565b604082019050919050565b600060208201905081810360008301526145fc816145c0565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061462a82614603565b614634818561460e565b9350614644818560208601612fc6565b61464d81612ff9565b840191505092915050565b600060808201905061466d60008301876130fa565b61467a60208301866130fa565b6146876040830185613190565b8181036060830152614699818461461f565b905095945050505050565b6000815190506146b381612f1b565b92915050565b6000602082840312156146cf576146ce612ee5565b5b60006146dd848285016146a4565b91505092915050565b60006146f182613065565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614724576147236138dd565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061476982613065565b915061477483613065565b9250826147845761478361472f565b5b828204905092915050565b600061479a82613065565b91506147a583613065565b9250826147b5576147b461472f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061484b602183612fb5565b9150614856826147ef565b604082019050919050565b6000602082019050818103600083015261487a8161483e565b9050919050565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b60006148dd602883612fb5565b91506148e882614881565b604082019050919050565b6000602082019050818103600083015261490c816148d0565b905091905056fea26469706673582212205bd3966db764195c1e184422205283664ea25cac7a2bbb3cb526659aae56e5b964736f6c63430008090033

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.