ETH Price: $2,547.59 (-0.54%)

Token

NFT2040 Wearables ()
 

Overview

Max Total Supply

5,728

Holders

992

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
cryptofrogs.eth
0xa9572973cc39821499ca7a6f8e4866f3af0d3a6a
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:
NFT2040Wearables

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Wearables.sol
// Sources flattened with hardhat v2.3.3 https://hardhat.org

// File @openzeppelin/contracts/utils/introspection/[email protected]
// SPDX-License-Identifier: MIT


pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/token/ERC1155/[email protected]



pragma solidity ^0.8.0;

/**
 * @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 be 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 @openzeppelin/contracts/token/ERC1155/[email protected]



pragma solidity ^0.8.0;

/**
 * @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.
        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. 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 @openzeppelin/contracts/token/ERC1155/extensions/[email protected]



pragma solidity ^0.8.0;

/**
 * @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 @openzeppelin/contracts/utils/[email protected]



pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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


// File @openzeppelin/contracts/utils/[email protected]



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 @openzeppelin/contracts/utils/introspection/[email protected]



pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/token/ERC1155/[email protected]



pragma solidity ^0.8.0;






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

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

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

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

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) 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: balance query for the zero address");
        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 {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 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: transfer caller is not 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();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), 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);

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

        _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 `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

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

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * 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];
        }

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

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

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

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 accountBalance = _balances[id][account];
        require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][account] = accountBalance - amount;
        }

        emit TransferSingle(operator, account, address(0), id, amount);
    }

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

        address operator = _msgSender();

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

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

            uint256 accountBalance = _balances[id][account];
            require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][account] = accountBalance - amount;
            }
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @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 `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 _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

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

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

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}


// File @openzeppelin/contracts/utils/[email protected]



pragma solidity ^0.8.0;

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

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

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

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

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


// File contracts/Wearables.sol


pragma solidity ^0.8.0;


contract NFT2040Wearables is ERC1155 {
    uint256[] public items;
    address public owner;
    string private _baseURIExtended;
    string public name;

    modifier _ownerOnly() {
        require(msg.sender == owner);
        _;
    }

    constructor() public ERC1155("") {
        owner = msg.sender;
        name = "NFT2040 Wearables";
    }

    function addItem(uint256 _id) public _ownerOnly {
        items.push(_id);
    }

    function airdropOneToMany(uint256 _id, address[] memory holders)
        public
        _ownerOnly
    {
        for (uint256 i = 0; i < holders.length; i++) {
            _mint(holders[i], _id, 1, "");
        }
    }

    function airdropManyToOne(
        uint256 _id,
        address holder,
        uint256 _amount
    ) public _ownerOnly {
        _mint(holder, _id, _amount, "");
    }

    function setBaseURI(string memory baseURI_) external _ownerOnly {
        _baseURIExtended = baseURI_;
    }

    function uri(uint256 _id) public view override returns (string memory) {
        return
            string(
                abi.encodePacked(
                    _baseURIExtended,
                    Strings.toString(_id),
                    ".json"
                )
            );
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"uint256","name":"_id","type":"uint256"}],"name":"addItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"address","name":"holder","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"airdropManyToOne","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"address[]","name":"holders","type":"address[]"}],"name":"airdropOneToMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"items","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","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":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051806020016040528060008152506200003381620000c960201b60201c565b5033600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060400160405280601181526020017f4e465432303430205765617261626c657300000000000000000000000000000081525060069080519060200190620000c2929190620000e5565b50620001fa565b8060029080519060200190620000e1929190620000e5565b5050565b828054620000f39062000195565b90600052602060002090601f01602090048101928262000117576000855562000163565b82601f106200013257805160ff191683800117855562000163565b8280016001018555821562000163579182015b828111156200016257825182559160200191906001019062000145565b5b50905062000172919062000176565b5090565b5b808211156200019157600081600090555060010162000177565b5090565b60006002820490506001821680620001ae57607f821691505b60208210811415620001c557620001c4620001cb565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b613185806200020a6000396000f3fe608060405234801561001057600080fd5b50600436106100f45760003560e01c8063702d24c911610097578063be63404511610066578063be63404514610281578063bfb231d21461029d578063e985e9c5146102cd578063f242432a146102fd576100f4565b8063702d24c91461020f5780638da5cb5b1461022b578063a22cb46514610249578063b48ddef814610265576100f4565b80630e89341c116100d35780630e89341c146101775780632eb2c2d6146101a75780634e1273f4146101c357806355f804b3146101f3576100f4565b8062fdd58e146100f957806301ffc9a71461012957806306fdde0314610159575b600080fd5b610113600480360381019061010e9190611ed8565b610319565b6040516101209190612789565b60405180910390f35b610143600480360381019061013e9190611f90565b6103e2565b60405161015091906125ec565b60405180910390f35b6101616104c4565b60405161016e9190612607565b60405180910390f35b610191600480360381019061018c9190612033565b610552565b60405161019e9190612607565b60405180910390f35b6101c160048036038101906101bc9190611d32565b610586565b005b6101dd60048036038101906101d89190611f18565b610627565b6040516101ea9190612593565b60405180910390f35b61020d60048036038101906102089190611fea565b610740565b005b61022960048036038101906102249190612060565b6107b4565b005b61023361082e565b60405161024091906124b6565b60405180910390f35b610263600480360381019061025e9190611e98565b610854565b005b61027f600480360381019061027a91906120b3565b6109d5565b005b61029b60048036038101906102969190612033565b610a89565b005b6102b760048036038101906102b29190612033565b610b0f565b6040516102c49190612789565b60405180910390f35b6102e760048036038101906102e29190611cf2565b610b33565b6040516102f491906125ec565b60405180910390f35b61031760048036038101906103129190611e01565b610bc7565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561038a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038190612669565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104ad57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104bd57506104bc82610c68565b5b9050919050565b600680546104d190612aae565b80601f01602080910402602001604051908101604052809291908181526020018280546104fd90612aae565b801561054a5780601f1061051f5761010080835404028352916020019161054a565b820191906000526020600020905b81548152906001019060200180831161052d57829003601f168201915b505050505081565b6060600561055f83610cd2565b604051602001610570929190612487565b6040516020818303038152906040529050919050565b61058e610e33565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806105d457506105d3856105ce610e33565b610b33565b5b610613576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060a906126c9565b60405180910390fd5b6106208585858585610e3b565b5050505050565b6060815183511461066d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066490612729565b60405180910390fd5b6000835167ffffffffffffffff81111561068a57610689612c47565b5b6040519080825280602002602001820160405280156106b85781602001602082028036833780820191505090505b50905060005b8451811015610735576107058582815181106106dd576106dc612c18565b5b60200260200101518583815181106106f8576106f7612c18565b5b6020026020010151610319565b82828151811061071857610717612c18565b5b6020026020010181815250508061072e90612b11565b90506106be565b508091505092915050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461079a57600080fd5b80600590805190602001906107b09291906119ca565b5050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461080e57600080fd5b6108298284836040518060200160405280600081525061114f565b505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8173ffffffffffffffffffffffffffffffffffffffff16610873610e33565b73ffffffffffffffffffffffffffffffffffffffff1614156108ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c190612709565b60405180910390fd5b80600160006108d7610e33565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610984610e33565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516109c991906125ec565b60405180910390a35050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a2f57600080fd5b60005b8151811015610a8457610a71828281518110610a5157610a50612c18565b5b60200260200101518460016040518060200160405280600081525061114f565b8080610a7c90612b11565b915050610a32565b505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ae357600080fd5b600381908060018154018082558091505060019003906000526020600020016000909190919091505550565b60038181548110610b1f57600080fd5b906000526020600020016000915090505481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610bcf610e33565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c155750610c1485610c0f610e33565b610b33565b5b610c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4b90612689565b60405180910390fd5b610c6185858585856112e5565b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415610d1a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050610e2e565b600082905060005b60008214610d4c578080610d3590612b11565b915050600a82610d459190612993565b9150610d22565b60008167ffffffffffffffff811115610d6857610d67612c47565b5b6040519080825280601f01601f191660200182016040528015610d9a5781602001600182028036833780820191505090505b5090505b60008514610e2757600182610db391906129c4565b9150600a85610dc29190612b5a565b6030610dce919061293d565b60f81b818381518110610de457610de3612c18565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85610e209190612993565b9450610d9e565b8093505050505b919050565b600033905090565b8151835114610e7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7690612749565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee6906126a9565b60405180910390fd5b6000610ef9610e33565b9050610f09818787878787611567565b60005b84518110156110ba576000858281518110610f2a57610f29612c18565b5b602002602001015190506000858381518110610f4957610f48612c18565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe1906126e9565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461109f919061293d565b92505081905550505050806110b390612b11565b9050610f0c565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516111319291906125b5565b60405180910390a461114781878787878761156f565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156111bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b690612769565b60405180910390fd5b60006111c9610e33565b90506111ea816000876111db88611756565b6111e488611756565b87611567565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611249919061293d565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516112c79291906127a4565b60405180910390a46112de816000878787876117d0565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134c906126a9565b60405180910390fd5b600061135f610e33565b905061137f81878761137088611756565b61137988611756565b87611567565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140d906126e9565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114cb919061293d565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516115489291906127a4565b60405180910390a461155e8288888888886117d0565b50505050505050565b505050505050565b61158e8473ffffffffffffffffffffffffffffffffffffffff166119b7565b1561174e578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016115d49594939291906124d1565b602060405180830381600087803b1580156115ee57600080fd5b505af192505050801561161f57506040513d601f19601f8201168201806040525081019061161c9190611fbd565b60015b6116c55761162b612c76565b806308c379a01415611688575061164061305d565b8061164b575061168a565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167f9190612607565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bc90612629565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461174c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174390612649565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561177557611774612c47565b5b6040519080825280602002602001820160405280156117a35781602001602082028036833780820191505090505b50905082816000815181106117bb576117ba612c18565b5b60200260200101818152505080915050919050565b6117ef8473ffffffffffffffffffffffffffffffffffffffff166119b7565b156119af578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611835959493929190612539565b602060405180830381600087803b15801561184f57600080fd5b505af192505050801561188057506040513d601f19601f8201168201806040525081019061187d9190611fbd565b60015b6119265761188c612c76565b806308c379a014156118e957506118a161305d565b806118ac57506118eb565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e09190612607565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191d90612629565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146119ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a490612649565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b8280546119d690612aae565b90600052602060002090601f0160209004810192826119f85760008555611a3f565b82601f10611a1157805160ff1916838001178555611a3f565b82800160010185558215611a3f579182015b82811115611a3e578251825591602001919060010190611a23565b5b509050611a4c9190611a50565b5090565b5b80821115611a69576000816000905550600101611a51565b5090565b6000611a80611a7b846127f2565b6127cd565b90508083825260208201905082856020860282011115611aa357611aa2612c9d565b5b60005b85811015611ad35781611ab98882611bd1565b845260208401935060208301925050600181019050611aa6565b5050509392505050565b6000611af0611aeb8461281e565b6127cd565b90508083825260208201905082856020860282011115611b1357611b12612c9d565b5b60005b85811015611b435781611b298882611cdd565b845260208401935060208301925050600181019050611b16565b5050509392505050565b6000611b60611b5b8461284a565b6127cd565b905082815260208101848484011115611b7c57611b7b612ca2565b5b611b87848285612a6c565b509392505050565b6000611ba2611b9d8461287b565b6127cd565b905082815260208101848484011115611bbe57611bbd612ca2565b5b611bc9848285612a6c565b509392505050565b600081359050611be0816130f3565b92915050565b600082601f830112611bfb57611bfa612c98565b5b8135611c0b848260208601611a6d565b91505092915050565b600082601f830112611c2957611c28612c98565b5b8135611c39848260208601611add565b91505092915050565b600081359050611c518161310a565b92915050565b600081359050611c6681613121565b92915050565b600081519050611c7b81613121565b92915050565b600082601f830112611c9657611c95612c98565b5b8135611ca6848260208601611b4d565b91505092915050565b600082601f830112611cc457611cc3612c98565b5b8135611cd4848260208601611b8f565b91505092915050565b600081359050611cec81613138565b92915050565b60008060408385031215611d0957611d08612cac565b5b6000611d1785828601611bd1565b9250506020611d2885828601611bd1565b9150509250929050565b600080600080600060a08688031215611d4e57611d4d612cac565b5b6000611d5c88828901611bd1565b9550506020611d6d88828901611bd1565b945050604086013567ffffffffffffffff811115611d8e57611d8d612ca7565b5b611d9a88828901611c14565b935050606086013567ffffffffffffffff811115611dbb57611dba612ca7565b5b611dc788828901611c14565b925050608086013567ffffffffffffffff811115611de857611de7612ca7565b5b611df488828901611c81565b9150509295509295909350565b600080600080600060a08688031215611e1d57611e1c612cac565b5b6000611e2b88828901611bd1565b9550506020611e3c88828901611bd1565b9450506040611e4d88828901611cdd565b9350506060611e5e88828901611cdd565b925050608086013567ffffffffffffffff811115611e7f57611e7e612ca7565b5b611e8b88828901611c81565b9150509295509295909350565b60008060408385031215611eaf57611eae612cac565b5b6000611ebd85828601611bd1565b9250506020611ece85828601611c42565b9150509250929050565b60008060408385031215611eef57611eee612cac565b5b6000611efd85828601611bd1565b9250506020611f0e85828601611cdd565b9150509250929050565b60008060408385031215611f2f57611f2e612cac565b5b600083013567ffffffffffffffff811115611f4d57611f4c612ca7565b5b611f5985828601611be6565b925050602083013567ffffffffffffffff811115611f7a57611f79612ca7565b5b611f8685828601611c14565b9150509250929050565b600060208284031215611fa657611fa5612cac565b5b6000611fb484828501611c57565b91505092915050565b600060208284031215611fd357611fd2612cac565b5b6000611fe184828501611c6c565b91505092915050565b60006020828403121561200057611fff612cac565b5b600082013567ffffffffffffffff81111561201e5761201d612ca7565b5b61202a84828501611caf565b91505092915050565b60006020828403121561204957612048612cac565b5b600061205784828501611cdd565b91505092915050565b60008060006060848603121561207957612078612cac565b5b600061208786828701611cdd565b935050602061209886828701611bd1565b92505060406120a986828701611cdd565b9150509250925092565b600080604083850312156120ca576120c9612cac565b5b60006120d885828601611cdd565b925050602083013567ffffffffffffffff8111156120f9576120f8612ca7565b5b61210585828601611be6565b9150509250929050565b600061211b8383612469565b60208301905092915050565b612130816129f8565b82525050565b6000612141826128d1565b61214b81856128ff565b9350612156836128ac565b8060005b8381101561218757815161216e888261210f565b9750612179836128f2565b92505060018101905061215a565b5085935050505092915050565b61219d81612a0a565b82525050565b60006121ae826128dc565b6121b88185612910565b93506121c8818560208601612a7b565b6121d181612cb1565b840191505092915050565b60006121e7826128e7565b6121f18185612921565b9350612201818560208601612a7b565b61220a81612cb1565b840191505092915050565b6000612220826128e7565b61222a8185612932565b935061223a818560208601612a7b565b80840191505092915050565b6000815461225381612aae565b61225d8186612932565b945060018216600081146122785760018114612289576122bc565b60ff198316865281860193506122bc565b612292856128bc565b60005b838110156122b457815481890152600182019150602081019050612295565b838801955050505b50505092915050565b60006122d2603483612921565b91506122dd82612ccf565b604082019050919050565b60006122f5602883612921565b915061230082612d1e565b604082019050919050565b6000612318602b83612921565b915061232382612d6d565b604082019050919050565b600061233b602983612921565b915061234682612dbc565b604082019050919050565b600061235e602583612921565b915061236982612e0b565b604082019050919050565b6000612381603283612921565b915061238c82612e5a565b604082019050919050565b60006123a4602a83612921565b91506123af82612ea9565b604082019050919050565b60006123c7600583612932565b91506123d282612ef8565b600582019050919050565b60006123ea602983612921565b91506123f582612f21565b604082019050919050565b600061240d602983612921565b915061241882612f70565b604082019050919050565b6000612430602883612921565b915061243b82612fbf565b604082019050919050565b6000612453602183612921565b915061245e8261300e565b604082019050919050565b61247281612a62565b82525050565b61248181612a62565b82525050565b60006124938285612246565b915061249f8284612215565b91506124aa826123ba565b91508190509392505050565b60006020820190506124cb6000830184612127565b92915050565b600060a0820190506124e66000830188612127565b6124f36020830187612127565b81810360408301526125058186612136565b905081810360608301526125198185612136565b9050818103608083015261252d81846121a3565b90509695505050505050565b600060a08201905061254e6000830188612127565b61255b6020830187612127565b6125686040830186612478565b6125756060830185612478565b818103608083015261258781846121a3565b90509695505050505050565b600060208201905081810360008301526125ad8184612136565b905092915050565b600060408201905081810360008301526125cf8185612136565b905081810360208301526125e38184612136565b90509392505050565b60006020820190506126016000830184612194565b92915050565b6000602082019050818103600083015261262181846121dc565b905092915050565b60006020820190508181036000830152612642816122c5565b9050919050565b60006020820190508181036000830152612662816122e8565b9050919050565b600060208201905081810360008301526126828161230b565b9050919050565b600060208201905081810360008301526126a28161232e565b9050919050565b600060208201905081810360008301526126c281612351565b9050919050565b600060208201905081810360008301526126e281612374565b9050919050565b6000602082019050818103600083015261270281612397565b9050919050565b60006020820190508181036000830152612722816123dd565b9050919050565b6000602082019050818103600083015261274281612400565b9050919050565b6000602082019050818103600083015261276281612423565b9050919050565b6000602082019050818103600083015261278281612446565b9050919050565b600060208201905061279e6000830184612478565b92915050565b60006040820190506127b96000830185612478565b6127c66020830184612478565b9392505050565b60006127d76127e8565b90506127e38282612ae0565b919050565b6000604051905090565b600067ffffffffffffffff82111561280d5761280c612c47565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561283957612838612c47565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561286557612864612c47565b5b61286e82612cb1565b9050602081019050919050565b600067ffffffffffffffff82111561289657612895612c47565b5b61289f82612cb1565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061294882612a62565b915061295383612a62565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561298857612987612b8b565b5b828201905092915050565b600061299e82612a62565b91506129a983612a62565b9250826129b9576129b8612bba565b5b828204905092915050565b60006129cf82612a62565b91506129da83612a62565b9250828210156129ed576129ec612b8b565b5b828203905092915050565b6000612a0382612a42565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612a99578082015181840152602081019050612a7e565b83811115612aa8576000848401525b50505050565b60006002820490506001821680612ac657607f821691505b60208210811415612ada57612ad9612be9565b5b50919050565b612ae982612cb1565b810181811067ffffffffffffffff82111715612b0857612b07612c47565b5b80604052505050565b6000612b1c82612a62565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612b4f57612b4e612b8b565b5b600182019050919050565b6000612b6582612a62565b9150612b7083612a62565b925082612b8057612b7f612bba565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115612c955760046000803e612c92600051612cc2565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d101561306d576130f0565b6130756127e8565b60043d036004823e80513d602482011167ffffffffffffffff8211171561309d5750506130f0565b808201805167ffffffffffffffff8111156130bb57505050506130f0565b80602083010160043d0385018111156130d85750505050506130f0565b6130e782602001850186612ae0565b82955050505050505b90565b6130fc816129f8565b811461310757600080fd5b50565b61311381612a0a565b811461311e57600080fd5b50565b61312a81612a16565b811461313557600080fd5b50565b61314181612a62565b811461314c57600080fd5b5056fea264697066735822122051c3fbad5a5b755940f315b213d32641d3f7d300cc51fa4f8a09a16389fff89364736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100f45760003560e01c8063702d24c911610097578063be63404511610066578063be63404514610281578063bfb231d21461029d578063e985e9c5146102cd578063f242432a146102fd576100f4565b8063702d24c91461020f5780638da5cb5b1461022b578063a22cb46514610249578063b48ddef814610265576100f4565b80630e89341c116100d35780630e89341c146101775780632eb2c2d6146101a75780634e1273f4146101c357806355f804b3146101f3576100f4565b8062fdd58e146100f957806301ffc9a71461012957806306fdde0314610159575b600080fd5b610113600480360381019061010e9190611ed8565b610319565b6040516101209190612789565b60405180910390f35b610143600480360381019061013e9190611f90565b6103e2565b60405161015091906125ec565b60405180910390f35b6101616104c4565b60405161016e9190612607565b60405180910390f35b610191600480360381019061018c9190612033565b610552565b60405161019e9190612607565b60405180910390f35b6101c160048036038101906101bc9190611d32565b610586565b005b6101dd60048036038101906101d89190611f18565b610627565b6040516101ea9190612593565b60405180910390f35b61020d60048036038101906102089190611fea565b610740565b005b61022960048036038101906102249190612060565b6107b4565b005b61023361082e565b60405161024091906124b6565b60405180910390f35b610263600480360381019061025e9190611e98565b610854565b005b61027f600480360381019061027a91906120b3565b6109d5565b005b61029b60048036038101906102969190612033565b610a89565b005b6102b760048036038101906102b29190612033565b610b0f565b6040516102c49190612789565b60405180910390f35b6102e760048036038101906102e29190611cf2565b610b33565b6040516102f491906125ec565b60405180910390f35b61031760048036038101906103129190611e01565b610bc7565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561038a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038190612669565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104ad57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104bd57506104bc82610c68565b5b9050919050565b600680546104d190612aae565b80601f01602080910402602001604051908101604052809291908181526020018280546104fd90612aae565b801561054a5780601f1061051f5761010080835404028352916020019161054a565b820191906000526020600020905b81548152906001019060200180831161052d57829003601f168201915b505050505081565b6060600561055f83610cd2565b604051602001610570929190612487565b6040516020818303038152906040529050919050565b61058e610e33565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806105d457506105d3856105ce610e33565b610b33565b5b610613576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060a906126c9565b60405180910390fd5b6106208585858585610e3b565b5050505050565b6060815183511461066d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066490612729565b60405180910390fd5b6000835167ffffffffffffffff81111561068a57610689612c47565b5b6040519080825280602002602001820160405280156106b85781602001602082028036833780820191505090505b50905060005b8451811015610735576107058582815181106106dd576106dc612c18565b5b60200260200101518583815181106106f8576106f7612c18565b5b6020026020010151610319565b82828151811061071857610717612c18565b5b6020026020010181815250508061072e90612b11565b90506106be565b508091505092915050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461079a57600080fd5b80600590805190602001906107b09291906119ca565b5050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461080e57600080fd5b6108298284836040518060200160405280600081525061114f565b505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8173ffffffffffffffffffffffffffffffffffffffff16610873610e33565b73ffffffffffffffffffffffffffffffffffffffff1614156108ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c190612709565b60405180910390fd5b80600160006108d7610e33565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610984610e33565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516109c991906125ec565b60405180910390a35050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a2f57600080fd5b60005b8151811015610a8457610a71828281518110610a5157610a50612c18565b5b60200260200101518460016040518060200160405280600081525061114f565b8080610a7c90612b11565b915050610a32565b505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ae357600080fd5b600381908060018154018082558091505060019003906000526020600020016000909190919091505550565b60038181548110610b1f57600080fd5b906000526020600020016000915090505481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610bcf610e33565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c155750610c1485610c0f610e33565b610b33565b5b610c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4b90612689565b60405180910390fd5b610c6185858585856112e5565b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415610d1a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050610e2e565b600082905060005b60008214610d4c578080610d3590612b11565b915050600a82610d459190612993565b9150610d22565b60008167ffffffffffffffff811115610d6857610d67612c47565b5b6040519080825280601f01601f191660200182016040528015610d9a5781602001600182028036833780820191505090505b5090505b60008514610e2757600182610db391906129c4565b9150600a85610dc29190612b5a565b6030610dce919061293d565b60f81b818381518110610de457610de3612c18565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85610e209190612993565b9450610d9e565b8093505050505b919050565b600033905090565b8151835114610e7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7690612749565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee6906126a9565b60405180910390fd5b6000610ef9610e33565b9050610f09818787878787611567565b60005b84518110156110ba576000858281518110610f2a57610f29612c18565b5b602002602001015190506000858381518110610f4957610f48612c18565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe1906126e9565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461109f919061293d565b92505081905550505050806110b390612b11565b9050610f0c565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516111319291906125b5565b60405180910390a461114781878787878761156f565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156111bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b690612769565b60405180910390fd5b60006111c9610e33565b90506111ea816000876111db88611756565b6111e488611756565b87611567565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611249919061293d565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516112c79291906127a4565b60405180910390a46112de816000878787876117d0565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134c906126a9565b60405180910390fd5b600061135f610e33565b905061137f81878761137088611756565b61137988611756565b87611567565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140d906126e9565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114cb919061293d565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516115489291906127a4565b60405180910390a461155e8288888888886117d0565b50505050505050565b505050505050565b61158e8473ffffffffffffffffffffffffffffffffffffffff166119b7565b1561174e578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016115d49594939291906124d1565b602060405180830381600087803b1580156115ee57600080fd5b505af192505050801561161f57506040513d601f19601f8201168201806040525081019061161c9190611fbd565b60015b6116c55761162b612c76565b806308c379a01415611688575061164061305d565b8061164b575061168a565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167f9190612607565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bc90612629565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461174c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174390612649565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561177557611774612c47565b5b6040519080825280602002602001820160405280156117a35781602001602082028036833780820191505090505b50905082816000815181106117bb576117ba612c18565b5b60200260200101818152505080915050919050565b6117ef8473ffffffffffffffffffffffffffffffffffffffff166119b7565b156119af578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611835959493929190612539565b602060405180830381600087803b15801561184f57600080fd5b505af192505050801561188057506040513d601f19601f8201168201806040525081019061187d9190611fbd565b60015b6119265761188c612c76565b806308c379a014156118e957506118a161305d565b806118ac57506118eb565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e09190612607565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191d90612629565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146119ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a490612649565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b8280546119d690612aae565b90600052602060002090601f0160209004810192826119f85760008555611a3f565b82601f10611a1157805160ff1916838001178555611a3f565b82800160010185558215611a3f579182015b82811115611a3e578251825591602001919060010190611a23565b5b509050611a4c9190611a50565b5090565b5b80821115611a69576000816000905550600101611a51565b5090565b6000611a80611a7b846127f2565b6127cd565b90508083825260208201905082856020860282011115611aa357611aa2612c9d565b5b60005b85811015611ad35781611ab98882611bd1565b845260208401935060208301925050600181019050611aa6565b5050509392505050565b6000611af0611aeb8461281e565b6127cd565b90508083825260208201905082856020860282011115611b1357611b12612c9d565b5b60005b85811015611b435781611b298882611cdd565b845260208401935060208301925050600181019050611b16565b5050509392505050565b6000611b60611b5b8461284a565b6127cd565b905082815260208101848484011115611b7c57611b7b612ca2565b5b611b87848285612a6c565b509392505050565b6000611ba2611b9d8461287b565b6127cd565b905082815260208101848484011115611bbe57611bbd612ca2565b5b611bc9848285612a6c565b509392505050565b600081359050611be0816130f3565b92915050565b600082601f830112611bfb57611bfa612c98565b5b8135611c0b848260208601611a6d565b91505092915050565b600082601f830112611c2957611c28612c98565b5b8135611c39848260208601611add565b91505092915050565b600081359050611c518161310a565b92915050565b600081359050611c6681613121565b92915050565b600081519050611c7b81613121565b92915050565b600082601f830112611c9657611c95612c98565b5b8135611ca6848260208601611b4d565b91505092915050565b600082601f830112611cc457611cc3612c98565b5b8135611cd4848260208601611b8f565b91505092915050565b600081359050611cec81613138565b92915050565b60008060408385031215611d0957611d08612cac565b5b6000611d1785828601611bd1565b9250506020611d2885828601611bd1565b9150509250929050565b600080600080600060a08688031215611d4e57611d4d612cac565b5b6000611d5c88828901611bd1565b9550506020611d6d88828901611bd1565b945050604086013567ffffffffffffffff811115611d8e57611d8d612ca7565b5b611d9a88828901611c14565b935050606086013567ffffffffffffffff811115611dbb57611dba612ca7565b5b611dc788828901611c14565b925050608086013567ffffffffffffffff811115611de857611de7612ca7565b5b611df488828901611c81565b9150509295509295909350565b600080600080600060a08688031215611e1d57611e1c612cac565b5b6000611e2b88828901611bd1565b9550506020611e3c88828901611bd1565b9450506040611e4d88828901611cdd565b9350506060611e5e88828901611cdd565b925050608086013567ffffffffffffffff811115611e7f57611e7e612ca7565b5b611e8b88828901611c81565b9150509295509295909350565b60008060408385031215611eaf57611eae612cac565b5b6000611ebd85828601611bd1565b9250506020611ece85828601611c42565b9150509250929050565b60008060408385031215611eef57611eee612cac565b5b6000611efd85828601611bd1565b9250506020611f0e85828601611cdd565b9150509250929050565b60008060408385031215611f2f57611f2e612cac565b5b600083013567ffffffffffffffff811115611f4d57611f4c612ca7565b5b611f5985828601611be6565b925050602083013567ffffffffffffffff811115611f7a57611f79612ca7565b5b611f8685828601611c14565b9150509250929050565b600060208284031215611fa657611fa5612cac565b5b6000611fb484828501611c57565b91505092915050565b600060208284031215611fd357611fd2612cac565b5b6000611fe184828501611c6c565b91505092915050565b60006020828403121561200057611fff612cac565b5b600082013567ffffffffffffffff81111561201e5761201d612ca7565b5b61202a84828501611caf565b91505092915050565b60006020828403121561204957612048612cac565b5b600061205784828501611cdd565b91505092915050565b60008060006060848603121561207957612078612cac565b5b600061208786828701611cdd565b935050602061209886828701611bd1565b92505060406120a986828701611cdd565b9150509250925092565b600080604083850312156120ca576120c9612cac565b5b60006120d885828601611cdd565b925050602083013567ffffffffffffffff8111156120f9576120f8612ca7565b5b61210585828601611be6565b9150509250929050565b600061211b8383612469565b60208301905092915050565b612130816129f8565b82525050565b6000612141826128d1565b61214b81856128ff565b9350612156836128ac565b8060005b8381101561218757815161216e888261210f565b9750612179836128f2565b92505060018101905061215a565b5085935050505092915050565b61219d81612a0a565b82525050565b60006121ae826128dc565b6121b88185612910565b93506121c8818560208601612a7b565b6121d181612cb1565b840191505092915050565b60006121e7826128e7565b6121f18185612921565b9350612201818560208601612a7b565b61220a81612cb1565b840191505092915050565b6000612220826128e7565b61222a8185612932565b935061223a818560208601612a7b565b80840191505092915050565b6000815461225381612aae565b61225d8186612932565b945060018216600081146122785760018114612289576122bc565b60ff198316865281860193506122bc565b612292856128bc565b60005b838110156122b457815481890152600182019150602081019050612295565b838801955050505b50505092915050565b60006122d2603483612921565b91506122dd82612ccf565b604082019050919050565b60006122f5602883612921565b915061230082612d1e565b604082019050919050565b6000612318602b83612921565b915061232382612d6d565b604082019050919050565b600061233b602983612921565b915061234682612dbc565b604082019050919050565b600061235e602583612921565b915061236982612e0b565b604082019050919050565b6000612381603283612921565b915061238c82612e5a565b604082019050919050565b60006123a4602a83612921565b91506123af82612ea9565b604082019050919050565b60006123c7600583612932565b91506123d282612ef8565b600582019050919050565b60006123ea602983612921565b91506123f582612f21565b604082019050919050565b600061240d602983612921565b915061241882612f70565b604082019050919050565b6000612430602883612921565b915061243b82612fbf565b604082019050919050565b6000612453602183612921565b915061245e8261300e565b604082019050919050565b61247281612a62565b82525050565b61248181612a62565b82525050565b60006124938285612246565b915061249f8284612215565b91506124aa826123ba565b91508190509392505050565b60006020820190506124cb6000830184612127565b92915050565b600060a0820190506124e66000830188612127565b6124f36020830187612127565b81810360408301526125058186612136565b905081810360608301526125198185612136565b9050818103608083015261252d81846121a3565b90509695505050505050565b600060a08201905061254e6000830188612127565b61255b6020830187612127565b6125686040830186612478565b6125756060830185612478565b818103608083015261258781846121a3565b90509695505050505050565b600060208201905081810360008301526125ad8184612136565b905092915050565b600060408201905081810360008301526125cf8185612136565b905081810360208301526125e38184612136565b90509392505050565b60006020820190506126016000830184612194565b92915050565b6000602082019050818103600083015261262181846121dc565b905092915050565b60006020820190508181036000830152612642816122c5565b9050919050565b60006020820190508181036000830152612662816122e8565b9050919050565b600060208201905081810360008301526126828161230b565b9050919050565b600060208201905081810360008301526126a28161232e565b9050919050565b600060208201905081810360008301526126c281612351565b9050919050565b600060208201905081810360008301526126e281612374565b9050919050565b6000602082019050818103600083015261270281612397565b9050919050565b60006020820190508181036000830152612722816123dd565b9050919050565b6000602082019050818103600083015261274281612400565b9050919050565b6000602082019050818103600083015261276281612423565b9050919050565b6000602082019050818103600083015261278281612446565b9050919050565b600060208201905061279e6000830184612478565b92915050565b60006040820190506127b96000830185612478565b6127c66020830184612478565b9392505050565b60006127d76127e8565b90506127e38282612ae0565b919050565b6000604051905090565b600067ffffffffffffffff82111561280d5761280c612c47565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561283957612838612c47565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561286557612864612c47565b5b61286e82612cb1565b9050602081019050919050565b600067ffffffffffffffff82111561289657612895612c47565b5b61289f82612cb1565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061294882612a62565b915061295383612a62565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561298857612987612b8b565b5b828201905092915050565b600061299e82612a62565b91506129a983612a62565b9250826129b9576129b8612bba565b5b828204905092915050565b60006129cf82612a62565b91506129da83612a62565b9250828210156129ed576129ec612b8b565b5b828203905092915050565b6000612a0382612a42565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612a99578082015181840152602081019050612a7e565b83811115612aa8576000848401525b50505050565b60006002820490506001821680612ac657607f821691505b60208210811415612ada57612ad9612be9565b5b50919050565b612ae982612cb1565b810181811067ffffffffffffffff82111715612b0857612b07612c47565b5b80604052505050565b6000612b1c82612a62565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612b4f57612b4e612b8b565b5b600182019050919050565b6000612b6582612a62565b9150612b7083612a62565b925082612b8057612b7f612bba565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115612c955760046000803e612c92600051612cc2565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d101561306d576130f0565b6130756127e8565b60043d036004823e80513d602482011167ffffffffffffffff8211171561309d5750506130f0565b808201805167ffffffffffffffff8111156130bb57505050506130f0565b80602083010160043d0385018111156130d85750505050506130f0565b6130e782602001850186612ae0565b82955050505050505b90565b6130fc816129f8565b811461310757600080fd5b50565b61311381612a0a565b811461311e57600080fd5b50565b61312a81612a16565b811461313557600080fd5b50565b61314181612a62565b811461314c57600080fd5b5056fea264697066735822122051c3fbad5a5b755940f315b213d32641d3f7d300cc51fa4f8a09a16389fff89364736f6c63430008070033

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.