ETH Price: $2,907.47 (+3.12%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Airdrop One To M...134522452021-10-20 3:34:591115 days ago1634700899IN
0x51F45A54...27E2a5760
0 ETH0.0028189554.33494478
Set Base URI134521842021-10-20 3:21:111115 days ago1634700071IN
0x51F45A54...27E2a5760
0 ETH0.0059195764.26565812
Add Item134521782021-10-20 3:19:521115 days ago1634699992IN
0x51F45A54...27E2a5760
0 ETH0.0033244468.95319466
0x60806040134521642021-10-20 3:16:501115 days ago1634699810IN
 Create: NFT2040Wearables
0 ETH0.1890050768.24916396

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

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

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

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

    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":"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"}]

60806040523480156200001157600080fd5b506040518060200160405280600081525062000033816200007b60201b60201c565b5033600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001ac565b80600290805190602001906200009392919062000097565b5050565b828054620000a59062000147565b90600052602060002090601f016020900481019282620000c9576000855562000115565b82601f10620000e457805160ff191683800117855562000115565b8280016001018555821562000115579182015b8281111562000114578251825591602001919060010190620000f7565b5b50905062000124919062000128565b5090565b5b808211156200014357600081600090555060010162000129565b5090565b600060028204905060018216806200016057607f821691505b602082108114156200017757620001766200017d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6130ce80620001bc6000396000f3fe608060405234801561001057600080fd5b50600436106100e95760003560e01c80638da5cb5b1161008c578063be63404511610066578063be63404514610258578063bfb231d214610274578063e985e9c5146102a4578063f242432a146102d4576100e9565b80638da5cb5b14610202578063a22cb46514610220578063b48ddef81461023c576100e9565b80632eb2c2d6116100c85780632eb2c2d61461017e5780634e1273f41461019a57806355f804b3146101ca578063702d24c9146101e6576100e9565b8062fdd58e146100ee57806301ffc9a71461011e5780630e89341c1461014e575b600080fd5b61010860048036038101906101039190611e21565b6102f0565b60405161011591906126d2565b60405180910390f35b61013860048036038101906101339190611ed9565b6103b9565b6040516101459190612535565b60405180910390f35b61016860048036038101906101639190611f7c565b61049b565b6040516101759190612550565b60405180910390f35b61019860048036038101906101939190611c7b565b6104cf565b005b6101b460048036038101906101af9190611e61565b610570565b6040516101c191906124dc565b60405180910390f35b6101e460048036038101906101df9190611f33565b610689565b005b61020060048036038101906101fb9190611fa9565b6106fd565b005b61020a610777565b60405161021791906123ff565b60405180910390f35b61023a60048036038101906102359190611de1565b61079d565b005b61025660048036038101906102519190611ffc565b61091e565b005b610272600480360381019061026d9190611f7c565b6109d2565b005b61028e60048036038101906102899190611f7c565b610a58565b60405161029b91906126d2565b60405180910390f35b6102be60048036038101906102b99190611c3b565b610a7c565b6040516102cb9190612535565b60405180910390f35b6102ee60048036038101906102e99190611d4a565b610b10565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610361576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610358906125b2565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061048457507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610494575061049382610bb1565b5b9050919050565b606060056104a883610c1b565b6040516020016104b99291906123d0565b6040516020818303038152906040529050919050565b6104d7610d7c565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061051d575061051c85610517610d7c565b610a7c565b5b61055c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055390612612565b60405180910390fd5b6105698585858585610d84565b5050505050565b606081518351146105b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ad90612672565b60405180910390fd5b6000835167ffffffffffffffff8111156105d3576105d2612b90565b5b6040519080825280602002602001820160405280156106015781602001602082028036833780820191505090505b50905060005b845181101561067e5761064e85828151811061062657610625612b61565b5b602002602001015185838151811061064157610640612b61565b5b60200260200101516102f0565b82828151811061066157610660612b61565b5b6020026020010181815250508061067790612a5a565b9050610607565b508091505092915050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106e357600080fd5b80600590805190602001906106f9929190611913565b5050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461075757600080fd5b61077282848360405180602001604052806000815250611098565b505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8173ffffffffffffffffffffffffffffffffffffffff166107bc610d7c565b73ffffffffffffffffffffffffffffffffffffffff161415610813576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080a90612652565b60405180910390fd5b8060016000610820610d7c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166108cd610d7c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516109129190612535565b60405180910390a35050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461097857600080fd5b60005b81518110156109cd576109ba82828151811061099a57610999612b61565b5b602002602001015184600160405180602001604052806000815250611098565b80806109c590612a5a565b91505061097b565b505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a2c57600080fd5b600381908060018154018082558091505060019003906000526020600020016000909190919091505550565b60038181548110610a6857600080fd5b906000526020600020016000915090505481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610b18610d7c565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610b5e5750610b5d85610b58610d7c565b610a7c565b5b610b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b94906125d2565b60405180910390fd5b610baa858585858561122e565b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415610c63576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050610d77565b600082905060005b60008214610c95578080610c7e90612a5a565b915050600a82610c8e91906128dc565b9150610c6b565b60008167ffffffffffffffff811115610cb157610cb0612b90565b5b6040519080825280601f01601f191660200182016040528015610ce35781602001600182028036833780820191505090505b5090505b60008514610d7057600182610cfc919061290d565b9150600a85610d0b9190612aa3565b6030610d179190612886565b60f81b818381518110610d2d57610d2c612b61565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85610d6991906128dc565b9450610ce7565b8093505050505b919050565b600033905090565b8151835114610dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbf90612692565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f906125f2565b60405180910390fd5b6000610e42610d7c565b9050610e528187878787876114b0565b60005b8451811015611003576000858281518110610e7357610e72612b61565b5b602002602001015190506000858381518110610e9257610e91612b61565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2a90612632565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fe89190612886565b9250508190555050505080610ffc90612a5a565b9050610e55565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161107a9291906124fe565b60405180910390a46110908187878787876114b8565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ff906126b2565b60405180910390fd5b6000611112610d7c565b9050611133816000876111248861169f565b61112d8861169f565b876114b0565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111929190612886565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516112109291906126ed565b60405180910390a461122781600087878787611719565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561129e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611295906125f2565b60405180910390fd5b60006112a8610d7c565b90506112c88187876112b98861169f565b6112c28861169f565b876114b0565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561135f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135690612632565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114149190612886565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516114919291906126ed565b60405180910390a46114a7828888888888611719565b50505050505050565b505050505050565b6114d78473ffffffffffffffffffffffffffffffffffffffff16611900565b15611697578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161151d95949392919061241a565b602060405180830381600087803b15801561153757600080fd5b505af192505050801561156857506040513d601f19601f820116820180604052508101906115659190611f06565b60015b61160e57611574612bbf565b806308c379a014156115d15750611589612fa6565b8061159457506115d3565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c89190612550565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160590612572565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168c90612592565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156116be576116bd612b90565b5b6040519080825280602002602001820160405280156116ec5781602001602082028036833780820191505090505b509050828160008151811061170457611703612b61565b5b60200260200101818152505080915050919050565b6117388473ffffffffffffffffffffffffffffffffffffffff16611900565b156118f8578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161177e959493929190612482565b602060405180830381600087803b15801561179857600080fd5b505af19250505080156117c957506040513d601f19601f820116820180604052508101906117c69190611f06565b60015b61186f576117d5612bbf565b806308c379a0141561183257506117ea612fa6565b806117f55750611834565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118299190612550565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186690612572565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146118f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ed90612592565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b82805461191f906129f7565b90600052602060002090601f0160209004810192826119415760008555611988565b82601f1061195a57805160ff1916838001178555611988565b82800160010185558215611988579182015b8281111561198757825182559160200191906001019061196c565b5b5090506119959190611999565b5090565b5b808211156119b257600081600090555060010161199a565b5090565b60006119c96119c48461273b565b612716565b905080838252602082019050828560208602820111156119ec576119eb612be6565b5b60005b85811015611a1c5781611a028882611b1a565b8452602084019350602083019250506001810190506119ef565b5050509392505050565b6000611a39611a3484612767565b612716565b90508083825260208201905082856020860282011115611a5c57611a5b612be6565b5b60005b85811015611a8c5781611a728882611c26565b845260208401935060208301925050600181019050611a5f565b5050509392505050565b6000611aa9611aa484612793565b612716565b905082815260208101848484011115611ac557611ac4612beb565b5b611ad08482856129b5565b509392505050565b6000611aeb611ae6846127c4565b612716565b905082815260208101848484011115611b0757611b06612beb565b5b611b128482856129b5565b509392505050565b600081359050611b298161303c565b92915050565b600082601f830112611b4457611b43612be1565b5b8135611b548482602086016119b6565b91505092915050565b600082601f830112611b7257611b71612be1565b5b8135611b82848260208601611a26565b91505092915050565b600081359050611b9a81613053565b92915050565b600081359050611baf8161306a565b92915050565b600081519050611bc48161306a565b92915050565b600082601f830112611bdf57611bde612be1565b5b8135611bef848260208601611a96565b91505092915050565b600082601f830112611c0d57611c0c612be1565b5b8135611c1d848260208601611ad8565b91505092915050565b600081359050611c3581613081565b92915050565b60008060408385031215611c5257611c51612bf5565b5b6000611c6085828601611b1a565b9250506020611c7185828601611b1a565b9150509250929050565b600080600080600060a08688031215611c9757611c96612bf5565b5b6000611ca588828901611b1a565b9550506020611cb688828901611b1a565b945050604086013567ffffffffffffffff811115611cd757611cd6612bf0565b5b611ce388828901611b5d565b935050606086013567ffffffffffffffff811115611d0457611d03612bf0565b5b611d1088828901611b5d565b925050608086013567ffffffffffffffff811115611d3157611d30612bf0565b5b611d3d88828901611bca565b9150509295509295909350565b600080600080600060a08688031215611d6657611d65612bf5565b5b6000611d7488828901611b1a565b9550506020611d8588828901611b1a565b9450506040611d9688828901611c26565b9350506060611da788828901611c26565b925050608086013567ffffffffffffffff811115611dc857611dc7612bf0565b5b611dd488828901611bca565b9150509295509295909350565b60008060408385031215611df857611df7612bf5565b5b6000611e0685828601611b1a565b9250506020611e1785828601611b8b565b9150509250929050565b60008060408385031215611e3857611e37612bf5565b5b6000611e4685828601611b1a565b9250506020611e5785828601611c26565b9150509250929050565b60008060408385031215611e7857611e77612bf5565b5b600083013567ffffffffffffffff811115611e9657611e95612bf0565b5b611ea285828601611b2f565b925050602083013567ffffffffffffffff811115611ec357611ec2612bf0565b5b611ecf85828601611b5d565b9150509250929050565b600060208284031215611eef57611eee612bf5565b5b6000611efd84828501611ba0565b91505092915050565b600060208284031215611f1c57611f1b612bf5565b5b6000611f2a84828501611bb5565b91505092915050565b600060208284031215611f4957611f48612bf5565b5b600082013567ffffffffffffffff811115611f6757611f66612bf0565b5b611f7384828501611bf8565b91505092915050565b600060208284031215611f9257611f91612bf5565b5b6000611fa084828501611c26565b91505092915050565b600080600060608486031215611fc257611fc1612bf5565b5b6000611fd086828701611c26565b9350506020611fe186828701611b1a565b9250506040611ff286828701611c26565b9150509250925092565b6000806040838503121561201357612012612bf5565b5b600061202185828601611c26565b925050602083013567ffffffffffffffff81111561204257612041612bf0565b5b61204e85828601611b2f565b9150509250929050565b600061206483836123b2565b60208301905092915050565b61207981612941565b82525050565b600061208a8261281a565b6120948185612848565b935061209f836127f5565b8060005b838110156120d05781516120b78882612058565b97506120c28361283b565b9250506001810190506120a3565b5085935050505092915050565b6120e681612953565b82525050565b60006120f782612825565b6121018185612859565b93506121118185602086016129c4565b61211a81612bfa565b840191505092915050565b600061213082612830565b61213a818561286a565b935061214a8185602086016129c4565b61215381612bfa565b840191505092915050565b600061216982612830565b612173818561287b565b93506121838185602086016129c4565b80840191505092915050565b6000815461219c816129f7565b6121a6818661287b565b945060018216600081146121c157600181146121d257612205565b60ff19831686528186019350612205565b6121db85612805565b60005b838110156121fd578154818901526001820191506020810190506121de565b838801955050505b50505092915050565b600061221b60348361286a565b915061222682612c18565b604082019050919050565b600061223e60288361286a565b915061224982612c67565b604082019050919050565b6000612261602b8361286a565b915061226c82612cb6565b604082019050919050565b600061228460298361286a565b915061228f82612d05565b604082019050919050565b60006122a760258361286a565b91506122b282612d54565b604082019050919050565b60006122ca60328361286a565b91506122d582612da3565b604082019050919050565b60006122ed602a8361286a565b91506122f882612df2565b604082019050919050565b600061231060058361287b565b915061231b82612e41565b600582019050919050565b600061233360298361286a565b915061233e82612e6a565b604082019050919050565b600061235660298361286a565b915061236182612eb9565b604082019050919050565b600061237960288361286a565b915061238482612f08565b604082019050919050565b600061239c60218361286a565b91506123a782612f57565b604082019050919050565b6123bb816129ab565b82525050565b6123ca816129ab565b82525050565b60006123dc828561218f565b91506123e8828461215e565b91506123f382612303565b91508190509392505050565b60006020820190506124146000830184612070565b92915050565b600060a08201905061242f6000830188612070565b61243c6020830187612070565b818103604083015261244e818661207f565b90508181036060830152612462818561207f565b9050818103608083015261247681846120ec565b90509695505050505050565b600060a0820190506124976000830188612070565b6124a46020830187612070565b6124b160408301866123c1565b6124be60608301856123c1565b81810360808301526124d081846120ec565b90509695505050505050565b600060208201905081810360008301526124f6818461207f565b905092915050565b60006040820190508181036000830152612518818561207f565b9050818103602083015261252c818461207f565b90509392505050565b600060208201905061254a60008301846120dd565b92915050565b6000602082019050818103600083015261256a8184612125565b905092915050565b6000602082019050818103600083015261258b8161220e565b9050919050565b600060208201905081810360008301526125ab81612231565b9050919050565b600060208201905081810360008301526125cb81612254565b9050919050565b600060208201905081810360008301526125eb81612277565b9050919050565b6000602082019050818103600083015261260b8161229a565b9050919050565b6000602082019050818103600083015261262b816122bd565b9050919050565b6000602082019050818103600083015261264b816122e0565b9050919050565b6000602082019050818103600083015261266b81612326565b9050919050565b6000602082019050818103600083015261268b81612349565b9050919050565b600060208201905081810360008301526126ab8161236c565b9050919050565b600060208201905081810360008301526126cb8161238f565b9050919050565b60006020820190506126e760008301846123c1565b92915050565b600060408201905061270260008301856123c1565b61270f60208301846123c1565b9392505050565b6000612720612731565b905061272c8282612a29565b919050565b6000604051905090565b600067ffffffffffffffff82111561275657612755612b90565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561278257612781612b90565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156127ae576127ad612b90565b5b6127b782612bfa565b9050602081019050919050565b600067ffffffffffffffff8211156127df576127de612b90565b5b6127e882612bfa565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612891826129ab565b915061289c836129ab565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156128d1576128d0612ad4565b5b828201905092915050565b60006128e7826129ab565b91506128f2836129ab565b92508261290257612901612b03565b5b828204905092915050565b6000612918826129ab565b9150612923836129ab565b92508282101561293657612935612ad4565b5b828203905092915050565b600061294c8261298b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156129e25780820151818401526020810190506129c7565b838111156129f1576000848401525b50505050565b60006002820490506001821680612a0f57607f821691505b60208210811415612a2357612a22612b32565b5b50919050565b612a3282612bfa565b810181811067ffffffffffffffff82111715612a5157612a50612b90565b5b80604052505050565b6000612a65826129ab565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612a9857612a97612ad4565b5b600182019050919050565b6000612aae826129ab565b9150612ab9836129ab565b925082612ac957612ac8612b03565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115612bde5760046000803e612bdb600051612c0b565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015612fb657613039565b612fbe612731565b60043d036004823e80513d602482011167ffffffffffffffff82111715612fe6575050613039565b808201805167ffffffffffffffff8111156130045750505050613039565b80602083010160043d038501811115613021575050505050613039565b61303082602001850186612a29565b82955050505050505b90565b61304581612941565b811461305057600080fd5b50565b61305c81612953565b811461306757600080fd5b50565b6130738161295f565b811461307e57600080fd5b50565b61308a816129ab565b811461309557600080fd5b5056fea26469706673582212207cd7b2673eb5ae8fdf830f9f9b6db263df51b20a8e2e548408e2ea96c6c386f464736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100e95760003560e01c80638da5cb5b1161008c578063be63404511610066578063be63404514610258578063bfb231d214610274578063e985e9c5146102a4578063f242432a146102d4576100e9565b80638da5cb5b14610202578063a22cb46514610220578063b48ddef81461023c576100e9565b80632eb2c2d6116100c85780632eb2c2d61461017e5780634e1273f41461019a57806355f804b3146101ca578063702d24c9146101e6576100e9565b8062fdd58e146100ee57806301ffc9a71461011e5780630e89341c1461014e575b600080fd5b61010860048036038101906101039190611e21565b6102f0565b60405161011591906126d2565b60405180910390f35b61013860048036038101906101339190611ed9565b6103b9565b6040516101459190612535565b60405180910390f35b61016860048036038101906101639190611f7c565b61049b565b6040516101759190612550565b60405180910390f35b61019860048036038101906101939190611c7b565b6104cf565b005b6101b460048036038101906101af9190611e61565b610570565b6040516101c191906124dc565b60405180910390f35b6101e460048036038101906101df9190611f33565b610689565b005b61020060048036038101906101fb9190611fa9565b6106fd565b005b61020a610777565b60405161021791906123ff565b60405180910390f35b61023a60048036038101906102359190611de1565b61079d565b005b61025660048036038101906102519190611ffc565b61091e565b005b610272600480360381019061026d9190611f7c565b6109d2565b005b61028e60048036038101906102899190611f7c565b610a58565b60405161029b91906126d2565b60405180910390f35b6102be60048036038101906102b99190611c3b565b610a7c565b6040516102cb9190612535565b60405180910390f35b6102ee60048036038101906102e99190611d4a565b610b10565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610361576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610358906125b2565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061048457507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610494575061049382610bb1565b5b9050919050565b606060056104a883610c1b565b6040516020016104b99291906123d0565b6040516020818303038152906040529050919050565b6104d7610d7c565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061051d575061051c85610517610d7c565b610a7c565b5b61055c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055390612612565b60405180910390fd5b6105698585858585610d84565b5050505050565b606081518351146105b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ad90612672565b60405180910390fd5b6000835167ffffffffffffffff8111156105d3576105d2612b90565b5b6040519080825280602002602001820160405280156106015781602001602082028036833780820191505090505b50905060005b845181101561067e5761064e85828151811061062657610625612b61565b5b602002602001015185838151811061064157610640612b61565b5b60200260200101516102f0565b82828151811061066157610660612b61565b5b6020026020010181815250508061067790612a5a565b9050610607565b508091505092915050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106e357600080fd5b80600590805190602001906106f9929190611913565b5050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461075757600080fd5b61077282848360405180602001604052806000815250611098565b505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8173ffffffffffffffffffffffffffffffffffffffff166107bc610d7c565b73ffffffffffffffffffffffffffffffffffffffff161415610813576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080a90612652565b60405180910390fd5b8060016000610820610d7c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166108cd610d7c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516109129190612535565b60405180910390a35050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461097857600080fd5b60005b81518110156109cd576109ba82828151811061099a57610999612b61565b5b602002602001015184600160405180602001604052806000815250611098565b80806109c590612a5a565b91505061097b565b505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a2c57600080fd5b600381908060018154018082558091505060019003906000526020600020016000909190919091505550565b60038181548110610a6857600080fd5b906000526020600020016000915090505481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610b18610d7c565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610b5e5750610b5d85610b58610d7c565b610a7c565b5b610b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b94906125d2565b60405180910390fd5b610baa858585858561122e565b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415610c63576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050610d77565b600082905060005b60008214610c95578080610c7e90612a5a565b915050600a82610c8e91906128dc565b9150610c6b565b60008167ffffffffffffffff811115610cb157610cb0612b90565b5b6040519080825280601f01601f191660200182016040528015610ce35781602001600182028036833780820191505090505b5090505b60008514610d7057600182610cfc919061290d565b9150600a85610d0b9190612aa3565b6030610d179190612886565b60f81b818381518110610d2d57610d2c612b61565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85610d6991906128dc565b9450610ce7565b8093505050505b919050565b600033905090565b8151835114610dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbf90612692565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f906125f2565b60405180910390fd5b6000610e42610d7c565b9050610e528187878787876114b0565b60005b8451811015611003576000858281518110610e7357610e72612b61565b5b602002602001015190506000858381518110610e9257610e91612b61565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2a90612632565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fe89190612886565b9250508190555050505080610ffc90612a5a565b9050610e55565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161107a9291906124fe565b60405180910390a46110908187878787876114b8565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ff906126b2565b60405180910390fd5b6000611112610d7c565b9050611133816000876111248861169f565b61112d8861169f565b876114b0565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111929190612886565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516112109291906126ed565b60405180910390a461122781600087878787611719565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561129e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611295906125f2565b60405180910390fd5b60006112a8610d7c565b90506112c88187876112b98861169f565b6112c28861169f565b876114b0565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561135f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135690612632565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114149190612886565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516114919291906126ed565b60405180910390a46114a7828888888888611719565b50505050505050565b505050505050565b6114d78473ffffffffffffffffffffffffffffffffffffffff16611900565b15611697578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161151d95949392919061241a565b602060405180830381600087803b15801561153757600080fd5b505af192505050801561156857506040513d601f19601f820116820180604052508101906115659190611f06565b60015b61160e57611574612bbf565b806308c379a014156115d15750611589612fa6565b8061159457506115d3565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c89190612550565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160590612572565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168c90612592565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156116be576116bd612b90565b5b6040519080825280602002602001820160405280156116ec5781602001602082028036833780820191505090505b509050828160008151811061170457611703612b61565b5b60200260200101818152505080915050919050565b6117388473ffffffffffffffffffffffffffffffffffffffff16611900565b156118f8578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161177e959493929190612482565b602060405180830381600087803b15801561179857600080fd5b505af19250505080156117c957506040513d601f19601f820116820180604052508101906117c69190611f06565b60015b61186f576117d5612bbf565b806308c379a0141561183257506117ea612fa6565b806117f55750611834565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118299190612550565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186690612572565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146118f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ed90612592565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b82805461191f906129f7565b90600052602060002090601f0160209004810192826119415760008555611988565b82601f1061195a57805160ff1916838001178555611988565b82800160010185558215611988579182015b8281111561198757825182559160200191906001019061196c565b5b5090506119959190611999565b5090565b5b808211156119b257600081600090555060010161199a565b5090565b60006119c96119c48461273b565b612716565b905080838252602082019050828560208602820111156119ec576119eb612be6565b5b60005b85811015611a1c5781611a028882611b1a565b8452602084019350602083019250506001810190506119ef565b5050509392505050565b6000611a39611a3484612767565b612716565b90508083825260208201905082856020860282011115611a5c57611a5b612be6565b5b60005b85811015611a8c5781611a728882611c26565b845260208401935060208301925050600181019050611a5f565b5050509392505050565b6000611aa9611aa484612793565b612716565b905082815260208101848484011115611ac557611ac4612beb565b5b611ad08482856129b5565b509392505050565b6000611aeb611ae6846127c4565b612716565b905082815260208101848484011115611b0757611b06612beb565b5b611b128482856129b5565b509392505050565b600081359050611b298161303c565b92915050565b600082601f830112611b4457611b43612be1565b5b8135611b548482602086016119b6565b91505092915050565b600082601f830112611b7257611b71612be1565b5b8135611b82848260208601611a26565b91505092915050565b600081359050611b9a81613053565b92915050565b600081359050611baf8161306a565b92915050565b600081519050611bc48161306a565b92915050565b600082601f830112611bdf57611bde612be1565b5b8135611bef848260208601611a96565b91505092915050565b600082601f830112611c0d57611c0c612be1565b5b8135611c1d848260208601611ad8565b91505092915050565b600081359050611c3581613081565b92915050565b60008060408385031215611c5257611c51612bf5565b5b6000611c6085828601611b1a565b9250506020611c7185828601611b1a565b9150509250929050565b600080600080600060a08688031215611c9757611c96612bf5565b5b6000611ca588828901611b1a565b9550506020611cb688828901611b1a565b945050604086013567ffffffffffffffff811115611cd757611cd6612bf0565b5b611ce388828901611b5d565b935050606086013567ffffffffffffffff811115611d0457611d03612bf0565b5b611d1088828901611b5d565b925050608086013567ffffffffffffffff811115611d3157611d30612bf0565b5b611d3d88828901611bca565b9150509295509295909350565b600080600080600060a08688031215611d6657611d65612bf5565b5b6000611d7488828901611b1a565b9550506020611d8588828901611b1a565b9450506040611d9688828901611c26565b9350506060611da788828901611c26565b925050608086013567ffffffffffffffff811115611dc857611dc7612bf0565b5b611dd488828901611bca565b9150509295509295909350565b60008060408385031215611df857611df7612bf5565b5b6000611e0685828601611b1a565b9250506020611e1785828601611b8b565b9150509250929050565b60008060408385031215611e3857611e37612bf5565b5b6000611e4685828601611b1a565b9250506020611e5785828601611c26565b9150509250929050565b60008060408385031215611e7857611e77612bf5565b5b600083013567ffffffffffffffff811115611e9657611e95612bf0565b5b611ea285828601611b2f565b925050602083013567ffffffffffffffff811115611ec357611ec2612bf0565b5b611ecf85828601611b5d565b9150509250929050565b600060208284031215611eef57611eee612bf5565b5b6000611efd84828501611ba0565b91505092915050565b600060208284031215611f1c57611f1b612bf5565b5b6000611f2a84828501611bb5565b91505092915050565b600060208284031215611f4957611f48612bf5565b5b600082013567ffffffffffffffff811115611f6757611f66612bf0565b5b611f7384828501611bf8565b91505092915050565b600060208284031215611f9257611f91612bf5565b5b6000611fa084828501611c26565b91505092915050565b600080600060608486031215611fc257611fc1612bf5565b5b6000611fd086828701611c26565b9350506020611fe186828701611b1a565b9250506040611ff286828701611c26565b9150509250925092565b6000806040838503121561201357612012612bf5565b5b600061202185828601611c26565b925050602083013567ffffffffffffffff81111561204257612041612bf0565b5b61204e85828601611b2f565b9150509250929050565b600061206483836123b2565b60208301905092915050565b61207981612941565b82525050565b600061208a8261281a565b6120948185612848565b935061209f836127f5565b8060005b838110156120d05781516120b78882612058565b97506120c28361283b565b9250506001810190506120a3565b5085935050505092915050565b6120e681612953565b82525050565b60006120f782612825565b6121018185612859565b93506121118185602086016129c4565b61211a81612bfa565b840191505092915050565b600061213082612830565b61213a818561286a565b935061214a8185602086016129c4565b61215381612bfa565b840191505092915050565b600061216982612830565b612173818561287b565b93506121838185602086016129c4565b80840191505092915050565b6000815461219c816129f7565b6121a6818661287b565b945060018216600081146121c157600181146121d257612205565b60ff19831686528186019350612205565b6121db85612805565b60005b838110156121fd578154818901526001820191506020810190506121de565b838801955050505b50505092915050565b600061221b60348361286a565b915061222682612c18565b604082019050919050565b600061223e60288361286a565b915061224982612c67565b604082019050919050565b6000612261602b8361286a565b915061226c82612cb6565b604082019050919050565b600061228460298361286a565b915061228f82612d05565b604082019050919050565b60006122a760258361286a565b91506122b282612d54565b604082019050919050565b60006122ca60328361286a565b91506122d582612da3565b604082019050919050565b60006122ed602a8361286a565b91506122f882612df2565b604082019050919050565b600061231060058361287b565b915061231b82612e41565b600582019050919050565b600061233360298361286a565b915061233e82612e6a565b604082019050919050565b600061235660298361286a565b915061236182612eb9565b604082019050919050565b600061237960288361286a565b915061238482612f08565b604082019050919050565b600061239c60218361286a565b91506123a782612f57565b604082019050919050565b6123bb816129ab565b82525050565b6123ca816129ab565b82525050565b60006123dc828561218f565b91506123e8828461215e565b91506123f382612303565b91508190509392505050565b60006020820190506124146000830184612070565b92915050565b600060a08201905061242f6000830188612070565b61243c6020830187612070565b818103604083015261244e818661207f565b90508181036060830152612462818561207f565b9050818103608083015261247681846120ec565b90509695505050505050565b600060a0820190506124976000830188612070565b6124a46020830187612070565b6124b160408301866123c1565b6124be60608301856123c1565b81810360808301526124d081846120ec565b90509695505050505050565b600060208201905081810360008301526124f6818461207f565b905092915050565b60006040820190508181036000830152612518818561207f565b9050818103602083015261252c818461207f565b90509392505050565b600060208201905061254a60008301846120dd565b92915050565b6000602082019050818103600083015261256a8184612125565b905092915050565b6000602082019050818103600083015261258b8161220e565b9050919050565b600060208201905081810360008301526125ab81612231565b9050919050565b600060208201905081810360008301526125cb81612254565b9050919050565b600060208201905081810360008301526125eb81612277565b9050919050565b6000602082019050818103600083015261260b8161229a565b9050919050565b6000602082019050818103600083015261262b816122bd565b9050919050565b6000602082019050818103600083015261264b816122e0565b9050919050565b6000602082019050818103600083015261266b81612326565b9050919050565b6000602082019050818103600083015261268b81612349565b9050919050565b600060208201905081810360008301526126ab8161236c565b9050919050565b600060208201905081810360008301526126cb8161238f565b9050919050565b60006020820190506126e760008301846123c1565b92915050565b600060408201905061270260008301856123c1565b61270f60208301846123c1565b9392505050565b6000612720612731565b905061272c8282612a29565b919050565b6000604051905090565b600067ffffffffffffffff82111561275657612755612b90565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561278257612781612b90565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156127ae576127ad612b90565b5b6127b782612bfa565b9050602081019050919050565b600067ffffffffffffffff8211156127df576127de612b90565b5b6127e882612bfa565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612891826129ab565b915061289c836129ab565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156128d1576128d0612ad4565b5b828201905092915050565b60006128e7826129ab565b91506128f2836129ab565b92508261290257612901612b03565b5b828204905092915050565b6000612918826129ab565b9150612923836129ab565b92508282101561293657612935612ad4565b5b828203905092915050565b600061294c8261298b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156129e25780820151818401526020810190506129c7565b838111156129f1576000848401525b50505050565b60006002820490506001821680612a0f57607f821691505b60208210811415612a2357612a22612b32565b5b50919050565b612a3282612bfa565b810181811067ffffffffffffffff82111715612a5157612a50612b90565b5b80604052505050565b6000612a65826129ab565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612a9857612a97612ad4565b5b600182019050919050565b6000612aae826129ab565b9150612ab9836129ab565b925082612ac957612ac8612b03565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115612bde5760046000803e612bdb600051612c0b565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015612fb657613039565b612fbe612731565b60043d036004823e80513d602482011167ffffffffffffffff82111715612fe6575050613039565b808201805167ffffffffffffffff8111156130045750505050613039565b80602083010160043d038501811115613021575050505050613039565b61303082602001850186612a29565b82955050505050505b90565b61304581612941565b811461305057600080fd5b50565b61305c81612953565b811461306757600080fd5b50565b6130738161295f565b811461307e57600080fd5b50565b61308a816129ab565b811461309557600080fd5b5056fea26469706673582212207cd7b2673eb5ae8fdf830f9f9b6db263df51b20a8e2e548408e2ea96c6c386f464736f6c63430008070033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.