ETH Price: $2,966.92 (+2.28%)
Gas: 1 Gwei

Token

Nifty Island Creations (NI-CREATE)
 

Overview

Max Total Supply

0 NI-CREATE

Holders

536

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x0fc10c96a6bdc43969db74cd8e788033748da0b9
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:
NiftyIslandCreations

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : NiftyIslandCreations.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { ReentrancyGuard } from "@openzeppelin/contracts/security/ReentrancyGuard.sol";

import { ERC1155 } from "./lib/base/ERC1155.sol";
import { TokenIdentifier } from "./lib/TokenIdentifier.sol";
import { ErrorsAndEvents } from "./lib/ErrorsAndEvents.sol";

contract NiftyIslandCreations is
    ERC1155,
    Ownable,
    ReentrancyGuard,
    ErrorsAndEvents
{
    using TokenIdentifier for uint256;

    string public name;
    string public symbol;
    mapping(address => bool) public approvedCallers;

    modifier onlyApprovedMintCallers(uint256 _id) {
        if (!approvedCallers[_msgSender()] && _msgSender() != getCreator(_id)) {
            revert UnapprovedCaller();
        }
        _;
    }

    modifier onlyApprovedBurnCallers(address _from) {
        if (_from != _msgSender() && !isApprovedForAll(_from, _msgSender())) {
            revert UnapprovedCaller();
        }
        _;
    }

    constructor(
        string memory _baseUri,
        string memory _name,
        string memory _symbol,
        address _seaport,
        address _conduit
    ) ERC1155(_baseUri) {
        name = _name;
        symbol = _symbol;
        approvedCallers[_seaport] = true;
        approvedCallers[_conduit] = true;
    }

    function setURI(string memory _newUri) external onlyOwner {
        _setURI(_newUri);
        emit BaseUriChanged(_newUri);
    }

    function mint(
        address _to,
        uint256 _id,
        uint256 _quantity,
        bytes memory _data
    ) public nonReentrant onlyApprovedMintCallers(_id) {
        if (_quantity == 0) {
            revert InvalidQuantity();
        }
        _mint(_to, _id, _quantity, _data);
    }

    function mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory _data
    ) external nonReentrant {
        _mintBatch(to, ids, amounts, _data);
    }

    function burn(
        address _from,
        uint256 _id,
        uint256 _amount
    ) external onlyApprovedBurnCallers(_from) {
        _burn(_from, _id, _amount);
    }

    function burnBatch(
        address _from,
        uint256[] memory _ids,
        uint256[] memory _amounts
    ) external onlyApprovedBurnCallers(_from) {
        _burnBatch(_from, _ids, _amounts);
    }

    /**
     * @notice Check whether a given token id has been minted
     * @param _id token id
     */
    function exists(uint256 _id) external view returns (bool) {
        return _supply[_id] > 0;
    }

    /**
     * @dev Allows owner to modify the state of an approved caller
     */
    function setApprovedCallerState(
        address _address,
        bool _enabled
    ) external onlyOwner {
        approvedCallers[_address] = _enabled;
    }

    function safeTransferFrom(
        address _from,
        address _to,
        uint256 _id,
        uint256 _amount,
        bytes memory _data
    ) public override {
        if (_amount == 0) {
            revert InvalidQuantity();
        }

        uint256 mintedBalance = super.balanceOf(_from, _id);
        if (mintedBalance < _amount) {
            uint256 fromBalance = balanceOf(_from, _id);

            if (fromBalance < _amount) {
                revert InsufficientBalance();
            }

            // Only mints what _from doesn't already have
            mint(_to, _id, _amount - mintedBalance, _data);
            if (mintedBalance > 0) {
                super.safeTransferFrom(_from, _to, _id, mintedBalance, _data);
            }
        } else {
            super.safeTransferFrom(_from, _to, _id, _amount, _data);
        }
    }

    function safeBatchTransferFrom(
        address _from,
        address _to,
        uint256[] memory _ids,
        uint256[] memory _amounts,
        bytes memory _data
    ) public override {
        if (_ids.length != _amounts.length) {
            revert ArrayLengthMismatch();
        }

        for (uint256 i = 0; i < _ids.length; i++) {
            // Mint or transfer token depending on if it exists
            safeTransferFrom(_from, _to, _ids[i], _amounts[i], _data);
        }
    }

    function balanceOf(
        address _account,
        uint256 _id
    ) public view virtual override returns (uint256) {
        uint256 balance = super.balanceOf(_account, _id);
        return
            _account == getCreator(_id)
                ? balance + remainingSupply(_id)
                : balance;
    }

    /**
     * @notice Retrieve the max supply for a token id
     * @param _id token id
     */
    function getMaxSupply(uint256 _id) public pure returns (uint256) {
        return _id.tokenMaxSupply();
    }

    /**
     * @notice Retrieve the creator for a token id
     * @param _id token id
     */
    function getCreator(uint256 _id) public pure returns (address) {
        return _id.tokenCreator();
    }

    /**
     * @notice Retrieve the total supply for a token id
     * @param _id token id
     */
    function totalSupply(uint256 _id) public view returns (uint256) {
        return getMaxSupply(_id) - totalBurnedSupply(_id);
    }

    /**
     * @notice Retrieve the total burned supply for a token id
     * @param _id token id
     */
    function totalBurnedSupply(uint256 _id) public view returns (uint256) {
        return _burned[_id];
    }

    /**
     * @notice Retrieve the remaining supply for a token id
     * @param _id token id
     */
    function remainingSupply(uint256 _id) public view returns (uint256) {
        return getMaxSupply(_id) - _supply[_id] - totalBurnedSupply(_id);
    }

    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual override {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        // Set from address as token creator
        address from = getCreator(id);

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        _beforeMint(id, amount);

        unchecked {
            _balances[id][to] += amount;
            _supply[id] += amount;
        }

        emit TransferSingle(operator, from, to, id, amount);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        if (ids.length != amounts.length) {
            revert ArrayLengthMismatch();
        }

        require(to != address(0), "ERC1155: transfer to the zero address");

        // Set from address as token creator
        address from = _msgSender();
        address operator = _msgSender();
        uint256 amountOfTokens = ids.length;

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < amountOfTokens; ) {
            if (amounts[i] == 0) {
                revert InvalidQuantity();
            }

            // Caller must be the creator of each token id
            if (getCreator(ids[i]) != operator) {
                revert UnapprovedCaller();
            }

            _beforeMint(ids[i], amounts[i]);

            unchecked {
                _balances[ids[i]][to] += amounts[i];
                _supply[ids[i]] += amounts[i];
                ++i;
            }
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(
            operator,
            from,
            to,
            ids,
            amounts,
            data
        );
    }

    function _beforeMint(uint256 _id, uint256 _quantity) internal view {
        if (_quantity > remainingSupply(_id)) {
            revert ExceedsSupply();
        }
    }
}

File 2 of 13 : ErrorsAndEvents.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

interface ErrorsAndEvents {
    /**
     * @dev Revert with an error when the caller has insufficient balance.
     */
    error InsufficientBalance();

    /**
     * @dev Revert with an error when the caller is not the creator of the token id.
     */
    error InvalidTokenOwner();

    /**
     * @dev Revert with an error when the caller is not an approved caller.
     */
    error UnapprovedCaller();

    /**
     * @dev Revert with an error when the quantity is not greater than zero.
     */
    error InvalidQuantity();

    /**
     * @dev Revert with an error when the quantity exceeds the supply.
     */
    error ExceedsSupply();

    /**
     * @dev Revert with an error when the array lengths do not match.
     */
    error ArrayLengthMismatch();

    /**
     * @dev An event with the updated base uri.
     */
    event BaseUriChanged(string uri);
}

File 3 of 13 : TokenIdentifier.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

/*
 * Nifty Island token ids are a concatenation of:
 * creator: address of the token creator (160 bits)
 * nft_id: a partial nft id, up to 2^72 - 1. (72 bits)
 * supply: a supply cap for the token, up to 2^24 - 1. (24 bits)
 */

library TokenIdentifier {
    uint8 constant NFT_PARTIAL_ID_BITS = 72;
    uint8 constant SUPPLY_BITS = 24;

    uint256 constant SUPPLY_MASK = (uint256(1) << SUPPLY_BITS) - 1;

    function tokenMaxSupply(uint256 _id) internal pure returns (uint256) {
        return _id & SUPPLY_MASK;
    }

    function tokenCreator(uint256 _id) internal pure returns (address) {
        return address(uint160(_id >> (NFT_PARTIAL_ID_BITS + SUPPLY_BITS)));
    }
}

File 4 of 13 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol)
// https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.7.3

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol";
import "@openzeppelin/contracts/utils/Address.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
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    /**
     * @dev Visibility was changed from private to internal
     * Mapping from token ID to account balances
     */
    mapping(uint256 => mapping(address => uint256)) internal _balances;

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

    /**
     * @dev Mapping from token id to minted supply
     */
    mapping(uint256 => uint256) internal _supply;

    /**
     * @dev Mapping from token id to burned supply
     */
    mapping(uint256 => uint256) internal _burned;

    // 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) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: address zero is not a valid owner");
        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
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

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

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

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` 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 `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, 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.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, 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 amounts 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 `amount` tokens of token 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 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        _balances[id][to] += amount;
        _supply[id] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

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

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
            _supply[ids[i]] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
            _supply[id] -= amount;
            _burned[id] += amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
                _supply[id] -= amount;
                _burned[id] += amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `ids` and `amounts` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    /**
     * @dev Visibility was changed from private to internal
     */
    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    /**
     * @dev Visibility was changed from private to internal
     */
    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    /**
     * @dev Visibility was changed from private to internal
     */
    function _asSingletonArray(uint256 element) internal pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 5 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. 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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

File 6 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 9 of 13 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 10 of 13 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
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 11 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 13 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
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 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_seaport","type":"address"},{"internalType":"address","name":"_conduit","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ArrayLengthMismatch","type":"error"},{"inputs":[],"name":"ExceedsSupply","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidQuantity","type":"error"},{"inputs":[],"name":"InvalidTokenOwner","type":"error"},{"inputs":[],"name":"UnapprovedCaller","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":false,"internalType":"string","name":"uri","type":"string"}],"name":"BaseUriChanged","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":"","type":"address"}],"name":"approvedCallers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_from","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getCreator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"remainingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","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":"_amount","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":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setApprovedCallerState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newUri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"totalBurnedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162004b8b38038062004b8b83398181016040528101906200003791906200042c565b8462000049816200015160201b60201c565b506200006a6200005e6200016660201b60201c565b6200016e60201b60201c565b600160068190555083600790816200008391906200075c565b5082600890816200009591906200075c565b506001600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050505062000843565b80600490816200016291906200075c565b5050565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200029d8262000252565b810181811067ffffffffffffffff82111715620002bf57620002be62000263565b5b80604052505050565b6000620002d462000234565b9050620002e2828262000292565b919050565b600067ffffffffffffffff82111562000305576200030462000263565b5b620003108262000252565b9050602081019050919050565b60005b838110156200033d57808201518184015260208101905062000320565b60008484015250505050565b6000620003606200035a84620002e7565b620002c8565b9050828152602081018484840111156200037f576200037e6200024d565b5b6200038c8482856200031d565b509392505050565b600082601f830112620003ac57620003ab62000248565b5b8151620003be84826020860162000349565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003f482620003c7565b9050919050565b6200040681620003e7565b81146200041257600080fd5b50565b6000815190506200042681620003fb565b92915050565b600080600080600060a086880312156200044b576200044a6200023e565b5b600086015167ffffffffffffffff8111156200046c576200046b62000243565b5b6200047a8882890162000394565b955050602086015167ffffffffffffffff8111156200049e576200049d62000243565b5b620004ac8882890162000394565b945050604086015167ffffffffffffffff811115620004d057620004cf62000243565b5b620004de8882890162000394565b9350506060620004f18882890162000415565b9250506080620005048882890162000415565b9150509295509295909350565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200056457607f821691505b6020821081036200057a57620005796200051c565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005e47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620005a5565b620005f08683620005a5565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200063d62000637620006318462000608565b62000612565b62000608565b9050919050565b6000819050919050565b62000659836200061c565b62000671620006688262000644565b848454620005b2565b825550505050565b600090565b6200068862000679565b620006958184846200064e565b505050565b5b81811015620006bd57620006b16000826200067e565b6001810190506200069b565b5050565b601f8211156200070c57620006d68162000580565b620006e18462000595565b81016020851015620006f1578190505b62000709620007008562000595565b8301826200069a565b50505b505050565b600082821c905092915050565b6000620007316000198460080262000711565b1980831691505092915050565b60006200074c83836200071e565b9150826002028217905092915050565b620007678262000511565b67ffffffffffffffff81111562000783576200078262000263565b5b6200078f82546200054b565b6200079c828285620006c1565b600060209050601f831160018114620007d45760008415620007bf578287015190505b620007cb85826200073e565b8655506200083b565b601f198416620007e48662000580565b60005b828110156200080e57848901518255600182019150602085019450602081019050620007e7565b868310156200082e57848901516200082a601f8916826200071e565b8355505b6001600288020188555050505b505050505050565b61433880620008536000396000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c8063715018a6116100de578063bd85b03911610097578063e985e9c511610071578063e985e9c5146104ca578063f242432a146104fa578063f2fde38b14610516578063f5298aca146105325761018d565b8063bd85b0391461043a578063d48e638a1461046a578063e46998e11461049a5761018d565b8063715018a61461038c578063731133e9146103965780638da5cb5b146103b257806395d89b41146103d0578063a22cb465146103ee578063a71975af1461040a5761018d565b80632eb2c2d61161014b5780634f558e79116101255780634f558e79146102f45780635e495d74146103245780636b20c4541461035457806370730454146103705761018d565b80632eb2c2d61461027857806347fda41a146102945780634e1273f4146102c45761018d565b8062fdd58e1461019257806301ffc9a7146101c257806302fe5305146101f257806306fdde031461020e5780630e89341c1461022c5780631f7fdffa1461025c575b600080fd5b6101ac60048036038101906101a7919061288f565b61054e565b6040516101b991906128de565b60405180910390f35b6101dc60048036038101906101d79190612951565b6105bc565b6040516101e99190612999565b60405180910390f35b61020c60048036038101906102079190612afa565b61069e565b005b6102166106e9565b6040516102239190612bc2565b60405180910390f35b61024660048036038101906102419190612be4565b610777565b6040516102539190612bc2565b60405180910390f35b61027660048036038101906102719190612d7a565b61080b565b005b610292600480360381019061028d9190612e35565b61082d565b005b6102ae60048036038101906102a99190612be4565b6108d0565b6040516102bb91906128de565b60405180910390f35b6102de60048036038101906102d99190612fc7565b610913565b6040516102eb91906130fd565b60405180910390f35b61030e60048036038101906103099190612be4565b610a2c565b60405161031b9190612999565b60405180910390f35b61033e60048036038101906103399190612be4565b610a4b565b60405161034b91906128de565b60405180910390f35b61036e6004803603810190610369919061311f565b610a5d565b005b61038a600480360381019061038591906131d6565b610af7565b005b610394610b5a565b005b6103b060048036038101906103ab9190613216565b610b6e565b005b6103ba610c9f565b6040516103c791906132a8565b60405180910390f35b6103d8610cc9565b6040516103e59190612bc2565b60405180910390f35b610408600480360381019061040391906131d6565b610d57565b005b610424600480360381019061041f91906132c3565b610d6d565b6040516104319190612999565b60405180910390f35b610454600480360381019061044f9190612be4565b610d8d565b60405161046191906128de565b60405180910390f35b610484600480360381019061047f9190612be4565b610db2565b60405161049191906132a8565b60405180910390f35b6104b460048036038101906104af9190612be4565b610dc4565b6040516104c191906128de565b60405180910390f35b6104e460048036038101906104df91906132f0565b610de1565b6040516104f19190612999565b60405180910390f35b610514600480360381019061050f9190613330565b610e75565b005b610530600480360381019061052b91906132c3565b610f57565b005b61054c600480360381019061054791906133c7565b610fda565b005b60008061055b8484611074565b905061056683610db2565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461059e57806105b3565b6105a7836108d0565b816105b29190613449565b5b91505092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061068757507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061069757506106968261113c565b5b9050919050565b6106a66111a6565b6106af81611224565b7f87cdeaffd8e70903d6ce7cc983fac3b09ca79e83818124c98e47a1d70f8027d6816040516106de9190612bc2565b60405180910390a150565b600780546106f6906134ac565b80601f0160208091040260200160405190810160405280929190818152602001828054610722906134ac565b801561076f5780601f106107445761010080835404028352916020019161076f565b820191906000526020600020905b81548152906001019060200180831161075257829003601f168201915b505050505081565b606060048054610786906134ac565b80601f01602080910402602001604051908101604052809291908181526020018280546107b2906134ac565b80156107ff5780601f106107d4576101008083540402835291602001916107ff565b820191906000526020600020905b8154815290600101906020018083116107e257829003601f168201915b50505050509050919050565b610813611237565b61081f84848484611286565b610827611615565b50505050565b8151835114610868576040517fa24a13a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b83518110156108c8576108b5868686848151811061088c5761088b6134dd565b5b60200260200101518685815181106108a7576108a66134dd565b5b602002602001015186610e75565b80806108c09061350c565b91505061086b565b505050505050565b60006108db82610dc4565b60026000848152602001908152602001600020546108f884610a4b565b6109029190613554565b61090c9190613554565b9050919050565b60608151835114610959576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610950906135fa565b60405180910390fd5b6000835167ffffffffffffffff811115610976576109756129cf565b5b6040519080825280602002602001820160405280156109a45781602001602082028036833780820191505090505b50905060005b8451811015610a21576109f18582815181106109c9576109c86134dd565b5b60200260200101518583815181106109e4576109e36134dd565b5b602002602001015161054e565b828281518110610a0457610a036134dd565b5b60200260200101818152505080610a1a9061350c565b90506109aa565b508091505092915050565b6000806002600084815260200190815260200160002054119050919050565b6000610a568261161f565b9050919050565b82610a6661163f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015610aaf5750610aad81610aa861163f565b610de1565b155b15610ae6576040517f910d00c000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610af1848484611647565b50505050565b610aff6111a6565b80600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b610b626111a6565b610b6c6000611957565b565b610b76611237565b8260096000610b8361163f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015610c135750610bdc81610db2565b73ffffffffffffffffffffffffffffffffffffffff16610bfa61163f565b73ffffffffffffffffffffffffffffffffffffffff1614155b15610c4a576040517f910d00c000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303610c84576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c9085858585611a1d565b50610c99611615565b50505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60088054610cd6906134ac565b80601f0160208091040260200160405190810160405280929190818152602001828054610d02906134ac565b8015610d4f5780601f10610d2457610100808354040283529160200191610d4f565b820191906000526020600020905b815481529060010190602001808311610d3257829003601f168201915b505050505081565b610d69610d6261163f565b8383611bf9565b5050565b60096020528060005260406000206000915054906101000a900460ff1681565b6000610d9882610dc4565b610da183610a4b565b610dab9190613554565b9050919050565b6000610dbd82611d65565b9050919050565b600060036000838152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60008203610eaf576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610ebb8685611074565b905082811015610f41576000610ed1878661054e565b905083811015610f0d576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f2486868487610f1e9190613554565b86610b6e565b6000821115610f3b57610f3a8787878587611d82565b5b50610f4f565b610f4e8686868686611d82565b5b505050505050565b610f5f6111a6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc59061368c565b60405180910390fd5b610fd781611957565b50565b82610fe361163f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561102c575061102a8161102561163f565b610de1565b155b15611063576040517f910d00c000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61106e848484611e23565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036110e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110db9061371e565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6111ae61163f565b73ffffffffffffffffffffffffffffffffffffffff166111cc610c9f565b73ffffffffffffffffffffffffffffffffffffffff1614611222576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112199061378a565b60405180910390fd5b565b80600490816112339190613956565b5050565b60026006540361127c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127390613a74565b60405180910390fd5b6002600681905550565b81518351146112c1576040517fa24a13a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790613b06565b60405180910390fd5b600061133a61163f565b9050600061134661163f565b905060008551905061135c8284898989896120ab565b60005b8181101561157157600086828151811061137c5761137b6134dd565b5b6020026020010151036113bb576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166113f58883815181106113e8576113e76134dd565b5b6020026020010151610db2565b73ffffffffffffffffffffffffffffffffffffffff1614611442576040517f910d00c000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611480878281518110611458576114576134dd565b5b6020026020010151878381518110611473576114726134dd565b5b60200260200101516120b3565b858181518110611493576114926134dd565b5b60200260200101516000808984815181106114b1576114b06134dd565b5b6020026020010151815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550858181518110611524576115236134dd565b5b602002602001015160026000898481518110611543576115426134dd565b5b602002602001015181526020019081526020016000206000828254019250508190555080600101905061135f565b508673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb89896040516115e8929190613b26565b60405180910390a46115fe8284898989896120f9565b61160c828489898989612101565b50505050505050565b6001600681905550565b60006001601860ff166001901b6116369190613554565b82169050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036116b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ad90613bcf565b60405180910390fd5b80518251146116fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f190613c61565b60405180910390fd5b600061170461163f565b9050611724818560008686604051806020016040528060008152506120ab565b60005b83518110156118b3576000848281518110611745576117446134dd565b5b602002602001015190506000848381518110611764576117636134dd565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611805576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fc90613cf3565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008581526020019081526020016000206000828254039250508190555081600360008581526020019081526020016000206000828254019250508190555050505080806118ab9061350c565b915050611727565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161192b929190613b26565b60405180910390a4611951818560008686604051806020016040528060008152506120f9565b50505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8390613d85565b60405180910390fd5b6000611a9661163f565b90506000611aa3856122d8565b90506000611ab0856122d8565b90506000611abd87610db2565b9050611acd84828a86868a6120ab565b611ad787876120b3565b8560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508560026000898152602001908152602001600020600082825401925050819055508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611bcb929190613da5565b60405180910390a4611be184828a86868a6120f9565b611bef84828a8a8a8a612352565b5050505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5e90613e40565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d589190612999565b60405180910390a3505050565b600060186048611d759190613e6d565b60ff1682901c9050919050565b611d8a61163f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611dd05750611dcf85611dca61163f565b610de1565b5b611e0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0690613f14565b60405180910390fd5b611e1c8585858585612529565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8990613bcf565b60405180910390fd5b6000611e9c61163f565b90506000611ea9846122d8565b90506000611eb6846122d8565b9050611ed6838760008585604051806020016040528060008152506120ab565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015611f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6490613cf3565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550846002600088815260200190815260200160002060008282540392505081905550846003600088815260200190815260200160002060008282540192505081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161207c929190613da5565b60405180910390a46120a2848860008686604051806020016040528060008152506120f9565b50505050505050565b505050505050565b6120bc826108d0565b8111156120f5576040517f2d573a5500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b505050505050565b6121208473ffffffffffffffffffffffffffffffffffffffff166127c4565b156122d0578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612166959493929190613f89565b6020604051808303816000875af19250505080156121a257506040513d601f19601f8201168201806040525081019061219f9190614006565b60015b612247576121ae614040565b806308c379a00361220a57506121c2614062565b806121cd575061220c565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122019190612bc2565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223e90614164565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146122ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c5906141f6565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156122f7576122f66129cf565b5b6040519080825280602002602001820160405280156123255781602001602082028036833780820191505090505b509050828160008151811061233d5761233c6134dd565b5b60200260200101818152505080915050919050565b6123718473ffffffffffffffffffffffffffffffffffffffff166127c4565b15612521578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016123b7959493929190614216565b6020604051808303816000875af19250505080156123f357506040513d601f19601f820116820180604052508101906123f09190614006565b60015b612498576123ff614040565b806308c379a00361245b5750612413614062565b8061241e575061245d565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124529190612bc2565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248f90614164565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461251f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612516906141f6565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612598576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258f90613b06565b60405180910390fd5b60006125a261163f565b905060006125af856122d8565b905060006125bc856122d8565b90506125cc8389898585896120ab565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265a906142e2565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127189190613449565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612795929190613da5565b60405180910390a46127ab848a8a86868a6120f9565b6127b9848a8a8a8a8a612352565b505050505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612826826127fb565b9050919050565b6128368161281b565b811461284157600080fd5b50565b6000813590506128538161282d565b92915050565b6000819050919050565b61286c81612859565b811461287757600080fd5b50565b60008135905061288981612863565b92915050565b600080604083850312156128a6576128a56127f1565b5b60006128b485828601612844565b92505060206128c58582860161287a565b9150509250929050565b6128d881612859565b82525050565b60006020820190506128f360008301846128cf565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61292e816128f9565b811461293957600080fd5b50565b60008135905061294b81612925565b92915050565b600060208284031215612967576129666127f1565b5b60006129758482850161293c565b91505092915050565b60008115159050919050565b6129938161297e565b82525050565b60006020820190506129ae600083018461298a565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a07826129be565b810181811067ffffffffffffffff82111715612a2657612a256129cf565b5b80604052505050565b6000612a396127e7565b9050612a4582826129fe565b919050565b600067ffffffffffffffff821115612a6557612a646129cf565b5b612a6e826129be565b9050602081019050919050565b82818337600083830152505050565b6000612a9d612a9884612a4a565b612a2f565b905082815260208101848484011115612ab957612ab86129b9565b5b612ac4848285612a7b565b509392505050565b600082601f830112612ae157612ae06129b4565b5b8135612af1848260208601612a8a565b91505092915050565b600060208284031215612b1057612b0f6127f1565b5b600082013567ffffffffffffffff811115612b2e57612b2d6127f6565b5b612b3a84828501612acc565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b7d578082015181840152602081019050612b62565b60008484015250505050565b6000612b9482612b43565b612b9e8185612b4e565b9350612bae818560208601612b5f565b612bb7816129be565b840191505092915050565b60006020820190508181036000830152612bdc8184612b89565b905092915050565b600060208284031215612bfa57612bf96127f1565b5b6000612c088482850161287a565b91505092915050565b600067ffffffffffffffff821115612c2c57612c2b6129cf565b5b602082029050602081019050919050565b600080fd5b6000612c55612c5084612c11565b612a2f565b90508083825260208201905060208402830185811115612c7857612c77612c3d565b5b835b81811015612ca15780612c8d888261287a565b845260208401935050602081019050612c7a565b5050509392505050565b600082601f830112612cc057612cbf6129b4565b5b8135612cd0848260208601612c42565b91505092915050565b600067ffffffffffffffff821115612cf457612cf36129cf565b5b612cfd826129be565b9050602081019050919050565b6000612d1d612d1884612cd9565b612a2f565b905082815260208101848484011115612d3957612d386129b9565b5b612d44848285612a7b565b509392505050565b600082601f830112612d6157612d606129b4565b5b8135612d71848260208601612d0a565b91505092915050565b60008060008060808587031215612d9457612d936127f1565b5b6000612da287828801612844565b945050602085013567ffffffffffffffff811115612dc357612dc26127f6565b5b612dcf87828801612cab565b935050604085013567ffffffffffffffff811115612df057612def6127f6565b5b612dfc87828801612cab565b925050606085013567ffffffffffffffff811115612e1d57612e1c6127f6565b5b612e2987828801612d4c565b91505092959194509250565b600080600080600060a08688031215612e5157612e506127f1565b5b6000612e5f88828901612844565b9550506020612e7088828901612844565b945050604086013567ffffffffffffffff811115612e9157612e906127f6565b5b612e9d88828901612cab565b935050606086013567ffffffffffffffff811115612ebe57612ebd6127f6565b5b612eca88828901612cab565b925050608086013567ffffffffffffffff811115612eeb57612eea6127f6565b5b612ef788828901612d4c565b9150509295509295909350565b600067ffffffffffffffff821115612f1f57612f1e6129cf565b5b602082029050602081019050919050565b6000612f43612f3e84612f04565b612a2f565b90508083825260208201905060208402830185811115612f6657612f65612c3d565b5b835b81811015612f8f5780612f7b8882612844565b845260208401935050602081019050612f68565b5050509392505050565b600082601f830112612fae57612fad6129b4565b5b8135612fbe848260208601612f30565b91505092915050565b60008060408385031215612fde57612fdd6127f1565b5b600083013567ffffffffffffffff811115612ffc57612ffb6127f6565b5b61300885828601612f99565b925050602083013567ffffffffffffffff811115613029576130286127f6565b5b61303585828601612cab565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61307481612859565b82525050565b6000613086838361306b565b60208301905092915050565b6000602082019050919050565b60006130aa8261303f565b6130b4818561304a565b93506130bf8361305b565b8060005b838110156130f05781516130d7888261307a565b97506130e283613092565b9250506001810190506130c3565b5085935050505092915050565b60006020820190508181036000830152613117818461309f565b905092915050565b600080600060608486031215613138576131376127f1565b5b600061314686828701612844565b935050602084013567ffffffffffffffff811115613167576131666127f6565b5b61317386828701612cab565b925050604084013567ffffffffffffffff811115613194576131936127f6565b5b6131a086828701612cab565b9150509250925092565b6131b38161297e565b81146131be57600080fd5b50565b6000813590506131d0816131aa565b92915050565b600080604083850312156131ed576131ec6127f1565b5b60006131fb85828601612844565b925050602061320c858286016131c1565b9150509250929050565b600080600080608085870312156132305761322f6127f1565b5b600061323e87828801612844565b945050602061324f8782880161287a565b93505060406132608782880161287a565b925050606085013567ffffffffffffffff811115613281576132806127f6565b5b61328d87828801612d4c565b91505092959194509250565b6132a28161281b565b82525050565b60006020820190506132bd6000830184613299565b92915050565b6000602082840312156132d9576132d86127f1565b5b60006132e784828501612844565b91505092915050565b60008060408385031215613307576133066127f1565b5b600061331585828601612844565b925050602061332685828601612844565b9150509250929050565b600080600080600060a0868803121561334c5761334b6127f1565b5b600061335a88828901612844565b955050602061336b88828901612844565b945050604061337c8882890161287a565b935050606061338d8882890161287a565b925050608086013567ffffffffffffffff8111156133ae576133ad6127f6565b5b6133ba88828901612d4c565b9150509295509295909350565b6000806000606084860312156133e0576133df6127f1565b5b60006133ee86828701612844565b93505060206133ff8682870161287a565b92505060406134108682870161287a565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061345482612859565b915061345f83612859565b92508282019050808211156134775761347661341a565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806134c457607f821691505b6020821081036134d7576134d661347d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061351782612859565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036135495761354861341a565b5b600182019050919050565b600061355f82612859565b915061356a83612859565b92508282039050818111156135825761358161341a565b5b92915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006135e4602983612b4e565b91506135ef82613588565b604082019050919050565b60006020820190508181036000830152613613816135d7565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613676602683612b4e565b91506136818261361a565b604082019050919050565b600060208201905081810360008301526136a581613669565b9050919050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613708602a83612b4e565b9150613713826136ac565b604082019050919050565b60006020820190508181036000830152613737816136fb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613774602083612b4e565b915061377f8261373e565b602082019050919050565b600060208201905081810360008301526137a381613767565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261380c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826137cf565b61381686836137cf565b95508019841693508086168417925050509392505050565b6000819050919050565b600061385361384e61384984612859565b61382e565b612859565b9050919050565b6000819050919050565b61386d83613838565b6138816138798261385a565b8484546137dc565b825550505050565b600090565b613896613889565b6138a1818484613864565b505050565b5b818110156138c5576138ba60008261388e565b6001810190506138a7565b5050565b601f82111561390a576138db816137aa565b6138e4846137bf565b810160208510156138f3578190505b6139076138ff856137bf565b8301826138a6565b50505b505050565b600082821c905092915050565b600061392d6000198460080261390f565b1980831691505092915050565b6000613946838361391c565b9150826002028217905092915050565b61395f82612b43565b67ffffffffffffffff811115613978576139776129cf565b5b61398282546134ac565b61398d8282856138c9565b600060209050601f8311600181146139c057600084156139ae578287015190505b6139b8858261393a565b865550613a20565b601f1984166139ce866137aa565b60005b828110156139f6578489015182556001820191506020850194506020810190506139d1565b86831015613a135784890151613a0f601f89168261391c565b8355505b6001600288020188555050505b505050505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613a5e601f83612b4e565b9150613a6982613a28565b602082019050919050565b60006020820190508181036000830152613a8d81613a51565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613af0602583612b4e565b9150613afb82613a94565b604082019050919050565b60006020820190508181036000830152613b1f81613ae3565b9050919050565b60006040820190508181036000830152613b40818561309f565b90508181036020830152613b54818461309f565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613bb9602383612b4e565b9150613bc482613b5d565b604082019050919050565b60006020820190508181036000830152613be881613bac565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613c4b602883612b4e565b9150613c5682613bef565b604082019050919050565b60006020820190508181036000830152613c7a81613c3e565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000613cdd602483612b4e565b9150613ce882613c81565b604082019050919050565b60006020820190508181036000830152613d0c81613cd0565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d6f602183612b4e565b9150613d7a82613d13565b604082019050919050565b60006020820190508181036000830152613d9e81613d62565b9050919050565b6000604082019050613dba60008301856128cf565b613dc760208301846128cf565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613e2a602983612b4e565b9150613e3582613dce565b604082019050919050565b60006020820190508181036000830152613e5981613e1d565b9050919050565b600060ff82169050919050565b6000613e7882613e60565b9150613e8383613e60565b9250828201905060ff811115613e9c57613e9b61341a565b5b92915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000613efe602f83612b4e565b9150613f0982613ea2565b604082019050919050565b60006020820190508181036000830152613f2d81613ef1565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613f5b82613f34565b613f658185613f3f565b9350613f75818560208601612b5f565b613f7e816129be565b840191505092915050565b600060a082019050613f9e6000830188613299565b613fab6020830187613299565b8181036040830152613fbd818661309f565b90508181036060830152613fd1818561309f565b90508181036080830152613fe58184613f50565b90509695505050505050565b60008151905061400081612925565b92915050565b60006020828403121561401c5761401b6127f1565b5b600061402a84828501613ff1565b91505092915050565b60008160e01c9050919050565b600060033d111561405f5760046000803e61405c600051614033565b90505b90565b600060443d106140ef576140746127e7565b60043d036004823e80513d602482011167ffffffffffffffff8211171561409c5750506140ef565b808201805167ffffffffffffffff8111156140ba57505050506140ef565b80602083010160043d0385018111156140d75750505050506140ef565b6140e6826020018501866129fe565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061414e603483612b4e565b9150614159826140f2565b604082019050919050565b6000602082019050818103600083015261417d81614141565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006141e0602883612b4e565b91506141eb82614184565b604082019050919050565b6000602082019050818103600083015261420f816141d3565b9050919050565b600060a08201905061422b6000830188613299565b6142386020830187613299565b61424560408301866128cf565b61425260608301856128cf565b81810360808301526142648184613f50565b90509695505050505050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006142cc602a83612b4e565b91506142d782614270565b604082019050919050565b600060208201905081810360008301526142fb816142bf565b905091905056fea2646970667358221220362b97831b6a605091b178ca01e519c2edd11475325ca60e4be2f9efc408801164736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000001ad428e4906ae43d8f9852d0dd6000000000000000000000000ca86e44cd6bae95c1101187347dbed14a7f9e0b8000000000000000000000000000000000000000000000000000000000000002d68747470733a2f2f6d657461646174612e6e696674796c6f6f742e636f6d2f6d657461646174612f65766d2f310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000164e696674792049736c616e64204372656174696f6e730000000000000000000000000000000000000000000000000000000000000000000000000000000000094e492d4352454154450000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018d5760003560e01c8063715018a6116100de578063bd85b03911610097578063e985e9c511610071578063e985e9c5146104ca578063f242432a146104fa578063f2fde38b14610516578063f5298aca146105325761018d565b8063bd85b0391461043a578063d48e638a1461046a578063e46998e11461049a5761018d565b8063715018a61461038c578063731133e9146103965780638da5cb5b146103b257806395d89b41146103d0578063a22cb465146103ee578063a71975af1461040a5761018d565b80632eb2c2d61161014b5780634f558e79116101255780634f558e79146102f45780635e495d74146103245780636b20c4541461035457806370730454146103705761018d565b80632eb2c2d61461027857806347fda41a146102945780634e1273f4146102c45761018d565b8062fdd58e1461019257806301ffc9a7146101c257806302fe5305146101f257806306fdde031461020e5780630e89341c1461022c5780631f7fdffa1461025c575b600080fd5b6101ac60048036038101906101a7919061288f565b61054e565b6040516101b991906128de565b60405180910390f35b6101dc60048036038101906101d79190612951565b6105bc565b6040516101e99190612999565b60405180910390f35b61020c60048036038101906102079190612afa565b61069e565b005b6102166106e9565b6040516102239190612bc2565b60405180910390f35b61024660048036038101906102419190612be4565b610777565b6040516102539190612bc2565b60405180910390f35b61027660048036038101906102719190612d7a565b61080b565b005b610292600480360381019061028d9190612e35565b61082d565b005b6102ae60048036038101906102a99190612be4565b6108d0565b6040516102bb91906128de565b60405180910390f35b6102de60048036038101906102d99190612fc7565b610913565b6040516102eb91906130fd565b60405180910390f35b61030e60048036038101906103099190612be4565b610a2c565b60405161031b9190612999565b60405180910390f35b61033e60048036038101906103399190612be4565b610a4b565b60405161034b91906128de565b60405180910390f35b61036e6004803603810190610369919061311f565b610a5d565b005b61038a600480360381019061038591906131d6565b610af7565b005b610394610b5a565b005b6103b060048036038101906103ab9190613216565b610b6e565b005b6103ba610c9f565b6040516103c791906132a8565b60405180910390f35b6103d8610cc9565b6040516103e59190612bc2565b60405180910390f35b610408600480360381019061040391906131d6565b610d57565b005b610424600480360381019061041f91906132c3565b610d6d565b6040516104319190612999565b60405180910390f35b610454600480360381019061044f9190612be4565b610d8d565b60405161046191906128de565b60405180910390f35b610484600480360381019061047f9190612be4565b610db2565b60405161049191906132a8565b60405180910390f35b6104b460048036038101906104af9190612be4565b610dc4565b6040516104c191906128de565b60405180910390f35b6104e460048036038101906104df91906132f0565b610de1565b6040516104f19190612999565b60405180910390f35b610514600480360381019061050f9190613330565b610e75565b005b610530600480360381019061052b91906132c3565b610f57565b005b61054c600480360381019061054791906133c7565b610fda565b005b60008061055b8484611074565b905061056683610db2565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461059e57806105b3565b6105a7836108d0565b816105b29190613449565b5b91505092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061068757507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061069757506106968261113c565b5b9050919050565b6106a66111a6565b6106af81611224565b7f87cdeaffd8e70903d6ce7cc983fac3b09ca79e83818124c98e47a1d70f8027d6816040516106de9190612bc2565b60405180910390a150565b600780546106f6906134ac565b80601f0160208091040260200160405190810160405280929190818152602001828054610722906134ac565b801561076f5780601f106107445761010080835404028352916020019161076f565b820191906000526020600020905b81548152906001019060200180831161075257829003601f168201915b505050505081565b606060048054610786906134ac565b80601f01602080910402602001604051908101604052809291908181526020018280546107b2906134ac565b80156107ff5780601f106107d4576101008083540402835291602001916107ff565b820191906000526020600020905b8154815290600101906020018083116107e257829003601f168201915b50505050509050919050565b610813611237565b61081f84848484611286565b610827611615565b50505050565b8151835114610868576040517fa24a13a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b83518110156108c8576108b5868686848151811061088c5761088b6134dd565b5b60200260200101518685815181106108a7576108a66134dd565b5b602002602001015186610e75565b80806108c09061350c565b91505061086b565b505050505050565b60006108db82610dc4565b60026000848152602001908152602001600020546108f884610a4b565b6109029190613554565b61090c9190613554565b9050919050565b60608151835114610959576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610950906135fa565b60405180910390fd5b6000835167ffffffffffffffff811115610976576109756129cf565b5b6040519080825280602002602001820160405280156109a45781602001602082028036833780820191505090505b50905060005b8451811015610a21576109f18582815181106109c9576109c86134dd565b5b60200260200101518583815181106109e4576109e36134dd565b5b602002602001015161054e565b828281518110610a0457610a036134dd565b5b60200260200101818152505080610a1a9061350c565b90506109aa565b508091505092915050565b6000806002600084815260200190815260200160002054119050919050565b6000610a568261161f565b9050919050565b82610a6661163f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015610aaf5750610aad81610aa861163f565b610de1565b155b15610ae6576040517f910d00c000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610af1848484611647565b50505050565b610aff6111a6565b80600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b610b626111a6565b610b6c6000611957565b565b610b76611237565b8260096000610b8361163f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015610c135750610bdc81610db2565b73ffffffffffffffffffffffffffffffffffffffff16610bfa61163f565b73ffffffffffffffffffffffffffffffffffffffff1614155b15610c4a576040517f910d00c000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303610c84576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c9085858585611a1d565b50610c99611615565b50505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60088054610cd6906134ac565b80601f0160208091040260200160405190810160405280929190818152602001828054610d02906134ac565b8015610d4f5780601f10610d2457610100808354040283529160200191610d4f565b820191906000526020600020905b815481529060010190602001808311610d3257829003601f168201915b505050505081565b610d69610d6261163f565b8383611bf9565b5050565b60096020528060005260406000206000915054906101000a900460ff1681565b6000610d9882610dc4565b610da183610a4b565b610dab9190613554565b9050919050565b6000610dbd82611d65565b9050919050565b600060036000838152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60008203610eaf576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610ebb8685611074565b905082811015610f41576000610ed1878661054e565b905083811015610f0d576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f2486868487610f1e9190613554565b86610b6e565b6000821115610f3b57610f3a8787878587611d82565b5b50610f4f565b610f4e8686868686611d82565b5b505050505050565b610f5f6111a6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc59061368c565b60405180910390fd5b610fd781611957565b50565b82610fe361163f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561102c575061102a8161102561163f565b610de1565b155b15611063576040517f910d00c000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61106e848484611e23565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036110e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110db9061371e565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6111ae61163f565b73ffffffffffffffffffffffffffffffffffffffff166111cc610c9f565b73ffffffffffffffffffffffffffffffffffffffff1614611222576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112199061378a565b60405180910390fd5b565b80600490816112339190613956565b5050565b60026006540361127c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127390613a74565b60405180910390fd5b6002600681905550565b81518351146112c1576040517fa24a13a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790613b06565b60405180910390fd5b600061133a61163f565b9050600061134661163f565b905060008551905061135c8284898989896120ab565b60005b8181101561157157600086828151811061137c5761137b6134dd565b5b6020026020010151036113bb576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166113f58883815181106113e8576113e76134dd565b5b6020026020010151610db2565b73ffffffffffffffffffffffffffffffffffffffff1614611442576040517f910d00c000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611480878281518110611458576114576134dd565b5b6020026020010151878381518110611473576114726134dd565b5b60200260200101516120b3565b858181518110611493576114926134dd565b5b60200260200101516000808984815181106114b1576114b06134dd565b5b6020026020010151815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550858181518110611524576115236134dd565b5b602002602001015160026000898481518110611543576115426134dd565b5b602002602001015181526020019081526020016000206000828254019250508190555080600101905061135f565b508673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb89896040516115e8929190613b26565b60405180910390a46115fe8284898989896120f9565b61160c828489898989612101565b50505050505050565b6001600681905550565b60006001601860ff166001901b6116369190613554565b82169050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036116b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ad90613bcf565b60405180910390fd5b80518251146116fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f190613c61565b60405180910390fd5b600061170461163f565b9050611724818560008686604051806020016040528060008152506120ab565b60005b83518110156118b3576000848281518110611745576117446134dd565b5b602002602001015190506000848381518110611764576117636134dd565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611805576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fc90613cf3565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008581526020019081526020016000206000828254039250508190555081600360008581526020019081526020016000206000828254019250508190555050505080806118ab9061350c565b915050611727565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161192b929190613b26565b60405180910390a4611951818560008686604051806020016040528060008152506120f9565b50505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8390613d85565b60405180910390fd5b6000611a9661163f565b90506000611aa3856122d8565b90506000611ab0856122d8565b90506000611abd87610db2565b9050611acd84828a86868a6120ab565b611ad787876120b3565b8560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508560026000898152602001908152602001600020600082825401925050819055508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611bcb929190613da5565b60405180910390a4611be184828a86868a6120f9565b611bef84828a8a8a8a612352565b5050505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5e90613e40565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d589190612999565b60405180910390a3505050565b600060186048611d759190613e6d565b60ff1682901c9050919050565b611d8a61163f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611dd05750611dcf85611dca61163f565b610de1565b5b611e0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0690613f14565b60405180910390fd5b611e1c8585858585612529565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8990613bcf565b60405180910390fd5b6000611e9c61163f565b90506000611ea9846122d8565b90506000611eb6846122d8565b9050611ed6838760008585604051806020016040528060008152506120ab565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015611f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6490613cf3565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550846002600088815260200190815260200160002060008282540392505081905550846003600088815260200190815260200160002060008282540192505081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161207c929190613da5565b60405180910390a46120a2848860008686604051806020016040528060008152506120f9565b50505050505050565b505050505050565b6120bc826108d0565b8111156120f5576040517f2d573a5500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b505050505050565b6121208473ffffffffffffffffffffffffffffffffffffffff166127c4565b156122d0578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612166959493929190613f89565b6020604051808303816000875af19250505080156121a257506040513d601f19601f8201168201806040525081019061219f9190614006565b60015b612247576121ae614040565b806308c379a00361220a57506121c2614062565b806121cd575061220c565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122019190612bc2565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223e90614164565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146122ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c5906141f6565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156122f7576122f66129cf565b5b6040519080825280602002602001820160405280156123255781602001602082028036833780820191505090505b509050828160008151811061233d5761233c6134dd565b5b60200260200101818152505080915050919050565b6123718473ffffffffffffffffffffffffffffffffffffffff166127c4565b15612521578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016123b7959493929190614216565b6020604051808303816000875af19250505080156123f357506040513d601f19601f820116820180604052508101906123f09190614006565b60015b612498576123ff614040565b806308c379a00361245b5750612413614062565b8061241e575061245d565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124529190612bc2565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248f90614164565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461251f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612516906141f6565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612598576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258f90613b06565b60405180910390fd5b60006125a261163f565b905060006125af856122d8565b905060006125bc856122d8565b90506125cc8389898585896120ab565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265a906142e2565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127189190613449565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612795929190613da5565b60405180910390a46127ab848a8a86868a6120f9565b6127b9848a8a8a8a8a612352565b505050505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612826826127fb565b9050919050565b6128368161281b565b811461284157600080fd5b50565b6000813590506128538161282d565b92915050565b6000819050919050565b61286c81612859565b811461287757600080fd5b50565b60008135905061288981612863565b92915050565b600080604083850312156128a6576128a56127f1565b5b60006128b485828601612844565b92505060206128c58582860161287a565b9150509250929050565b6128d881612859565b82525050565b60006020820190506128f360008301846128cf565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61292e816128f9565b811461293957600080fd5b50565b60008135905061294b81612925565b92915050565b600060208284031215612967576129666127f1565b5b60006129758482850161293c565b91505092915050565b60008115159050919050565b6129938161297e565b82525050565b60006020820190506129ae600083018461298a565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a07826129be565b810181811067ffffffffffffffff82111715612a2657612a256129cf565b5b80604052505050565b6000612a396127e7565b9050612a4582826129fe565b919050565b600067ffffffffffffffff821115612a6557612a646129cf565b5b612a6e826129be565b9050602081019050919050565b82818337600083830152505050565b6000612a9d612a9884612a4a565b612a2f565b905082815260208101848484011115612ab957612ab86129b9565b5b612ac4848285612a7b565b509392505050565b600082601f830112612ae157612ae06129b4565b5b8135612af1848260208601612a8a565b91505092915050565b600060208284031215612b1057612b0f6127f1565b5b600082013567ffffffffffffffff811115612b2e57612b2d6127f6565b5b612b3a84828501612acc565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b7d578082015181840152602081019050612b62565b60008484015250505050565b6000612b9482612b43565b612b9e8185612b4e565b9350612bae818560208601612b5f565b612bb7816129be565b840191505092915050565b60006020820190508181036000830152612bdc8184612b89565b905092915050565b600060208284031215612bfa57612bf96127f1565b5b6000612c088482850161287a565b91505092915050565b600067ffffffffffffffff821115612c2c57612c2b6129cf565b5b602082029050602081019050919050565b600080fd5b6000612c55612c5084612c11565b612a2f565b90508083825260208201905060208402830185811115612c7857612c77612c3d565b5b835b81811015612ca15780612c8d888261287a565b845260208401935050602081019050612c7a565b5050509392505050565b600082601f830112612cc057612cbf6129b4565b5b8135612cd0848260208601612c42565b91505092915050565b600067ffffffffffffffff821115612cf457612cf36129cf565b5b612cfd826129be565b9050602081019050919050565b6000612d1d612d1884612cd9565b612a2f565b905082815260208101848484011115612d3957612d386129b9565b5b612d44848285612a7b565b509392505050565b600082601f830112612d6157612d606129b4565b5b8135612d71848260208601612d0a565b91505092915050565b60008060008060808587031215612d9457612d936127f1565b5b6000612da287828801612844565b945050602085013567ffffffffffffffff811115612dc357612dc26127f6565b5b612dcf87828801612cab565b935050604085013567ffffffffffffffff811115612df057612def6127f6565b5b612dfc87828801612cab565b925050606085013567ffffffffffffffff811115612e1d57612e1c6127f6565b5b612e2987828801612d4c565b91505092959194509250565b600080600080600060a08688031215612e5157612e506127f1565b5b6000612e5f88828901612844565b9550506020612e7088828901612844565b945050604086013567ffffffffffffffff811115612e9157612e906127f6565b5b612e9d88828901612cab565b935050606086013567ffffffffffffffff811115612ebe57612ebd6127f6565b5b612eca88828901612cab565b925050608086013567ffffffffffffffff811115612eeb57612eea6127f6565b5b612ef788828901612d4c565b9150509295509295909350565b600067ffffffffffffffff821115612f1f57612f1e6129cf565b5b602082029050602081019050919050565b6000612f43612f3e84612f04565b612a2f565b90508083825260208201905060208402830185811115612f6657612f65612c3d565b5b835b81811015612f8f5780612f7b8882612844565b845260208401935050602081019050612f68565b5050509392505050565b600082601f830112612fae57612fad6129b4565b5b8135612fbe848260208601612f30565b91505092915050565b60008060408385031215612fde57612fdd6127f1565b5b600083013567ffffffffffffffff811115612ffc57612ffb6127f6565b5b61300885828601612f99565b925050602083013567ffffffffffffffff811115613029576130286127f6565b5b61303585828601612cab565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61307481612859565b82525050565b6000613086838361306b565b60208301905092915050565b6000602082019050919050565b60006130aa8261303f565b6130b4818561304a565b93506130bf8361305b565b8060005b838110156130f05781516130d7888261307a565b97506130e283613092565b9250506001810190506130c3565b5085935050505092915050565b60006020820190508181036000830152613117818461309f565b905092915050565b600080600060608486031215613138576131376127f1565b5b600061314686828701612844565b935050602084013567ffffffffffffffff811115613167576131666127f6565b5b61317386828701612cab565b925050604084013567ffffffffffffffff811115613194576131936127f6565b5b6131a086828701612cab565b9150509250925092565b6131b38161297e565b81146131be57600080fd5b50565b6000813590506131d0816131aa565b92915050565b600080604083850312156131ed576131ec6127f1565b5b60006131fb85828601612844565b925050602061320c858286016131c1565b9150509250929050565b600080600080608085870312156132305761322f6127f1565b5b600061323e87828801612844565b945050602061324f8782880161287a565b93505060406132608782880161287a565b925050606085013567ffffffffffffffff811115613281576132806127f6565b5b61328d87828801612d4c565b91505092959194509250565b6132a28161281b565b82525050565b60006020820190506132bd6000830184613299565b92915050565b6000602082840312156132d9576132d86127f1565b5b60006132e784828501612844565b91505092915050565b60008060408385031215613307576133066127f1565b5b600061331585828601612844565b925050602061332685828601612844565b9150509250929050565b600080600080600060a0868803121561334c5761334b6127f1565b5b600061335a88828901612844565b955050602061336b88828901612844565b945050604061337c8882890161287a565b935050606061338d8882890161287a565b925050608086013567ffffffffffffffff8111156133ae576133ad6127f6565b5b6133ba88828901612d4c565b9150509295509295909350565b6000806000606084860312156133e0576133df6127f1565b5b60006133ee86828701612844565b93505060206133ff8682870161287a565b92505060406134108682870161287a565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061345482612859565b915061345f83612859565b92508282019050808211156134775761347661341a565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806134c457607f821691505b6020821081036134d7576134d661347d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061351782612859565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036135495761354861341a565b5b600182019050919050565b600061355f82612859565b915061356a83612859565b92508282039050818111156135825761358161341a565b5b92915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006135e4602983612b4e565b91506135ef82613588565b604082019050919050565b60006020820190508181036000830152613613816135d7565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613676602683612b4e565b91506136818261361a565b604082019050919050565b600060208201905081810360008301526136a581613669565b9050919050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613708602a83612b4e565b9150613713826136ac565b604082019050919050565b60006020820190508181036000830152613737816136fb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613774602083612b4e565b915061377f8261373e565b602082019050919050565b600060208201905081810360008301526137a381613767565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261380c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826137cf565b61381686836137cf565b95508019841693508086168417925050509392505050565b6000819050919050565b600061385361384e61384984612859565b61382e565b612859565b9050919050565b6000819050919050565b61386d83613838565b6138816138798261385a565b8484546137dc565b825550505050565b600090565b613896613889565b6138a1818484613864565b505050565b5b818110156138c5576138ba60008261388e565b6001810190506138a7565b5050565b601f82111561390a576138db816137aa565b6138e4846137bf565b810160208510156138f3578190505b6139076138ff856137bf565b8301826138a6565b50505b505050565b600082821c905092915050565b600061392d6000198460080261390f565b1980831691505092915050565b6000613946838361391c565b9150826002028217905092915050565b61395f82612b43565b67ffffffffffffffff811115613978576139776129cf565b5b61398282546134ac565b61398d8282856138c9565b600060209050601f8311600181146139c057600084156139ae578287015190505b6139b8858261393a565b865550613a20565b601f1984166139ce866137aa565b60005b828110156139f6578489015182556001820191506020850194506020810190506139d1565b86831015613a135784890151613a0f601f89168261391c565b8355505b6001600288020188555050505b505050505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613a5e601f83612b4e565b9150613a6982613a28565b602082019050919050565b60006020820190508181036000830152613a8d81613a51565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613af0602583612b4e565b9150613afb82613a94565b604082019050919050565b60006020820190508181036000830152613b1f81613ae3565b9050919050565b60006040820190508181036000830152613b40818561309f565b90508181036020830152613b54818461309f565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613bb9602383612b4e565b9150613bc482613b5d565b604082019050919050565b60006020820190508181036000830152613be881613bac565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613c4b602883612b4e565b9150613c5682613bef565b604082019050919050565b60006020820190508181036000830152613c7a81613c3e565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000613cdd602483612b4e565b9150613ce882613c81565b604082019050919050565b60006020820190508181036000830152613d0c81613cd0565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d6f602183612b4e565b9150613d7a82613d13565b604082019050919050565b60006020820190508181036000830152613d9e81613d62565b9050919050565b6000604082019050613dba60008301856128cf565b613dc760208301846128cf565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613e2a602983612b4e565b9150613e3582613dce565b604082019050919050565b60006020820190508181036000830152613e5981613e1d565b9050919050565b600060ff82169050919050565b6000613e7882613e60565b9150613e8383613e60565b9250828201905060ff811115613e9c57613e9b61341a565b5b92915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000613efe602f83612b4e565b9150613f0982613ea2565b604082019050919050565b60006020820190508181036000830152613f2d81613ef1565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613f5b82613f34565b613f658185613f3f565b9350613f75818560208601612b5f565b613f7e816129be565b840191505092915050565b600060a082019050613f9e6000830188613299565b613fab6020830187613299565b8181036040830152613fbd818661309f565b90508181036060830152613fd1818561309f565b90508181036080830152613fe58184613f50565b90509695505050505050565b60008151905061400081612925565b92915050565b60006020828403121561401c5761401b6127f1565b5b600061402a84828501613ff1565b91505092915050565b60008160e01c9050919050565b600060033d111561405f5760046000803e61405c600051614033565b90505b90565b600060443d106140ef576140746127e7565b60043d036004823e80513d602482011167ffffffffffffffff8211171561409c5750506140ef565b808201805167ffffffffffffffff8111156140ba57505050506140ef565b80602083010160043d0385018111156140d75750505050506140ef565b6140e6826020018501866129fe565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061414e603483612b4e565b9150614159826140f2565b604082019050919050565b6000602082019050818103600083015261417d81614141565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006141e0602883612b4e565b91506141eb82614184565b604082019050919050565b6000602082019050818103600083015261420f816141d3565b9050919050565b600060a08201905061422b6000830188613299565b6142386020830187613299565b61424560408301866128cf565b61425260608301856128cf565b81810360808301526142648184613f50565b90509695505050505050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006142cc602a83612b4e565b91506142d782614270565b604082019050919050565b600060208201905081810360008301526142fb816142bf565b905091905056fea2646970667358221220362b97831b6a605091b178ca01e519c2edd11475325ca60e4be2f9efc408801164736f6c63430008130033

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

00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000001ad428e4906ae43d8f9852d0dd6000000000000000000000000ca86e44cd6bae95c1101187347dbed14a7f9e0b8000000000000000000000000000000000000000000000000000000000000002d68747470733a2f2f6d657461646174612e6e696674796c6f6f742e636f6d2f6d657461646174612f65766d2f310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000164e696674792049736c616e64204372656174696f6e730000000000000000000000000000000000000000000000000000000000000000000000000000000000094e492d4352454154450000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseUri (string): https://metadata.niftyloot.com/metadata/evm/1
Arg [1] : _name (string): Nifty Island Creations
Arg [2] : _symbol (string): NI-CREATE
Arg [3] : _seaport (address): 0x00000000000001ad428e4906aE43D8F9852d0dD6
Arg [4] : _conduit (address): 0xca86E44cD6bae95C1101187347DbeD14a7f9e0B8

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 00000000000000000000000000000000000001ad428e4906ae43d8f9852d0dd6
Arg [4] : 000000000000000000000000ca86e44cd6bae95c1101187347dbed14a7f9e0b8
Arg [5] : 000000000000000000000000000000000000000000000000000000000000002d
Arg [6] : 68747470733a2f2f6d657461646174612e6e696674796c6f6f742e636f6d2f6d
Arg [7] : 657461646174612f65766d2f3100000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [9] : 4e696674792049736c616e64204372656174696f6e7300000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [11] : 4e492d4352454154450000000000000000000000000000000000000000000000


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.