ETH Price: $3,943.18 (+1.81%)

Undra (UNDRA)
 

Overview

TokenID

10929

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

A fantasy/horror MMO set in 1898. Explore the mines in the deep underground beneath Undra.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Tokens1155

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

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


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

pragma solidity ^0.8.0;

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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


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

pragma solidity ^0.8.0;

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

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

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

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

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

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

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

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

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

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

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

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

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

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

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.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;
    }
}


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

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}


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

pragma solidity ^0.8.0;

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

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

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

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

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


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

pragma solidity ^0.8.0;

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}


// File contracts/tokens_1155.sol

pragma solidity ^0.8.2;


contract Tokens1155 is ERC1155, AccessControl {
    bytes32 public constant URI_SETTER_ROLE = keccak256("URI_SETTER_ROLE");
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    // Fungible Token ID range is 1..10000
    // NFT ID range is 10001+

    // This is the current lowest ID that can be minted
    uint256 public minimumId;

    constructor()
        ERC1155("")
    {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(MINTER_ROLE, msg.sender);
        minimumId = 10000;
    }

    function setURI(string memory newuri) public onlyRole(DEFAULT_ADMIN_ROLE) {
        _setURI(newuri);
    }

    // As long as IDs are minted sequentially (and this can be verified after each call), IDs in the non-fungible range
    // are safe from being duplicated.
    function mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data)
        public
        onlyRole(MINTER_ROLE)
    {
        if(ids[0] <= 10000) { // Fungible zone
            for (uint256 i = 0; i < ids.length; i++) {
                require(ids[i] <= 10000, "Fungible ID must be below 10000");
            }
        } else { // Non-fungible zone
            for (uint256 i = 0; i < ids.length; i++) {
                require(ids[i] == minimumId + i + 1, "IDs are not incremental");
            }
            minimumId += ids.length;
        }

        _mintBatch(to, ids, amounts, data);
    }

    // The following functions are overrides required by Solidity.
    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC1155, AccessControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"URI_SETTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"minimumId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040805160208101909152600081526200002c8162000072565b506200003a6000336200008b565b620000667f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200008b565b6127106004556200021b565b80516200008790600290602084019062000138565b5050565b60008281526003602090815260408083206001600160a01b038516845290915290205462000087908390839060ff16620000875760008281526003602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620000f43390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b8280546200014690620001de565b90600052602060002090601f0160209004810192826200016a5760008555620001b5565b82601f106200018557805160ff1916838001178555620001b5565b82800160010185558215620001b5579182015b82811115620001b557825182559160200191906001019062000198565b50620001c3929150620001c7565b5090565b5b80821115620001c35760008155600101620001c8565b600181811c90821680620001f357607f821691505b602082108114156200021557634e487b7160e01b600052602260045260246000fd5b50919050565b611f2c806200022b6000396000f3fe608060405234801561001057600080fd5b50600436106101205760003560e01c80634e1273f4116100ad578063bf95f31911610071578063bf95f31914610287578063d539139314610290578063d547741f146102b7578063e985e9c5146102ca578063f242432a1461030657600080fd5b80634e1273f4146102125780637f3457101461023257806391d1485414610259578063a217fddf1461026c578063a22cb4651461027457600080fd5b80631f7fdffa116100f45780631f7fdffa146101a3578063248a9ca3146101b65780632eb2c2d6146101d95780632f2ff15d146101ec57806336568abe146101ff57600080fd5b8062fdd58e1461012557806301ffc9a71461014b57806302fe53051461016e5780630e89341c14610183575b600080fd5b61013861013336600461151c565b610319565b6040519081526020015b60405180910390f35b61015e61015936600461155f565b6103b0565b6040519015158152602001610142565b61018161017c36600461161d565b6103c1565b005b61019661019136600461166e565b6103da565b60405161014291906116e3565b6101816101b13660046117ab565b61046e565b6101386101c436600461166e565b60009081526003602052604090206001015490565b6101816101e7366004611844565b610616565b6101816101fa3660046118ee565b6106a6565b61018161020d3660046118ee565b6106d1565b61022561022036600461191a565b61074b565b6040516101429190611a20565b6101387f7804d923f43a17d325d77e781528e0793b2edd9890ab45fc64efd7b4b427744c81565b61015e6102673660046118ee565b610875565b610138600081565b610181610282366004611a33565b6108a0565b61013860045481565b6101387f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6101816102c53660046118ee565b610977565b61015e6102d8366004611a6f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b610181610314366004611a99565b61099d565b60006001600160a01b03831661038a5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006103bb82610a24565b92915050565b60006103cd8133610a49565b6103d682610aad565b5050565b6060600280546103e990611afe565b80601f016020809104026020016040519081016040528092919081815260200182805461041590611afe565b80156104625780601f1061043757610100808354040283529160200191610462565b820191906000526020600020905b81548152906001019060200180831161044557829003601f168201915b50505050509050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66104998133610a49565b612710846000815181106104af576104af611b39565b60200260200101511161054b5760005b8451811015610545576127108582815181106104dd576104dd611b39565b602002602001015111156105335760405162461bcd60e51b815260206004820152601f60248201527f46756e6769626c65204944206d7573742062652062656c6f77203130303030006044820152606401610381565b8061053d81611b65565b9150506104bf565b50610603565b60005b84518110156105e957806004546105659190611b80565b610570906001611b80565b85828151811061058257610582611b39565b6020026020010151146105d75760405162461bcd60e51b815260206004820152601760248201527f49447320617265206e6f7420696e6372656d656e74616c0000000000000000006044820152606401610381565b806105e181611b65565b91505061054e565b508351600460008282546105fd9190611b80565b90915550505b61060f85858585610ac0565b5050505050565b6001600160a01b038516331480610632575061063285336102d8565b6106995760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610381565b61060f8585858585610c45565b6000828152600360205260409020600101546106c28133610a49565b6106cc8383610de1565b505050565b6001600160a01b03811633146107415760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610381565b6103d68282610e67565b606081518351146107b05760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610381565b6000835167ffffffffffffffff8111156107cc576107cc61157c565b6040519080825280602002602001820160405280156107f5578160200160208202803683370190505b50905060005b845181101561086d5761084085828151811061081957610819611b39565b602002602001015185838151811061083357610833611b39565b6020026020010151610319565b82828151811061085257610852611b39565b602090810291909101015261086681611b65565b90506107fb565b509392505050565b60009182526003602090815260408084206001600160a01b0393909316845291905290205460ff1690565b336001600160a01b038316141561090b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610381565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000828152600360205260409020600101546109938133610a49565b6106cc8383610e67565b6001600160a01b0385163314806109b957506109b985336102d8565b610a175760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610381565b61060f8585858585610ece565b60006001600160e01b03198216637965db0b60e01b14806103bb57506103bb82610ff4565b610a538282610875565b6103d657610a6b816001600160a01b03166014611044565b610a76836020611044565b604051602001610a87929190611b98565b60408051601f198184030181529082905262461bcd60e51b8252610381916004016116e3565b80516103d6906002906020840190611467565b6001600160a01b038416610b205760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610381565b8151835114610b415760405162461bcd60e51b815260040161038190611c0d565b3360005b8451811015610bdd57838181518110610b6057610b60611b39565b6020026020010151600080878481518110610b7d57610b7d611b39565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b031681526020019081526020016000206000828254610bc59190611b80565b90915550819050610bd581611b65565b915050610b45565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610c2e929190611c55565b60405180910390a461060f816000878787876111e7565b8151835114610c665760405162461bcd60e51b815260040161038190611c0d565b6001600160a01b038416610c8c5760405162461bcd60e51b815260040161038190611c83565b3360005b8451811015610d73576000858281518110610cad57610cad611b39565b602002602001015190506000858381518110610ccb57610ccb611b39565b602090810291909101810151600084815280835260408082206001600160a01b038e168352909352919091205490915081811015610d1b5760405162461bcd60e51b815260040161038190611cc8565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290610d58908490611b80565b9250508190555050505080610d6c90611b65565b9050610c90565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610dc3929190611c55565b60405180910390a4610dd98187878787876111e7565b505050505050565b610deb8282610875565b6103d65760008281526003602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610e233390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610e718282610875565b156103d65760008281526003602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038416610ef45760405162461bcd60e51b815260040161038190611c83565b33610f0d818787610f0488611352565b61060f88611352565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015610f4e5760405162461bcd60e51b815260040161038190611cc8565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290610f8b908490611b80565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610feb82888888888861139d565b50505050505050565b60006001600160e01b03198216636cdb3d1360e11b148061102557506001600160e01b031982166303a24d0760e21b145b806103bb57506301ffc9a760e01b6001600160e01b03198316146103bb565b60606000611053836002611d12565b61105e906002611b80565b67ffffffffffffffff8111156110765761107661157c565b6040519080825280601f01601f1916602001820160405280156110a0576020820181803683370190505b509050600360fc1b816000815181106110bb576110bb611b39565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106110ea576110ea611b39565b60200101906001600160f81b031916908160001a905350600061110e846002611d12565b611119906001611b80565b90505b6001811115611191576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061114d5761114d611b39565b1a60f81b82828151811061116357611163611b39565b60200101906001600160f81b031916908160001a90535060049490941c9361118a81611d31565b905061111c565b5083156111e05760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610381565b9392505050565b6001600160a01b0384163b15610dd95760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061122b9089908990889088908890600401611d48565b602060405180830381600087803b15801561124557600080fd5b505af1925050508015611275575060408051601f3d908101601f1916820190925261127291810190611da6565b60015b61132257611281611dc3565b806308c379a014156112bb5750611296611ddf565b806112a157506112bd565b8060405162461bcd60e51b815260040161038191906116e3565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610381565b6001600160e01b0319811663bc197c8160e01b14610feb5760405162461bcd60e51b815260040161038190611e69565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061138c5761138c611b39565b602090810291909101015292915050565b6001600160a01b0384163b15610dd95760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906113e19089908990889088908890600401611eb1565b602060405180830381600087803b1580156113fb57600080fd5b505af192505050801561142b575060408051601f3d908101601f1916820190925261142891810190611da6565b60015b61143757611281611dc3565b6001600160e01b0319811663f23a6e6160e01b14610feb5760405162461bcd60e51b815260040161038190611e69565b82805461147390611afe565b90600052602060002090601f01602090048101928261149557600085556114db565b82601f106114ae57805160ff19168380011785556114db565b828001600101855582156114db579182015b828111156114db5782518255916020019190600101906114c0565b506114e79291506114eb565b5090565b5b808211156114e757600081556001016114ec565b80356001600160a01b038116811461151757600080fd5b919050565b6000806040838503121561152f57600080fd5b61153883611500565b946020939093013593505050565b6001600160e01b03198116811461155c57600080fd5b50565b60006020828403121561157157600080fd5b81356111e081611546565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff811182821017156115b8576115b861157c565b6040525050565b600067ffffffffffffffff8311156115d9576115d961157c565b6040516115f0601f8501601f191660200182611592565b80915083815284848401111561160557600080fd5b83836020830137600060208583010152509392505050565b60006020828403121561162f57600080fd5b813567ffffffffffffffff81111561164657600080fd5b8201601f8101841361165757600080fd5b611666848235602084016115bf565b949350505050565b60006020828403121561168057600080fd5b5035919050565b60005b838110156116a257818101518382015260200161168a565b838111156116b1576000848401525b50505050565b600081518084526116cf816020860160208601611687565b601f01601f19169290920160200192915050565b6020815260006111e060208301846116b7565b600067ffffffffffffffff8211156117105761171061157c565b5060051b60200190565b600082601f83011261172b57600080fd5b81356020611738826116f6565b6040516117458282611592565b83815260059390931b850182019282810191508684111561176557600080fd5b8286015b848110156117805780358352918301918301611769565b509695505050505050565b600082601f83011261179c57600080fd5b6111e0838335602085016115bf565b600080600080608085870312156117c157600080fd5b6117ca85611500565b9350602085013567ffffffffffffffff808211156117e757600080fd5b6117f38883890161171a565b9450604087013591508082111561180957600080fd5b6118158883890161171a565b9350606087013591508082111561182b57600080fd5b506118388782880161178b565b91505092959194509250565b600080600080600060a0868803121561185c57600080fd5b61186586611500565b945061187360208701611500565b9350604086013567ffffffffffffffff8082111561189057600080fd5b61189c89838a0161171a565b945060608801359150808211156118b257600080fd5b6118be89838a0161171a565b935060808801359150808211156118d457600080fd5b506118e18882890161178b565b9150509295509295909350565b6000806040838503121561190157600080fd5b8235915061191160208401611500565b90509250929050565b6000806040838503121561192d57600080fd5b823567ffffffffffffffff8082111561194557600080fd5b818501915085601f83011261195957600080fd5b81356020611966826116f6565b6040516119738282611592565b83815260059390931b850182019282810191508984111561199357600080fd5b948201945b838610156119b8576119a986611500565b82529482019490820190611998565b965050860135925050808211156119ce57600080fd5b506119db8582860161171a565b9150509250929050565b600081518084526020808501945080840160005b83811015611a15578151875295820195908201906001016119f9565b509495945050505050565b6020815260006111e060208301846119e5565b60008060408385031215611a4657600080fd5b611a4f83611500565b915060208301358015158114611a6457600080fd5b809150509250929050565b60008060408385031215611a8257600080fd5b611a8b83611500565b915061191160208401611500565b600080600080600060a08688031215611ab157600080fd5b611aba86611500565b9450611ac860208701611500565b93506040860135925060608601359150608086013567ffffffffffffffff811115611af257600080fd5b6118e18882890161178b565b600181811c90821680611b1257607f821691505b60208210811415611b3357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415611b7957611b79611b4f565b5060010190565b60008219821115611b9357611b93611b4f565b500190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611bd0816017850160208801611687565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611c01816028840160208801611687565b01602801949350505050565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b604081526000611c6860408301856119e5565b8281036020840152611c7a81856119e5565b95945050505050565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6000816000190483118215151615611d2c57611d2c611b4f565b500290565b600081611d4057611d40611b4f565b506000190190565b6001600160a01b0386811682528516602082015260a060408201819052600090611d74908301866119e5565b8281036060840152611d8681866119e5565b90508281036080840152611d9a81856116b7565b98975050505050505050565b600060208284031215611db857600080fd5b81516111e081611546565b600060033d1115611ddc5760046000803e5060005160e01c5b90565b600060443d1015611ded5790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715611e1d57505050505090565b8285019150815181811115611e355750505050505090565b843d8701016020828501011115611e4f5750505050505090565b611e5e60208286010187611592565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090611eeb908301846116b7565b97965050505050505056fea2646970667358221220d884725dcc948677f802e53d3982c4b97b7c6560739b3c51de3886b4b2a54bff64736f6c63430008090033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101205760003560e01c80634e1273f4116100ad578063bf95f31911610071578063bf95f31914610287578063d539139314610290578063d547741f146102b7578063e985e9c5146102ca578063f242432a1461030657600080fd5b80634e1273f4146102125780637f3457101461023257806391d1485414610259578063a217fddf1461026c578063a22cb4651461027457600080fd5b80631f7fdffa116100f45780631f7fdffa146101a3578063248a9ca3146101b65780632eb2c2d6146101d95780632f2ff15d146101ec57806336568abe146101ff57600080fd5b8062fdd58e1461012557806301ffc9a71461014b57806302fe53051461016e5780630e89341c14610183575b600080fd5b61013861013336600461151c565b610319565b6040519081526020015b60405180910390f35b61015e61015936600461155f565b6103b0565b6040519015158152602001610142565b61018161017c36600461161d565b6103c1565b005b61019661019136600461166e565b6103da565b60405161014291906116e3565b6101816101b13660046117ab565b61046e565b6101386101c436600461166e565b60009081526003602052604090206001015490565b6101816101e7366004611844565b610616565b6101816101fa3660046118ee565b6106a6565b61018161020d3660046118ee565b6106d1565b61022561022036600461191a565b61074b565b6040516101429190611a20565b6101387f7804d923f43a17d325d77e781528e0793b2edd9890ab45fc64efd7b4b427744c81565b61015e6102673660046118ee565b610875565b610138600081565b610181610282366004611a33565b6108a0565b61013860045481565b6101387f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6101816102c53660046118ee565b610977565b61015e6102d8366004611a6f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b610181610314366004611a99565b61099d565b60006001600160a01b03831661038a5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006103bb82610a24565b92915050565b60006103cd8133610a49565b6103d682610aad565b5050565b6060600280546103e990611afe565b80601f016020809104026020016040519081016040528092919081815260200182805461041590611afe565b80156104625780601f1061043757610100808354040283529160200191610462565b820191906000526020600020905b81548152906001019060200180831161044557829003601f168201915b50505050509050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66104998133610a49565b612710846000815181106104af576104af611b39565b60200260200101511161054b5760005b8451811015610545576127108582815181106104dd576104dd611b39565b602002602001015111156105335760405162461bcd60e51b815260206004820152601f60248201527f46756e6769626c65204944206d7573742062652062656c6f77203130303030006044820152606401610381565b8061053d81611b65565b9150506104bf565b50610603565b60005b84518110156105e957806004546105659190611b80565b610570906001611b80565b85828151811061058257610582611b39565b6020026020010151146105d75760405162461bcd60e51b815260206004820152601760248201527f49447320617265206e6f7420696e6372656d656e74616c0000000000000000006044820152606401610381565b806105e181611b65565b91505061054e565b508351600460008282546105fd9190611b80565b90915550505b61060f85858585610ac0565b5050505050565b6001600160a01b038516331480610632575061063285336102d8565b6106995760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610381565b61060f8585858585610c45565b6000828152600360205260409020600101546106c28133610a49565b6106cc8383610de1565b505050565b6001600160a01b03811633146107415760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610381565b6103d68282610e67565b606081518351146107b05760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610381565b6000835167ffffffffffffffff8111156107cc576107cc61157c565b6040519080825280602002602001820160405280156107f5578160200160208202803683370190505b50905060005b845181101561086d5761084085828151811061081957610819611b39565b602002602001015185838151811061083357610833611b39565b6020026020010151610319565b82828151811061085257610852611b39565b602090810291909101015261086681611b65565b90506107fb565b509392505050565b60009182526003602090815260408084206001600160a01b0393909316845291905290205460ff1690565b336001600160a01b038316141561090b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610381565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000828152600360205260409020600101546109938133610a49565b6106cc8383610e67565b6001600160a01b0385163314806109b957506109b985336102d8565b610a175760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610381565b61060f8585858585610ece565b60006001600160e01b03198216637965db0b60e01b14806103bb57506103bb82610ff4565b610a538282610875565b6103d657610a6b816001600160a01b03166014611044565b610a76836020611044565b604051602001610a87929190611b98565b60408051601f198184030181529082905262461bcd60e51b8252610381916004016116e3565b80516103d6906002906020840190611467565b6001600160a01b038416610b205760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610381565b8151835114610b415760405162461bcd60e51b815260040161038190611c0d565b3360005b8451811015610bdd57838181518110610b6057610b60611b39565b6020026020010151600080878481518110610b7d57610b7d611b39565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b031681526020019081526020016000206000828254610bc59190611b80565b90915550819050610bd581611b65565b915050610b45565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610c2e929190611c55565b60405180910390a461060f816000878787876111e7565b8151835114610c665760405162461bcd60e51b815260040161038190611c0d565b6001600160a01b038416610c8c5760405162461bcd60e51b815260040161038190611c83565b3360005b8451811015610d73576000858281518110610cad57610cad611b39565b602002602001015190506000858381518110610ccb57610ccb611b39565b602090810291909101810151600084815280835260408082206001600160a01b038e168352909352919091205490915081811015610d1b5760405162461bcd60e51b815260040161038190611cc8565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290610d58908490611b80565b9250508190555050505080610d6c90611b65565b9050610c90565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610dc3929190611c55565b60405180910390a4610dd98187878787876111e7565b505050505050565b610deb8282610875565b6103d65760008281526003602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610e233390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610e718282610875565b156103d65760008281526003602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038416610ef45760405162461bcd60e51b815260040161038190611c83565b33610f0d818787610f0488611352565b61060f88611352565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015610f4e5760405162461bcd60e51b815260040161038190611cc8565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290610f8b908490611b80565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610feb82888888888861139d565b50505050505050565b60006001600160e01b03198216636cdb3d1360e11b148061102557506001600160e01b031982166303a24d0760e21b145b806103bb57506301ffc9a760e01b6001600160e01b03198316146103bb565b60606000611053836002611d12565b61105e906002611b80565b67ffffffffffffffff8111156110765761107661157c565b6040519080825280601f01601f1916602001820160405280156110a0576020820181803683370190505b509050600360fc1b816000815181106110bb576110bb611b39565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106110ea576110ea611b39565b60200101906001600160f81b031916908160001a905350600061110e846002611d12565b611119906001611b80565b90505b6001811115611191576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061114d5761114d611b39565b1a60f81b82828151811061116357611163611b39565b60200101906001600160f81b031916908160001a90535060049490941c9361118a81611d31565b905061111c565b5083156111e05760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610381565b9392505050565b6001600160a01b0384163b15610dd95760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061122b9089908990889088908890600401611d48565b602060405180830381600087803b15801561124557600080fd5b505af1925050508015611275575060408051601f3d908101601f1916820190925261127291810190611da6565b60015b61132257611281611dc3565b806308c379a014156112bb5750611296611ddf565b806112a157506112bd565b8060405162461bcd60e51b815260040161038191906116e3565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610381565b6001600160e01b0319811663bc197c8160e01b14610feb5760405162461bcd60e51b815260040161038190611e69565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061138c5761138c611b39565b602090810291909101015292915050565b6001600160a01b0384163b15610dd95760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906113e19089908990889088908890600401611eb1565b602060405180830381600087803b1580156113fb57600080fd5b505af192505050801561142b575060408051601f3d908101601f1916820190925261142891810190611da6565b60015b61143757611281611dc3565b6001600160e01b0319811663f23a6e6160e01b14610feb5760405162461bcd60e51b815260040161038190611e69565b82805461147390611afe565b90600052602060002090601f01602090048101928261149557600085556114db565b82601f106114ae57805160ff19168380011785556114db565b828001600101855582156114db579182015b828111156114db5782518255916020019190600101906114c0565b506114e79291506114eb565b5090565b5b808211156114e757600081556001016114ec565b80356001600160a01b038116811461151757600080fd5b919050565b6000806040838503121561152f57600080fd5b61153883611500565b946020939093013593505050565b6001600160e01b03198116811461155c57600080fd5b50565b60006020828403121561157157600080fd5b81356111e081611546565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff811182821017156115b8576115b861157c565b6040525050565b600067ffffffffffffffff8311156115d9576115d961157c565b6040516115f0601f8501601f191660200182611592565b80915083815284848401111561160557600080fd5b83836020830137600060208583010152509392505050565b60006020828403121561162f57600080fd5b813567ffffffffffffffff81111561164657600080fd5b8201601f8101841361165757600080fd5b611666848235602084016115bf565b949350505050565b60006020828403121561168057600080fd5b5035919050565b60005b838110156116a257818101518382015260200161168a565b838111156116b1576000848401525b50505050565b600081518084526116cf816020860160208601611687565b601f01601f19169290920160200192915050565b6020815260006111e060208301846116b7565b600067ffffffffffffffff8211156117105761171061157c565b5060051b60200190565b600082601f83011261172b57600080fd5b81356020611738826116f6565b6040516117458282611592565b83815260059390931b850182019282810191508684111561176557600080fd5b8286015b848110156117805780358352918301918301611769565b509695505050505050565b600082601f83011261179c57600080fd5b6111e0838335602085016115bf565b600080600080608085870312156117c157600080fd5b6117ca85611500565b9350602085013567ffffffffffffffff808211156117e757600080fd5b6117f38883890161171a565b9450604087013591508082111561180957600080fd5b6118158883890161171a565b9350606087013591508082111561182b57600080fd5b506118388782880161178b565b91505092959194509250565b600080600080600060a0868803121561185c57600080fd5b61186586611500565b945061187360208701611500565b9350604086013567ffffffffffffffff8082111561189057600080fd5b61189c89838a0161171a565b945060608801359150808211156118b257600080fd5b6118be89838a0161171a565b935060808801359150808211156118d457600080fd5b506118e18882890161178b565b9150509295509295909350565b6000806040838503121561190157600080fd5b8235915061191160208401611500565b90509250929050565b6000806040838503121561192d57600080fd5b823567ffffffffffffffff8082111561194557600080fd5b818501915085601f83011261195957600080fd5b81356020611966826116f6565b6040516119738282611592565b83815260059390931b850182019282810191508984111561199357600080fd5b948201945b838610156119b8576119a986611500565b82529482019490820190611998565b965050860135925050808211156119ce57600080fd5b506119db8582860161171a565b9150509250929050565b600081518084526020808501945080840160005b83811015611a15578151875295820195908201906001016119f9565b509495945050505050565b6020815260006111e060208301846119e5565b60008060408385031215611a4657600080fd5b611a4f83611500565b915060208301358015158114611a6457600080fd5b809150509250929050565b60008060408385031215611a8257600080fd5b611a8b83611500565b915061191160208401611500565b600080600080600060a08688031215611ab157600080fd5b611aba86611500565b9450611ac860208701611500565b93506040860135925060608601359150608086013567ffffffffffffffff811115611af257600080fd5b6118e18882890161178b565b600181811c90821680611b1257607f821691505b60208210811415611b3357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415611b7957611b79611b4f565b5060010190565b60008219821115611b9357611b93611b4f565b500190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611bd0816017850160208801611687565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611c01816028840160208801611687565b01602801949350505050565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b604081526000611c6860408301856119e5565b8281036020840152611c7a81856119e5565b95945050505050565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6000816000190483118215151615611d2c57611d2c611b4f565b500290565b600081611d4057611d40611b4f565b506000190190565b6001600160a01b0386811682528516602082015260a060408201819052600090611d74908301866119e5565b8281036060840152611d8681866119e5565b90508281036080840152611d9a81856116b7565b98975050505050505050565b600060208284031215611db857600080fd5b81516111e081611546565b600060033d1115611ddc5760046000803e5060005160e01c5b90565b600060443d1015611ded5790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715611e1d57505050505090565b8285019150815181811115611e355750505050505090565b843d8701016020828501011115611e4f5750505050505090565b611e5e60208286010187611592565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090611eeb908301846116b7565b97965050505050505056fea2646970667358221220d884725dcc948677f802e53d3982c4b97b7c6560739b3c51de3886b4b2a54bff64736f6c63430008090033

Deployed Bytecode Sourcemap

45521:1760:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19969:231;;;;;;:::i;:::-;;:::i;:::-;;;597:25:1;;;585:2;570:18;19969:231:0;;;;;;;;47068:210;;;;;;:::i;:::-;;:::i;:::-;;;1184:14:1;;1177:22;1159:41;;1147:2;1132:18;47068:210:0;1019:187:1;46072:108:0;;;;;;:::i;:::-;;:::i;:::-;;19713:105;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;46349:643::-;;;;;;:::i;:::-;;:::i;42242:123::-;;;;;;:::i;:::-;42308:7;42335:12;;;:6;:12;;;;;:22;;;;42242:123;22064:442;;;;;;:::i;:::-;;:::i;42627:147::-;;;;;;:::i;:::-;;:::i;43675:218::-;;;;;;:::i;:::-;;:::i;20366:524::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;45574:70::-;;45616:28;45574:70;;41127:139;;;;;;:::i;:::-;;:::i;40218:49::-;;40263:4;40218:49;;20963:311;;;;;;:::i;:::-;;:::i;45856:24::-;;;;;;45651:62;;45689:24;45651:62;;43019:149;;;;;;:::i;:::-;;:::i;21346:168::-;;;;;;:::i;:::-;-1:-1:-1;;;;;21469:27:0;;;21445:4;21469:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;21346:168;21586:401;;;;;;:::i;:::-;;:::i;19969:231::-;20055:7;-1:-1:-1;;;;;20083:21:0;;20075:77;;;;-1:-1:-1;;;20075:77:0;;10402:2:1;20075:77:0;;;10384:21:1;10441:2;10421:18;;;10414:30;10480:34;10460:18;;;10453:62;-1:-1:-1;;;10531:18:1;;;10524:41;10582:19;;20075:77:0;;;;;;;;;-1:-1:-1;20170:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;20170:22:0;;;;;;;;;;;;19969:231::o;47068:210::-;47205:4;47234:36;47258:11;47234:23;:36::i;:::-;47227:43;47068:210;-1:-1:-1;;47068:210:0:o;46072:108::-;40263:4;40709:30;40263:4;16887:10;40709;:30::i;:::-;46157:15:::1;46165:6;46157:7;:15::i;:::-;46072:108:::0;;:::o;19713:105::-;19773:13;19806:4;19799:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19713:105;;;:::o;46349:643::-;45689:24;40709:30;45689:24;16887:10;40709;:30::i;:::-;46523:5:::1;46513:3;46517:1;46513:6;;;;;;;;:::i;:::-;;;;;;;:15;46510:428;;46567:9;46562:135;46586:3;:10;46582:1;:14;46562:135;;;46640:5;46630:3;46634:1;46630:6;;;;;;;;:::i;:::-;;;;;;;:15;;46622:59;;;::::0;-1:-1:-1;;;46622:59:0;;11331:2:1;46622:59:0::1;::::0;::::1;11313:21:1::0;11370:2;11350:18;;;11343:30;11409:33;11389:18;;;11382:61;11460:18;;46622:59:0::1;11129:355:1::0;46622:59:0::1;46598:3:::0;::::1;::::0;::::1;:::i;:::-;;;;46562:135;;;;46510:428;;;46755:9;46750:139;46774:3;:10;46770:1;:14;46750:139;;;46840:1;46828:9;;:13;;;;:::i;:::-;:17;::::0;46844:1:::1;46828:17;:::i;:::-;46818:3;46822:1;46818:6;;;;;;;;:::i;:::-;;;;;;;:27;46810:63;;;::::0;-1:-1:-1;;;46810:63:0;;12096:2:1;46810:63:0::1;::::0;::::1;12078:21:1::0;12135:2;12115:18;;;12108:30;12174:25;12154:18;;;12147:53;12217:18;;46810:63:0::1;11894:347:1::0;46810:63:0::1;46786:3:::0;::::1;::::0;::::1;:::i;:::-;;;;46750:139;;;;46916:3;:10;46903:9;;:23;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;46510:428:0::1;46950:34;46961:2;46965:3;46970:7;46979:4;46950:10;:34::i;:::-;46349:643:::0;;;;;:::o;22064:442::-;-1:-1:-1;;;;;22297:20:0;;16887:10;22297:20;;:60;;-1:-1:-1;22321:36:0;22338:4;16887:10;21346:168;:::i;22321:36::-;22275:160;;;;-1:-1:-1;;;22275:160:0;;12448:2:1;22275:160:0;;;12430:21:1;12487:2;12467:18;;;12460:30;12526:34;12506:18;;;12499:62;-1:-1:-1;;;12577:18:1;;;12570:48;12635:19;;22275:160:0;12246:414:1;22275:160:0;22446:52;22469:4;22475:2;22479:3;22484:7;22493:4;22446:22;:52::i;42627:147::-;42308:7;42335:12;;;:6;:12;;;;;:22;;;40709:30;40720:4;16887:10;40709;:30::i;:::-;42741:25:::1;42752:4;42758:7;42741:10;:25::i;:::-;42627:147:::0;;;:::o;43675:218::-;-1:-1:-1;;;;;43771:23:0;;16887:10;43771:23;43763:83;;;;-1:-1:-1;;;43763:83:0;;12867:2:1;43763:83:0;;;12849:21:1;12906:2;12886:18;;;12879:30;12945:34;12925:18;;;12918:62;-1:-1:-1;;;12996:18:1;;;12989:45;13051:19;;43763:83:0;12665:411:1;43763:83:0;43859:26;43871:4;43877:7;43859:11;:26::i;20366:524::-;20522:16;20583:3;:10;20564:8;:15;:29;20556:83;;;;-1:-1:-1;;;20556:83:0;;13283:2:1;20556:83:0;;;13265:21:1;13322:2;13302:18;;;13295:30;13361:34;13341:18;;;13334:62;-1:-1:-1;;;13412:18:1;;;13405:39;13461:19;;20556:83:0;13081:405:1;20556:83:0;20652:30;20699:8;:15;20685:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20685:30:0;;20652:63;;20733:9;20728:122;20752:8;:15;20748:1;:19;20728:122;;;20808:30;20818:8;20827:1;20818:11;;;;;;;;:::i;:::-;;;;;;;20831:3;20835:1;20831:6;;;;;;;;:::i;:::-;;;;;;;20808:9;:30::i;:::-;20789:13;20803:1;20789:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;20769:3;;;:::i;:::-;;;20728:122;;;-1:-1:-1;20869:13:0;20366:524;-1:-1:-1;;;20366:524:0:o;41127:139::-;41205:4;41229:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;41229:29:0;;;;;;;;;;;;;;;41127:139::o;20963:311::-;16887:10;-1:-1:-1;;;;;21066:24:0;;;;21058:78;;;;-1:-1:-1;;;21058:78:0;;13693:2:1;21058:78:0;;;13675:21:1;13732:2;13712:18;;;13705:30;13771:34;13751:18;;;13744:62;-1:-1:-1;;;13822:18:1;;;13815:39;13871:19;;21058:78:0;13491:405:1;21058:78:0;16887:10;21149:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;21149:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;21149:53:0;;;;;;;;;;21218:48;;1159:41:1;;;21149:42:0;;16887:10;21218:48;;1132:18:1;21218:48:0;;;;;;;20963:311;;:::o;43019:149::-;42308:7;42335:12;;;:6;:12;;;;;:22;;;40709:30;40720:4;16887:10;40709;:30::i;:::-;43134:26:::1;43146:4;43152:7;43134:11;:26::i;21586:401::-:0;-1:-1:-1;;;;;21794:20:0;;16887:10;21794:20;;:60;;-1:-1:-1;21818:36:0;21835:4;16887:10;21346:168;:::i;21818:36::-;21772:151;;;;-1:-1:-1;;;21772:151:0;;14103:2:1;21772:151:0;;;14085:21:1;14142:2;14122:18;;;14115:30;14181:34;14161:18;;;14154:62;-1:-1:-1;;;14232:18:1;;;14225:39;14281:19;;21772:151:0;13901:405:1;21772:151:0;21934:45;21952:4;21958:2;21962;21966:6;21974:4;21934:17;:45::i;40831:204::-;40916:4;-1:-1:-1;;;;;;40940:47:0;;-1:-1:-1;;;40940:47:0;;:87;;;40991:36;41015:11;40991:23;:36::i;41556:497::-;41637:22;41645:4;41651:7;41637;:22::i;:::-;41632:414;;41825:41;41853:7;-1:-1:-1;;;;;41825:41:0;41863:2;41825:19;:41::i;:::-;41939:38;41967:4;41974:2;41939:19;:38::i;:::-;41730:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;41730:270:0;;;;;;;;;;-1:-1:-1;;;41676:358:0;;;;;;;:::i;26066:88::-;26133:13;;;;:4;;:13;;;;;:::i;27510:735::-;-1:-1:-1;;;;;27688:16:0;;27680:62;;;;-1:-1:-1;;;27680:62:0;;15304:2:1;27680:62:0;;;15286:21:1;15343:2;15323:18;;;15316:30;15382:34;15362:18;;;15355:62;-1:-1:-1;;;15433:18:1;;;15426:31;15474:19;;27680:62:0;15102:397:1;27680:62:0;27775:7;:14;27761:3;:10;:28;27753:81;;;;-1:-1:-1;;;27753:81:0;;;;;;;:::i;:::-;16887:10;27847:16;27970:103;27994:3;:10;27990:1;:14;27970:103;;;28051:7;28059:1;28051:10;;;;;;;;:::i;:::-;;;;;;;28026:9;:17;28036:3;28040:1;28036:6;;;;;;;;:::i;:::-;;;;;;;28026:17;;;;;;;;;;;:21;28044:2;-1:-1:-1;;;;;28026:21:0;-1:-1:-1;;;;;28026:21:0;;;;;;;;;;;;;:35;;;;;;;:::i;:::-;;;;-1:-1:-1;28006:3:0;;-1:-1:-1;28006:3:0;;;:::i;:::-;;;;27970:103;;;;28126:2;-1:-1:-1;;;;;28090:53:0;28122:1;-1:-1:-1;;;;;28090:53:0;28104:8;-1:-1:-1;;;;;28090:53:0;;28130:3;28135:7;28090:53;;;;;;;:::i;:::-;;;;;;;;28156:81;28192:8;28210:1;28214:2;28218:3;28223:7;28232:4;28156:35;:81::i;24148:1074::-;24375:7;:14;24361:3;:10;:28;24353:81;;;;-1:-1:-1;;;24353:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;24453:16:0;;24445:66;;;;-1:-1:-1;;;24445:66:0;;;;;;;:::i;:::-;16887:10;24524:16;24641:421;24665:3;:10;24661:1;:14;24641:421;;;24697:10;24710:3;24714:1;24710:6;;;;;;;;:::i;:::-;;;;;;;24697:19;;24731:14;24748:7;24756:1;24748:10;;;;;;;;:::i;:::-;;;;;;;;;;;;24775:19;24797:13;;;;;;;;;;-1:-1:-1;;;;;24797:19:0;;;;;;;;;;;;24748:10;;-1:-1:-1;24839:21:0;;;;24831:76;;;;-1:-1:-1;;;24831:76:0;;;;;;;:::i;:::-;24951:9;:13;;;;;;;;;;;-1:-1:-1;;;;;24951:19:0;;;;;;;;;;24973:20;;;24951:42;;25023:17;;;;;;;:27;;24973:20;;24951:9;25023:27;;24973:20;;25023:27;:::i;:::-;;;;;;;;24682:380;;;24677:3;;;;:::i;:::-;;;24641:421;;;;25109:2;-1:-1:-1;;;;;25079:47:0;25103:4;-1:-1:-1;;;;;25079:47:0;25093:8;-1:-1:-1;;;;;25079:47:0;;25113:3;25118:7;25079:47;;;;;;;:::i;:::-;;;;;;;;25139:75;25175:8;25185:4;25191:2;25195:3;25200:7;25209:4;25139:35;:75::i;:::-;24342:880;24148:1074;;;;;:::o;44979:229::-;45054:22;45062:4;45068:7;45054;:22::i;:::-;45049:152;;45093:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;45093:29:0;;;;;;;;;:36;;-1:-1:-1;;45093:36:0;45125:4;45093:36;;;45176:12;16887:10;;16807:98;45176:12;-1:-1:-1;;;;;45149:40:0;45167:7;-1:-1:-1;;;;;45149:40:0;45161:4;45149:40;;;;;;;;;;44979:229;;:::o;45216:230::-;45291:22;45299:4;45305:7;45291;:22::i;:::-;45287:152;;;45362:5;45330:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;45330:29:0;;;;;;;;;;:37;;-1:-1:-1;;45330:37:0;;;45387:40;16887:10;;45330:12;;45387:40;;45362:5;45387:40;45216:230;;:::o;22970:820::-;-1:-1:-1;;;;;23158:16:0;;23150:66;;;;-1:-1:-1;;;23150:66:0;;;;;;;:::i;:::-;16887:10;23273:96;16887:10;23304:4;23310:2;23314:21;23332:2;23314:17;:21::i;:::-;23337:25;23355:6;23337:17;:25::i;23273:96::-;23382:19;23404:13;;;;;;;;;;;-1:-1:-1;;;;;23404:19:0;;;;;;;;;;23442:21;;;;23434:76;;;;-1:-1:-1;;;23434:76:0;;;;;;;:::i;:::-;23546:9;:13;;;;;;;;;;;-1:-1:-1;;;;;23546:19:0;;;;;;;;;;23568:20;;;23546:42;;23610:17;;;;;;;:27;;23568:20;;23546:9;23610:27;;23568:20;;23610:27;:::i;:::-;;;;-1:-1:-1;;23655:46:0;;;17374:25:1;;;17430:2;17415:18;;17408:34;;;-1:-1:-1;;;;;23655:46:0;;;;;;;;;;;;;;17347:18:1;23655:46:0;;;;;;;23714:68;23745:8;23755:4;23761:2;23765;23769:6;23777:4;23714:30;:68::i;:::-;23139:651;;22970:820;;;;;:::o;18992:310::-;19094:4;-1:-1:-1;;;;;;19131:41:0;;-1:-1:-1;;;19131:41:0;;:110;;-1:-1:-1;;;;;;;19189:52:0;;-1:-1:-1;;;19189:52:0;19131:110;:163;;;-1:-1:-1;;;;;;;;;;17930:40:0;;;19258:36;17821:157;37862:451;37937:13;37963:19;37995:10;37999:6;37995:1;:10;:::i;:::-;:14;;38008:1;37995:14;:::i;:::-;37985:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37985:25:0;;37963:47;;-1:-1:-1;;;38021:6:0;38028:1;38021:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;38021:15:0;;;;;;;;;-1:-1:-1;;;38047:6:0;38054:1;38047:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;38047:15:0;;;;;;;;-1:-1:-1;38078:9:0;38090:10;38094:6;38090:1;:10;:::i;:::-;:14;;38103:1;38090:14;:::i;:::-;38078:26;;38073:135;38110:1;38106;:5;38073:135;;;-1:-1:-1;;;38158:5:0;38166:3;38158:11;38145:25;;;;;;;:::i;:::-;;;;38133:6;38140:1;38133:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;38133:37:0;;;;;;;;-1:-1:-1;38195:1:0;38185:11;;;;;38113:3;;;:::i;:::-;;;38073:135;;;-1:-1:-1;38226:10:0;;38218:55;;;;-1:-1:-1;;;38218:55:0;;17969:2:1;38218:55:0;;;17951:21:1;;;17988:18;;;17981:30;18047:34;18027:18;;;18020:62;18099:18;;38218:55:0;17767:356:1;38218:55:0;38298:6;37862:451;-1:-1:-1;;;37862:451:0:o;32237:813::-;-1:-1:-1;;;;;32477:13:0;;9170:20;9218:8;32473:570;;32513:79;;-1:-1:-1;;;32513:79:0;;-1:-1:-1;;;;;32513:43:0;;;;;:79;;32557:8;;32567:4;;32573:3;;32578:7;;32587:4;;32513:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32513:79:0;;;;;;;;-1:-1:-1;;32513:79:0;;;;;;;;;;;;:::i;:::-;;;32509:523;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;32905:6;32898:14;;-1:-1:-1;;;32898:14:0;;;;;;;;:::i;32509:523::-;;;32954:62;;-1:-1:-1;;;32954:62:0;;20276:2:1;32954:62:0;;;20258:21:1;20315:2;20295:18;;;20288:30;20354:34;20334:18;;;20327:62;-1:-1:-1;;;20405:18:1;;;20398:50;20465:19;;32954:62:0;20074:416:1;32509:523:0;-1:-1:-1;;;;;;32674:60:0;;-1:-1:-1;;;32674:60:0;32670:159;;32759:50;;-1:-1:-1;;;32759:50:0;;;;;;;:::i;33058:198::-;33178:16;;;33192:1;33178:16;;;;;;;;;33124;;33153:22;;33178:16;;;;;;;;;;;;-1:-1:-1;33178:16:0;33153:41;;33216:7;33205:5;33211:1;33205:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;33243:5;33058:198;-1:-1:-1;;33058:198:0:o;31485:744::-;-1:-1:-1;;;;;31700:13:0;;9170:20;9218:8;31696:526;;31736:72;;-1:-1:-1;;;31736:72:0;;-1:-1:-1;;;;;31736:38:0;;;;;:72;;31775:8;;31785:4;;31791:2;;31795:6;;31803:4;;31736:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31736:72:0;;;;;;;;-1:-1:-1;;31736:72:0;;;;;;;;;;;;:::i;:::-;;;31732:479;;;;:::i;:::-;-1:-1:-1;;;;;;31858:55:0;;-1:-1:-1;;;31858:55:0;31854:154;;31938:50;;-1:-1:-1;;;31938: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;687:71;633:131;:::o;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:127::-;1272:10;1267:3;1263:20;1260:1;1253:31;1303:4;1300:1;1293:15;1327:4;1324:1;1317:15;1343:249;1453:2;1434:13;;-1:-1:-1;;1430:27:1;1418:40;;1488:18;1473:34;;1509:22;;;1470:62;1467:88;;;1535:18;;:::i;:::-;1571:2;1564:22;-1:-1:-1;;1343:249:1:o;1597:469::-;1662:5;1696:18;1688:6;1685:30;1682:56;;;1718:18;;:::i;:::-;1767:2;1761:9;1779:69;1836:2;1815:15;;-1:-1:-1;;1811:29:1;1842:4;1807:40;1761:9;1779:69;:::i;:::-;1866:6;1857:15;;1896:6;1888;1881:22;1936:3;1927:6;1922:3;1918:16;1915:25;1912:45;;;1953:1;1950;1943:12;1912:45;2003:6;1998:3;1991:4;1983:6;1979:17;1966:44;2058:1;2051:4;2042:6;2034;2030:19;2026:30;2019:41;;1597:469;;;;;:::o;2071:451::-;2140:6;2193:2;2181:9;2172:7;2168:23;2164:32;2161:52;;;2209:1;2206;2199:12;2161:52;2249:9;2236:23;2282:18;2274:6;2271:30;2268:50;;;2314:1;2311;2304:12;2268:50;2337:22;;2390:4;2382:13;;2378:27;-1:-1:-1;2368:55:1;;2419:1;2416;2409:12;2368:55;2442:74;2508:7;2503:2;2490:16;2485:2;2481;2477:11;2442:74;:::i;:::-;2432:84;2071:451;-1:-1:-1;;;;2071:451:1:o;2527:180::-;2586:6;2639:2;2627:9;2618:7;2614:23;2610:32;2607:52;;;2655:1;2652;2645:12;2607:52;-1:-1:-1;2678:23:1;;2527:180;-1:-1:-1;2527:180:1:o;2712:258::-;2784:1;2794:113;2808:6;2805:1;2802:13;2794:113;;;2884:11;;;2878:18;2865:11;;;2858:39;2830:2;2823:10;2794:113;;;2925:6;2922:1;2919:13;2916:48;;;2960:1;2951:6;2946:3;2942:16;2935:27;2916:48;;2712:258;;;:::o;2975:::-;3017:3;3055:5;3049:12;3082:6;3077:3;3070:19;3098:63;3154:6;3147:4;3142:3;3138:14;3131:4;3124:5;3120:16;3098:63;:::i;:::-;3215:2;3194:15;-1:-1:-1;;3190:29:1;3181:39;;;;3222:4;3177:50;;2975:258;-1:-1:-1;;2975:258:1:o;3238:220::-;3387:2;3376:9;3369:21;3350:4;3407:45;3448:2;3437:9;3433:18;3425:6;3407:45;:::i;3463:183::-;3523:4;3556:18;3548:6;3545:30;3542:56;;;3578:18;;:::i;:::-;-1:-1:-1;3623:1:1;3619:14;3635:4;3615:25;;3463:183::o;3651:724::-;3705:5;3758:3;3751:4;3743:6;3739:17;3735:27;3725:55;;3776:1;3773;3766:12;3725:55;3812:6;3799:20;3838:4;3861:43;3901:2;3861:43;:::i;:::-;3933:2;3927:9;3945:31;3973:2;3965:6;3945:31;:::i;:::-;4011:18;;;4103:1;4099:10;;;;4087:23;;4083:32;;;4045:15;;;;-1:-1:-1;4127:15:1;;;4124:35;;;4155:1;4152;4145:12;4124:35;4191:2;4183:6;4179:15;4203:142;4219:6;4214:3;4211:15;4203:142;;;4285:17;;4273:30;;4323:12;;;;4236;;4203:142;;;-1:-1:-1;4363:6:1;3651:724;-1:-1:-1;;;;;;3651:724:1:o;4380:221::-;4422:5;4475:3;4468:4;4460:6;4456:17;4452:27;4442:55;;4493:1;4490;4483:12;4442:55;4515:80;4591:3;4582:6;4569:20;4562:4;4554:6;4550:17;4515:80;:::i;4606:868::-;4751:6;4759;4767;4775;4828:3;4816:9;4807:7;4803:23;4799:33;4796:53;;;4845:1;4842;4835:12;4796:53;4868:29;4887:9;4868:29;:::i;:::-;4858:39;;4948:2;4937:9;4933:18;4920:32;4971:18;5012:2;5004:6;5001:14;4998:34;;;5028:1;5025;5018:12;4998:34;5051:61;5104:7;5095:6;5084:9;5080:22;5051:61;:::i;:::-;5041:71;;5165:2;5154:9;5150:18;5137:32;5121:48;;5194:2;5184:8;5181:16;5178:36;;;5210:1;5207;5200:12;5178:36;5233:63;5288:7;5277:8;5266:9;5262:24;5233:63;:::i;:::-;5223:73;;5349:2;5338:9;5334:18;5321:32;5305:48;;5378:2;5368:8;5365:16;5362:36;;;5394:1;5391;5384:12;5362:36;;5417:51;5460:7;5449:8;5438:9;5434:24;5417:51;:::i;:::-;5407:61;;;4606:868;;;;;;;:::o;5846:943::-;6000:6;6008;6016;6024;6032;6085:3;6073:9;6064:7;6060:23;6056:33;6053:53;;;6102:1;6099;6092:12;6053:53;6125:29;6144:9;6125:29;:::i;:::-;6115:39;;6173:38;6207:2;6196:9;6192:18;6173:38;:::i;:::-;6163:48;;6262:2;6251:9;6247:18;6234:32;6285:18;6326:2;6318:6;6315:14;6312:34;;;6342:1;6339;6332:12;6312:34;6365:61;6418:7;6409:6;6398:9;6394:22;6365:61;:::i;:::-;6355:71;;6479:2;6468:9;6464:18;6451:32;6435:48;;6508:2;6498:8;6495:16;6492:36;;;6524:1;6521;6514:12;6492:36;6547:63;6602:7;6591:8;6580:9;6576:24;6547:63;:::i;:::-;6537:73;;6663:3;6652:9;6648:19;6635:33;6619:49;;6693:2;6683:8;6680:16;6677:36;;;6709:1;6706;6699:12;6677:36;;6732:51;6775:7;6764:8;6753:9;6749:24;6732:51;:::i;:::-;6722:61;;;5846:943;;;;;;;;:::o;6794:254::-;6862:6;6870;6923:2;6911:9;6902:7;6898:23;6894:32;6891:52;;;6939:1;6936;6929:12;6891:52;6975:9;6962:23;6952:33;;7004:38;7038:2;7027:9;7023:18;7004:38;:::i;:::-;6994:48;;6794:254;;;;;:::o;7053:1208::-;7171:6;7179;7232:2;7220:9;7211:7;7207:23;7203:32;7200:52;;;7248:1;7245;7238:12;7200:52;7288:9;7275:23;7317:18;7358:2;7350:6;7347:14;7344:34;;;7374:1;7371;7364:12;7344:34;7412:6;7401:9;7397:22;7387:32;;7457:7;7450:4;7446:2;7442:13;7438:27;7428:55;;7479:1;7476;7469:12;7428:55;7515:2;7502:16;7537:4;7560:43;7600:2;7560:43;:::i;:::-;7632:2;7626:9;7644:31;7672:2;7664:6;7644:31;:::i;:::-;7710:18;;;7798:1;7794:10;;;;7786:19;;7782:28;;;7744:15;;;;-1:-1:-1;7822:19:1;;;7819:39;;;7854:1;7851;7844:12;7819:39;7878:11;;;;7898:148;7914:6;7909:3;7906:15;7898:148;;;7980:23;7999:3;7980:23;:::i;:::-;7968:36;;7931:12;;;;8024;;;;7898:148;;;8065:6;-1:-1:-1;;8109:18:1;;8096:32;;-1:-1:-1;;8140:16:1;;;8137:36;;;8169:1;8166;8159:12;8137:36;;8192:63;8247:7;8236:8;8225:9;8221:24;8192:63;:::i;:::-;8182:73;;;7053:1208;;;;;:::o;8266:435::-;8319:3;8357:5;8351:12;8384:6;8379:3;8372:19;8410:4;8439:2;8434:3;8430:12;8423:19;;8476:2;8469:5;8465:14;8497:1;8507:169;8521:6;8518:1;8515:13;8507:169;;;8582:13;;8570:26;;8616:12;;;;8651:15;;;;8543:1;8536:9;8507:169;;;-1:-1:-1;8692:3:1;;8266:435;-1:-1:-1;;;;;8266:435:1:o;8706:261::-;8885:2;8874:9;8867:21;8848:4;8905:56;8957:2;8946:9;8942:18;8934:6;8905:56;:::i;8972:347::-;9037:6;9045;9098:2;9086:9;9077:7;9073:23;9069:32;9066:52;;;9114:1;9111;9104:12;9066:52;9137:29;9156:9;9137:29;:::i;:::-;9127:39;;9216:2;9205:9;9201:18;9188:32;9263:5;9256:13;9249:21;9242:5;9239:32;9229:60;;9285:1;9282;9275:12;9229:60;9308:5;9298:15;;;8972:347;;;;;:::o;9324:260::-;9392:6;9400;9453:2;9441:9;9432:7;9428:23;9424:32;9421:52;;;9469:1;9466;9459:12;9421:52;9492:29;9511:9;9492:29;:::i;:::-;9482:39;;9540:38;9574:2;9563:9;9559:18;9540:38;:::i;9589:606::-;9693:6;9701;9709;9717;9725;9778:3;9766:9;9757:7;9753:23;9749:33;9746:53;;;9795:1;9792;9785:12;9746:53;9818:29;9837:9;9818:29;:::i;:::-;9808:39;;9866:38;9900:2;9889:9;9885:18;9866:38;:::i;:::-;9856:48;;9951:2;9940:9;9936:18;9923:32;9913:42;;10002:2;9991:9;9987:18;9974:32;9964:42;;10057:3;10046:9;10042:19;10029:33;10085:18;10077:6;10074:30;10071:50;;;10117:1;10114;10107:12;10071:50;10140:49;10181:7;10172:6;10161:9;10157:22;10140:49;:::i;10612:380::-;10691:1;10687:12;;;;10734;;;10755:61;;10809:4;10801:6;10797:17;10787:27;;10755:61;10862:2;10854:6;10851:14;10831:18;10828:38;10825:161;;;10908:10;10903:3;10899:20;10896:1;10889:31;10943:4;10940:1;10933:15;10971:4;10968:1;10961:15;10825:161;;10612:380;;;:::o;10997:127::-;11058:10;11053:3;11049:20;11046:1;11039:31;11089:4;11086:1;11079:15;11113:4;11110:1;11103:15;11489:127;11550:10;11545:3;11541:20;11538:1;11531:31;11581:4;11578:1;11571:15;11605:4;11602:1;11595:15;11621:135;11660:3;-1:-1:-1;;11681:17:1;;11678:43;;;11701:18;;:::i;:::-;-1:-1:-1;11748:1:1;11737:13;;11621:135::o;11761:128::-;11801:3;11832:1;11828:6;11825:1;11822:13;11819:39;;;11838:18;;:::i;:::-;-1:-1:-1;11874:9:1;;11761:128::o;14311:786::-;14722:25;14717:3;14710:38;14692:3;14777:6;14771:13;14793:62;14848:6;14843:2;14838:3;14834:12;14827:4;14819:6;14815:17;14793:62;:::i;:::-;-1:-1:-1;;;14914:2:1;14874:16;;;14906:11;;;14899:40;14964:13;;14986:63;14964:13;15035:2;15027:11;;15020:4;15008:17;;14986:63;:::i;:::-;15069:17;15088:2;15065:26;;14311:786;-1:-1:-1;;;;14311:786:1:o;15504:404::-;15706:2;15688:21;;;15745:2;15725:18;;;15718:30;15784:34;15779:2;15764:18;;15757:62;-1:-1:-1;;;15850:2:1;15835:18;;15828:38;15898:3;15883:19;;15504:404::o;15913:465::-;16170:2;16159:9;16152:21;16133:4;16196:56;16248:2;16237:9;16233:18;16225:6;16196:56;:::i;:::-;16300:9;16292:6;16288:22;16283:2;16272:9;16268:18;16261:50;16328:44;16365:6;16357;16328:44;:::i;:::-;16320:52;15913:465;-1:-1:-1;;;;;15913:465:1:o;16383:401::-;16585:2;16567:21;;;16624:2;16604:18;;;16597:30;16663:34;16658:2;16643:18;;16636:62;-1:-1:-1;;;16729:2:1;16714:18;;16707:35;16774:3;16759:19;;16383:401::o;16789:406::-;16991:2;16973:21;;;17030:2;17010:18;;;17003:30;17069:34;17064:2;17049:18;;17042:62;-1:-1:-1;;;17135:2:1;17120:18;;17113:40;17185:3;17170:19;;16789:406::o;17453:168::-;17493:7;17559:1;17555;17551:6;17547:14;17544:1;17541:21;17536:1;17529:9;17522:17;17518:45;17515:71;;;17566:18;;:::i;:::-;-1:-1:-1;17606:9:1;;17453:168::o;17626:136::-;17665:3;17693:5;17683:39;;17702:18;;:::i;:::-;-1:-1:-1;;;17738:18:1;;17626:136::o;18128:827::-;-1:-1:-1;;;;;18525:15:1;;;18507:34;;18577:15;;18572:2;18557:18;;18550:43;18487:3;18624:2;18609:18;;18602:31;;;18450:4;;18656:57;;18693:19;;18685:6;18656:57;:::i;:::-;18761:9;18753:6;18749:22;18744:2;18733:9;18729:18;18722:50;18795:44;18832:6;18824;18795:44;:::i;:::-;18781:58;;18888:9;18880:6;18876:22;18870:3;18859:9;18855:19;18848:51;18916:33;18942:6;18934;18916:33;:::i;:::-;18908:41;18128:827;-1:-1:-1;;;;;;;;18128:827:1:o;18960:249::-;19029:6;19082:2;19070:9;19061:7;19057:23;19053:32;19050:52;;;19098:1;19095;19088:12;19050:52;19130:9;19124:16;19149:30;19173:5;19149:30;:::i;19214:179::-;19249:3;19291:1;19273:16;19270:23;19267:120;;;19337:1;19334;19331;19316:23;-1:-1:-1;19374:1:1;19368:8;19363:3;19359:18;19267:120;19214:179;:::o;19398:671::-;19437:3;19479:4;19461:16;19458:26;19455:39;;;19398:671;:::o;19455:39::-;19521:2;19515:9;-1:-1:-1;;19586:16:1;19582:25;;19579:1;19515:9;19558:50;19637:4;19631:11;19661:16;19696:18;19767:2;19760:4;19752:6;19748:17;19745:25;19740:2;19732:6;19729:14;19726:45;19723:58;;;19774:5;;;;;19398:671;:::o;19723:58::-;19811:6;19805:4;19801:17;19790:28;;19847:3;19841:10;19874:2;19866:6;19863:14;19860:27;;;19880:5;;;;;;19398:671;:::o;19860:27::-;19964:2;19945:16;19939:4;19935:27;19931:36;19924:4;19915:6;19910:3;19906:16;19902:27;19899:69;19896:82;;;19971:5;;;;;;19398:671;:::o;19896:82::-;19987:57;20038:4;20029:6;20021;20017:19;20013:30;20007:4;19987:57;:::i;:::-;-1:-1:-1;20060:3:1;;19398:671;-1:-1:-1;;;;;19398:671:1:o;20495:404::-;20697:2;20679:21;;;20736:2;20716:18;;;20709:30;20775:34;20770:2;20755:18;;20748:62;-1:-1:-1;;;20841:2:1;20826:18;;20819:38;20889:3;20874:19;;20495:404::o;20904:561::-;-1:-1:-1;;;;;21201:15:1;;;21183:34;;21253:15;;21248:2;21233:18;;21226:43;21300:2;21285:18;;21278:34;;;21343:2;21328:18;;21321:34;;;21163:3;21386;21371:19;;21364:32;;;21126:4;;21413:46;;21439:19;;21431:6;21413:46;:::i;:::-;21405:54;20904:561;-1:-1:-1;;;;;;;20904:561:1:o

Swarm Source

ipfs://d884725dcc948677f802e53d3982c4b97b7c6560739b3c51de3886b4b2a54bff
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.