ETH Price: $3,056.89 (+2.51%)
Gas: 1 Gwei

Contract

0x68607266e9118B971901239891e6280a8066fCEb
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Safe Transfer Fr...202158992024-07-02 2:37:594 days ago1719887879IN
0x68607266...a8066fCEb
0 ETH0.000133872.25184697
Safe Transfer Fr...201594792024-06-24 5:32:5912 days ago1719207179IN
0x68607266...a8066fCEb
0 ETH0.000150242.74921342
Safe Transfer Fr...201594522024-06-24 5:27:3512 days ago1719206855IN
0x68607266...a8066fCEb
0 ETH0.000191343.50523143
Safe Transfer Fr...201594502024-06-24 5:27:1112 days ago1719206831IN
0x68607266...a8066fCEb
0 ETH0.000189583.47300342
Set Approval For...200881222024-06-14 6:01:4722 days ago1718344907IN
0x68607266...a8066fCEb
0 ETH0.00037538.12539743
Transfer Ownersh...200866382024-06-14 1:03:1122 days ago1718326991IN
0x68607266...a8066fCEb
0 ETH0.000181456.71280764
Safe Transfer Fr...199027622024-05-19 8:22:2348 days ago1716106943IN
0x68607266...a8066fCEb
0 ETH0.000220214.03423812
Set Approval For...198784802024-05-15 22:50:5952 days ago1715813459IN
0x68607266...a8066fCEb
0 ETH0.000185754.02165178
Set Approval For...198713352024-05-14 22:55:3553 days ago1715727335IN
0x68607266...a8066fCEb
0 ETH0.000191474.14549381
Set Approval For...197428002024-04-26 23:28:4771 days ago1714174127IN
0x68607266...a8066fCEb
0 ETH0.000251925.45417116
Set Approval For...197374232024-04-26 5:22:2371 days ago1714108943IN
0x68607266...a8066fCEb
0 ETH0.000267685.79540248
Set Approval For...196445882024-04-13 5:31:5984 days ago1712986319IN
0x68607266...a8066fCEb
0 ETH0.0005599712.12346848
Set Approval For...192743992024-02-21 6:57:23136 days ago1708498643IN
0x68607266...a8066fCEb
0 ETH0.0007054329.05790433
Set Approval For...192034502024-02-11 7:50:35146 days ago1707637835IN
0x68607266...a8066fCEb
0 ETH0.0006380826.28360921
Safe Transfer Fr...191381402024-02-02 3:47:35155 days ago1706845655IN
0x68607266...a8066fCEb
0 ETH0.0008970316.43307467
Set Approval For...190050692024-01-14 12:16:47174 days ago1705234607IN
0x68607266...a8066fCEb
0 ETH0.0020208643.75211921
Set Approval For...190050152024-01-14 12:05:59174 days ago1705233959IN
0x68607266...a8066fCEb
0 ETH0.001829539.60916341
Set Approval For...189615472024-01-08 9:55:35180 days ago1704707735IN
0x68607266...a8066fCEb
0 ETH0.0007632116.52372725
Set Approval For...189519632024-01-07 1:27:11181 days ago1704590831IN
0x68607266...a8066fCEb
0 ETH0.0006275313.58633384
Safe Transfer Fr...189455692024-01-06 3:40:35182 days ago1704512435IN
0x68607266...a8066fCEb
0 ETH0.0005906410.82265645
Safe Transfer Fr...189358362024-01-04 18:45:47184 days ago1704393947IN
0x68607266...a8066fCEb
0 ETH0.0008404322.38108046
Safe Transfer Fr...189357722024-01-04 18:32:59184 days ago1704393179IN
0x68607266...a8066fCEb
0 ETH0.0013504424.7103992
Safe Transfer Fr...189357662024-01-04 18:31:47184 days ago1704393107IN
0x68607266...a8066fCEb
0 ETH0.0008846923.55971528
Set Approval For...188466332023-12-23 6:08:35196 days ago1703311715IN
0x68607266...a8066fCEb
0 ETH0.0005081520.93174593
Safe Transfer Fr...188276822023-12-20 14:21:47199 days ago1703082107IN
0x68607266...a8066fCEb
0 ETH0.0041157269.22892001
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NeoTokyoPunksCollabs

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-12-12
*/

// SPDX-License-Identifier: UNLISENCED

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://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 functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

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

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

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

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

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

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

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

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

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

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

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

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

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.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

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

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

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

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: address zero is not a valid owner");
        return _balances[id][account];
    }

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

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

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

        return batchBalances;
    }

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

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

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

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

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

    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.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.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;
    }
}

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

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

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

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

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

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

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

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

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

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;


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

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

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

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

pragma solidity ^0.8.0;

/**
 * @dev ERC1155 token with storage based token URI management.
 * Inspired by the ERC721URIStorage extension
 *
 * _Available since v4.6._
 */
abstract contract ERC1155URIStorage is ERC1155 {
    using Strings for uint256;

    // Optional base URI
    string private _baseURI = "";

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the concatenation of the `_baseURI`
     * and the token-specific uri if the latter is set
     *
     * This enables the following behaviors:
     *
     * - if `_tokenURIs[tokenId]` is set, then the result is the concatenation
     *   of `_baseURI` and `_tokenURIs[tokenId]` (keep in mind that `_baseURI`
     *   is empty per default);
     *
     * - if `_tokenURIs[tokenId]` is NOT set then we fallback to `super.uri()`
     *   which in most cases will contain `ERC1155._uri`;
     *
     * - if `_tokenURIs[tokenId]` is NOT set, and if the parents do not have a
     *   uri value set, then the result is empty.
     */
    function uri(uint256 tokenId) public view virtual override returns (string memory) {
        string memory tokenURI = _tokenURIs[tokenId];

        // If token URI is set, concatenate base URI and tokenURI (via abi.encodePacked).
        return bytes(tokenURI).length > 0 ? string(abi.encodePacked(_baseURI, tokenURI)) : super.uri(tokenId);
    }

    /**
     * @dev Sets `tokenURI` as the tokenURI of `tokenId`.
     */
    function _setURI(uint256 tokenId, string memory tokenURI) internal virtual {
        _tokenURIs[tokenId] = tokenURI;
        emit URI(uri(tokenId), tokenId);
    }

    /**
     * @dev Sets `baseURI` as the `_baseURI` for all tokens
     */
    function _setBaseURI(string memory baseURI) internal virtual {
        _baseURI = baseURI;
    }
}

abstract contract Ownable {
    address public owner; 
    constructor() { owner = msg.sender; }
    modifier onlyOwner { require(owner == msg.sender, "Not Owner"); _; }
    function transferOwnership(address new_) external onlyOwner { owner = new_; }
}

abstract contract MintToken is Ownable {
    mapping(address => bool) public minters;
    modifier onlyMinter { require(minters[msg.sender], "Not Minter"); _; }
    function setMinter(address address_, bool bool_) external onlyOwner {
        minters[address_] = bool_;
    }
}

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (subscribe) {
                operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    operatorFilterRegistry.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            // Allow spending tokens from addresses with balance
            // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
            // from an EOA.
            if (from == msg.sender) {
                _;
                return;
            }
            if (
                !(
                    operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)
                        && operatorFilterRegistry.isOperatorAllowed(address(this), from)
                )
            ) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}

/// @title Neo Tokyo Punks Collabs
/// @author sumotechnologies

contract NeoTokyoPunksCollabs is ERC1155URIStorage, Ownable, MintToken, OperatorFilterer {
    
    string private _baseURI = "";
    mapping(uint256 => string) private _tokenURIs;

    constructor() ERC1155("") OperatorFilterer(address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6), true) {}

    function mint(address to, uint256 id, uint256 amount, bytes memory data) public onlyOwner {
        _mint(to, id, amount, data);
    }

    function mintMany(address[] calldata addrs, uint256 id, uint256 amount, bytes memory data) external onlyOwner {
        uint256 l = addrs.length;
        uint256 i; unchecked { do {
            _mint(addrs[i], id, amount, data);
        } while (++i < l); }
    }

    function mintToken(address to, uint256 id, uint256 amount, bytes memory data) external onlyMinter {
        _mint(to, id, amount, data);
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        _setBaseURI(_newBaseURI);
    }

    function setEachURI(uint256 _id, string memory _newURI) public onlyOwner {
        _setURI(_id, _newURI);
    }

    function uri(uint256 tokenId) public view override returns (string memory) {
        string memory tokenURI = _tokenURIs[tokenId];
        return bytes(tokenURI).length > 0 ? string(abi.encodePacked(_baseURI, tokenURI)) : super.uri(tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, uint256 amount, bytes memory data)
        public
        override
        onlyAllowedOperator(from)
    {
        super.safeTransferFrom(from, to, tokenId, amount, data);
    }

    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override onlyAllowedOperator(from) {
        super.safeBatchTransferFrom(from, to, ids, amounts, data);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mintMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"mintToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"tokenId","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"string","name":"_newURI","type":"string"}],"name":"setEachURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setMinter","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":"address","name":"new_","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60a06040819052600060808190526200001b91600391620001fc565b506040805160208101918290526000908190526200003c91600791620001fc565b503480156200004a57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb66001604051806020016040528060008152506200008381620001e360201b60201c565b50600580546001600160a01b031916331790556daaeb6d7670e522a718067333cd4e3b15620001db5780156200012957604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200010a57600080fd5b505af11580156200011f573d6000803e3d6000fd5b50505050620001db565b6001600160a01b038216156200017a5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000ef565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001c157600080fd5b505af1158015620001d6573d6000803e3d6000fd5b505050505b5050620002de565b8051620001f8906002906020840190620001fc565b5050565b8280546200020a90620002a2565b90600052602060002090601f0160209004810192826200022e576000855562000279565b82601f106200024957805160ff191683800117855562000279565b8280016001018555821562000279579182015b82811115620002795782518255916020019190600101906200025c565b50620002879291506200028b565b5090565b5b808211156200028757600081556001016200028c565b600181811c90821680620002b757607f821691505b602082108103620002d857634e487b7160e01b600052602260045260246000fd5b50919050565b611fdc80620002ee6000396000f3fe608060405234801561001057600080fd5b506004361061010a5760003560e01c80635e315f8b116100a2578063cf456ae711610071578063cf456ae71461024a578063e985e9c51461025d578063f242432a14610299578063f2fde38b146102ac578063f46eccc4146102bf57600080fd5b80635e315f8b146101e6578063731133e9146101f95780638da5cb5b1461020c578063a22cb4651461023757600080fd5b80632eb2c2d6116100de5780632eb2c2d61461018d578063317d9573146101a05780634e1273f4146101b357806355f804b3146101d357600080fd5b8062fdd58e1461010f57806301ffc9a7146101355780630e89341c146101585780631004484a14610178575b600080fd5b61012261011d366004611509565b6102e2565b6040519081526020015b60405180910390f35b610148610143366004611549565b610378565b604051901515815260200161012c565b61016b610166366004611566565b6103ca565b60405161012c91906115d7565b61018b6101863660046116a1565b6104aa565b005b61018b61019b3660046117e1565b61051d565b61018b6101ae366004611871565b61067f565b6101c66101c13660046118b8565b6106b7565b60405161012c91906119b4565b61018b6101e13660046119c7565b6107e1565b61018b6101f4366004611a04565b610817565b61018b610207366004611a04565b610875565b60055461021f906001600160a01b031681565b6040516001600160a01b03909116815260200161012c565b61018b610245366004611a73565b61089f565b61018b610258366004611a73565b6108aa565b61014861026b366004611aaa565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61018b6102a7366004611add565b6108ff565b61018b6102ba366004611b42565b610a54565b6101486102cd366004611b42565b60066020526000908152604090205460ff1681565b60006001600160a01b0383166103525760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b14806103a957506001600160e01b031982166303a24d0760e21b145b806103c457506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000818152600860205260408120805460609291906103e890611b5d565b80601f016020809104026020016040519081016040528092919081815260200182805461041490611b5d565b80156104615780601f1061043657610100808354040283529160200191610461565b820191906000526020600020905b81548152906001019060200180831161044457829003601f168201915b50505050509050600081511161047f5761047a83610aa0565b6104a3565b600781604051602001610493929190611bb3565b6040516020818303038152906040525b9392505050565b6005546001600160a01b031633146104d45760405162461bcd60e51b815260040161034990611c59565b8360005b61050a8787838181106104ed576104ed611c7c565b90506020020160208101906105029190611b42565b868686610b64565b6001018181106104d85750505050505050565b846daaeb6d7670e522a718067333cd4e3b1561066a57336001600160a01b03821603610555576105508686868686610c78565b610677565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156105a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c89190611c92565b801561064b5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610627573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064b9190611c92565b61066a57604051633b79c77360e21b8152336004820152602401610349565b6106778686868686610c78565b505050505050565b6005546001600160a01b031633146106a95760405162461bcd60e51b815260040161034990611c59565b6106b38282610cc4565b5050565b6060815183511461071c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610349565b6000835167ffffffffffffffff811115610738576107386115ea565b604051908082528060200260200182016040528015610761578160200160208202803683370190505b50905060005b84518110156107d9576107ac85828151811061078557610785611c7c565b602002602001015185838151811061079f5761079f611c7c565b60200260200101516102e2565b8282815181106107be576107be611c7c565b60209081029190910101526107d281611cc5565b9050610767565b509392505050565b6005546001600160a01b0316331461080b5760405162461bcd60e51b815260040161034990611c59565b61081481610d28565b50565b3360009081526006602052604090205460ff166108635760405162461bcd60e51b815260206004820152600a6024820152692737ba1026b4b73a32b960b11b6044820152606401610349565b61086f84848484610b64565b50505050565b6005546001600160a01b031633146108635760405162461bcd60e51b815260040161034990611c59565b6106b3338383610d3b565b6005546001600160a01b031633146108d45760405162461bcd60e51b815260040161034990611c59565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b846daaeb6d7670e522a718067333cd4e3b15610a4757336001600160a01b03821603610932576105508686868686610e1b565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610981573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a59190611c92565b8015610a285750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610a04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a289190611c92565b610a4757604051633b79c77360e21b8152336004820152602401610349565b6106778686868686610e1b565b6005546001600160a01b03163314610a7e5760405162461bcd60e51b815260040161034990611c59565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b600081815260046020526040812080546060929190610abe90611b5d565b80601f0160208091040260200160405190810160405280929190818152602001828054610aea90611b5d565b8015610b375780601f10610b0c57610100808354040283529160200191610b37565b820191906000526020600020905b815481529060010190602001808311610b1a57829003601f168201915b505050505090506000815111610b505761047a83610e60565b600381604051602001610493929190611bb3565b6001600160a01b038416610bc45760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610349565b336000610bd085610ef4565b90506000610bdd85610ef4565b90506000868152602081815260408083206001600160a01b038b16845290915281208054879290610c0f908490611cde565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610c6f83600089898989610f3f565b50505050505050565b6001600160a01b038516331480610c945750610c94853361026b565b610cb05760405162461bcd60e51b815260040161034990611cf6565b610cbd858585858561109a565b5050505050565b60008281526004602090815260409091208251610ce392840190611454565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b610d0f846103ca565b604051610d1c91906115d7565b60405180910390a25050565b80516106b3906003906020840190611454565b816001600160a01b0316836001600160a01b031603610dae5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610349565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038516331480610e375750610e37853361026b565b610e535760405162461bcd60e51b815260040161034990611cf6565b610cbd858585858561126f565b606060028054610e6f90611b5d565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9b90611b5d565b8015610ee85780601f10610ebd57610100808354040283529160200191610ee8565b820191906000526020600020905b815481529060010190602001808311610ecb57829003601f168201915b50505050509050919050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110610f2e57610f2e611c7c565b602090810291909101015292915050565b6001600160a01b0384163b156106775760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190610f839089908990889088908890600401611d44565b6020604051808303816000875af1925050508015610fbe575060408051601f3d908101601f19168201909252610fbb91810190611d89565b60015b61106a57610fca611da6565b806308c379a0036110035750610fde611dc2565b80610fe95750611005565b8060405162461bcd60e51b815260040161034991906115d7565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610349565b6001600160e01b0319811663f23a6e6160e01b14610c6f5760405162461bcd60e51b815260040161034990611e4c565b81518351146110fc5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610349565b6001600160a01b0384166111225760405162461bcd60e51b815260040161034990611e94565b3360005b845181101561120957600085828151811061114357611143611c7c565b60200260200101519050600085838151811061116157611161611c7c565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156111b15760405162461bcd60e51b815260040161034990611ed9565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906111ee908490611cde565b925050819055505050508061120290611cc5565b9050611126565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611259929190611f23565b60405180910390a4610677818787878787611399565b6001600160a01b0384166112955760405162461bcd60e51b815260040161034990611e94565b3360006112a185610ef4565b905060006112ae85610ef4565b90506000868152602081815260408083206001600160a01b038c168452909152902054858110156112f15760405162461bcd60e51b815260040161034990611ed9565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a1682528120805488929061132e908490611cde565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461138e848a8a8a8a8a610f3f565b505050505050505050565b6001600160a01b0384163b156106775760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906113dd9089908990889088908890600401611f48565b6020604051808303816000875af1925050508015611418575060408051601f3d908101601f1916820190925261141591810190611d89565b60015b61142457610fca611da6565b6001600160e01b0319811663bc197c8160e01b14610c6f5760405162461bcd60e51b815260040161034990611e4c565b82805461146090611b5d565b90600052602060002090601f01602090048101928261148257600085556114c8565b82601f1061149b57805160ff19168380011785556114c8565b828001600101855582156114c8579182015b828111156114c85782518255916020019190600101906114ad565b506114d49291506114d8565b5090565b5b808211156114d457600081556001016114d9565b80356001600160a01b038116811461150457600080fd5b919050565b6000806040838503121561151c57600080fd5b611525836114ed565b946020939093013593505050565b6001600160e01b03198116811461081457600080fd5b60006020828403121561155b57600080fd5b81356104a381611533565b60006020828403121561157857600080fd5b5035919050565b60005b8381101561159a578181015183820152602001611582565b8381111561086f5750506000910152565b600081518084526115c381602086016020860161157f565b601f01601f19169290920160200192915050565b6020815260006104a360208301846115ab565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715611626576116266115ea565b6040525050565b600082601f83011261163e57600080fd5b813567ffffffffffffffff811115611658576116586115ea565b60405161166f601f8301601f191660200182611600565b81815284602083860101111561168457600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000806000608086880312156116b957600080fd5b853567ffffffffffffffff808211156116d157600080fd5b818801915088601f8301126116e557600080fd5b8135818111156116f457600080fd5b8960208260051b850101111561170957600080fd5b602092830197509550908701359350604087013592506060870135908082111561173257600080fd5b5061173f8882890161162d565b9150509295509295909350565b600067ffffffffffffffff821115611766576117666115ea565b5060051b60200190565b600082601f83011261178157600080fd5b8135602061178e8261174c565b60405161179b8282611600565b83815260059390931b85018201928281019150868411156117bb57600080fd5b8286015b848110156117d657803583529183019183016117bf565b509695505050505050565b600080600080600060a086880312156117f957600080fd5b611802866114ed565b9450611810602087016114ed565b9350604086013567ffffffffffffffff8082111561182d57600080fd5b61183989838a01611770565b9450606088013591508082111561184f57600080fd5b61185b89838a01611770565b9350608088013591508082111561173257600080fd5b6000806040838503121561188457600080fd5b82359150602083013567ffffffffffffffff8111156118a257600080fd5b6118ae8582860161162d565b9150509250929050565b600080604083850312156118cb57600080fd5b823567ffffffffffffffff808211156118e357600080fd5b818501915085601f8301126118f757600080fd5b813560206119048261174c565b6040516119118282611600565b83815260059390931b850182019282810191508984111561193157600080fd5b948201945b8386101561195657611947866114ed565b82529482019490820190611936565b9650508601359250508082111561196c57600080fd5b506118ae85828601611770565b600081518084526020808501945080840160005b838110156119a95781518752958201959082019060010161198d565b509495945050505050565b6020815260006104a36020830184611979565b6000602082840312156119d957600080fd5b813567ffffffffffffffff8111156119f057600080fd5b6119fc8482850161162d565b949350505050565b60008060008060808587031215611a1a57600080fd5b611a23856114ed565b93506020850135925060408501359150606085013567ffffffffffffffff811115611a4d57600080fd5b611a598782880161162d565b91505092959194509250565b801515811461081457600080fd5b60008060408385031215611a8657600080fd5b611a8f836114ed565b91506020830135611a9f81611a65565b809150509250929050565b60008060408385031215611abd57600080fd5b611ac6836114ed565b9150611ad4602084016114ed565b90509250929050565b600080600080600060a08688031215611af557600080fd5b611afe866114ed565b9450611b0c602087016114ed565b93506040860135925060608601359150608086013567ffffffffffffffff811115611b3657600080fd5b61173f8882890161162d565b600060208284031215611b5457600080fd5b6104a3826114ed565b600181811c90821680611b7157607f821691505b602082108103611b9157634e487b7160e01b600052602260045260246000fd5b50919050565b60008151611ba981856020860161157f565b9290920192915050565b600080845481600182811c915080831680611bcf57607f831692505b60208084108203611bee57634e487b7160e01b86526022600452602486fd5b818015611c025760018114611c1357611c40565b60ff19861689528489019650611c40565b60008b81526020902060005b86811015611c385781548b820152908501908301611c1f565b505084890196505b505050505050611c508185611b97565b95945050505050565b6020808252600990820152682737ba1027bbb732b960b91b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611ca457600080fd5b81516104a381611a65565b634e487b7160e01b600052601160045260246000fd5b600060018201611cd757611cd7611caf565b5060010190565b60008219821115611cf157611cf1611caf565b500190565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090611d7e908301846115ab565b979650505050505050565b600060208284031215611d9b57600080fd5b81516104a381611533565b600060033d1115611dbf5760046000803e5060005160e01c5b90565b600060443d1015611dd05790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715611e0057505050505090565b8285019150815181811115611e185750505050505090565b843d8701016020828501011115611e325750505050505090565b611e4160208286010187611600565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b604081526000611f366040830185611979565b8281036020840152611c508185611979565b6001600160a01b0386811682528516602082015260a060408201819052600090611f7490830186611979565b8281036060840152611f868186611979565b90508281036080840152611f9a81856115ab565b9897505050505050505056fea264697066735822122046c5523a6d490903cfaa50b2d59f9936615ab99656912fa2fac1dbc055dec17464736f6c634300080d0033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010a5760003560e01c80635e315f8b116100a2578063cf456ae711610071578063cf456ae71461024a578063e985e9c51461025d578063f242432a14610299578063f2fde38b146102ac578063f46eccc4146102bf57600080fd5b80635e315f8b146101e6578063731133e9146101f95780638da5cb5b1461020c578063a22cb4651461023757600080fd5b80632eb2c2d6116100de5780632eb2c2d61461018d578063317d9573146101a05780634e1273f4146101b357806355f804b3146101d357600080fd5b8062fdd58e1461010f57806301ffc9a7146101355780630e89341c146101585780631004484a14610178575b600080fd5b61012261011d366004611509565b6102e2565b6040519081526020015b60405180910390f35b610148610143366004611549565b610378565b604051901515815260200161012c565b61016b610166366004611566565b6103ca565b60405161012c91906115d7565b61018b6101863660046116a1565b6104aa565b005b61018b61019b3660046117e1565b61051d565b61018b6101ae366004611871565b61067f565b6101c66101c13660046118b8565b6106b7565b60405161012c91906119b4565b61018b6101e13660046119c7565b6107e1565b61018b6101f4366004611a04565b610817565b61018b610207366004611a04565b610875565b60055461021f906001600160a01b031681565b6040516001600160a01b03909116815260200161012c565b61018b610245366004611a73565b61089f565b61018b610258366004611a73565b6108aa565b61014861026b366004611aaa565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61018b6102a7366004611add565b6108ff565b61018b6102ba366004611b42565b610a54565b6101486102cd366004611b42565b60066020526000908152604090205460ff1681565b60006001600160a01b0383166103525760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b14806103a957506001600160e01b031982166303a24d0760e21b145b806103c457506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000818152600860205260408120805460609291906103e890611b5d565b80601f016020809104026020016040519081016040528092919081815260200182805461041490611b5d565b80156104615780601f1061043657610100808354040283529160200191610461565b820191906000526020600020905b81548152906001019060200180831161044457829003601f168201915b50505050509050600081511161047f5761047a83610aa0565b6104a3565b600781604051602001610493929190611bb3565b6040516020818303038152906040525b9392505050565b6005546001600160a01b031633146104d45760405162461bcd60e51b815260040161034990611c59565b8360005b61050a8787838181106104ed576104ed611c7c565b90506020020160208101906105029190611b42565b868686610b64565b6001018181106104d85750505050505050565b846daaeb6d7670e522a718067333cd4e3b1561066a57336001600160a01b03821603610555576105508686868686610c78565b610677565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156105a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c89190611c92565b801561064b5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610627573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064b9190611c92565b61066a57604051633b79c77360e21b8152336004820152602401610349565b6106778686868686610c78565b505050505050565b6005546001600160a01b031633146106a95760405162461bcd60e51b815260040161034990611c59565b6106b38282610cc4565b5050565b6060815183511461071c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610349565b6000835167ffffffffffffffff811115610738576107386115ea565b604051908082528060200260200182016040528015610761578160200160208202803683370190505b50905060005b84518110156107d9576107ac85828151811061078557610785611c7c565b602002602001015185838151811061079f5761079f611c7c565b60200260200101516102e2565b8282815181106107be576107be611c7c565b60209081029190910101526107d281611cc5565b9050610767565b509392505050565b6005546001600160a01b0316331461080b5760405162461bcd60e51b815260040161034990611c59565b61081481610d28565b50565b3360009081526006602052604090205460ff166108635760405162461bcd60e51b815260206004820152600a6024820152692737ba1026b4b73a32b960b11b6044820152606401610349565b61086f84848484610b64565b50505050565b6005546001600160a01b031633146108635760405162461bcd60e51b815260040161034990611c59565b6106b3338383610d3b565b6005546001600160a01b031633146108d45760405162461bcd60e51b815260040161034990611c59565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b846daaeb6d7670e522a718067333cd4e3b15610a4757336001600160a01b03821603610932576105508686868686610e1b565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610981573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a59190611c92565b8015610a285750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610a04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a289190611c92565b610a4757604051633b79c77360e21b8152336004820152602401610349565b6106778686868686610e1b565b6005546001600160a01b03163314610a7e5760405162461bcd60e51b815260040161034990611c59565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b600081815260046020526040812080546060929190610abe90611b5d565b80601f0160208091040260200160405190810160405280929190818152602001828054610aea90611b5d565b8015610b375780601f10610b0c57610100808354040283529160200191610b37565b820191906000526020600020905b815481529060010190602001808311610b1a57829003601f168201915b505050505090506000815111610b505761047a83610e60565b600381604051602001610493929190611bb3565b6001600160a01b038416610bc45760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610349565b336000610bd085610ef4565b90506000610bdd85610ef4565b90506000868152602081815260408083206001600160a01b038b16845290915281208054879290610c0f908490611cde565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610c6f83600089898989610f3f565b50505050505050565b6001600160a01b038516331480610c945750610c94853361026b565b610cb05760405162461bcd60e51b815260040161034990611cf6565b610cbd858585858561109a565b5050505050565b60008281526004602090815260409091208251610ce392840190611454565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b610d0f846103ca565b604051610d1c91906115d7565b60405180910390a25050565b80516106b3906003906020840190611454565b816001600160a01b0316836001600160a01b031603610dae5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610349565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038516331480610e375750610e37853361026b565b610e535760405162461bcd60e51b815260040161034990611cf6565b610cbd858585858561126f565b606060028054610e6f90611b5d565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9b90611b5d565b8015610ee85780601f10610ebd57610100808354040283529160200191610ee8565b820191906000526020600020905b815481529060010190602001808311610ecb57829003601f168201915b50505050509050919050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110610f2e57610f2e611c7c565b602090810291909101015292915050565b6001600160a01b0384163b156106775760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190610f839089908990889088908890600401611d44565b6020604051808303816000875af1925050508015610fbe575060408051601f3d908101601f19168201909252610fbb91810190611d89565b60015b61106a57610fca611da6565b806308c379a0036110035750610fde611dc2565b80610fe95750611005565b8060405162461bcd60e51b815260040161034991906115d7565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610349565b6001600160e01b0319811663f23a6e6160e01b14610c6f5760405162461bcd60e51b815260040161034990611e4c565b81518351146110fc5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610349565b6001600160a01b0384166111225760405162461bcd60e51b815260040161034990611e94565b3360005b845181101561120957600085828151811061114357611143611c7c565b60200260200101519050600085838151811061116157611161611c7c565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156111b15760405162461bcd60e51b815260040161034990611ed9565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906111ee908490611cde565b925050819055505050508061120290611cc5565b9050611126565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611259929190611f23565b60405180910390a4610677818787878787611399565b6001600160a01b0384166112955760405162461bcd60e51b815260040161034990611e94565b3360006112a185610ef4565b905060006112ae85610ef4565b90506000868152602081815260408083206001600160a01b038c168452909152902054858110156112f15760405162461bcd60e51b815260040161034990611ed9565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a1682528120805488929061132e908490611cde565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461138e848a8a8a8a8a610f3f565b505050505050505050565b6001600160a01b0384163b156106775760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906113dd9089908990889088908890600401611f48565b6020604051808303816000875af1925050508015611418575060408051601f3d908101601f1916820190925261141591810190611d89565b60015b61142457610fca611da6565b6001600160e01b0319811663bc197c8160e01b14610c6f5760405162461bcd60e51b815260040161034990611e4c565b82805461146090611b5d565b90600052602060002090601f01602090048101928261148257600085556114c8565b82601f1061149b57805160ff19168380011785556114c8565b828001600101855582156114c8579182015b828111156114c85782518255916020019190600101906114ad565b506114d49291506114d8565b5090565b5b808211156114d457600081556001016114d9565b80356001600160a01b038116811461150457600080fd5b919050565b6000806040838503121561151c57600080fd5b611525836114ed565b946020939093013593505050565b6001600160e01b03198116811461081457600080fd5b60006020828403121561155b57600080fd5b81356104a381611533565b60006020828403121561157857600080fd5b5035919050565b60005b8381101561159a578181015183820152602001611582565b8381111561086f5750506000910152565b600081518084526115c381602086016020860161157f565b601f01601f19169290920160200192915050565b6020815260006104a360208301846115ab565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715611626576116266115ea565b6040525050565b600082601f83011261163e57600080fd5b813567ffffffffffffffff811115611658576116586115ea565b60405161166f601f8301601f191660200182611600565b81815284602083860101111561168457600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000806000608086880312156116b957600080fd5b853567ffffffffffffffff808211156116d157600080fd5b818801915088601f8301126116e557600080fd5b8135818111156116f457600080fd5b8960208260051b850101111561170957600080fd5b602092830197509550908701359350604087013592506060870135908082111561173257600080fd5b5061173f8882890161162d565b9150509295509295909350565b600067ffffffffffffffff821115611766576117666115ea565b5060051b60200190565b600082601f83011261178157600080fd5b8135602061178e8261174c565b60405161179b8282611600565b83815260059390931b85018201928281019150868411156117bb57600080fd5b8286015b848110156117d657803583529183019183016117bf565b509695505050505050565b600080600080600060a086880312156117f957600080fd5b611802866114ed565b9450611810602087016114ed565b9350604086013567ffffffffffffffff8082111561182d57600080fd5b61183989838a01611770565b9450606088013591508082111561184f57600080fd5b61185b89838a01611770565b9350608088013591508082111561173257600080fd5b6000806040838503121561188457600080fd5b82359150602083013567ffffffffffffffff8111156118a257600080fd5b6118ae8582860161162d565b9150509250929050565b600080604083850312156118cb57600080fd5b823567ffffffffffffffff808211156118e357600080fd5b818501915085601f8301126118f757600080fd5b813560206119048261174c565b6040516119118282611600565b83815260059390931b850182019282810191508984111561193157600080fd5b948201945b8386101561195657611947866114ed565b82529482019490820190611936565b9650508601359250508082111561196c57600080fd5b506118ae85828601611770565b600081518084526020808501945080840160005b838110156119a95781518752958201959082019060010161198d565b509495945050505050565b6020815260006104a36020830184611979565b6000602082840312156119d957600080fd5b813567ffffffffffffffff8111156119f057600080fd5b6119fc8482850161162d565b949350505050565b60008060008060808587031215611a1a57600080fd5b611a23856114ed565b93506020850135925060408501359150606085013567ffffffffffffffff811115611a4d57600080fd5b611a598782880161162d565b91505092959194509250565b801515811461081457600080fd5b60008060408385031215611a8657600080fd5b611a8f836114ed565b91506020830135611a9f81611a65565b809150509250929050565b60008060408385031215611abd57600080fd5b611ac6836114ed565b9150611ad4602084016114ed565b90509250929050565b600080600080600060a08688031215611af557600080fd5b611afe866114ed565b9450611b0c602087016114ed565b93506040860135925060608601359150608086013567ffffffffffffffff811115611b3657600080fd5b61173f8882890161162d565b600060208284031215611b5457600080fd5b6104a3826114ed565b600181811c90821680611b7157607f821691505b602082108103611b9157634e487b7160e01b600052602260045260246000fd5b50919050565b60008151611ba981856020860161157f565b9290920192915050565b600080845481600182811c915080831680611bcf57607f831692505b60208084108203611bee57634e487b7160e01b86526022600452602486fd5b818015611c025760018114611c1357611c40565b60ff19861689528489019650611c40565b60008b81526020902060005b86811015611c385781548b820152908501908301611c1f565b505084890196505b505050505050611c508185611b97565b95945050505050565b6020808252600990820152682737ba1027bbb732b960b91b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611ca457600080fd5b81516104a381611a65565b634e487b7160e01b600052601160045260246000fd5b600060018201611cd757611cd7611caf565b5060010190565b60008219821115611cf157611cf1611caf565b500190565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090611d7e908301846115ab565b979650505050505050565b600060208284031215611d9b57600080fd5b81516104a381611533565b600060033d1115611dbf5760046000803e5060005160e01c5b90565b600060443d1015611dd05790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715611e0057505050505090565b8285019150815181811115611e185750505050505090565b843d8701016020828501011115611e325750505050505090565b611e4160208286010187611600565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b604081526000611f366040830185611979565b8281036020840152611c508185611979565b6001600160a01b0386811682528516602082015260a060408201819052600090611f7490830186611979565b8281036060840152611f868186611979565b90508281036080840152611f9a81856115ab565b9897505050505050505056fea264697066735822122046c5523a6d490903cfaa50b2d59f9936615ab99656912fa2fac1dbc055dec17464736f6c634300080d0033

Deployed Bytecode Sourcemap

57903:1934:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20701:230;;;;;;:::i;:::-;;:::i;:::-;;;597:25:1;;;585:2;570:18;20701:230:0;;;;;;;;19724:310;;;;;;:::i;:::-;;:::i;:::-;;;1184:14:1;;1177:22;1159:41;;1147:2;1132:18;19724:310:0;1019:187:1;59014:250:0;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;58350:268::-;;;;;;:::i;:::-;;:::i;:::-;;59532:302;;;;;;:::i;:::-;;:::i;58893:113::-;;;;;;:::i;:::-;;:::i;21097:524::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;58778:107::-;;;;;;:::i;:::-;;:::i;58626:144::-;;;;;;:::i;:::-;;:::i;58206:136::-;;;;;;:::i;:::-;;:::i;53158:20::-;;;;;-1:-1:-1;;;;;53158:20:0;;;;;;-1:-1:-1;;;;;9280:32:1;;;9262:51;;9250:2;9235:18;53158:20:0;9116:203:1;21694:155:0;;;;;;:::i;:::-;;:::i;53555:112::-;;;;;;:::i;:::-;;:::i;21921:168::-;;;;;;:::i;:::-;-1:-1:-1;;;;;22044:27:0;;;22020:4;22044:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;21921:168;59272:252;;;;;;:::i;:::-;;:::i;53303:77::-;;;;;;:::i;:::-;;:::i;53433:39::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;20701:230;20787:7;-1:-1:-1;;;;;20815:21:0;;20807:76;;;;-1:-1:-1;;;20807:76:0;;11036:2:1;20807:76:0;;;11018:21:1;11075:2;11055:18;;;11048:30;11114:34;11094:18;;;11087:62;-1:-1:-1;;;11165:18:1;;;11158:40;11215:19;;20807:76:0;;;;;;;;;-1:-1:-1;20901:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;20901:22:0;;;;;;;;;;;;20701:230::o;19724:310::-;19826:4;-1:-1:-1;;;;;;19863:41:0;;-1:-1:-1;;;19863:41:0;;:110;;-1:-1:-1;;;;;;;19921:52:0;;-1:-1:-1;;;19921:52:0;19863:110;:163;;;-1:-1:-1;;;;;;;;;;11737:40:0;;;19990:36;19843:183;19724:310;-1:-1:-1;;19724:310:0:o;59014:250::-;59100:22;59125:19;;;:10;:19;;;;;59100:44;;59074:13;;59100:22;59125:19;59100:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59187:1;59168:8;59162:22;:26;:94;;59238:18;59248:7;59238:9;:18::i;:::-;59162:94;;;59215:8;59225;59198:36;;;;;;;;;:::i;:::-;;;;;;;;;;;;;59162:94;59155:101;59014:250;-1:-1:-1;;;59014:250:0:o;58350:268::-;53258:5;;-1:-1:-1;;;;;53258:5:0;53267:10;53258:19;53250:41;;;;-1:-1:-1;;;53250:41:0;;;;;;;:::i;:::-;58483:5;58471:9:::1;58529:80;58547:33;58553:5;;58559:1;58553:8;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;58563:2;58567:6;58575:4;58547:5;:33::i;:::-;58600:3;;:7:::0;;::::1;58529:80;;58460:158;;58350:268:::0;;;;;:::o;59532:302::-;59752:4;55974:42;57114:43;:47;57110:699;;57401:10;-1:-1:-1;;;;;57393:18:0;;;57389:85;;59769:57:::1;59797:4;59803:2;59807:3;59812:7;59821:4;59769:27;:57::i;:::-;57452:7:::0;;57389:85;57534:67;;-1:-1:-1;;;57534:67:0;;57583:4;57534:67;;;13806:34:1;57590:10:0;13856:18:1;;;13849:43;55974:42:0;;57534:40;;13741:18:1;;57534:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;57630:61:0;;-1:-1:-1;;;57630:61:0;;57679:4;57630:61;;;13806:34:1;-1:-1:-1;;;;;13876:15:1;;13856:18;;;13849:43;55974:42:0;;57630:40;;13741:18:1;;57630:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57488:310;;57752:30;;-1:-1:-1;;;57752:30:0;;57771:10;57752:30;;;9262:51:1;9235:18;;57752:30:0;9116:203:1;57488:310:0;59769:57:::1;59797:4;59803:2;59807:3;59812:7;59821:4;59769:27;:57::i;:::-;59532:302:::0;;;;;;:::o;58893:113::-;53258:5;;-1:-1:-1;;;;;53258:5:0;53267:10;53258:19;53250:41;;;;-1:-1:-1;;;53250:41:0;;;;;;;:::i;:::-;58977:21:::1;58985:3;58990:7;58977;:21::i;:::-;58893:113:::0;;:::o;21097:524::-;21253:16;21314:3;:10;21295:8;:15;:29;21287:83;;;;-1:-1:-1;;;21287:83:0;;14355:2:1;21287:83:0;;;14337:21:1;14394:2;14374:18;;;14367:30;14433:34;14413:18;;;14406:62;-1:-1:-1;;;14484:18:1;;;14477:39;14533:19;;21287:83:0;14153:405:1;21287:83:0;21383:30;21430:8;:15;21416:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21416:30:0;;21383:63;;21464:9;21459:122;21483:8;:15;21479:1;:19;21459:122;;;21539:30;21549:8;21558:1;21549:11;;;;;;;;:::i;:::-;;;;;;;21562:3;21566:1;21562:6;;;;;;;;:::i;:::-;;;;;;;21539:9;:30::i;:::-;21520:13;21534:1;21520:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;21500:3;;;:::i;:::-;;;21459:122;;;-1:-1:-1;21600:13:0;21097:524;-1:-1:-1;;;21097:524:0:o;58778:107::-;53258:5;;-1:-1:-1;;;;;53258:5:0;53267:10;53258:19;53250:41;;;;-1:-1:-1;;;53250:41:0;;;;;;;:::i;:::-;58853:24:::1;58865:11;58853;:24::i;:::-;58778:107:::0;:::o;58626:144::-;53517:10;53509:19;;;;:7;:19;;;;;;;;53501:42;;;;-1:-1:-1;;;53501:42:0;;15037:2:1;53501:42:0;;;15019:21:1;15076:2;15056:18;;;15049:30;-1:-1:-1;;;15095:18:1;;;15088:40;15145:18;;53501:42:0;14835:334:1;53501:42:0;58735:27:::1;58741:2;58745;58749:6;58757:4;58735:5;:27::i;:::-;58626:144:::0;;;;:::o;58206:136::-;53258:5;;-1:-1:-1;;;;;53258:5:0;53267:10;53258:19;53250:41;;;;-1:-1:-1;;;53250:41:0;;;;;;;:::i;21694:155::-;21789:52;689:10;21822:8;21832;21789:18;:52::i;53555:112::-;53258:5;;-1:-1:-1;;;;;53258:5:0;53267:10;53258:19;53250:41;;;;-1:-1:-1;;;53250:41:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;53634:17:0;;;::::1;;::::0;;;:7:::1;:17;::::0;;;;:25;;-1:-1:-1;;53634:25:0::1;::::0;::::1;;::::0;;;::::1;::::0;;53555:112::o;59272:252::-;59439:4;55974:42;57114:43;:47;57110:699;;57401:10;-1:-1:-1;;;;;57393:18:0;;;57389:85;;59461:55:::1;59484:4;59490:2;59494:7;59503:6;59511:4;59461:22;:55::i;57389:85::-:0;57534:67;;-1:-1:-1;;;57534:67:0;;57583:4;57534:67;;;13806:34:1;57590:10:0;13856:18:1;;;13849:43;55974:42:0;;57534:40;;13741:18:1;;57534:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;57630:61:0;;-1:-1:-1;;;57630:61:0;;57679:4;57630:61;;;13806:34:1;-1:-1:-1;;;;;13876:15:1;;13856:18;;;13849:43;55974:42:0;;57630:40;;13741:18:1;;57630:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57488:310;;57752:30;;-1:-1:-1;;;57752:30:0;;57771:10;57752:30;;;9262:51:1;9235:18;;57752:30:0;9116:203:1;57488:310:0;59461:55:::1;59484:4;59490:2;59494:7;59503:6;59511:4;59461:22;:55::i;53303:77::-:0;53258:5;;-1:-1:-1;;;;;53258:5:0;53267:10;53258:19;53250:41;;;;-1:-1:-1;;;53250:41:0;;;;;;;:::i;:::-;53365:5:::1;:12:::0;;-1:-1:-1;;;;;;53365:12:0::1;-1:-1:-1::0;;;;;53365:12:0;;;::::1;::::0;;;::::1;::::0;;53303:77::o;52331:351::-;52425:22;52450:19;;;:10;:19;;;;;52425:44;;52399:13;;52425:22;52450:19;52425:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52605:1;52586:8;52580:22;:26;:94;;52656:18;52666:7;52656:9;:18::i;52580:94::-;52633:8;52643;52616:36;;;;;;;;;:::i;27342:729::-;-1:-1:-1;;;;;27495:16:0;;27487:62;;;;-1:-1:-1;;;27487:62:0;;15376:2:1;27487:62:0;;;15358:21:1;15415:2;15395:18;;;15388:30;15454:34;15434:18;;;15427:62;-1:-1:-1;;;15505:18:1;;;15498:31;15546:19;;27487:62:0;15174:397:1;27487:62:0;689:10;27562:16;27627:21;27645:2;27627:17;:21::i;:::-;27604:44;;27659:24;27686:25;27704:6;27686:17;:25::i;:::-;27659:52;;27803:9;:13;;;;;;;;;;;-1:-1:-1;;;;;27803:17:0;;;;;;;;;:27;;27824:6;;27803:9;:27;;27824:6;;27803:27;:::i;:::-;;;;-1:-1:-1;;27846:52:0;;;15883:25:1;;;15939:2;15924:18;;15917:34;;;-1:-1:-1;;;;;27846:52:0;;;;27879:1;;27846:52;;;;;;15856:18:1;27846:52:0;;;;;;;27989:74;28020:8;28038:1;28042:2;28046;28050:6;28058:4;27989:30;:74::i;:::-;27476:595;;;27342:729;;;;:::o;22644:438::-;-1:-1:-1;;;;;22877:20:0;;689:10;22877:20;;:60;;-1:-1:-1;22901:36:0;22918:4;689:10;21921:168;:::i;22901:36::-;22855:156;;;;-1:-1:-1;;;22855:156:0;;;;;;;:::i;:::-;23022:52;23045:4;23051:2;23055:3;23060:7;23069:4;23022:22;:52::i;:::-;22644:438;;;;;:::o;52767:166::-;52853:19;;;;:10;:19;;;;;;;;:30;;;;;;;;:::i;:::-;;52917:7;52899:26;52903:12;52907:7;52903:3;:12::i;:::-;52899:26;;;;;;:::i;:::-;;;;;;;;52767:166;;:::o;53020:98::-;53092:18;;;;:8;;:18;;;;;:::i;31755:331::-;31910:8;-1:-1:-1;;;;;31901:17:0;:5;-1:-1:-1;;;;;31901:17:0;;31893:71;;;;-1:-1:-1;;;31893:71:0;;16579:2:1;31893:71:0;;;16561:21:1;16618:2;16598:18;;;16591:30;16657:34;16637:18;;;16630:62;-1:-1:-1;;;16708:18:1;;;16701:39;16757:19;;31893:71:0;16377:405:1;31893:71:0;-1:-1:-1;;;;;31975:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;31975:46:0;;;;;;;;;;32037:41;;1159::1;;;32037::0;;1132:18:1;32037:41:0;;;;;;;31755:331;;;:::o;22161:406::-;-1:-1:-1;;;;;22369:20:0;;689:10;22369:20;;:60;;-1:-1:-1;22393:36:0;22410:4;689:10;21921:168;:::i;22393:36::-;22347:156;;;;-1:-1:-1;;;22347:156:0;;;;;;;:::i;:::-;22514:45;22532:4;22538:2;22542;22546:6;22554:4;22514:17;:45::i;20445:105::-;20505:13;20538:4;20531:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20445:105;;;:::o;36021:198::-;36141:16;;;36155:1;36141:16;;;;;;;;;36087;;36116:22;;36141:16;;;;;;;;;;;;-1:-1:-1;36141:16:0;36116:41;;36179:7;36168:5;36174:1;36168:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;36206:5;36021:198;-1:-1:-1;;36021:198:0:o;34448:744::-;-1:-1:-1;;;;;34663:13:0;;2224:19;:23;34659:526;;34699:72;;-1:-1:-1;;;34699:72:0;;-1:-1:-1;;;;;34699:38:0;;;;;:72;;34738:8;;34748:4;;34754:2;;34758:6;;34766:4;;34699:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34699:72:0;;;;;;;;-1:-1:-1;;34699:72:0;;;;;;;;;;;;:::i;:::-;;;34695:479;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;35047:6;35040:14;;-1:-1:-1;;;35040:14:0;;;;;;;;:::i;34695:479::-;;;35096:62;;-1:-1:-1;;;35096:62:0;;18680:2:1;35096:62:0;;;18662:21:1;18719:2;18699:18;;;18692:30;18758:34;18738:18;;;18731:62;-1:-1:-1;;;18809:18:1;;;18802:50;18869:19;;35096:62:0;18478:416:1;34695:479:0;-1:-1:-1;;;;;;34821:55:0;;-1:-1:-1;;;34821:55:0;34817:154;;34901:50;;-1:-1:-1;;;34901:50:0;;;;;;;:::i;24878:1146::-;25105:7;:14;25091:3;:10;:28;25083:81;;;;-1:-1:-1;;;25083:81:0;;19510:2:1;25083:81:0;;;19492:21:1;19549:2;19529:18;;;19522:30;19588:34;19568:18;;;19561:62;-1:-1:-1;;;19639:18:1;;;19632:38;19687:19;;25083:81:0;19308:404:1;25083:81:0;-1:-1:-1;;;;;25183:16:0;;25175:66;;;;-1:-1:-1;;;25175:66:0;;;;;;;:::i;:::-;689:10;25254:16;25371:421;25395:3;:10;25391:1;:14;25371:421;;;25427:10;25440:3;25444:1;25440:6;;;;;;;;:::i;:::-;;;;;;;25427:19;;25461:14;25478:7;25486:1;25478:10;;;;;;;;:::i;:::-;;;;;;;;;;;;25505:19;25527:13;;;;;;;;;;-1:-1:-1;;;;;25527:19:0;;;;;;;;;;;;25478:10;;-1:-1:-1;25569:21:0;;;;25561:76;;;;-1:-1:-1;;;25561:76:0;;;;;;;:::i;:::-;25681:9;:13;;;;;;;;;;;-1:-1:-1;;;;;25681:19:0;;;;;;;;;;25703:20;;;25681:42;;25753:17;;;;;;;:27;;25703:20;;25681:9;25753:27;;25703:20;;25753:27;:::i;:::-;;;;;;;;25412:380;;;25407:3;;;;:::i;:::-;;;25371:421;;;;25839:2;-1:-1:-1;;;;;25809:47:0;25833:4;-1:-1:-1;;;;;25809:47:0;25823:8;-1:-1:-1;;;;;25809:47:0;;25843:3;25848:7;25809:47;;;;;;;:::i;:::-;;;;;;;;25941:75;25977:8;25987:4;25993:2;25997:3;26002:7;26011:4;25941:35;:75::i;23546:974::-;-1:-1:-1;;;;;23734:16:0;;23726:66;;;;-1:-1:-1;;;23726:66:0;;;;;;;:::i;:::-;689:10;23805:16;23870:21;23888:2;23870:17;:21::i;:::-;23847:44;;23902:24;23929:25;23947:6;23929:17;:25::i;:::-;23902:52;;24040:19;24062:13;;;;;;;;;;;-1:-1:-1;;;;;24062:19:0;;;;;;;;;;24100:21;;;;24092:76;;;;-1:-1:-1;;;24092:76:0;;;;;;;:::i;:::-;24204:9;:13;;;;;;;;;;;-1:-1:-1;;;;;24204:19:0;;;;;;;;;;24226:20;;;24204:42;;24268:17;;;;;;;:27;;24226:20;;24204:9;24268:27;;24226:20;;24268:27;:::i;:::-;;;;-1:-1:-1;;24313:46:0;;;15883:25:1;;;15939:2;15924:18;;15917:34;;;-1:-1:-1;;;;;24313:46:0;;;;;;;;;;;;;;15856:18:1;24313:46:0;;;;;;;24444:68;24475:8;24485:4;24491:2;24495;24499:6;24507:4;24444:30;:68::i;:::-;23715:805;;;;23546:974;;;;;:::o;35200:813::-;-1:-1:-1;;;;;35440:13:0;;2224:19;:23;35436:570;;35476:79;;-1:-1:-1;;;35476:79:0;;-1:-1:-1;;;;;35476:43:0;;;;;:79;;35520:8;;35530:4;;35536:3;;35541:7;;35550:4;;35476:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35476:79:0;;;;;;;;-1:-1:-1;;35476:79:0;;;;;;;;;;;;:::i;:::-;;;35472:523;;;;:::i;:::-;-1:-1:-1;;;;;;35637:60:0;;-1:-1:-1;;;35637:60:0;35633:159;;35722:50;;-1:-1:-1;;;35722:50:0;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:254::-;260:6;268;321:2;309:9;300:7;296:23;292:32;289:52;;;337:1;334;327:12;289:52;360:29;379:9;360:29;:::i;:::-;350:39;436:2;421:18;;;;408:32;;-1:-1:-1;;;192:254:1:o;633:131::-;-1:-1:-1;;;;;;707:32:1;;697:43;;687:71;;754:1;751;744:12;769:245;827:6;880:2;868:9;859:7;855:23;851:32;848:52;;;896:1;893;886:12;848:52;935:9;922:23;954:30;978:5;954:30;:::i;1211:180::-;1270:6;1323:2;1311:9;1302:7;1298:23;1294:32;1291:52;;;1339:1;1336;1329:12;1291:52;-1:-1:-1;1362:23:1;;1211:180;-1:-1:-1;1211:180:1:o;1396:258::-;1468:1;1478:113;1492:6;1489:1;1486:13;1478:113;;;1568:11;;;1562:18;1549:11;;;1542:39;1514:2;1507:10;1478:113;;;1609:6;1606:1;1603:13;1600:48;;;-1:-1:-1;;1644:1:1;1626:16;;1619:27;1396:258::o;1659:269::-;1712:3;1750:5;1744:12;1777:6;1772:3;1765:19;1793:63;1849:6;1842:4;1837:3;1833:14;1826:4;1819:5;1815:16;1793:63;:::i;:::-;1910:2;1889:15;-1:-1:-1;;1885:29:1;1876:39;;;;1917:4;1872:50;;1659:269;-1:-1:-1;;1659:269:1:o;1933:231::-;2082:2;2071:9;2064:21;2045:4;2102:56;2154:2;2143:9;2139:18;2131:6;2102:56;:::i;2169:127::-;2230:10;2225:3;2221:20;2218:1;2211:31;2261:4;2258:1;2251:15;2285:4;2282:1;2275:15;2301:249;2411:2;2392:13;;-1:-1:-1;;2388:27:1;2376:40;;2446:18;2431:34;;2467:22;;;2428:62;2425:88;;;2493:18;;:::i;:::-;2529:2;2522:22;-1:-1:-1;;2301:249:1:o;2555:555::-;2597:5;2650:3;2643:4;2635:6;2631:17;2627:27;2617:55;;2668:1;2665;2658:12;2617:55;2704:6;2691:20;2730:18;2726:2;2723:26;2720:52;;;2752:18;;:::i;:::-;2801:2;2795:9;2813:67;2868:2;2849:13;;-1:-1:-1;;2845:27:1;2874:4;2841:38;2795:9;2813:67;:::i;:::-;2904:2;2896:6;2889:18;2950:3;2943:4;2938:2;2930:6;2926:15;2922:26;2919:35;2916:55;;;2967:1;2964;2957:12;2916:55;3031:2;3024:4;3016:6;3012:17;3005:4;2997:6;2993:17;2980:54;3078:1;3054:15;;;3071:4;3050:26;3043:37;;;;3058:6;2555:555;-1:-1:-1;;;2555:555:1:o;3115:956::-;3237:6;3245;3253;3261;3269;3322:3;3310:9;3301:7;3297:23;3293:33;3290:53;;;3339:1;3336;3329:12;3290:53;3379:9;3366:23;3408:18;3449:2;3441:6;3438:14;3435:34;;;3465:1;3462;3455:12;3435:34;3503:6;3492:9;3488:22;3478:32;;3548:7;3541:4;3537:2;3533:13;3529:27;3519:55;;3570:1;3567;3560:12;3519:55;3610:2;3597:16;3636:2;3628:6;3625:14;3622:34;;;3652:1;3649;3642:12;3622:34;3707:7;3700:4;3690:6;3687:1;3683:14;3679:2;3675:23;3671:34;3668:47;3665:67;;;3728:1;3725;3718:12;3665:67;3759:4;3751:13;;;;-1:-1:-1;3783:6:1;-1:-1:-1;3821:20:1;;;3808:34;;-1:-1:-1;3889:2:1;3874:18;;3861:32;;-1:-1:-1;3946:2:1;3931:18;;3918:32;;3962:16;;;3959:36;;;3991:1;3988;3981:12;3959:36;;4014:51;4057:7;4046:8;4035:9;4031:24;4014:51;:::i;:::-;4004:61;;;3115:956;;;;;;;;:::o;4076:183::-;4136:4;4169:18;4161:6;4158:30;4155:56;;;4191:18;;:::i;:::-;-1:-1:-1;4236:1:1;4232:14;4248:4;4228:25;;4076:183::o;4264:724::-;4318:5;4371:3;4364:4;4356:6;4352:17;4348:27;4338:55;;4389:1;4386;4379:12;4338:55;4425:6;4412:20;4451:4;4474:43;4514:2;4474:43;:::i;:::-;4546:2;4540:9;4558:31;4586:2;4578:6;4558:31;:::i;:::-;4624:18;;;4716:1;4712:10;;;;4700:23;;4696:32;;;4658:15;;;;-1:-1:-1;4740:15:1;;;4737:35;;;4768:1;4765;4758:12;4737:35;4804:2;4796:6;4792:15;4816:142;4832:6;4827:3;4824:15;4816:142;;;4898:17;;4886:30;;4936:12;;;;4849;;4816:142;;;-1:-1:-1;4976:6:1;4264:724;-1:-1:-1;;;;;;4264:724:1:o;4993:943::-;5147:6;5155;5163;5171;5179;5232:3;5220:9;5211:7;5207:23;5203:33;5200:53;;;5249:1;5246;5239:12;5200:53;5272:29;5291:9;5272:29;:::i;:::-;5262:39;;5320:38;5354:2;5343:9;5339:18;5320:38;:::i;:::-;5310:48;;5409:2;5398:9;5394:18;5381:32;5432:18;5473:2;5465:6;5462:14;5459:34;;;5489:1;5486;5479:12;5459:34;5512:61;5565:7;5556:6;5545:9;5541:22;5512:61;:::i;:::-;5502:71;;5626:2;5615:9;5611:18;5598:32;5582:48;;5655:2;5645:8;5642:16;5639:36;;;5671:1;5668;5661:12;5639:36;5694:63;5749:7;5738:8;5727:9;5723:24;5694:63;:::i;:::-;5684:73;;5810:3;5799:9;5795:19;5782:33;5766:49;;5840:2;5830:8;5827:16;5824:36;;;5856:1;5853;5846:12;5941:389;6019:6;6027;6080:2;6068:9;6059:7;6055:23;6051:32;6048:52;;;6096:1;6093;6086:12;6048:52;6132:9;6119:23;6109:33;;6193:2;6182:9;6178:18;6165:32;6220:18;6212:6;6209:30;6206:50;;;6252:1;6249;6242:12;6206:50;6275:49;6316:7;6307:6;6296:9;6292:22;6275:49;:::i;:::-;6265:59;;;5941:389;;;;;:::o;6335:1208::-;6453:6;6461;6514:2;6502:9;6493:7;6489:23;6485:32;6482:52;;;6530:1;6527;6520:12;6482:52;6570:9;6557:23;6599:18;6640:2;6632:6;6629:14;6626:34;;;6656:1;6653;6646:12;6626:34;6694:6;6683:9;6679:22;6669:32;;6739:7;6732:4;6728:2;6724:13;6720:27;6710:55;;6761:1;6758;6751:12;6710:55;6797:2;6784:16;6819:4;6842:43;6882:2;6842:43;:::i;:::-;6914:2;6908:9;6926:31;6954:2;6946:6;6926:31;:::i;:::-;6992:18;;;7080:1;7076:10;;;;7068:19;;7064:28;;;7026:15;;;;-1:-1:-1;7104:19:1;;;7101:39;;;7136:1;7133;7126:12;7101:39;7160:11;;;;7180:148;7196:6;7191:3;7188:15;7180:148;;;7262:23;7281:3;7262:23;:::i;:::-;7250:36;;7213:12;;;;7306;;;;7180:148;;;7347:6;-1:-1:-1;;7391:18:1;;7378:32;;-1:-1:-1;;7422:16:1;;;7419:36;;;7451:1;7448;7441:12;7419:36;;7474:63;7529:7;7518:8;7507:9;7503:24;7474:63;:::i;7548:435::-;7601:3;7639:5;7633:12;7666:6;7661:3;7654:19;7692:4;7721:2;7716:3;7712:12;7705:19;;7758:2;7751:5;7747:14;7779:1;7789:169;7803:6;7800:1;7797:13;7789:169;;;7864:13;;7852:26;;7898:12;;;;7933:15;;;;7825:1;7818:9;7789:169;;;-1:-1:-1;7974:3:1;;7548:435;-1:-1:-1;;;;;7548:435:1:o;7988:261::-;8167:2;8156:9;8149:21;8130:4;8187:56;8239:2;8228:9;8224:18;8216:6;8187:56;:::i;8254:321::-;8323:6;8376:2;8364:9;8355:7;8351:23;8347:32;8344:52;;;8392:1;8389;8382:12;8344:52;8432:9;8419:23;8465:18;8457:6;8454:30;8451:50;;;8497:1;8494;8487:12;8451:50;8520:49;8561:7;8552:6;8541:9;8537:22;8520:49;:::i;:::-;8510:59;8254:321;-1:-1:-1;;;;8254:321:1:o;8580:531::-;8675:6;8683;8691;8699;8752:3;8740:9;8731:7;8727:23;8723:33;8720:53;;;8769:1;8766;8759:12;8720:53;8792:29;8811:9;8792:29;:::i;:::-;8782:39;;8868:2;8857:9;8853:18;8840:32;8830:42;;8919:2;8908:9;8904:18;8891:32;8881:42;;8974:2;8963:9;8959:18;8946:32;9001:18;8993:6;8990:30;8987:50;;;9033:1;9030;9023:12;8987:50;9056:49;9097:7;9088:6;9077:9;9073:22;9056:49;:::i;:::-;9046:59;;;8580:531;;;;;;;:::o;9324:118::-;9410:5;9403:13;9396:21;9389:5;9386:32;9376:60;;9432:1;9429;9422:12;9447:315;9512:6;9520;9573:2;9561:9;9552:7;9548:23;9544:32;9541:52;;;9589:1;9586;9579:12;9541:52;9612:29;9631:9;9612:29;:::i;:::-;9602:39;;9691:2;9680:9;9676:18;9663:32;9704:28;9726:5;9704:28;:::i;:::-;9751:5;9741:15;;;9447:315;;;;;:::o;9767:260::-;9835:6;9843;9896:2;9884:9;9875:7;9871:23;9867:32;9864:52;;;9912:1;9909;9902:12;9864:52;9935:29;9954:9;9935:29;:::i;:::-;9925:39;;9983:38;10017:2;10006:9;10002:18;9983:38;:::i;:::-;9973:48;;9767:260;;;;;:::o;10032:606::-;10136:6;10144;10152;10160;10168;10221:3;10209:9;10200:7;10196:23;10192:33;10189:53;;;10238:1;10235;10228:12;10189:53;10261:29;10280:9;10261:29;:::i;:::-;10251:39;;10309:38;10343:2;10332:9;10328:18;10309:38;:::i;:::-;10299:48;;10394:2;10383:9;10379:18;10366:32;10356:42;;10445:2;10434:9;10430:18;10417:32;10407:42;;10500:3;10489:9;10485:19;10472:33;10528:18;10520:6;10517:30;10514:50;;;10560:1;10557;10550:12;10514:50;10583:49;10624:7;10615:6;10604:9;10600:22;10583:49;:::i;10643:186::-;10702:6;10755:2;10743:9;10734:7;10730:23;10726:32;10723:52;;;10771:1;10768;10761:12;10723:52;10794:29;10813:9;10794:29;:::i;11245:380::-;11324:1;11320:12;;;;11367;;;11388:61;;11442:4;11434:6;11430:17;11420:27;;11388:61;11495:2;11487:6;11484:14;11464:18;11461:38;11458:161;;11541:10;11536:3;11532:20;11529:1;11522:31;11576:4;11573:1;11566:15;11604:4;11601:1;11594:15;11458:161;;11245:380;;;:::o;11756:185::-;11798:3;11836:5;11830:12;11851:52;11896:6;11891:3;11884:4;11877:5;11873:16;11851:52;:::i;:::-;11919:16;;;;;11756:185;-1:-1:-1;;11756:185:1:o;11946:1174::-;12122:3;12151:1;12184:6;12178:13;12214:3;12236:1;12264:9;12260:2;12256:18;12246:28;;12324:2;12313:9;12309:18;12346;12336:61;;12390:4;12382:6;12378:17;12368:27;;12336:61;12416:2;12464;12456:6;12453:14;12433:18;12430:38;12427:165;;-1:-1:-1;;;12491:33:1;;12547:4;12544:1;12537:15;12577:4;12498:3;12565:17;12427:165;12608:18;12635:104;;;;12753:1;12748:320;;;;12601:467;;12635:104;-1:-1:-1;;12668:24:1;;12656:37;;12713:16;;;;-1:-1:-1;12635:104:1;;12748:320;11703:1;11696:14;;;11740:4;11727:18;;12843:1;12857:165;12871:6;12868:1;12865:13;12857:165;;;12949:14;;12936:11;;;12929:35;12992:16;;;;12886:10;;12857:165;;;12861:3;;13051:6;13046:3;13042:16;13035:23;;12601:467;;;;;;;13084:30;13110:3;13102:6;13084:30;:::i;:::-;13077:37;11946:1174;-1:-1:-1;;;;;11946:1174:1:o;13125:332::-;13327:2;13309:21;;;13366:1;13346:18;;;13339:29;-1:-1:-1;;;13399:2:1;13384:18;;13377:39;13448:2;13433:18;;13125:332::o;13462:127::-;13523:10;13518:3;13514:20;13511:1;13504:31;13554:4;13551:1;13544:15;13578:4;13575:1;13568:15;13903:245;13970:6;14023:2;14011:9;14002:7;13998:23;13994:32;13991:52;;;14039:1;14036;14029:12;13991:52;14071:9;14065:16;14090:28;14112:5;14090:28;:::i;14563:127::-;14624:10;14619:3;14615:20;14612:1;14605:31;14655:4;14652:1;14645:15;14679:4;14676:1;14669:15;14695:135;14734:3;14755:17;;;14752:43;;14775:18;;:::i;:::-;-1:-1:-1;14822:1:1;14811:13;;14695:135::o;15576:128::-;15616:3;15647:1;15643:6;15640:1;15637:13;15634:39;;;15653:18;;:::i;:::-;-1:-1:-1;15689:9:1;;15576:128::o;15962:410::-;16164:2;16146:21;;;16203:2;16183:18;;;16176:30;16242:34;16237:2;16222:18;;16215:62;-1:-1:-1;;;16308:2:1;16293:18;;16286:44;16362:3;16347:19;;15962:410::o;16787:572::-;-1:-1:-1;;;;;17084:15:1;;;17066:34;;17136:15;;17131:2;17116:18;;17109:43;17183:2;17168:18;;17161:34;;;17226:2;17211:18;;17204:34;;;17046:3;17269;17254:19;;17247:32;;;17009:4;;17296:57;;17333:19;;17325:6;17296:57;:::i;:::-;17288:65;16787:572;-1:-1:-1;;;;;;;16787:572:1:o;17364:249::-;17433:6;17486:2;17474:9;17465:7;17461:23;17457:32;17454:52;;;17502:1;17499;17492:12;17454:52;17534:9;17528:16;17553:30;17577:5;17553:30;:::i;17618:179::-;17653:3;17695:1;17677:16;17674:23;17671:120;;;17741:1;17738;17735;17720:23;-1:-1:-1;17778:1:1;17772:8;17767:3;17763:18;17671:120;17618:179;:::o;17802:671::-;17841:3;17883:4;17865:16;17862:26;17859:39;;;17802:671;:::o;17859:39::-;17925:2;17919:9;-1:-1:-1;;17990:16:1;17986:25;;17983:1;17919:9;17962:50;18041:4;18035:11;18065:16;18100:18;18171:2;18164:4;18156:6;18152:17;18149:25;18144:2;18136:6;18133:14;18130:45;18127:58;;;18178:5;;;;;17802:671;:::o;18127:58::-;18215:6;18209:4;18205:17;18194:28;;18251:3;18245:10;18278:2;18270:6;18267:14;18264:27;;;18284:5;;;;;;17802:671;:::o;18264:27::-;18368:2;18349:16;18343:4;18339:27;18335:36;18328:4;18319:6;18314:3;18310:16;18306:27;18303:69;18300:82;;;18375:5;;;;;;17802:671;:::o;18300:82::-;18391:57;18442:4;18433:6;18425;18421:19;18417:30;18411:4;18391:57;:::i;:::-;-1:-1:-1;18464:3:1;;17802:671;-1:-1:-1;;;;;17802:671:1:o;18899:404::-;19101:2;19083:21;;;19140:2;19120:18;;;19113:30;19179:34;19174:2;19159:18;;19152:62;-1:-1:-1;;;19245:2:1;19230:18;;19223:38;19293:3;19278:19;;18899:404::o;19717:401::-;19919:2;19901:21;;;19958:2;19938:18;;;19931:30;19997:34;19992:2;19977:18;;19970:62;-1:-1:-1;;;20063:2:1;20048:18;;20041:35;20108:3;20093:19;;19717:401::o;20123:406::-;20325:2;20307:21;;;20364:2;20344:18;;;20337:30;20403:34;20398:2;20383:18;;20376:62;-1:-1:-1;;;20469:2:1;20454:18;;20447:40;20519:3;20504:19;;20123:406::o;20534:465::-;20791:2;20780:9;20773:21;20754:4;20817:56;20869:2;20858:9;20854:18;20846:6;20817:56;:::i;:::-;20921:9;20913:6;20909:22;20904:2;20893:9;20889:18;20882:50;20949:44;20986:6;20978;20949:44;:::i;21004:838::-;-1:-1:-1;;;;;21401:15:1;;;21383:34;;21453:15;;21448:2;21433:18;;21426:43;21363:3;21500:2;21485:18;;21478:31;;;21326:4;;21532:57;;21569:19;;21561:6;21532:57;:::i;:::-;21637:9;21629:6;21625:22;21620:2;21609:9;21605:18;21598:50;21671:44;21708:6;21700;21671:44;:::i;:::-;21657:58;;21764:9;21756:6;21752:22;21746:3;21735:9;21731:19;21724:51;21792:44;21829:6;21821;21792:44;:::i;:::-;21784:52;21004:838;-1:-1:-1;;;;;;;;21004:838:1:o

Swarm Source

ipfs://46c5523a6d490903cfaa50b2d59f9936615ab99656912fa2fac1dbc055dec174

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.