ETH Price: $3,910.16 (+1.32%)

Token

uNite (uNite)
 

Overview

Max Total Supply

558 uNite

Holders

534

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
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:
uNite

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 16 : uNite.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract uNite is ERC1155, Ownable, ERC1155Burnable {
    string public name = "uNite";
    string public symbol = "uNite";
    uint256 public minted;
    uint256 public mintPrice; // Price in ETH for each mint
    uint256 public maxBatchSize = 20;

    mapping(address => bool) public whitelist;

    event EthCollected(address indexed collector, uint256 amount);
    event Mint(address indexed account, uint256 tokenId, uint256 amount);

    constructor(
        address initialOwner,
        uint256 _mintPrice
    )
        ERC1155(
            "https://ipfs.io/ipfs/QmYtGLo6ZzjzuSxnfCHx2JzWFqVvbDYReyCzyNjggv9Pst/{id}.json"
        )
        Ownable(initialOwner)
    {
        minted = 0;
        mintPrice = _mintPrice;
    }

    function addToWhitelist(address[] calldata addresses) external onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            whitelist[addresses[i]] = true;
        }
    }

    function removeFromWhitelist(
        address[] calldata addresses
    ) external onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            whitelist[addresses[i]] = false;
        }
    }

    function mint() external payable {
        if (whitelist[msg.sender]) {
            // Remove user from whitelist after minting
            whitelist[msg.sender] = false;
        } else if (msg.sender != owner()) {
            require(msg.value >= mintPrice, "Insufficient funds");
        }
        // Mint one token to the sender
        _mint(msg.sender, minted + 1, 1, "");
        minted += 1;

        emit Mint(msg.sender, minted + 1, 1);
    }

    function mintBatchTo(address[] calldata addresses) external onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            minted += 1;
            _mint(addresses[i], minted, 1, "");
            emit Mint(addresses[i], minted, 1);
        }
    }

    function mintBatch(uint256 numberOfTokens) external payable {
        require(
            numberOfTokens > 0 && numberOfTokens <= maxBatchSize,
            "Invalid batch size"
        );

        if (msg.sender != owner()) {
            require(
                msg.value >= mintPrice * numberOfTokens,
                "Insufficient funds"
            );
        }

        uint256[] memory tokenIds = new uint256[](numberOfTokens);
        uint256[] memory amounts = new uint256[](numberOfTokens);

        for (uint256 i = 0; i < numberOfTokens; i++) {
            minted += 1;
            tokenIds[i] = minted;
            amounts[i] = 1;
        }
        _mintBatch(msg.sender, tokenIds, amounts, "");
        // Mint the tokens to the sender
        for (uint256 i = 0; i < numberOfTokens; i++) {
            emit Mint(msg.sender, tokenIds[i], amounts[i]);
        }
    }

    function setMintPrice(uint256 _mintPrice) external onlyOwner {
        mintPrice = _mintPrice;
    }

    function collectEth() external onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, "No ETH to collect");
        payable(owner()).transfer(balance);
        emit EthCollected(owner(), balance);
    }

    function uri(
        uint256 _tokenid
    ) public pure override returns (string memory) {
        return
            string(
                abi.encodePacked(
                    "https://ipfs.io/ipfs/QmYtGLo6ZzjzuSxnfCHx2JzWFqVvbDYReyCzyNjggv9Pst/",
                    Strings.toString(_tokenid),
                    ".json"
                )
            );
    }

    function contractURI() public pure returns (string memory) {
        return
            "https://ipfs.io/ipfs/QmYtGLo6ZzjzuSxnfCHx2JzWFqVvbDYReyCzyNjggv9Pst/collection.json";
    }

    // Fallback function to receive ETH
    receive() external payable {}
}

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

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.20;

import {IERC1155} from "./IERC1155.sol";
import {IERC1155Receiver} from "./IERC1155Receiver.sol";
import {IERC1155MetadataURI} from "./extensions/IERC1155MetadataURI.sol";
import {Context} from "../../utils/Context.sol";
import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol";
import {Arrays} from "../../utils/Arrays.sol";
import {IERC1155Errors} from "../../interfaces/draft-IERC6093.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 */
abstract contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI, IERC1155Errors {
    using Arrays for uint256[];
    using Arrays for address[];

    mapping(uint256 id => mapping(address account => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256 /* id */) public view virtual returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     */
    function balanceOf(address account, uint256 id) public view virtual returns (uint256) {
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] memory accounts,
        uint256[] memory ids
    ) public view virtual returns (uint256[] memory) {
        if (accounts.length != ids.length) {
            revert ERC1155InvalidArrayLength(ids.length, accounts.length);
        }

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts.unsafeMemoryAccess(i), ids.unsafeMemoryAccess(i));
        }

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes memory data) public virtual {
        address sender = _msgSender();
        if (from != sender && !isApprovedForAll(from, sender)) {
            revert ERC1155MissingApprovalForAll(sender, from);
        }
        _safeTransferFrom(from, to, id, value, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    ) public virtual {
        address sender = _msgSender();
        if (from != sender && !isApprovedForAll(from, sender)) {
            revert ERC1155MissingApprovalForAll(sender, from);
        }
        _safeBatchTransferFrom(from, to, ids, values, data);
    }

    /**
     * @dev Transfers a `value` amount of tokens of type `id` from `from` to `to`. Will mint (or burn) if `from`
     * (or `to`) is the zero address.
     *
     * Emits a {TransferSingle} event if the arrays contain one element, and {TransferBatch} otherwise.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement either {IERC1155Receiver-onERC1155Received}
     *   or {IERC1155Receiver-onERC1155BatchReceived} and return the acceptance magic value.
     * - `ids` and `values` must have the same length.
     *
     * NOTE: The ERC-1155 acceptance check is not performed in this function. See {_updateWithAcceptanceCheck} instead.
     */
    function _update(address from, address to, uint256[] memory ids, uint256[] memory values) internal virtual {
        if (ids.length != values.length) {
            revert ERC1155InvalidArrayLength(ids.length, values.length);
        }

        address operator = _msgSender();

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids.unsafeMemoryAccess(i);
            uint256 value = values.unsafeMemoryAccess(i);

            if (from != address(0)) {
                uint256 fromBalance = _balances[id][from];
                if (fromBalance < value) {
                    revert ERC1155InsufficientBalance(from, fromBalance, value, id);
                }
                unchecked {
                    // Overflow not possible: value <= fromBalance
                    _balances[id][from] = fromBalance - value;
                }
            }

            if (to != address(0)) {
                _balances[id][to] += value;
            }
        }

        if (ids.length == 1) {
            uint256 id = ids.unsafeMemoryAccess(0);
            uint256 value = values.unsafeMemoryAccess(0);
            emit TransferSingle(operator, from, to, id, value);
        } else {
            emit TransferBatch(operator, from, to, ids, values);
        }
    }

    /**
     * @dev Version of {_update} that performs the token acceptance check by calling
     * {IERC1155Receiver-onERC1155Received} or {IERC1155Receiver-onERC1155BatchReceived} on the receiver address if it
     * contains code (eg. is a smart contract at the moment of execution).
     *
     * IMPORTANT: Overriding this function is discouraged because it poses a reentrancy risk from the receiver. So any
     * update to the contract state after this function would break the check-effect-interaction pattern. Consider
     * overriding {_update} instead.
     */
    function _updateWithAcceptanceCheck(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    ) internal virtual {
        _update(from, to, ids, values);
        if (to != address(0)) {
            address operator = _msgSender();
            if (ids.length == 1) {
                uint256 id = ids.unsafeMemoryAccess(0);
                uint256 value = values.unsafeMemoryAccess(0);
                _doSafeTransferAcceptanceCheck(operator, from, to, id, value, data);
            } else {
                _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, values, data);
            }
        }
    }

    /**
     * @dev Transfers a `value` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `value` amount.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes memory data) internal {
        if (to == address(0)) {
            revert ERC1155InvalidReceiver(address(0));
        }
        if (from == address(0)) {
            revert ERC1155InvalidSender(address(0));
        }
        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);
        _updateWithAcceptanceCheck(from, to, ids, values, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     * - `ids` and `values` must have the same length.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    ) internal {
        if (to == address(0)) {
            revert ERC1155InvalidReceiver(address(0));
        }
        if (from == address(0)) {
            revert ERC1155InvalidSender(address(0));
        }
        _updateWithAcceptanceCheck(from, to, ids, values, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the values in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates a `value` amount of tokens of type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(address to, uint256 id, uint256 value, bytes memory data) internal {
        if (to == address(0)) {
            revert ERC1155InvalidReceiver(address(0));
        }
        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);
        _updateWithAcceptanceCheck(address(0), to, ids, values, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `values` must have the same length.
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(address to, uint256[] memory ids, uint256[] memory values, bytes memory data) internal {
        if (to == address(0)) {
            revert ERC1155InvalidReceiver(address(0));
        }
        _updateWithAcceptanceCheck(address(0), to, ids, values, data);
    }

    /**
     * @dev Destroys a `value` amount of tokens of type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `value` amount of tokens of type `id`.
     */
    function _burn(address from, uint256 id, uint256 value) internal {
        if (from == address(0)) {
            revert ERC1155InvalidSender(address(0));
        }
        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);
        _updateWithAcceptanceCheck(from, address(0), ids, values, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `value` amount of tokens of type `id`.
     * - `ids` and `values` must have the same length.
     */
    function _burnBatch(address from, uint256[] memory ids, uint256[] memory values) internal {
        if (from == address(0)) {
            revert ERC1155InvalidSender(address(0));
        }
        _updateWithAcceptanceCheck(from, address(0), ids, values, "");
    }

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

    /**
     * @dev Performs an acceptance check by calling {IERC1155-onERC1155Received} on the `to` address
     * if it contains code at the moment of execution.
     */
    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 value,
        bytes memory data
    ) private {
        if (to.code.length > 0) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, value, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    // Tokens rejected
                    revert ERC1155InvalidReceiver(to);
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    // non-ERC1155Receiver implementer
                    revert ERC1155InvalidReceiver(to);
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }

    /**
     * @dev Performs a batch acceptance check by calling {IERC1155-onERC1155BatchReceived} on the `to` address
     * if it contains code at the moment of execution.
     */
    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    ) private {
        if (to.code.length > 0) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, values, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    // Tokens rejected
                    revert ERC1155InvalidReceiver(to);
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    // non-ERC1155Receiver implementer
                    revert ERC1155InvalidReceiver(to);
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }

    /**
     * @dev Creates an array in memory with only one value for each of the elements provided.
     */
    function _asSingletonArrays(
        uint256 element1,
        uint256 element2
    ) private pure returns (uint256[] memory array1, uint256[] memory array2) {
        /// @solidity memory-safe-assembly
        assembly {
            // Load the free memory pointer
            array1 := mload(0x40)
            // Set array length to 1
            mstore(array1, 1)
            // Store the single element at the next word after the length (where content starts)
            mstore(add(array1, 0x20), element1)

            // Repeat for next array locating it right after the first array
            array2 := add(array1, 0x40)
            mstore(array2, 1)
            mstore(add(array2, 0x20), element2)

            // Update the free memory pointer by pointing after the second array
            mstore(0x40, add(array2, 0x40))
        }
    }
}

File 5 of 16 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/extensions/ERC1155Burnable.sol)

pragma solidity ^0.8.20;

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

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(address account, uint256 id, uint256 value) public virtual {
        if (account != _msgSender() && !isApprovedForAll(account, _msgSender())) {
            revert ERC1155MissingApprovalForAll(_msgSender(), account);
        }

        _burn(account, id, value);
    }

    function burnBatch(address account, uint256[] memory ids, uint256[] memory values) public virtual {
        if (account != _msgSender() && !isApprovedForAll(account, _msgSender())) {
            revert ERC1155MissingApprovalForAll(_msgSender(), account);
        }

        _burnBatch(account, ids, values);
    }
}

File 6 of 16 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.20;

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

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 7 of 16 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers a `value` amount of tokens of type `id` from `from` to `to`.
     *
     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens
     * to an untrusted contract, when invoking {onERC1155Received} on the receiver.
     * Ensure to follow the checks-effects-interactions pattern and consider employing
     * reentrancy guards when interacting with untrusted contracts.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `value` amount.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     *
     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens
     * to an untrusted contract, when invoking {onERC1155BatchReceived} on the receiver.
     * Ensure to follow the checks-effects-interactions pattern and consider employing
     * reentrancy guards when interacting with untrusted contracts.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `values` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external;
}

File 8 of 16 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.20;

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

/**
 * @dev Interface that must be implemented by smart contracts in order to receive
 * ERC-1155 token transfers.
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 9 of 16 : Arrays.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Arrays.sol)

pragma solidity ^0.8.20;

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

/**
 * @dev Collection of functions related to array types.
 */
library Arrays {
    using StorageSlot for bytes32;

    /**
     * @dev Searches a sorted `array` and returns the first index that contains
     * a value greater or equal to `element`. If no such index exists (i.e. all
     * values in the array are strictly less than `element`), the array length is
     * returned. Time complexity O(log n).
     *
     * `array` is expected to be sorted in ascending order, and to contain no
     * repeated elements.
     */
    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        uint256 low = 0;
        uint256 high = array.length;

        if (high == 0) {
            return 0;
        }

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds towards zero (it does integer division with truncation).
            if (unsafeAccess(array, mid).value > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && unsafeAccess(array, low - 1).value == element) {
            return low - 1;
        } else {
            return low;
        }
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(address[] storage arr, uint256 pos) internal pure returns (StorageSlot.AddressSlot storage) {
        bytes32 slot;
        // We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr`
        // following https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays.

        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getAddressSlot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(bytes32[] storage arr, uint256 pos) internal pure returns (StorageSlot.Bytes32Slot storage) {
        bytes32 slot;
        // We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr`
        // following https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays.

        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getBytes32Slot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(uint256[] storage arr, uint256 pos) internal pure returns (StorageSlot.Uint256Slot storage) {
        bytes32 slot;
        // We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr`
        // following https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays.

        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getUint256Slot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeMemoryAccess(uint256[] memory arr, uint256 pos) internal pure returns (uint256 res) {
        assembly {
            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))
        }
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeMemoryAccess(address[] memory arr, uint256 pos) internal pure returns (address res) {
        assembly {
            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))
        }
    }
}

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

pragma solidity ^0.8.20;

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

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

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

pragma solidity ^0.8.20;

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

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

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

pragma solidity ^0.8.20;

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

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

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

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

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

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

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

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

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

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

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.20;

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

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

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

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

File 15 of 16 : StorageSlot.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.

pragma solidity ^0.8.20;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(newImplementation.code.length > 0);
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` with member `value` located at `slot`.
     */
    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` with member `value` located at `slot`.
     */
    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }
}

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

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC1155InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC1155InvalidApprover","type":"error"},{"inputs":[{"internalType":"uint256","name":"idsLength","type":"uint256"},{"internalType":"uint256","name":"valuesLength","type":"uint256"}],"name":"ERC1155InvalidArrayLength","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC1155InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC1155InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC1155InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC1155MissingApprovalForAll","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"collector","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EthCollected","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collectEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBatchSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintBatch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"mintBatchTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minted","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":"address[]","name":"addresses","type":"address[]"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenid","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526040518060400160405280600581526020017f754e697465000000000000000000000000000000000000000000000000000000815250600490816200004a9190620004ea565b506040518060400160405280600581526020017f754e69746500000000000000000000000000000000000000000000000000000081525060059081620000919190620004ea565b506014600855348015620000a457600080fd5b50604051620040cd380380620040cd8339818101604052810190620000ca91906200066c565b816040518060800160405280604d815260200162004080604d9139620000f6816200019560201b60201c565b50600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200016c5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620001639190620006c4565b60405180910390fd5b6200017d81620001aa60201b60201c565b506000600681905550806007819055505050620006e1565b8060029081620001a69190620004ea565b5050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002f257607f821691505b602082108103620003085762000307620002aa565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003727fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000333565b6200037e868362000333565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003cb620003c5620003bf8462000396565b620003a0565b62000396565b9050919050565b6000819050919050565b620003e783620003aa565b620003ff620003f682620003d2565b84845462000340565b825550505050565b600090565b6200041662000407565b62000423818484620003dc565b505050565b5b818110156200044b576200043f6000826200040c565b60018101905062000429565b5050565b601f8211156200049a5762000464816200030e565b6200046f8462000323565b810160208510156200047f578190505b620004976200048e8562000323565b83018262000428565b50505b505050565b600082821c905092915050565b6000620004bf600019846008026200049f565b1980831691505092915050565b6000620004da8383620004ac565b9150826002028217905092915050565b620004f58262000270565b67ffffffffffffffff8111156200051157620005106200027b565b5b6200051d8254620002d9565b6200052a8282856200044f565b600060209050601f8311600181146200056257600084156200054d578287015190505b620005598582620004cc565b865550620005c9565b601f19841662000572866200030e565b60005b828110156200059c5784890151825560018201915060208501945060208101905062000575565b86831015620005bc5784890151620005b8601f891682620004ac565b8355505b6001600288020188555050505b505050505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200060382620005d6565b9050919050565b6200061581620005f6565b81146200062157600080fd5b50565b60008151905062000635816200060a565b92915050565b620006468162000396565b81146200065257600080fd5b50565b60008151905062000666816200063b565b92915050565b60008060408385031215620006865762000685620005d1565b5b6000620006968582860162000624565b9250506020620006a98582860162000655565b9150509250929050565b620006be81620005f6565b82525050565b6000602082019050620006db6000830184620006b3565b92915050565b61398f80620006f16000396000f3fe60806040526004361061019f5760003560e01c80636b20c454116100ec578063e8a3d4851161008a578063f2fde38b11610064578063f2fde38b146105a2578063f4a0a528146105cb578063f5298aca146105f4578063fada5da11461061d576101a6565b8063e8a3d48514610511578063e985e9c51461053c578063f242432a14610579576101a6565b80638da5cb5b116100c65780638da5cb5b1461045557806395d89b41146104805780639b19251a146104ab578063a22cb465146104e8576101a6565b80636b20c454146103ec578063715018a6146104155780637f6497831461042c576101a6565b80632913daa0116101595780634e1273f4116101335780634e1273f4146103305780634f02c4201461036d578063548db174146103985780636817c76c146103c1576101a6565b80632913daa0146102b35780632eb2c2d6146102de57806345b795f214610307576101a6565b8062fdd58e146101ab57806301ffc9a7146101e857806306fdde03146102255780630e89341c146102505780631249c58b1461028d57806320e409b414610297576101a6565b366101a657005b600080fd5b3480156101b757600080fd5b506101d260048036038101906101cd9190612872565b610634565b6040516101df91906128c1565b60405180910390f35b3480156101f457600080fd5b5061020f600480360381019061020a9190612934565b61068e565b60405161021c919061297c565b60405180910390f35b34801561023157600080fd5b5061023a610770565b6040516102479190612a27565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612a49565b6107fe565b6040516102849190612a27565b60405180910390f35b61029561082f565b005b6102b160048036038101906102ac9190612a49565b610a04565b005b3480156102bf57600080fd5b506102c8610cad565b6040516102d591906128c1565b60405180910390f35b3480156102ea57600080fd5b5061030560048036038101906103009190612c73565b610cb3565b005b34801561031357600080fd5b5061032e60048036038101906103299190612d9d565b610d5b565b005b34801561033c57600080fd5b5061035760048036038101906103529190612ead565b610e5c565b6040516103649190612fe3565b60405180910390f35b34801561037957600080fd5b50610382610f65565b60405161038f91906128c1565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba9190612d9d565b610f6b565b005b3480156103cd57600080fd5b506103d6611012565b6040516103e391906128c1565b60405180910390f35b3480156103f857600080fd5b50610413600480360381019061040e9190613005565b611018565b005b34801561042157600080fd5b5061042a6110c4565b005b34801561043857600080fd5b50610453600480360381019061044e9190612d9d565b6110d8565b005b34801561046157600080fd5b5061046a61117f565b604051610477919061309f565b60405180910390f35b34801561048c57600080fd5b506104956111a9565b6040516104a29190612a27565b60405180910390f35b3480156104b757600080fd5b506104d260048036038101906104cd91906130ba565b611237565b6040516104df919061297c565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a9190613113565b611257565b005b34801561051d57600080fd5b5061052661126d565b6040516105339190612a27565b60405180910390f35b34801561054857600080fd5b50610563600480360381019061055e9190613153565b61128d565b604051610570919061297c565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b9190613193565b611321565b005b3480156105ae57600080fd5b506105c960048036038101906105c491906130ba565b6113c9565b005b3480156105d757600080fd5b506105f260048036038101906105ed9190612a49565b61144f565b005b34801561060057600080fd5b5061061b6004803603810190610616919061322a565b611461565b005b34801561062957600080fd5b5061063261150d565b005b600080600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061075957507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610769575061076882611603565b5b9050919050565b6004805461077d906132ac565b80601f01602080910402602001604051908101604052809291908181526020018280546107a9906132ac565b80156107f65780601f106107cb576101008083540402835291602001916107f6565b820191906000526020600020905b8154815290600101906020018083116107d957829003601f168201915b505050505081565b60606108098261166d565b60405160200161081991906133fd565b6040516020818303038152906040529050919050565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156108de576000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061095f565b6108e661117f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461095e5760075434101561095d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095490613476565b60405180910390fd5b5b5b61098933600160065461097291906134c5565b60016040518060200160405280600081525061173b565b60016006600082825461099c91906134c5565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f60016006546109ea91906134c5565b60016040516109fa92919061353e565b60405180910390a2565b600081118015610a1657506008548111155b610a55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4c906135b3565b60405180910390fd5b610a5d61117f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ae05780600754610a9d91906135d3565b341015610adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad690613476565b60405180910390fd5b5b60008167ffffffffffffffff811115610afc57610afb612a7b565b5b604051908082528060200260200182016040528015610b2a5781602001602082028036833780820191505090505b50905060008267ffffffffffffffff811115610b4957610b48612a7b565b5b604051908082528060200260200182016040528015610b775781602001602082028036833780820191505090505b50905060005b83811015610bef57600160066000828254610b9891906134c5565b92505081905550600654838281518110610bb557610bb4613615565b5b6020026020010181815250506001828281518110610bd657610bd5613615565b5b6020026020010181815250508080600101915050610b7d565b50610c0b338383604051806020016040528060008152506117d4565b60005b83811015610ca7573373ffffffffffffffffffffffffffffffffffffffff167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f848381518110610c6157610c60613615565b5b6020026020010151848481518110610c7c57610c7b613615565b5b6020026020010151604051610c92929190613644565b60405180910390a28080600101915050610c0e565b50505050565b60085481565b6000610cbd61185a565b90508073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614158015610d025750610d00868261128d565b155b15610d465780866040517fe237d922000000000000000000000000000000000000000000000000000000008152600401610d3d92919061366d565b60405180910390fd5b610d538686868686611862565b505050505050565b610d6361195a565b60005b82829050811015610e5757600160066000828254610d8491906134c5565b92505081905550610dd0838383818110610da157610da0613615565b5b9050602002016020810190610db691906130ba565b60065460016040518060200160405280600081525061173b565b828282818110610de357610de2613615565b5b9050602002016020810190610df891906130ba565b73ffffffffffffffffffffffffffffffffffffffff167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f6006546001604051610e4292919061353e565b60405180910390a28080600101915050610d66565b505050565b60608151835114610ea857815183516040517f5b059991000000000000000000000000000000000000000000000000000000008152600401610e9f929190613644565b60405180910390fd5b6000835167ffffffffffffffff811115610ec557610ec4612a7b565b5b604051908082528060200260200182016040528015610ef35781602001602082028036833780820191505090505b50905060005b8451811015610f5a57610f30610f1882876119e190919063ffffffff16565b610f2b83876119f590919063ffffffff16565b610634565b828281518110610f4357610f42613615565b5b602002602001018181525050806001019050610ef9565b508091505092915050565b60065481565b610f7361195a565b60005b8282905081101561100d57600060096000858585818110610f9a57610f99613615565b5b9050602002016020810190610faf91906130ba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080600101915050610f76565b505050565b60075481565b61102061185a565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561106957506110678361106261185a565b61128d565b155b156110b45761107661185a565b836040517fe237d9220000000000000000000000000000000000000000000000000000000081526004016110ab92919061366d565b60405180910390fd5b6110bf838383611a09565b505050565b6110cc61195a565b6110d66000611a9d565b565b6110e061195a565b60005b8282905081101561117a5760016009600085858581811061110757611106613615565b5b905060200201602081019061111c91906130ba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806001019150506110e3565b505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600580546111b6906132ac565b80601f01602080910402602001604051908101604052809291908181526020018280546111e2906132ac565b801561122f5780601f106112045761010080835404028352916020019161122f565b820191906000526020600020905b81548152906001019060200180831161121257829003601f168201915b505050505081565b60096020528060005260406000206000915054906101000a900460ff1681565b61126961126261185a565b8383611b63565b5050565b606060405180608001604052806053815260200161390760539139905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600061132b61185a565b90508073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614158015611370575061136e868261128d565b155b156113b45780866040517fe237d9220000000000000000000000000000000000000000000000000000000081526004016113ab92919061366d565b60405180910390fd5b6113c18686868686611cd3565b505050505050565b6113d161195a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036114435760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161143a919061309f565b60405180910390fd5b61144c81611a9d565b50565b61145761195a565b8060078190555050565b61146961185a565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156114b257506114b0836114ab61185a565b61128d565b155b156114fd576114bf61185a565b836040517fe237d9220000000000000000000000000000000000000000000000000000000081526004016114f492919061366d565b60405180910390fd5b611508838383611dde565b505050565b61151561195a565b60004790506000811161155d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611554906136e2565b60405180910390fd5b61156561117f565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156115aa573d6000803e3d6000fd5b506115b361117f565b73ffffffffffffffffffffffffffffffffffffffff167f0c06b5a4eb8a83bd3a5e97ee9e693207ab743a7ce9acf81d4e8122eef93306c6826040516115f891906128c1565b60405180910390a250565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000600161167c84611e85565b01905060008167ffffffffffffffff81111561169b5761169a612a7b565b5b6040519080825280601f01601f1916602001820160405280156116cd5781602001600182028036833780820191505090505b509050600082602001820190505b600115611730578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161172457611723613702565b5b049450600085036116db575b819350505050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036117ad5760006040517f57f447ce0000000000000000000000000000000000000000000000000000000081526004016117a4919061309f565b60405180910390fd5b6000806117ba8585611fd8565b915091506117cc600087848487612008565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036118465760006040517f57f447ce00000000000000000000000000000000000000000000000000000000815260040161183d919061309f565b60405180910390fd5b611854600085858585612008565b50505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036118d45760006040517f57f447ce0000000000000000000000000000000000000000000000000000000081526004016118cb919061309f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036119465760006040517f01a8351400000000000000000000000000000000000000000000000000000000815260040161193d919061309f565b60405180910390fd5b6119538585858585612008565b5050505050565b61196261185a565b73ffffffffffffffffffffffffffffffffffffffff1661198061117f565b73ffffffffffffffffffffffffffffffffffffffff16146119df576119a361185a565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016119d6919061309f565b60405180910390fd5b565b600060208202602084010151905092915050565b600060208202602084010151905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a7b5760006040517f01a83514000000000000000000000000000000000000000000000000000000008152600401611a72919061309f565b60405180910390fd5b611a98836000848460405180602001604052806000815250612008565b505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bd55760006040517fced3e100000000000000000000000000000000000000000000000000000000008152600401611bcc919061309f565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cc6919061297c565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611d455760006040517f57f447ce000000000000000000000000000000000000000000000000000000008152600401611d3c919061309f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611db75760006040517f01a83514000000000000000000000000000000000000000000000000000000008152600401611dae919061309f565b60405180910390fd5b600080611dc48585611fd8565b91509150611dd58787848487612008565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611e505760006040517f01a83514000000000000000000000000000000000000000000000000000000008152600401611e47919061309f565b60405180910390fd5b600080611e5d8484611fd8565b91509150611e7e856000848460405180602001604052806000815250612008565b5050505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611ee3577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611ed957611ed8613702565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611f20576d04ee2d6d415b85acef81000000008381611f1657611f15613702565b5b0492506020810190505b662386f26fc100008310611f4f57662386f26fc100008381611f4557611f44613702565b5b0492506010810190505b6305f5e1008310611f78576305f5e1008381611f6e57611f6d613702565b5b0492506008810190505b6127108310611f9d576127108381611f9357611f92613702565b5b0492506004810190505b60648310611fc05760648381611fb657611fb5613702565b5b0492506002810190505b600a8310611fcf576001810190505b80915050919050565b60608060405191506001825283602083015260408201905060018152826020820152604081016040529250929050565b612014858585856120ba565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146120b357600061205261185a565b905060018451036120a25760006120736000866119f590919063ffffffff16565b9050600061208b6000866119f590919063ffffffff16565b905061209b838989858589612462565b50506120b1565b6120b0818787878787612616565b5b505b5050505050565b805182511461210457815181516040517f5b0599910000000000000000000000000000000000000000000000000000000081526004016120fb929190613644565b60405180910390fd5b600061210e61185a565b905060005b835181101561231d57600061213182866119f590919063ffffffff16565b9050600061214883866119f590919063ffffffff16565b9050600073ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff161461227557600080600084815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561221d57888183856040517f03dee4c50000000000000000000000000000000000000000000000000000000081526004016122149493929190613731565b60405180910390fd5b81810360008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614612310578060008084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230891906134c5565b925050819055505b5050806001019050612113565b5060018351036123dc57600061233d6000856119f590919063ffffffff16565b905060006123556000856119f590919063ffffffff16565b90508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6285856040516123cd929190613644565b60405180910390a4505061245b565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612452929190613776565b60405180910390a45b5050505050565b60008473ffffffffffffffffffffffffffffffffffffffff163b111561260e578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016124c3959493929190613802565b6020604051808303816000875af19250505080156124ff57506040513d601f19601f820116820180604052508101906124fc9190613871565b60015b612583573d806000811461252f576040519150601f19603f3d011682016040523d82523d6000602084013e612534565b606091505b50600081510361257b57846040517f57f447ce000000000000000000000000000000000000000000000000000000008152600401612572919061309f565b60405180910390fd5b805181602001fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461260c57846040517f57f447ce000000000000000000000000000000000000000000000000000000008152600401612603919061309f565b60405180910390fd5b505b505050505050565b60008473ffffffffffffffffffffffffffffffffffffffff163b11156127c2578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161267795949392919061389e565b6020604051808303816000875af19250505080156126b357506040513d601f19601f820116820180604052508101906126b09190613871565b60015b612737573d80600081146126e3576040519150601f19603f3d011682016040523d82523d6000602084013e6126e8565b606091505b50600081510361272f57846040517f57f447ce000000000000000000000000000000000000000000000000000000008152600401612726919061309f565b60405180910390fd5b805181602001fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146127c057846040517f57f447ce0000000000000000000000000000000000000000000000000000000081526004016127b7919061309f565b60405180910390fd5b505b505050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612809826127de565b9050919050565b612819816127fe565b811461282457600080fd5b50565b60008135905061283681612810565b92915050565b6000819050919050565b61284f8161283c565b811461285a57600080fd5b50565b60008135905061286c81612846565b92915050565b60008060408385031215612889576128886127d4565b5b600061289785828601612827565b92505060206128a88582860161285d565b9150509250929050565b6128bb8161283c565b82525050565b60006020820190506128d660008301846128b2565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612911816128dc565b811461291c57600080fd5b50565b60008135905061292e81612908565b92915050565b60006020828403121561294a576129496127d4565b5b60006129588482850161291f565b91505092915050565b60008115159050919050565b61297681612961565b82525050565b6000602082019050612991600083018461296d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156129d15780820151818401526020810190506129b6565b60008484015250505050565b6000601f19601f8301169050919050565b60006129f982612997565b612a0381856129a2565b9350612a138185602086016129b3565b612a1c816129dd565b840191505092915050565b60006020820190508181036000830152612a4181846129ee565b905092915050565b600060208284031215612a5f57612a5e6127d4565b5b6000612a6d8482850161285d565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ab3826129dd565b810181811067ffffffffffffffff82111715612ad257612ad1612a7b565b5b80604052505050565b6000612ae56127ca565b9050612af18282612aaa565b919050565b600067ffffffffffffffff821115612b1157612b10612a7b565b5b602082029050602081019050919050565b600080fd5b6000612b3a612b3584612af6565b612adb565b90508083825260208201905060208402830185811115612b5d57612b5c612b22565b5b835b81811015612b865780612b72888261285d565b845260208401935050602081019050612b5f565b5050509392505050565b600082601f830112612ba557612ba4612a76565b5b8135612bb5848260208601612b27565b91505092915050565b600080fd5b600067ffffffffffffffff821115612bde57612bdd612a7b565b5b612be7826129dd565b9050602081019050919050565b82818337600083830152505050565b6000612c16612c1184612bc3565b612adb565b905082815260208101848484011115612c3257612c31612bbe565b5b612c3d848285612bf4565b509392505050565b600082601f830112612c5a57612c59612a76565b5b8135612c6a848260208601612c03565b91505092915050565b600080600080600060a08688031215612c8f57612c8e6127d4565b5b6000612c9d88828901612827565b9550506020612cae88828901612827565b945050604086013567ffffffffffffffff811115612ccf57612cce6127d9565b5b612cdb88828901612b90565b935050606086013567ffffffffffffffff811115612cfc57612cfb6127d9565b5b612d0888828901612b90565b925050608086013567ffffffffffffffff811115612d2957612d286127d9565b5b612d3588828901612c45565b9150509295509295909350565b600080fd5b60008083601f840112612d5d57612d5c612a76565b5b8235905067ffffffffffffffff811115612d7a57612d79612d42565b5b602083019150836020820283011115612d9657612d95612b22565b5b9250929050565b60008060208385031215612db457612db36127d4565b5b600083013567ffffffffffffffff811115612dd257612dd16127d9565b5b612dde85828601612d47565b92509250509250929050565b600067ffffffffffffffff821115612e0557612e04612a7b565b5b602082029050602081019050919050565b6000612e29612e2484612dea565b612adb565b90508083825260208201905060208402830185811115612e4c57612e4b612b22565b5b835b81811015612e755780612e618882612827565b845260208401935050602081019050612e4e565b5050509392505050565b600082601f830112612e9457612e93612a76565b5b8135612ea4848260208601612e16565b91505092915050565b60008060408385031215612ec457612ec36127d4565b5b600083013567ffffffffffffffff811115612ee257612ee16127d9565b5b612eee85828601612e7f565b925050602083013567ffffffffffffffff811115612f0f57612f0e6127d9565b5b612f1b85828601612b90565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612f5a8161283c565b82525050565b6000612f6c8383612f51565b60208301905092915050565b6000602082019050919050565b6000612f9082612f25565b612f9a8185612f30565b9350612fa583612f41565b8060005b83811015612fd6578151612fbd8882612f60565b9750612fc883612f78565b925050600181019050612fa9565b5085935050505092915050565b60006020820190508181036000830152612ffd8184612f85565b905092915050565b60008060006060848603121561301e5761301d6127d4565b5b600061302c86828701612827565b935050602084013567ffffffffffffffff81111561304d5761304c6127d9565b5b61305986828701612b90565b925050604084013567ffffffffffffffff81111561307a576130796127d9565b5b61308686828701612b90565b9150509250925092565b613099816127fe565b82525050565b60006020820190506130b46000830184613090565b92915050565b6000602082840312156130d0576130cf6127d4565b5b60006130de84828501612827565b91505092915050565b6130f081612961565b81146130fb57600080fd5b50565b60008135905061310d816130e7565b92915050565b6000806040838503121561312a576131296127d4565b5b600061313885828601612827565b9250506020613149858286016130fe565b9150509250929050565b6000806040838503121561316a576131696127d4565b5b600061317885828601612827565b925050602061318985828601612827565b9150509250929050565b600080600080600060a086880312156131af576131ae6127d4565b5b60006131bd88828901612827565b95505060206131ce88828901612827565b94505060406131df8882890161285d565b93505060606131f08882890161285d565b925050608086013567ffffffffffffffff811115613211576132106127d9565b5b61321d88828901612c45565b9150509295509295909350565b600080600060608486031215613243576132426127d4565b5b600061325186828701612827565b93505060206132628682870161285d565b92505060406132738682870161285d565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806132c457607f821691505b6020821081036132d7576132d661327d565b5b50919050565b600081905092915050565b7f68747470733a2f2f697066732e696f2f697066732f516d5974474c6f365a7a6a60008201527f7a7553786e66434878324a7a5746715676624459526579437a794e6a6767763960208201527f5073742f00000000000000000000000000000000000000000000000000000000604082015250565b600061336a6044836132dd565b9150613375826132e8565b604482019050919050565b600061338b82612997565b61339581856132dd565b93506133a58185602086016129b3565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006133e76005836132dd565b91506133f2826133b1565b600582019050919050565b60006134088261335d565b91506134148284613380565b915061341f826133da565b915081905092915050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b60006134606012836129a2565b915061346b8261342a565b602082019050919050565b6000602082019050818103600083015261348f81613453565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006134d08261283c565b91506134db8361283c565b92508282019050808211156134f3576134f2613496565b5b92915050565b6000819050919050565b6000819050919050565b600061352861352361351e846134f9565b613503565b61283c565b9050919050565b6135388161350d565b82525050565b600060408201905061355360008301856128b2565b613560602083018461352f565b9392505050565b7f496e76616c69642062617463682073697a650000000000000000000000000000600082015250565b600061359d6012836129a2565b91506135a882613567565b602082019050919050565b600060208201905081810360008301526135cc81613590565b9050919050565b60006135de8261283c565b91506135e98361283c565b92508282026135f78161283c565b9150828204841483151761360e5761360d613496565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060408201905061365960008301856128b2565b61366660208301846128b2565b9392505050565b60006040820190506136826000830185613090565b61368f6020830184613090565b9392505050565b7f4e6f2045544820746f20636f6c6c656374000000000000000000000000000000600082015250565b60006136cc6011836129a2565b91506136d782613696565b602082019050919050565b600060208201905081810360008301526136fb816136bf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006080820190506137466000830187613090565b61375360208301866128b2565b61376060408301856128b2565b61376d60608301846128b2565b95945050505050565b600060408201905081810360008301526137908185612f85565b905081810360208301526137a48184612f85565b90509392505050565b600081519050919050565b600082825260208201905092915050565b60006137d4826137ad565b6137de81856137b8565b93506137ee8185602086016129b3565b6137f7816129dd565b840191505092915050565b600060a0820190506138176000830188613090565b6138246020830187613090565b61383160408301866128b2565b61383e60608301856128b2565b818103608083015261385081846137c9565b90509695505050505050565b60008151905061386b81612908565b92915050565b600060208284031215613887576138866127d4565b5b60006138958482850161385c565b91505092915050565b600060a0820190506138b36000830188613090565b6138c06020830187613090565b81810360408301526138d28186612f85565b905081810360608301526138e68185612f85565b905081810360808301526138fa81846137c9565b9050969550505050505056fe68747470733a2f2f697066732e696f2f697066732f516d5974474c6f365a7a6a7a7553786e66434878324a7a5746715676624459526579437a794e6a676776395073742f636f6c6c656374696f6e2e6a736f6ea2646970667358221220be0979dbe449b4667cd16b85b12604b1c393099316902f6f7215afa7eb9b4ee764736f6c6343000816003368747470733a2f2f697066732e696f2f697066732f516d5974474c6f365a7a6a7a7553786e66434878324a7a5746715676624459526579437a794e6a676776395073742f7b69647d2e6a736f6e000000000000000000000000d000a91c9a1ba4999622aa8befbd6db9b859fba100000000000000000000000000000000000000000000000003782dace9d90000

Deployed Bytecode

0x60806040526004361061019f5760003560e01c80636b20c454116100ec578063e8a3d4851161008a578063f2fde38b11610064578063f2fde38b146105a2578063f4a0a528146105cb578063f5298aca146105f4578063fada5da11461061d576101a6565b8063e8a3d48514610511578063e985e9c51461053c578063f242432a14610579576101a6565b80638da5cb5b116100c65780638da5cb5b1461045557806395d89b41146104805780639b19251a146104ab578063a22cb465146104e8576101a6565b80636b20c454146103ec578063715018a6146104155780637f6497831461042c576101a6565b80632913daa0116101595780634e1273f4116101335780634e1273f4146103305780634f02c4201461036d578063548db174146103985780636817c76c146103c1576101a6565b80632913daa0146102b35780632eb2c2d6146102de57806345b795f214610307576101a6565b8062fdd58e146101ab57806301ffc9a7146101e857806306fdde03146102255780630e89341c146102505780631249c58b1461028d57806320e409b414610297576101a6565b366101a657005b600080fd5b3480156101b757600080fd5b506101d260048036038101906101cd9190612872565b610634565b6040516101df91906128c1565b60405180910390f35b3480156101f457600080fd5b5061020f600480360381019061020a9190612934565b61068e565b60405161021c919061297c565b60405180910390f35b34801561023157600080fd5b5061023a610770565b6040516102479190612a27565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612a49565b6107fe565b6040516102849190612a27565b60405180910390f35b61029561082f565b005b6102b160048036038101906102ac9190612a49565b610a04565b005b3480156102bf57600080fd5b506102c8610cad565b6040516102d591906128c1565b60405180910390f35b3480156102ea57600080fd5b5061030560048036038101906103009190612c73565b610cb3565b005b34801561031357600080fd5b5061032e60048036038101906103299190612d9d565b610d5b565b005b34801561033c57600080fd5b5061035760048036038101906103529190612ead565b610e5c565b6040516103649190612fe3565b60405180910390f35b34801561037957600080fd5b50610382610f65565b60405161038f91906128c1565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba9190612d9d565b610f6b565b005b3480156103cd57600080fd5b506103d6611012565b6040516103e391906128c1565b60405180910390f35b3480156103f857600080fd5b50610413600480360381019061040e9190613005565b611018565b005b34801561042157600080fd5b5061042a6110c4565b005b34801561043857600080fd5b50610453600480360381019061044e9190612d9d565b6110d8565b005b34801561046157600080fd5b5061046a61117f565b604051610477919061309f565b60405180910390f35b34801561048c57600080fd5b506104956111a9565b6040516104a29190612a27565b60405180910390f35b3480156104b757600080fd5b506104d260048036038101906104cd91906130ba565b611237565b6040516104df919061297c565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a9190613113565b611257565b005b34801561051d57600080fd5b5061052661126d565b6040516105339190612a27565b60405180910390f35b34801561054857600080fd5b50610563600480360381019061055e9190613153565b61128d565b604051610570919061297c565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b9190613193565b611321565b005b3480156105ae57600080fd5b506105c960048036038101906105c491906130ba565b6113c9565b005b3480156105d757600080fd5b506105f260048036038101906105ed9190612a49565b61144f565b005b34801561060057600080fd5b5061061b6004803603810190610616919061322a565b611461565b005b34801561062957600080fd5b5061063261150d565b005b600080600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061075957507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610769575061076882611603565b5b9050919050565b6004805461077d906132ac565b80601f01602080910402602001604051908101604052809291908181526020018280546107a9906132ac565b80156107f65780601f106107cb576101008083540402835291602001916107f6565b820191906000526020600020905b8154815290600101906020018083116107d957829003601f168201915b505050505081565b60606108098261166d565b60405160200161081991906133fd565b6040516020818303038152906040529050919050565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156108de576000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061095f565b6108e661117f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461095e5760075434101561095d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095490613476565b60405180910390fd5b5b5b61098933600160065461097291906134c5565b60016040518060200160405280600081525061173b565b60016006600082825461099c91906134c5565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f60016006546109ea91906134c5565b60016040516109fa92919061353e565b60405180910390a2565b600081118015610a1657506008548111155b610a55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4c906135b3565b60405180910390fd5b610a5d61117f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ae05780600754610a9d91906135d3565b341015610adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad690613476565b60405180910390fd5b5b60008167ffffffffffffffff811115610afc57610afb612a7b565b5b604051908082528060200260200182016040528015610b2a5781602001602082028036833780820191505090505b50905060008267ffffffffffffffff811115610b4957610b48612a7b565b5b604051908082528060200260200182016040528015610b775781602001602082028036833780820191505090505b50905060005b83811015610bef57600160066000828254610b9891906134c5565b92505081905550600654838281518110610bb557610bb4613615565b5b6020026020010181815250506001828281518110610bd657610bd5613615565b5b6020026020010181815250508080600101915050610b7d565b50610c0b338383604051806020016040528060008152506117d4565b60005b83811015610ca7573373ffffffffffffffffffffffffffffffffffffffff167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f848381518110610c6157610c60613615565b5b6020026020010151848481518110610c7c57610c7b613615565b5b6020026020010151604051610c92929190613644565b60405180910390a28080600101915050610c0e565b50505050565b60085481565b6000610cbd61185a565b90508073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614158015610d025750610d00868261128d565b155b15610d465780866040517fe237d922000000000000000000000000000000000000000000000000000000008152600401610d3d92919061366d565b60405180910390fd5b610d538686868686611862565b505050505050565b610d6361195a565b60005b82829050811015610e5757600160066000828254610d8491906134c5565b92505081905550610dd0838383818110610da157610da0613615565b5b9050602002016020810190610db691906130ba565b60065460016040518060200160405280600081525061173b565b828282818110610de357610de2613615565b5b9050602002016020810190610df891906130ba565b73ffffffffffffffffffffffffffffffffffffffff167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f6006546001604051610e4292919061353e565b60405180910390a28080600101915050610d66565b505050565b60608151835114610ea857815183516040517f5b059991000000000000000000000000000000000000000000000000000000008152600401610e9f929190613644565b60405180910390fd5b6000835167ffffffffffffffff811115610ec557610ec4612a7b565b5b604051908082528060200260200182016040528015610ef35781602001602082028036833780820191505090505b50905060005b8451811015610f5a57610f30610f1882876119e190919063ffffffff16565b610f2b83876119f590919063ffffffff16565b610634565b828281518110610f4357610f42613615565b5b602002602001018181525050806001019050610ef9565b508091505092915050565b60065481565b610f7361195a565b60005b8282905081101561100d57600060096000858585818110610f9a57610f99613615565b5b9050602002016020810190610faf91906130ba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080600101915050610f76565b505050565b60075481565b61102061185a565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561106957506110678361106261185a565b61128d565b155b156110b45761107661185a565b836040517fe237d9220000000000000000000000000000000000000000000000000000000081526004016110ab92919061366d565b60405180910390fd5b6110bf838383611a09565b505050565b6110cc61195a565b6110d66000611a9d565b565b6110e061195a565b60005b8282905081101561117a5760016009600085858581811061110757611106613615565b5b905060200201602081019061111c91906130ba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806001019150506110e3565b505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600580546111b6906132ac565b80601f01602080910402602001604051908101604052809291908181526020018280546111e2906132ac565b801561122f5780601f106112045761010080835404028352916020019161122f565b820191906000526020600020905b81548152906001019060200180831161121257829003601f168201915b505050505081565b60096020528060005260406000206000915054906101000a900460ff1681565b61126961126261185a565b8383611b63565b5050565b606060405180608001604052806053815260200161390760539139905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600061132b61185a565b90508073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614158015611370575061136e868261128d565b155b156113b45780866040517fe237d9220000000000000000000000000000000000000000000000000000000081526004016113ab92919061366d565b60405180910390fd5b6113c18686868686611cd3565b505050505050565b6113d161195a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036114435760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161143a919061309f565b60405180910390fd5b61144c81611a9d565b50565b61145761195a565b8060078190555050565b61146961185a565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156114b257506114b0836114ab61185a565b61128d565b155b156114fd576114bf61185a565b836040517fe237d9220000000000000000000000000000000000000000000000000000000081526004016114f492919061366d565b60405180910390fd5b611508838383611dde565b505050565b61151561195a565b60004790506000811161155d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611554906136e2565b60405180910390fd5b61156561117f565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156115aa573d6000803e3d6000fd5b506115b361117f565b73ffffffffffffffffffffffffffffffffffffffff167f0c06b5a4eb8a83bd3a5e97ee9e693207ab743a7ce9acf81d4e8122eef93306c6826040516115f891906128c1565b60405180910390a250565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000600161167c84611e85565b01905060008167ffffffffffffffff81111561169b5761169a612a7b565b5b6040519080825280601f01601f1916602001820160405280156116cd5781602001600182028036833780820191505090505b509050600082602001820190505b600115611730578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161172457611723613702565b5b049450600085036116db575b819350505050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036117ad5760006040517f57f447ce0000000000000000000000000000000000000000000000000000000081526004016117a4919061309f565b60405180910390fd5b6000806117ba8585611fd8565b915091506117cc600087848487612008565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036118465760006040517f57f447ce00000000000000000000000000000000000000000000000000000000815260040161183d919061309f565b60405180910390fd5b611854600085858585612008565b50505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036118d45760006040517f57f447ce0000000000000000000000000000000000000000000000000000000081526004016118cb919061309f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036119465760006040517f01a8351400000000000000000000000000000000000000000000000000000000815260040161193d919061309f565b60405180910390fd5b6119538585858585612008565b5050505050565b61196261185a565b73ffffffffffffffffffffffffffffffffffffffff1661198061117f565b73ffffffffffffffffffffffffffffffffffffffff16146119df576119a361185a565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016119d6919061309f565b60405180910390fd5b565b600060208202602084010151905092915050565b600060208202602084010151905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a7b5760006040517f01a83514000000000000000000000000000000000000000000000000000000008152600401611a72919061309f565b60405180910390fd5b611a98836000848460405180602001604052806000815250612008565b505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bd55760006040517fced3e100000000000000000000000000000000000000000000000000000000008152600401611bcc919061309f565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cc6919061297c565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611d455760006040517f57f447ce000000000000000000000000000000000000000000000000000000008152600401611d3c919061309f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611db75760006040517f01a83514000000000000000000000000000000000000000000000000000000008152600401611dae919061309f565b60405180910390fd5b600080611dc48585611fd8565b91509150611dd58787848487612008565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611e505760006040517f01a83514000000000000000000000000000000000000000000000000000000008152600401611e47919061309f565b60405180910390fd5b600080611e5d8484611fd8565b91509150611e7e856000848460405180602001604052806000815250612008565b5050505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611ee3577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611ed957611ed8613702565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611f20576d04ee2d6d415b85acef81000000008381611f1657611f15613702565b5b0492506020810190505b662386f26fc100008310611f4f57662386f26fc100008381611f4557611f44613702565b5b0492506010810190505b6305f5e1008310611f78576305f5e1008381611f6e57611f6d613702565b5b0492506008810190505b6127108310611f9d576127108381611f9357611f92613702565b5b0492506004810190505b60648310611fc05760648381611fb657611fb5613702565b5b0492506002810190505b600a8310611fcf576001810190505b80915050919050565b60608060405191506001825283602083015260408201905060018152826020820152604081016040529250929050565b612014858585856120ba565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146120b357600061205261185a565b905060018451036120a25760006120736000866119f590919063ffffffff16565b9050600061208b6000866119f590919063ffffffff16565b905061209b838989858589612462565b50506120b1565b6120b0818787878787612616565b5b505b5050505050565b805182511461210457815181516040517f5b0599910000000000000000000000000000000000000000000000000000000081526004016120fb929190613644565b60405180910390fd5b600061210e61185a565b905060005b835181101561231d57600061213182866119f590919063ffffffff16565b9050600061214883866119f590919063ffffffff16565b9050600073ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff161461227557600080600084815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561221d57888183856040517f03dee4c50000000000000000000000000000000000000000000000000000000081526004016122149493929190613731565b60405180910390fd5b81810360008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614612310578060008084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230891906134c5565b925050819055505b5050806001019050612113565b5060018351036123dc57600061233d6000856119f590919063ffffffff16565b905060006123556000856119f590919063ffffffff16565b90508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6285856040516123cd929190613644565b60405180910390a4505061245b565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612452929190613776565b60405180910390a45b5050505050565b60008473ffffffffffffffffffffffffffffffffffffffff163b111561260e578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016124c3959493929190613802565b6020604051808303816000875af19250505080156124ff57506040513d601f19601f820116820180604052508101906124fc9190613871565b60015b612583573d806000811461252f576040519150601f19603f3d011682016040523d82523d6000602084013e612534565b606091505b50600081510361257b57846040517f57f447ce000000000000000000000000000000000000000000000000000000008152600401612572919061309f565b60405180910390fd5b805181602001fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461260c57846040517f57f447ce000000000000000000000000000000000000000000000000000000008152600401612603919061309f565b60405180910390fd5b505b505050505050565b60008473ffffffffffffffffffffffffffffffffffffffff163b11156127c2578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161267795949392919061389e565b6020604051808303816000875af19250505080156126b357506040513d601f19601f820116820180604052508101906126b09190613871565b60015b612737573d80600081146126e3576040519150601f19603f3d011682016040523d82523d6000602084013e6126e8565b606091505b50600081510361272f57846040517f57f447ce000000000000000000000000000000000000000000000000000000008152600401612726919061309f565b60405180910390fd5b805181602001fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146127c057846040517f57f447ce0000000000000000000000000000000000000000000000000000000081526004016127b7919061309f565b60405180910390fd5b505b505050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612809826127de565b9050919050565b612819816127fe565b811461282457600080fd5b50565b60008135905061283681612810565b92915050565b6000819050919050565b61284f8161283c565b811461285a57600080fd5b50565b60008135905061286c81612846565b92915050565b60008060408385031215612889576128886127d4565b5b600061289785828601612827565b92505060206128a88582860161285d565b9150509250929050565b6128bb8161283c565b82525050565b60006020820190506128d660008301846128b2565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612911816128dc565b811461291c57600080fd5b50565b60008135905061292e81612908565b92915050565b60006020828403121561294a576129496127d4565b5b60006129588482850161291f565b91505092915050565b60008115159050919050565b61297681612961565b82525050565b6000602082019050612991600083018461296d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156129d15780820151818401526020810190506129b6565b60008484015250505050565b6000601f19601f8301169050919050565b60006129f982612997565b612a0381856129a2565b9350612a138185602086016129b3565b612a1c816129dd565b840191505092915050565b60006020820190508181036000830152612a4181846129ee565b905092915050565b600060208284031215612a5f57612a5e6127d4565b5b6000612a6d8482850161285d565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ab3826129dd565b810181811067ffffffffffffffff82111715612ad257612ad1612a7b565b5b80604052505050565b6000612ae56127ca565b9050612af18282612aaa565b919050565b600067ffffffffffffffff821115612b1157612b10612a7b565b5b602082029050602081019050919050565b600080fd5b6000612b3a612b3584612af6565b612adb565b90508083825260208201905060208402830185811115612b5d57612b5c612b22565b5b835b81811015612b865780612b72888261285d565b845260208401935050602081019050612b5f565b5050509392505050565b600082601f830112612ba557612ba4612a76565b5b8135612bb5848260208601612b27565b91505092915050565b600080fd5b600067ffffffffffffffff821115612bde57612bdd612a7b565b5b612be7826129dd565b9050602081019050919050565b82818337600083830152505050565b6000612c16612c1184612bc3565b612adb565b905082815260208101848484011115612c3257612c31612bbe565b5b612c3d848285612bf4565b509392505050565b600082601f830112612c5a57612c59612a76565b5b8135612c6a848260208601612c03565b91505092915050565b600080600080600060a08688031215612c8f57612c8e6127d4565b5b6000612c9d88828901612827565b9550506020612cae88828901612827565b945050604086013567ffffffffffffffff811115612ccf57612cce6127d9565b5b612cdb88828901612b90565b935050606086013567ffffffffffffffff811115612cfc57612cfb6127d9565b5b612d0888828901612b90565b925050608086013567ffffffffffffffff811115612d2957612d286127d9565b5b612d3588828901612c45565b9150509295509295909350565b600080fd5b60008083601f840112612d5d57612d5c612a76565b5b8235905067ffffffffffffffff811115612d7a57612d79612d42565b5b602083019150836020820283011115612d9657612d95612b22565b5b9250929050565b60008060208385031215612db457612db36127d4565b5b600083013567ffffffffffffffff811115612dd257612dd16127d9565b5b612dde85828601612d47565b92509250509250929050565b600067ffffffffffffffff821115612e0557612e04612a7b565b5b602082029050602081019050919050565b6000612e29612e2484612dea565b612adb565b90508083825260208201905060208402830185811115612e4c57612e4b612b22565b5b835b81811015612e755780612e618882612827565b845260208401935050602081019050612e4e565b5050509392505050565b600082601f830112612e9457612e93612a76565b5b8135612ea4848260208601612e16565b91505092915050565b60008060408385031215612ec457612ec36127d4565b5b600083013567ffffffffffffffff811115612ee257612ee16127d9565b5b612eee85828601612e7f565b925050602083013567ffffffffffffffff811115612f0f57612f0e6127d9565b5b612f1b85828601612b90565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612f5a8161283c565b82525050565b6000612f6c8383612f51565b60208301905092915050565b6000602082019050919050565b6000612f9082612f25565b612f9a8185612f30565b9350612fa583612f41565b8060005b83811015612fd6578151612fbd8882612f60565b9750612fc883612f78565b925050600181019050612fa9565b5085935050505092915050565b60006020820190508181036000830152612ffd8184612f85565b905092915050565b60008060006060848603121561301e5761301d6127d4565b5b600061302c86828701612827565b935050602084013567ffffffffffffffff81111561304d5761304c6127d9565b5b61305986828701612b90565b925050604084013567ffffffffffffffff81111561307a576130796127d9565b5b61308686828701612b90565b9150509250925092565b613099816127fe565b82525050565b60006020820190506130b46000830184613090565b92915050565b6000602082840312156130d0576130cf6127d4565b5b60006130de84828501612827565b91505092915050565b6130f081612961565b81146130fb57600080fd5b50565b60008135905061310d816130e7565b92915050565b6000806040838503121561312a576131296127d4565b5b600061313885828601612827565b9250506020613149858286016130fe565b9150509250929050565b6000806040838503121561316a576131696127d4565b5b600061317885828601612827565b925050602061318985828601612827565b9150509250929050565b600080600080600060a086880312156131af576131ae6127d4565b5b60006131bd88828901612827565b95505060206131ce88828901612827565b94505060406131df8882890161285d565b93505060606131f08882890161285d565b925050608086013567ffffffffffffffff811115613211576132106127d9565b5b61321d88828901612c45565b9150509295509295909350565b600080600060608486031215613243576132426127d4565b5b600061325186828701612827565b93505060206132628682870161285d565b92505060406132738682870161285d565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806132c457607f821691505b6020821081036132d7576132d661327d565b5b50919050565b600081905092915050565b7f68747470733a2f2f697066732e696f2f697066732f516d5974474c6f365a7a6a60008201527f7a7553786e66434878324a7a5746715676624459526579437a794e6a6767763960208201527f5073742f00000000000000000000000000000000000000000000000000000000604082015250565b600061336a6044836132dd565b9150613375826132e8565b604482019050919050565b600061338b82612997565b61339581856132dd565b93506133a58185602086016129b3565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006133e76005836132dd565b91506133f2826133b1565b600582019050919050565b60006134088261335d565b91506134148284613380565b915061341f826133da565b915081905092915050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b60006134606012836129a2565b915061346b8261342a565b602082019050919050565b6000602082019050818103600083015261348f81613453565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006134d08261283c565b91506134db8361283c565b92508282019050808211156134f3576134f2613496565b5b92915050565b6000819050919050565b6000819050919050565b600061352861352361351e846134f9565b613503565b61283c565b9050919050565b6135388161350d565b82525050565b600060408201905061355360008301856128b2565b613560602083018461352f565b9392505050565b7f496e76616c69642062617463682073697a650000000000000000000000000000600082015250565b600061359d6012836129a2565b91506135a882613567565b602082019050919050565b600060208201905081810360008301526135cc81613590565b9050919050565b60006135de8261283c565b91506135e98361283c565b92508282026135f78161283c565b9150828204841483151761360e5761360d613496565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060408201905061365960008301856128b2565b61366660208301846128b2565b9392505050565b60006040820190506136826000830185613090565b61368f6020830184613090565b9392505050565b7f4e6f2045544820746f20636f6c6c656374000000000000000000000000000000600082015250565b60006136cc6011836129a2565b91506136d782613696565b602082019050919050565b600060208201905081810360008301526136fb816136bf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006080820190506137466000830187613090565b61375360208301866128b2565b61376060408301856128b2565b61376d60608301846128b2565b95945050505050565b600060408201905081810360008301526137908185612f85565b905081810360208301526137a48184612f85565b90509392505050565b600081519050919050565b600082825260208201905092915050565b60006137d4826137ad565b6137de81856137b8565b93506137ee8185602086016129b3565b6137f7816129dd565b840191505092915050565b600060a0820190506138176000830188613090565b6138246020830187613090565b61383160408301866128b2565b61383e60608301856128b2565b818103608083015261385081846137c9565b90509695505050505050565b60008151905061386b81612908565b92915050565b600060208284031215613887576138866127d4565b5b60006138958482850161385c565b91505092915050565b600060a0820190506138b36000830188613090565b6138c06020830187613090565b81810360408301526138d28186612f85565b905081810360608301526138e68185612f85565b905081810360808301526138fa81846137c9565b9050969550505050505056fe68747470733a2f2f697066732e696f2f697066732f516d5974474c6f365a7a6a7a7553786e66434878324a7a5746715676624459526579437a794e6a676776395073742f636f6c6c656374696f6e2e6a736f6ea2646970667358221220be0979dbe449b4667cd16b85b12604b1c393099316902f6f7215afa7eb9b4ee764736f6c63430008160033

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

000000000000000000000000d000a91c9a1ba4999622aa8befbd6db9b859fba100000000000000000000000000000000000000000000000003782dace9d90000

-----Decoded View---------------
Arg [0] : initialOwner (address): 0xd000A91C9A1bA4999622Aa8BeFbd6dB9b859Fba1
Arg [1] : _mintPrice (uint256): 250000000000000000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000d000a91c9a1ba4999622aa8befbd6db9b859fba1
Arg [1] : 00000000000000000000000000000000000000000000000003782dace9d90000


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.