ETH Price: $2,517.73 (-5.17%)

Token

Robotars (Robotars)
 

Overview

Max Total Supply

4,999 Robotars

Holders

755

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
mrzer0x.eth
0x45552e83823c69b56e71a3da8c7249c9fea0999e
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Robotars

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-11-07
*/

// File: @openzeppelin/contracts/utils/Strings.sol



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/utils/Context.sol



pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol



pragma solidity ^0.8.0;


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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: @openzeppelin/contracts/utils/Address.sol



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/introspection/IERC165.sol



pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol



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/IERC1155Receiver.sol



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/utils/ERC1155Receiver.sol



pragma solidity ^0.8.0;



/**
 * @dev _Available since v3.1._
 */
abstract contract ERC1155Receiver is ERC165, IERC1155Receiver {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);
    }
}

// File: @openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol



pragma solidity ^0.8.0;


/**
 * @dev _Available since v3.1._
 */
contract ERC1155Holder is ERC1155Receiver {
    function onERC1155Received(
        address,
        address,
        uint256,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC1155Received.selector;
    }

    function onERC1155BatchReceived(
        address,
        address,
        uint256[] memory,
        uint256[] memory,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC1155BatchReceived.selector;
    }
}

// File: @openzeppelin/contracts/token/ERC1155/IERC1155.sol



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/extensions/IERC1155MetadataURI.sol



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/token/ERC1155/ERC1155.sol



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: baselib/Initializable.sol



pragma solidity ^0.8.0;

contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}
// File: baselib/EIP712Base.sol



pragma solidity ^0.8.0;


contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string constant public ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
        bytes(
            "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
        )
    );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contracts that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(
        string memory name
    )
        internal
        initializer
    {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public view returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
}
// File: baselib/SafeMath.sol



pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}
// File: baselib/NativeMetaTransaction.sol



pragma solidity ^0.8.0;



contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(
        bytes(
            "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
        )
    );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].add(1);

        emit MetaTransactionExecuted(
            userAddress,
            payable(msg.sender),
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
}
// File: Robotars.sol



pragma solidity ^0.8.0;






contract Robotars is ERC1155, ERC1155Holder, NativeMetaTransaction,Ownable {
    using SafeMath for uint256;
    
    // uint256 constant MAX_NUM_PER_TOKEN = 1;    
    uint256 private price = 0.06 ether; // 
    
    uint16 constant MAX_TOTAL_SUPPLY = 4999;
        
     // Random tokens assignment
    uint16 internal currentID = 0;
    uint16[MAX_TOTAL_SUPPLY] internal indices;
    
    bytes4 private constant INTERFACE_SIGNATURE_ERC165 = 0x01ffc9a7;
    bytes4 private constant INTERFACE_SIGNATURE_ERC1155 = 0xd9b67a26;
    bytes4 private constant INTERFACE_SIGNATURE_URI = 0x0e89341c;

    //
    bool public presaleActive = false;
    bool public saleActive = false;
    
    //
    string internal constant NAME = "Robotars";
    string internal constant SYMBOL = "Robotars";
    string internal constant _CONTRACT = "ERC1155";
    string private URI_BASE =
        "https://robotars.s3.us-west-1.amazonaws.com/metadata/robotars-metadata-";

    mapping(address => uint16) public presaleWhitelist;

    constructor() ERC1155(URI_BASE) {        
        _initializeEIP712(NAME);
    }
    
    function randomToken(uint16 curIndex) internal returns (uint16, uint16) {
        uint16 totalSize = MAX_TOTAL_SUPPLY - curIndex;
        uint256 index = uint256(
            keccak256(
                abi.encodePacked(
                    curIndex,
                    msg.sender,
                    block.difficulty,
                    block.timestamp
                )
            )
        ) % totalSize;
        //uint16 index = uint16(index256);
        uint16 value = 0;
        if (indices[index] != 0) {
            value = indices[index];
        } else {
            value = uint16(index);
        }

        // Move last value to selected position
        if (indices[totalSize - 1] == 0) {
            // Array position not initialized, so use position
            indices[index] = totalSize - 1;
        } else {
            // Array position holds a value so use that
            indices[index] = indices[totalSize - 1];
        }
        curIndex++;
        // Don't allow a zero index, start counting at 1
        return (value+1, curIndex);
    }
    

    function editPresale(
        address[] calldata presaleAddresses,
        uint16[] calldata amount
    ) external onlyOwner {
        for (uint16 i = 0; i < presaleAddresses.length; i++) {
            presaleWhitelist[presaleAddresses[i]] = amount[i];
        }
    }

    function mintPresale(uint16 _customBatchCount) external payable {
        uint16 reserved = presaleWhitelist[msg.sender];
        require(presaleActive, "Presale must be active to mint");
        require(reserved > 0, "No tokens reserved for this address");
        require(_customBatchCount <= reserved, "Can't mint more than reserved");
        require(_customBatchCount > 0, "count should be more than one");
        require(
            price.mul(_customBatchCount) <= msg.value,
            "Sorry, sending incorrect eth value"
        );
        presaleWhitelist[msg.sender] = reserved - _customBatchCount;
        _batchMint(msg.sender, _customBatchCount);
    }

    function mintPayable(uint16 _customBatchCount) external payable {
        require(saleActive, "Sale must be active to mint");
        require(_customBatchCount > 0, "count should be more than one");
        require(
            price.mul(_customBatchCount) <= msg.value,
            "Sorry, sending incorrect eth value"
        );

        _batchMint(msg.sender, _customBatchCount);
    }

    function mint(address _to,uint16 _customBatchCount) external onlyOwner {
        if (_customBatchCount <= 0) _customBatchCount = 50;

        _batchMint(_to, _customBatchCount);
    }


    function _batchMint(address _to, uint16 num) private {
        uint16 totalSize = MAX_TOTAL_SUPPLY - currentID;        
        require(
            num <= totalSize,
            "Sorry, Request More than TotalSupply, Please Change Number"
        );
        uint16 curIndex = currentID;
        uint256[] memory ids = new uint256[](num);
        uint256[] memory amounts = new uint256[](num);
        
        for (uint16 i = 0; i < num; i++) {
            (ids[i], curIndex) = randomToken(curIndex);
            amounts[i] = 1;//MAX_NUM_PER_TOKEN;
        }
        currentID = curIndex;
        super._mintBatch(_to, ids, amounts, "");
        
    }
    


    function setBaseUri(string memory _uri) public onlyOwner {
         URI_BASE = _uri;
    }
    
    // Make it possible to change the price: just in case
    function setPrice(uint256 _newPrice) external onlyOwner {
        price = _newPrice;
    }

    function getPrice() external view returns (uint256) {
        return price;
    }

    function setSalePreSale(bool isSale, bool isPreSale) public onlyOwner {
        presaleActive = isPreSale;
        saleActive = isSale;
    }    

    function name() external pure returns (string memory) {
        return NAME;
    }

    function symbol() external pure returns (string memory) {
        return SYMBOL;
    }

    function supportsFactoryInterface() public pure returns (bool) {
        return true;
    }

    function factorySchemaName() external pure returns (string memory) {
        return _CONTRACT;
    }

    function totalSupply() external pure returns (uint256) {
        return MAX_TOTAL_SUPPLY;
    }

    
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC1155, ERC1155Receiver)
        returns (bool)
    {
        if (
            interfaceId == INTERFACE_SIGNATURE_ERC165 ||
            interfaceId == INTERFACE_SIGNATURE_ERC1155 ||
            interfaceId == INTERFACE_SIGNATURE_URI
        ) {
            return true;
        }
        return super.supportsInterface(interfaceId);
    }

    function uri(uint256 _tokenId)
        public
        view
        override
        returns (string memory)
    {
        return _getUri(_tokenId);
    }

    function _getUri(uint256 _tokenId) internal view returns (string memory) {
        return
            string(
                abi.encodePacked(URI_BASE, Strings.toString(_tokenId), ".json")
            );
    }
    
    function withdraw() public onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(
            success,
            "Address: unable to send value, recipient may have reverted"
        );
    }
    
    receive() external payable {}

    fallback() external payable {}
    
}

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":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"presaleAddresses","type":"address[]"},{"internalType":"uint16[]","name":"amount","type":"uint16[]"}],"name":"editPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"factorySchemaName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint16","name":"_customBatchCount","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_customBatchCount","type":"uint16"}],"name":"mintPayable","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_customBatchCount","type":"uint16"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleWhitelist","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_uri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isSale","type":"bool"},{"internalType":"bool","name":"isPreSale","type":"bool"}],"name":"setSalePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supportsFactoryInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6003805460ff1916905566d529ae9e8600006007556008805461ffff199081169091556101428054909116905561010060405260476080818152906200338860a0398051620000589161014391602090910190620002b9565b503480156200006657600080fd5b50610143805462000077906200035f565b80601f0160208091040260200160405190810160405280929190818152602001828054620000a5906200035f565b8015620000f65780601f10620000ca57610100808354040283529160200191620000f6565b820191906000526020600020905b815481529060010190602001808311620000d857829003601f168201915b50505050506200010c816200014860201b60201c565b50620001183362000161565b604080518082019091526008815267526f626f7461727360c01b60208201526200014290620001b3565b6200039c565b80516200015d906002906020840190620002b9565b5050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60035460ff1615620001fc5760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481a5b9a5d195960921b604482015260640160405180910390fd5b620002078162000217565b506003805460ff19166001179055565b6040518060800160405280604f815260200162003339604f9139805160209182012082519282019290922060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608401523060808401524660a0808501919091528151808503909101815260c090930190528151910120600455565b828054620002c7906200035f565b90600052602060002090601f016020900481019282620002eb576000855562000336565b82601f106200030657805160ff191683800117855562000336565b8280016001018555821562000336579182015b828111156200033657825182559160200191906001019062000319565b506200034492915062000348565b5090565b5b8082111562000344576000815560010162000349565b600181811c908216806200037457607f821691505b602082108114156200039657634e487b7160e01b600052602260045260246000fd5b50919050565b612f8d80620003ac6000396000f3fe6080604052600436106101ef5760003560e01c8063715018a61161010c578063bc197c811161009a578063eb66af781161006c578063eb66af78146105ef578063eb8835ab1461060f578063f23a6e6114610654578063f242432a14610680578063f2fde38b146106a057005b8063bc197c811461053a578063c311c5231461057f578063e4f73d6814610593578063e985e9c5146105a657005b806395d89b41116100de57806395d89b411461025b57806398d5fdca146104c5578063a0bcfc7f146104da578063a22cb465146104fa578063ad0be4bd1461051a57005b8063715018a6146104485780637812e6321461045d5780638da5cb5b1461047d57806391b7f5ed146104a557005b80632d0335ab116101895780633ccfd60b1161015b5780633ccfd60b1461039b57806345df5787146103b05780634e1273f4146103e057806353135ca01461040d57806368428a1b1461042857005b80632d0335ab1461031f5780632eb2c2d6146103555780633408e470146103755780633488c0da1461038857005b80630e89341c116101c25780630e89341c146102a85780630f7e5970146102c857806318160ddd146102f557806320379ee51461030a57005b8062fdd58e146101f857806301ffc9a71461022b57806306fdde031461025b5780630c53c51c1461029557005b366101f657005b005b34801561020457600080fd5b506102186102133660046125df565b6106c0565b6040519081526020015b60405180910390f35b34801561023757600080fd5b5061024b610246366004612760565b610757565b6040519015158152602001610222565b34801561026757600080fd5b50604080518082019091526008815267526f626f7461727360c01b60208201525b6040516102229190612aa2565b6102886102a336600461253a565b6107bf565b3480156102b457600080fd5b506102886102c33660046127fd565b6109a9565b3480156102d457600080fd5b50610288604051806040016040528060018152602001603160f81b81525081565b34801561030157600080fd5b50611387610218565b34801561031657600080fd5b50600454610218565b34801561032b57600080fd5b5061021861033a3660046123b5565b6001600160a01b031660009081526005602052604090205490565b34801561036157600080fd5b506101f6610370366004612403565b6109b4565b34801561038157600080fd5b5046610218565b6101f66103963660046127e2565b610a4b565b3480156103a757600080fd5b506101f6610c30565b3480156103bc57600080fd5b506040805180820190915260078152664552433131353560c81b6020820152610288565b3480156103ec57600080fd5b506104006103fb366004612674565b610d1b565b6040516102229190612a6a565b34801561041957600080fd5b506101425461024b9060ff1681565b34801561043457600080fd5b506101425461024b90610100900460ff1681565b34801561045457600080fd5b506101f6610e44565b34801561046957600080fd5b506101f6610478366004612744565b610e7a565b34801561048957600080fd5b506006546040516001600160a01b039091168152602001610222565b3480156104b157600080fd5b506101f66104c03660046127fd565b610ecb565b3480156104d157600080fd5b50600754610218565b3480156104e657600080fd5b506101f66104f536600461279a565b610efa565b34801561050657600080fd5b506101f6610515366004612510565b610f38565b34801561052657600080fd5b506101f66105353660046125b5565b61100f565b34801561054657600080fd5b50610566610555366004612403565b63bc197c8160e01b95945050505050565b6040516001600160e01b03199091168152602001610222565b34801561058b57600080fd5b50600161024b565b6101f66105a13660046127e2565b611053565b3480156105b257600080fd5b5061024b6105c13660046123d0565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156105fb57600080fd5b506101f661060a366004612609565b61113a565b34801561061b57600080fd5b5061064161062a3660046123b5565b6101446020526000908152604090205461ffff1681565b60405161ffff9091168152602001610222565b34801561066057600080fd5b5061056661066f3660046124ac565b63f23a6e6160e01b95945050505050565b34801561068c57600080fd5b506101f661069b3660046124ac565b61120d565b3480156106ac57600080fd5b506101f66106bb3660046123b5565b611294565b60006001600160a01b0383166107315760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b031982166301ffc9a760e01b148061078857506001600160e01b03198216636cdb3d1360e11b145b806107a357506001600160e01b031982166303a24d0760e21b145b156107b057506001919050565b6107b98261132c565b92915050565b60408051606081810183526001600160a01b038816600081815260056020908152908590205484528301529181018690526107fd8782878787611351565b6108535760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b6064820152608401610728565b6001600160a01b038716600090815260056020526040902054610877906001611441565b6001600160a01b0388166000908152600560205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b906108c790899033908a906129a7565b60405180910390a1600080306001600160a01b0316888a6040516020016108ef9291906128b5565b60408051601f198184030181529082905261090991612899565b6000604051808303816000865af19150503d8060008114610946576040519150601f19603f3d011682016040523d82523d6000602084013e61094b565b606091505b50915091508161099d5760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610728565b98975050505050505050565b60606107b982611454565b6001600160a01b0385163314806109d057506109d085336105c1565b610a375760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610728565b610a448585858585611489565b5050505050565b33600090815261014460205260409020546101425461ffff9091169060ff16610ab65760405162461bcd60e51b815260206004820152601e60248201527f50726573616c65206d7573742062652061637469766520746f206d696e7400006044820152606401610728565b60008161ffff1611610b165760405162461bcd60e51b815260206004820152602360248201527f4e6f20746f6b656e7320726573657276656420666f722074686973206164647260448201526265737360e81b6064820152608401610728565b8061ffff168261ffff161115610b6e5760405162461bcd60e51b815260206004820152601d60248201527f43616e2774206d696e74206d6f7265207468616e2072657365727665640000006044820152606401610728565b60008261ffff1611610bc25760405162461bcd60e51b815260206004820152601d60248201527f636f756e742073686f756c64206265206d6f7265207468616e206f6e650000006044820152606401610728565b6007543490610bd59061ffff8516611625565b1115610bf35760405162461bcd60e51b815260040161072890612afd565b610bfd8282612cdf565b33600081815261014460205260409020805461ffff191661ffff9390931692909217909155610c2c9083611631565b5050565b6006546001600160a01b03163314610c5a5760405162461bcd60e51b815260040161072890612bce565b604051600090339047908381818185875af1925050503d8060008114610c9c576040519150601f19603f3d011682016040523d82523d6000602084013e610ca1565b606091505b5050905080610d185760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610728565b50565b60608151835114610d805760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610728565b600083516001600160401b03811115610d9b57610d9b612e43565b604051908082528060200260200182016040528015610dc4578160200160208202803683370190505b50905060005b8451811015610e3c57610e0f858281518110610de857610de8612e2d565b6020026020010151858381518110610e0257610e02612e2d565b60200260200101516106c0565b828281518110610e2157610e21612e2d565b6020908102919091010152610e3581612dd2565b9050610dca565b509392505050565b6006546001600160a01b03163314610e6e5760405162461bcd60e51b815260040161072890612bce565b610e786000611811565b565b6006546001600160a01b03163314610ea45760405162461bcd60e51b815260040161072890612bce565b61014280549215156101000261ff00199215159290921661ffff1990931692909217179055565b6006546001600160a01b03163314610ef55760405162461bcd60e51b815260040161072890612bce565b600755565b6006546001600160a01b03163314610f245760405162461bcd60e51b815260040161072890612bce565b8051610c2c9061014390602084019061219f565b336001600160a01b0383161415610fa35760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610728565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6006546001600160a01b031633146110395760405162461bcd60e51b815260040161072890612bce565b60008161ffff1611611049575060325b610c2c8282611631565b61014254610100900460ff166110ab5760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610728565b60008161ffff16116110ff5760405162461bcd60e51b815260206004820152601d60248201527f636f756e742073686f756c64206265206d6f7265207468616e206f6e650000006044820152606401610728565b60075434906111129061ffff8416611625565b11156111305760405162461bcd60e51b815260040161072890612afd565b610d183382611631565b6006546001600160a01b031633146111645760405162461bcd60e51b815260040161072890612bce565b60005b61ffff8116841115610a445782828261ffff1681811061118957611189612e2d565b905060200201602081019061119e91906127e2565b610144600087878561ffff168181106111b9576111b9612e2d565b90506020020160208101906111ce91906123b5565b6001600160a01b031681526020810191909152604001600020805461ffff191661ffff929092169190911790558061120581612db0565b915050611167565b6001600160a01b038516331480611229575061122985336105c1565b6112875760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610728565b610a448585858585611863565b6006546001600160a01b031633146112be5760405162461bcd60e51b815260040161072890612bce565b6001600160a01b0381166113235760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610728565b610d1881611811565b60006001600160e01b03198216630271189760e51b14806107b957506107b982611989565b60006001600160a01b0386166113b75760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b6064820152608401610728565b60016113ca6113c5876119d9565b611a56565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa158015611418573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600061144d8284612c94565b9392505050565b606061014361146283611a86565b6040516020016114739291906128ec565b6040516020818303038152906040529050919050565b81518351146114aa5760405162461bcd60e51b815260040161072890612c03565b6001600160a01b0384166114d05760405162461bcd60e51b815260040161072890612b3f565b3360005b84518110156115b75760008582815181106114f1576114f1612e2d565b60200260200101519050600085838151811061150f5761150f612e2d565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561155f5760405162461bcd60e51b815260040161072890612b84565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061159c908490612c94565b92505081905550505050806115b090612dd2565b90506114d4565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611607929190612a7d565b60405180910390a461161d818787878787611b8b565b505050505050565b600061144d8284612cc0565b6008546000906116479061ffff16611387612cdf565b90508061ffff168261ffff1611156116c75760405162461bcd60e51b815260206004820152603a60248201527f536f7272792c2052657175657374204d6f7265207468616e20546f74616c537560448201527f70706c792c20506c65617365204368616e6765204e756d6265720000000000006064820152608401610728565b60085461ffff9081169060009084166001600160401b038111156116ed576116ed612e43565b604051908082528060200260200182016040528015611716578160200160208202803683370190505b50905060008461ffff166001600160401b0381111561173757611737612e43565b604051908082528060200260200182016040528015611760578160200160208202803683370190505b50905060005b8561ffff168161ffff1610156117e15761177f84611cf6565b8161ffff169150848361ffff168151811061179c5761179c612e2d565b602002602001018196508281525050506001828261ffff16815181106117c4576117c4612e2d565b6020908102919091010152806117d981612db0565b915050611766565b506008805461ffff191661ffff851617905560408051602081019091526000815261161d90879084908490611f05565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166118895760405162461bcd60e51b815260040161072890612b3f565b336118a28187876118998861208a565b610a448861208a565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156118e35760405162461bcd60e51b815260040161072890612b84565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611920908490612c94565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46119808288888888886120d5565b50505050505050565b60006001600160e01b03198216636cdb3d1360e11b14806119ba57506001600160e01b031982166303a24d0760e21b145b806107b957506301ffc9a760e01b6001600160e01b03198316146107b9565b6000604051806080016040528060438152602001612f156043913980516020918201208351848301516040808701518051908601209051611a39950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b6000611a6160045490565b60405161190160f01b6020820152602281019190915260428101839052606201611a39565b606081611aaa5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ad45780611abe81612dd2565b9150611acd9050600a83612cac565b9150611aae565b6000816001600160401b03811115611aee57611aee612e43565b6040519080825280601f01601f191660200182016040528015611b18576020820181803683370190505b5090505b8415611b8357611b2d600183612d02565b9150611b3a600a86612ded565b611b45906030612c94565b60f81b818381518110611b5a57611b5a612e2d565b60200101906001600160f81b031916908160001a905350611b7c600a86612cac565b9450611b1c565b949350505050565b6001600160a01b0384163b1561161d5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611bcf90899089908890889088906004016129d3565b602060405180830381600087803b158015611be957600080fd5b505af1925050508015611c19575060408051601f3d908101601f19168201909252611c169181019061277d565b60015b611cc657611c25612e59565b806308c379a01415611c5f5750611c3a612e75565b80611c455750611c61565b8060405162461bcd60e51b81526004016107289190612aa2565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610728565b6001600160e01b0319811663bc197c8160e01b146119805760405162461bcd60e51b815260040161072890612ab5565b60008080611d0684611387612cdf565b6040516001600160f01b031960f087901b1660208201526bffffffffffffffffffffffff193360601b16602282015244603682015242605682015290915060009061ffff8316906076016040516020818303038152906040528051906020012060001c611d739190612ded565b905060006009826113878110611d8b57611d8b612e2d565b601081049190910154600f9091166002026101000a900461ffff1615611de0576009826113878110611dbf57611dbf612e2d565b601091828204019190066002029054906101000a900461ffff169050611de3565b50805b6009611df0600185612cdf565b61ffff166113878110611e0557611e05612e2d565b601081049190910154600f9091166002026101000a900461ffff16611e6d57611e2f600184612cdf565b6009836113878110611e4357611e43612e2d565b601091828204019190066002026101000a81548161ffff021916908361ffff160217905550611ee3565b6009611e7a600185612cdf565b61ffff166113878110611e8f57611e8f612e2d565b601091828204019190066002029054906101000a900461ffff166009836113878110611ebd57611ebd612e2d565b601091828204019190066002026101000a81548161ffff021916908361ffff1602179055505b85611eed81612db0565b9650611efc9050816001612c6e565b96945050505050565b6001600160a01b038416611f655760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610728565b8151835114611f865760405162461bcd60e51b815260040161072890612c03565b3360005b845181101561202257838181518110611fa557611fa5612e2d565b6020026020010151600080878481518110611fc257611fc2612e2d565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b03168152602001908152602001600020600082825461200a9190612c94565b9091555081905061201a81612dd2565b915050611f8a565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612073929190612a7d565b60405180910390a4610a4481600087878787611b8b565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106120c4576120c4612e2d565b602090810291909101015292915050565b6001600160a01b0384163b1561161d5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906121199089908990889088908890600401612a25565b602060405180830381600087803b15801561213357600080fd5b505af1925050508015612163575060408051601f3d908101601f191682019092526121609181019061277d565b60015b61216f57611c25612e59565b6001600160e01b0319811663f23a6e6160e01b146119805760405162461bcd60e51b815260040161072890612ab5565b8280546121ab90612d49565b90600052602060002090601f0160209004810192826121cd5760008555612213565b82601f106121e657805160ff1916838001178555612213565b82800160010185558215612213579182015b828111156122135782518255916020019190600101906121f8565b5061221f929150612223565b5090565b5b8082111561221f5760008155600101612224565b60006001600160401b0383111561225157612251612e43565b604051612268601f8501601f191660200182612d84565b80915083815284848401111561227d57600080fd5b83836020830137600060208583010152509392505050565b80356001600160a01b03811681146122ac57600080fd5b919050565b60008083601f8401126122c357600080fd5b5081356001600160401b038111156122da57600080fd5b6020830191508360208260051b85010111156122f557600080fd5b9250929050565b600082601f83011261230d57600080fd5b8135602061231a82612c4b565b6040516123278282612d84565b8381528281019150858301600585901b8701840188101561234757600080fd5b60005b858110156123665781358452928401929084019060010161234a565b5090979650505050505050565b803580151581146122ac57600080fd5b600082601f83011261239457600080fd5b61144d83833560208501612238565b803561ffff811681146122ac57600080fd5b6000602082840312156123c757600080fd5b61144d82612295565b600080604083850312156123e357600080fd5b6123ec83612295565b91506123fa60208401612295565b90509250929050565b600080600080600060a0868803121561241b57600080fd5b61242486612295565b945061243260208701612295565b935060408601356001600160401b038082111561244e57600080fd5b61245a89838a016122fc565b9450606088013591508082111561247057600080fd5b61247c89838a016122fc565b9350608088013591508082111561249257600080fd5b5061249f88828901612383565b9150509295509295909350565b600080600080600060a086880312156124c457600080fd5b6124cd86612295565b94506124db60208701612295565b9350604086013592506060860135915060808601356001600160401b0381111561250457600080fd5b61249f88828901612383565b6000806040838503121561252357600080fd5b61252c83612295565b91506123fa60208401612373565b600080600080600060a0868803121561255257600080fd5b61255b86612295565b945060208601356001600160401b0381111561257657600080fd5b61258288828901612383565b9450506040860135925060608601359150608086013560ff811681146125a757600080fd5b809150509295509295909350565b600080604083850312156125c857600080fd5b6125d183612295565b91506123fa602084016123a3565b600080604083850312156125f257600080fd5b6125fb83612295565b946020939093013593505050565b6000806000806040858703121561261f57600080fd5b84356001600160401b038082111561263657600080fd5b612642888389016122b1565b9096509450602087013591508082111561265b57600080fd5b50612668878288016122b1565b95989497509550505050565b6000806040838503121561268757600080fd5b82356001600160401b038082111561269e57600080fd5b818501915085601f8301126126b257600080fd5b813560206126bf82612c4b565b6040516126cc8282612d84565b8381528281019150858301600585901b870184018b10156126ec57600080fd5b600096505b848710156127165761270281612295565b8352600196909601959183019183016126f1565b509650508601359250508082111561272d57600080fd5b5061273a858286016122fc565b9150509250929050565b6000806040838503121561275757600080fd5b61252c83612373565b60006020828403121561277257600080fd5b813561144d81612efe565b60006020828403121561278f57600080fd5b815161144d81612efe565b6000602082840312156127ac57600080fd5b81356001600160401b038111156127c257600080fd5b8201601f810184136127d357600080fd5b611b8384823560208401612238565b6000602082840312156127f457600080fd5b61144d826123a3565b60006020828403121561280f57600080fd5b5035919050565b600081518084526020808501945080840160005b838110156128465781518752958201959082019060010161282a565b509495945050505050565b60008151808452612869816020860160208601612d19565b601f01601f19169290920160200192915050565b6000815161288f818560208601612d19565b9290920192915050565b600082516128ab818460208701612d19565b9190910192915050565b600083516128c7818460208801612d19565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b600080845481600182811c91508083168061290857607f831692505b602080841082141561292857634e487b7160e01b86526022600452602486fd5b81801561293c576001811461294d5761297a565b60ff1986168952848901965061297a565b60008b81526020902060005b868110156129725781548b820152908501908301612959565b505084890196505b50505050505061299e61298d828661287d565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0384811682528316602082015260606040820181905260009061299e90830184612851565b6001600160a01b0386811682528516602082015260a0604082018190526000906129ff90830186612816565b8281036060840152612a118186612816565b9050828103608084015261099d8185612851565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612a5f90830184612851565b979650505050505050565b60208152600061144d6020830184612816565b604081526000612a906040830185612816565b828103602084015261299e8185612816565b60208152600061144d6020830184612851565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526022908201527f536f7272792c2073656e64696e6720696e636f7272656374206574682076616c604082015261756560f01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60006001600160401b03821115612c6457612c64612e43565b5060051b60200190565b600061ffff808316818516808303821115612c8b57612c8b612e01565b01949350505050565b60008219821115612ca757612ca7612e01565b500190565b600082612cbb57612cbb612e17565b500490565b6000816000190483118215151615612cda57612cda612e01565b500290565b600061ffff83811690831681811015612cfa57612cfa612e01565b039392505050565b600082821015612d1457612d14612e01565b500390565b60005b83811015612d34578181015183820152602001612d1c565b83811115612d43576000848401525b50505050565b600181811c90821680612d5d57607f821691505b60208210811415612d7e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f191681016001600160401b0381118282101715612da957612da9612e43565b6040525050565b600061ffff80831681811415612dc857612dc8612e01565b6001019392505050565b6000600019821415612de657612de6612e01565b5060010190565b600082612dfc57612dfc612e17565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d1115612e725760046000803e5060005160e01c5b90565b600060443d1015612e835790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715612eb257505050505090565b8285019150815181811115612eca5750505050505090565b843d8701016020828501011115612ee45750505050505090565b612ef360208286010187612d84565b509095945050505050565b6001600160e01b031981168114610d1857600080fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a264697066735822122036c49e2984420be015e0509f60ae71e6f2a33ee6f1c70ff1100fa7e69cdd135264736f6c63430008070033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c742968747470733a2f2f726f626f746172732e73332e75732d776573742d312e616d617a6f6e6177732e636f6d2f6d657461646174612f726f626f746172732d6d657461646174612d

Deployed Bytecode

0x6080604052600436106101ef5760003560e01c8063715018a61161010c578063bc197c811161009a578063eb66af781161006c578063eb66af78146105ef578063eb8835ab1461060f578063f23a6e6114610654578063f242432a14610680578063f2fde38b146106a057005b8063bc197c811461053a578063c311c5231461057f578063e4f73d6814610593578063e985e9c5146105a657005b806395d89b41116100de57806395d89b411461025b57806398d5fdca146104c5578063a0bcfc7f146104da578063a22cb465146104fa578063ad0be4bd1461051a57005b8063715018a6146104485780637812e6321461045d5780638da5cb5b1461047d57806391b7f5ed146104a557005b80632d0335ab116101895780633ccfd60b1161015b5780633ccfd60b1461039b57806345df5787146103b05780634e1273f4146103e057806353135ca01461040d57806368428a1b1461042857005b80632d0335ab1461031f5780632eb2c2d6146103555780633408e470146103755780633488c0da1461038857005b80630e89341c116101c25780630e89341c146102a85780630f7e5970146102c857806318160ddd146102f557806320379ee51461030a57005b8062fdd58e146101f857806301ffc9a71461022b57806306fdde031461025b5780630c53c51c1461029557005b366101f657005b005b34801561020457600080fd5b506102186102133660046125df565b6106c0565b6040519081526020015b60405180910390f35b34801561023757600080fd5b5061024b610246366004612760565b610757565b6040519015158152602001610222565b34801561026757600080fd5b50604080518082019091526008815267526f626f7461727360c01b60208201525b6040516102229190612aa2565b6102886102a336600461253a565b6107bf565b3480156102b457600080fd5b506102886102c33660046127fd565b6109a9565b3480156102d457600080fd5b50610288604051806040016040528060018152602001603160f81b81525081565b34801561030157600080fd5b50611387610218565b34801561031657600080fd5b50600454610218565b34801561032b57600080fd5b5061021861033a3660046123b5565b6001600160a01b031660009081526005602052604090205490565b34801561036157600080fd5b506101f6610370366004612403565b6109b4565b34801561038157600080fd5b5046610218565b6101f66103963660046127e2565b610a4b565b3480156103a757600080fd5b506101f6610c30565b3480156103bc57600080fd5b506040805180820190915260078152664552433131353560c81b6020820152610288565b3480156103ec57600080fd5b506104006103fb366004612674565b610d1b565b6040516102229190612a6a565b34801561041957600080fd5b506101425461024b9060ff1681565b34801561043457600080fd5b506101425461024b90610100900460ff1681565b34801561045457600080fd5b506101f6610e44565b34801561046957600080fd5b506101f6610478366004612744565b610e7a565b34801561048957600080fd5b506006546040516001600160a01b039091168152602001610222565b3480156104b157600080fd5b506101f66104c03660046127fd565b610ecb565b3480156104d157600080fd5b50600754610218565b3480156104e657600080fd5b506101f66104f536600461279a565b610efa565b34801561050657600080fd5b506101f6610515366004612510565b610f38565b34801561052657600080fd5b506101f66105353660046125b5565b61100f565b34801561054657600080fd5b50610566610555366004612403565b63bc197c8160e01b95945050505050565b6040516001600160e01b03199091168152602001610222565b34801561058b57600080fd5b50600161024b565b6101f66105a13660046127e2565b611053565b3480156105b257600080fd5b5061024b6105c13660046123d0565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156105fb57600080fd5b506101f661060a366004612609565b61113a565b34801561061b57600080fd5b5061064161062a3660046123b5565b6101446020526000908152604090205461ffff1681565b60405161ffff9091168152602001610222565b34801561066057600080fd5b5061056661066f3660046124ac565b63f23a6e6160e01b95945050505050565b34801561068c57600080fd5b506101f661069b3660046124ac565b61120d565b3480156106ac57600080fd5b506101f66106bb3660046123b5565b611294565b60006001600160a01b0383166107315760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b031982166301ffc9a760e01b148061078857506001600160e01b03198216636cdb3d1360e11b145b806107a357506001600160e01b031982166303a24d0760e21b145b156107b057506001919050565b6107b98261132c565b92915050565b60408051606081810183526001600160a01b038816600081815260056020908152908590205484528301529181018690526107fd8782878787611351565b6108535760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b6064820152608401610728565b6001600160a01b038716600090815260056020526040902054610877906001611441565b6001600160a01b0388166000908152600560205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b906108c790899033908a906129a7565b60405180910390a1600080306001600160a01b0316888a6040516020016108ef9291906128b5565b60408051601f198184030181529082905261090991612899565b6000604051808303816000865af19150503d8060008114610946576040519150601f19603f3d011682016040523d82523d6000602084013e61094b565b606091505b50915091508161099d5760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610728565b98975050505050505050565b60606107b982611454565b6001600160a01b0385163314806109d057506109d085336105c1565b610a375760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610728565b610a448585858585611489565b5050505050565b33600090815261014460205260409020546101425461ffff9091169060ff16610ab65760405162461bcd60e51b815260206004820152601e60248201527f50726573616c65206d7573742062652061637469766520746f206d696e7400006044820152606401610728565b60008161ffff1611610b165760405162461bcd60e51b815260206004820152602360248201527f4e6f20746f6b656e7320726573657276656420666f722074686973206164647260448201526265737360e81b6064820152608401610728565b8061ffff168261ffff161115610b6e5760405162461bcd60e51b815260206004820152601d60248201527f43616e2774206d696e74206d6f7265207468616e2072657365727665640000006044820152606401610728565b60008261ffff1611610bc25760405162461bcd60e51b815260206004820152601d60248201527f636f756e742073686f756c64206265206d6f7265207468616e206f6e650000006044820152606401610728565b6007543490610bd59061ffff8516611625565b1115610bf35760405162461bcd60e51b815260040161072890612afd565b610bfd8282612cdf565b33600081815261014460205260409020805461ffff191661ffff9390931692909217909155610c2c9083611631565b5050565b6006546001600160a01b03163314610c5a5760405162461bcd60e51b815260040161072890612bce565b604051600090339047908381818185875af1925050503d8060008114610c9c576040519150601f19603f3d011682016040523d82523d6000602084013e610ca1565b606091505b5050905080610d185760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610728565b50565b60608151835114610d805760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610728565b600083516001600160401b03811115610d9b57610d9b612e43565b604051908082528060200260200182016040528015610dc4578160200160208202803683370190505b50905060005b8451811015610e3c57610e0f858281518110610de857610de8612e2d565b6020026020010151858381518110610e0257610e02612e2d565b60200260200101516106c0565b828281518110610e2157610e21612e2d565b6020908102919091010152610e3581612dd2565b9050610dca565b509392505050565b6006546001600160a01b03163314610e6e5760405162461bcd60e51b815260040161072890612bce565b610e786000611811565b565b6006546001600160a01b03163314610ea45760405162461bcd60e51b815260040161072890612bce565b61014280549215156101000261ff00199215159290921661ffff1990931692909217179055565b6006546001600160a01b03163314610ef55760405162461bcd60e51b815260040161072890612bce565b600755565b6006546001600160a01b03163314610f245760405162461bcd60e51b815260040161072890612bce565b8051610c2c9061014390602084019061219f565b336001600160a01b0383161415610fa35760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610728565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6006546001600160a01b031633146110395760405162461bcd60e51b815260040161072890612bce565b60008161ffff1611611049575060325b610c2c8282611631565b61014254610100900460ff166110ab5760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610728565b60008161ffff16116110ff5760405162461bcd60e51b815260206004820152601d60248201527f636f756e742073686f756c64206265206d6f7265207468616e206f6e650000006044820152606401610728565b60075434906111129061ffff8416611625565b11156111305760405162461bcd60e51b815260040161072890612afd565b610d183382611631565b6006546001600160a01b031633146111645760405162461bcd60e51b815260040161072890612bce565b60005b61ffff8116841115610a445782828261ffff1681811061118957611189612e2d565b905060200201602081019061119e91906127e2565b610144600087878561ffff168181106111b9576111b9612e2d565b90506020020160208101906111ce91906123b5565b6001600160a01b031681526020810191909152604001600020805461ffff191661ffff929092169190911790558061120581612db0565b915050611167565b6001600160a01b038516331480611229575061122985336105c1565b6112875760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610728565b610a448585858585611863565b6006546001600160a01b031633146112be5760405162461bcd60e51b815260040161072890612bce565b6001600160a01b0381166113235760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610728565b610d1881611811565b60006001600160e01b03198216630271189760e51b14806107b957506107b982611989565b60006001600160a01b0386166113b75760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b6064820152608401610728565b60016113ca6113c5876119d9565b611a56565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa158015611418573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600061144d8284612c94565b9392505050565b606061014361146283611a86565b6040516020016114739291906128ec565b6040516020818303038152906040529050919050565b81518351146114aa5760405162461bcd60e51b815260040161072890612c03565b6001600160a01b0384166114d05760405162461bcd60e51b815260040161072890612b3f565b3360005b84518110156115b75760008582815181106114f1576114f1612e2d565b60200260200101519050600085838151811061150f5761150f612e2d565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561155f5760405162461bcd60e51b815260040161072890612b84565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061159c908490612c94565b92505081905550505050806115b090612dd2565b90506114d4565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611607929190612a7d565b60405180910390a461161d818787878787611b8b565b505050505050565b600061144d8284612cc0565b6008546000906116479061ffff16611387612cdf565b90508061ffff168261ffff1611156116c75760405162461bcd60e51b815260206004820152603a60248201527f536f7272792c2052657175657374204d6f7265207468616e20546f74616c537560448201527f70706c792c20506c65617365204368616e6765204e756d6265720000000000006064820152608401610728565b60085461ffff9081169060009084166001600160401b038111156116ed576116ed612e43565b604051908082528060200260200182016040528015611716578160200160208202803683370190505b50905060008461ffff166001600160401b0381111561173757611737612e43565b604051908082528060200260200182016040528015611760578160200160208202803683370190505b50905060005b8561ffff168161ffff1610156117e15761177f84611cf6565b8161ffff169150848361ffff168151811061179c5761179c612e2d565b602002602001018196508281525050506001828261ffff16815181106117c4576117c4612e2d565b6020908102919091010152806117d981612db0565b915050611766565b506008805461ffff191661ffff851617905560408051602081019091526000815261161d90879084908490611f05565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166118895760405162461bcd60e51b815260040161072890612b3f565b336118a28187876118998861208a565b610a448861208a565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156118e35760405162461bcd60e51b815260040161072890612b84565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611920908490612c94565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46119808288888888886120d5565b50505050505050565b60006001600160e01b03198216636cdb3d1360e11b14806119ba57506001600160e01b031982166303a24d0760e21b145b806107b957506301ffc9a760e01b6001600160e01b03198316146107b9565b6000604051806080016040528060438152602001612f156043913980516020918201208351848301516040808701518051908601209051611a39950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b6000611a6160045490565b60405161190160f01b6020820152602281019190915260428101839052606201611a39565b606081611aaa5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ad45780611abe81612dd2565b9150611acd9050600a83612cac565b9150611aae565b6000816001600160401b03811115611aee57611aee612e43565b6040519080825280601f01601f191660200182016040528015611b18576020820181803683370190505b5090505b8415611b8357611b2d600183612d02565b9150611b3a600a86612ded565b611b45906030612c94565b60f81b818381518110611b5a57611b5a612e2d565b60200101906001600160f81b031916908160001a905350611b7c600a86612cac565b9450611b1c565b949350505050565b6001600160a01b0384163b1561161d5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611bcf90899089908890889088906004016129d3565b602060405180830381600087803b158015611be957600080fd5b505af1925050508015611c19575060408051601f3d908101601f19168201909252611c169181019061277d565b60015b611cc657611c25612e59565b806308c379a01415611c5f5750611c3a612e75565b80611c455750611c61565b8060405162461bcd60e51b81526004016107289190612aa2565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610728565b6001600160e01b0319811663bc197c8160e01b146119805760405162461bcd60e51b815260040161072890612ab5565b60008080611d0684611387612cdf565b6040516001600160f01b031960f087901b1660208201526bffffffffffffffffffffffff193360601b16602282015244603682015242605682015290915060009061ffff8316906076016040516020818303038152906040528051906020012060001c611d739190612ded565b905060006009826113878110611d8b57611d8b612e2d565b601081049190910154600f9091166002026101000a900461ffff1615611de0576009826113878110611dbf57611dbf612e2d565b601091828204019190066002029054906101000a900461ffff169050611de3565b50805b6009611df0600185612cdf565b61ffff166113878110611e0557611e05612e2d565b601081049190910154600f9091166002026101000a900461ffff16611e6d57611e2f600184612cdf565b6009836113878110611e4357611e43612e2d565b601091828204019190066002026101000a81548161ffff021916908361ffff160217905550611ee3565b6009611e7a600185612cdf565b61ffff166113878110611e8f57611e8f612e2d565b601091828204019190066002029054906101000a900461ffff166009836113878110611ebd57611ebd612e2d565b601091828204019190066002026101000a81548161ffff021916908361ffff1602179055505b85611eed81612db0565b9650611efc9050816001612c6e565b96945050505050565b6001600160a01b038416611f655760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610728565b8151835114611f865760405162461bcd60e51b815260040161072890612c03565b3360005b845181101561202257838181518110611fa557611fa5612e2d565b6020026020010151600080878481518110611fc257611fc2612e2d565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b03168152602001908152602001600020600082825461200a9190612c94565b9091555081905061201a81612dd2565b915050611f8a565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612073929190612a7d565b60405180910390a4610a4481600087878787611b8b565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106120c4576120c4612e2d565b602090810291909101015292915050565b6001600160a01b0384163b1561161d5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906121199089908990889088908890600401612a25565b602060405180830381600087803b15801561213357600080fd5b505af1925050508015612163575060408051601f3d908101601f191682019092526121609181019061277d565b60015b61216f57611c25612e59565b6001600160e01b0319811663f23a6e6160e01b146119805760405162461bcd60e51b815260040161072890612ab5565b8280546121ab90612d49565b90600052602060002090601f0160209004810192826121cd5760008555612213565b82601f106121e657805160ff1916838001178555612213565b82800160010185558215612213579182015b828111156122135782518255916020019190600101906121f8565b5061221f929150612223565b5090565b5b8082111561221f5760008155600101612224565b60006001600160401b0383111561225157612251612e43565b604051612268601f8501601f191660200182612d84565b80915083815284848401111561227d57600080fd5b83836020830137600060208583010152509392505050565b80356001600160a01b03811681146122ac57600080fd5b919050565b60008083601f8401126122c357600080fd5b5081356001600160401b038111156122da57600080fd5b6020830191508360208260051b85010111156122f557600080fd5b9250929050565b600082601f83011261230d57600080fd5b8135602061231a82612c4b565b6040516123278282612d84565b8381528281019150858301600585901b8701840188101561234757600080fd5b60005b858110156123665781358452928401929084019060010161234a565b5090979650505050505050565b803580151581146122ac57600080fd5b600082601f83011261239457600080fd5b61144d83833560208501612238565b803561ffff811681146122ac57600080fd5b6000602082840312156123c757600080fd5b61144d82612295565b600080604083850312156123e357600080fd5b6123ec83612295565b91506123fa60208401612295565b90509250929050565b600080600080600060a0868803121561241b57600080fd5b61242486612295565b945061243260208701612295565b935060408601356001600160401b038082111561244e57600080fd5b61245a89838a016122fc565b9450606088013591508082111561247057600080fd5b61247c89838a016122fc565b9350608088013591508082111561249257600080fd5b5061249f88828901612383565b9150509295509295909350565b600080600080600060a086880312156124c457600080fd5b6124cd86612295565b94506124db60208701612295565b9350604086013592506060860135915060808601356001600160401b0381111561250457600080fd5b61249f88828901612383565b6000806040838503121561252357600080fd5b61252c83612295565b91506123fa60208401612373565b600080600080600060a0868803121561255257600080fd5b61255b86612295565b945060208601356001600160401b0381111561257657600080fd5b61258288828901612383565b9450506040860135925060608601359150608086013560ff811681146125a757600080fd5b809150509295509295909350565b600080604083850312156125c857600080fd5b6125d183612295565b91506123fa602084016123a3565b600080604083850312156125f257600080fd5b6125fb83612295565b946020939093013593505050565b6000806000806040858703121561261f57600080fd5b84356001600160401b038082111561263657600080fd5b612642888389016122b1565b9096509450602087013591508082111561265b57600080fd5b50612668878288016122b1565b95989497509550505050565b6000806040838503121561268757600080fd5b82356001600160401b038082111561269e57600080fd5b818501915085601f8301126126b257600080fd5b813560206126bf82612c4b565b6040516126cc8282612d84565b8381528281019150858301600585901b870184018b10156126ec57600080fd5b600096505b848710156127165761270281612295565b8352600196909601959183019183016126f1565b509650508601359250508082111561272d57600080fd5b5061273a858286016122fc565b9150509250929050565b6000806040838503121561275757600080fd5b61252c83612373565b60006020828403121561277257600080fd5b813561144d81612efe565b60006020828403121561278f57600080fd5b815161144d81612efe565b6000602082840312156127ac57600080fd5b81356001600160401b038111156127c257600080fd5b8201601f810184136127d357600080fd5b611b8384823560208401612238565b6000602082840312156127f457600080fd5b61144d826123a3565b60006020828403121561280f57600080fd5b5035919050565b600081518084526020808501945080840160005b838110156128465781518752958201959082019060010161282a565b509495945050505050565b60008151808452612869816020860160208601612d19565b601f01601f19169290920160200192915050565b6000815161288f818560208601612d19565b9290920192915050565b600082516128ab818460208701612d19565b9190910192915050565b600083516128c7818460208801612d19565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b600080845481600182811c91508083168061290857607f831692505b602080841082141561292857634e487b7160e01b86526022600452602486fd5b81801561293c576001811461294d5761297a565b60ff1986168952848901965061297a565b60008b81526020902060005b868110156129725781548b820152908501908301612959565b505084890196505b50505050505061299e61298d828661287d565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0384811682528316602082015260606040820181905260009061299e90830184612851565b6001600160a01b0386811682528516602082015260a0604082018190526000906129ff90830186612816565b8281036060840152612a118186612816565b9050828103608084015261099d8185612851565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612a5f90830184612851565b979650505050505050565b60208152600061144d6020830184612816565b604081526000612a906040830185612816565b828103602084015261299e8185612816565b60208152600061144d6020830184612851565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526022908201527f536f7272792c2073656e64696e6720696e636f7272656374206574682076616c604082015261756560f01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60006001600160401b03821115612c6457612c64612e43565b5060051b60200190565b600061ffff808316818516808303821115612c8b57612c8b612e01565b01949350505050565b60008219821115612ca757612ca7612e01565b500190565b600082612cbb57612cbb612e17565b500490565b6000816000190483118215151615612cda57612cda612e01565b500290565b600061ffff83811690831681811015612cfa57612cfa612e01565b039392505050565b600082821015612d1457612d14612e01565b500390565b60005b83811015612d34578181015183820152602001612d1c565b83811115612d43576000848401525b50505050565b600181811c90821680612d5d57607f821691505b60208210811415612d7e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f191681016001600160401b0381118282101715612da957612da9612e43565b6040525050565b600061ffff80831681811415612dc857612dc8612e01565b6001019392505050565b6000600019821415612de657612de6612e01565b5060010190565b600082612dfc57612dfc612e17565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d1115612e725760046000803e5060005160e01c5b90565b600060443d1015612e835790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715612eb257505050505090565b8285019150815181811115612eca5750505050505090565b843d8701016020828501011115612ee45750505050505090565b612ef360208286010187612d84565b509095945050505050565b6001600160e01b031981168114610d1857600080fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a264697066735822122036c49e2984420be015e0509f60ae71e6f2a33ee6f1c70ff1100fa7e69cdd135264736f6c63430008070033

Deployed Bytecode Sourcemap

51393:6730:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25485:231;;;;;;;;;;-1:-1:-1;25485:231:0;;;;;:::i;:::-;;:::i;:::-;;;16644:25:1;;;16632:2;16617:18;25485:231:0;;;;;;;;56920:462;;;;;;;;;;-1:-1:-1;56920:462:0;;;;;:::i;:::-;;:::i;:::-;;;16471:14:1;;16464:22;16446:41;;16434:2;16419:18;56920:462:0;16306:187:1;56410:84:0;;;;;;;;;;-1:-1:-1;56482:4:0;;;;;;;;;;;;-1:-1:-1;;;56482:4:0;;;;56410:84;;;;;;;:::i;49144:1151::-;;;;;;:::i;:::-;;:::i;57390:160::-;;;;;;;;;;-1:-1:-1;57390:160:0;;;;;:::i;:::-;;:::i;39277:43::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;39277:43:0;;;;;56809:97;;;;;;;;;;-1:-1:-1;51652:4:0;56809:97;;40286:101;;;;;;;;;;-1:-1:-1;40364:15:0;;40286:101;;50721:107;;;;;;;;;;-1:-1:-1;50721:107:0;;;;;:::i;:::-;-1:-1:-1;;;;;50808:12:0;50774:13;50808:12;;;:6;:12;;;;;;;50721:107;27580:442;;;;;;;;;;-1:-1:-1;27580:442:0;;;;;:::i;:::-;;:::i;40395:161::-;;;;;;;;;;-1:-1:-1;40509:9:0;40395:161;;53923:681;;;;;;:::i;:::-;;:::i;57785:250::-;;;;;;;;;;;;;:::i;56699:102::-;;;;;;;;;;-1:-1:-1;56784:9:0;;;;;;;;;;;;-1:-1:-1;;;56784:9:0;;;;56699:102;;25882:524;;;;;;;;;;-1:-1:-1;25882:524:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;52015:33::-;;;;;;;;;;-1:-1:-1;52015:33:0;;;;;;;;52055:30;;;;;;;;;;-1:-1:-1;52055:30:0;;;;;;;;;;;4558:94;;;;;;;;;;;;;:::i;56254:144::-;;;;;;;;;;-1:-1:-1;56254:144:0;;;;;:::i;:::-;;:::i;3907:87::-;;;;;;;;;;-1:-1:-1;3980:6:0;;3907:87;;-1:-1:-1;;;;;3980:6:0;;;13643:51:1;;13631:2;13616:18;3907:87:0;13497:203:1;56063:92:0;;;;;;;;;;-1:-1:-1;56063:92:0;;;;;:::i;:::-;;:::i;56163:83::-;;;;;;;;;;-1:-1:-1;56233:5:0;;56163:83;;55900:92;;;;;;;;;;-1:-1:-1;55900:92:0;;;;;:::i;:::-;;:::i;26479:311::-;;;;;;;;;;-1:-1:-1;26479:311:0;;;;;:::i;:::-;;:::i;55017:187::-;;;;;;;;;;-1:-1:-1;55017:187:0;;;;;:::i;:::-;;:::i;18481:255::-;;;;;;;;;;-1:-1:-1;18481:255:0;;;;;:::i;:::-;-1:-1:-1;;;18481:255:0;;;;;;;;;;;-1:-1:-1;;;;;;17667:33:1;;;17649:52;;17637:2;17622:18;18481:255:0;17505:202:1;56598:93:0;;;;;;;;;;-1:-1:-1;56679:4:0;56598:93;;54612:397;;;;;;:::i;:::-;;:::i;26862:168::-;;;;;;;;;;-1:-1:-1;26862:168:0;;;;;:::i;:::-;-1:-1:-1;;;;;26985:27:0;;;26961:4;26985:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;26862:168;53640:275;;;;;;;;;;-1:-1:-1;53640:275:0;;;;;:::i;:::-;;:::i;52376:50::-;;;;;;;;;;-1:-1:-1;52376:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27898:6:1;27886:19;;;27868:38;;27856:2;27841:18;52376:50:0;27724:188:1;18246:227:0;;;;;;;;;;-1:-1:-1;18246:227:0;;;;;:::i;:::-;-1:-1:-1;;;18246:227:0;;;;;;;;27102:401;;;;;;;;;;-1:-1:-1;27102:401:0;;;;;:::i;:::-;;:::i;4807:192::-;;;;;;;;;;-1:-1:-1;4807:192:0;;;;;:::i;:::-;;:::i;25485:231::-;25571:7;-1:-1:-1;;;;;25599:21:0;;25591:77;;;;-1:-1:-1;;;25591:77:0;;19973:2:1;25591:77:0;;;19955:21:1;20012:2;19992:18;;;19985:30;20051:34;20031:18;;;20024:62;-1:-1:-1;;;20102:18:1;;;20095:41;20153:19;;25591:77:0;;;;;;;;;-1:-1:-1;25686:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;25686:22:0;;;;;;;;;;;;25485:231::o;56920:462::-;57076:4;-1:-1:-1;;;;;;57116:41:0;;-1:-1:-1;;;57116:41:0;;:100;;-1:-1:-1;;;;;;;57174:42:0;;-1:-1:-1;;;57174:42:0;57116:100;:155;;;-1:-1:-1;;;;;;;57233:38:0;;-1:-1:-1;;;57233:38:0;57116:155;57098:223;;;-1:-1:-1;57305:4:0;;56920:462;-1:-1:-1;56920:462:0:o;57098:223::-;57338:36;57362:11;57338:23;:36::i;:::-;57331:43;56920:462;-1:-1:-1;;56920:462:0:o;49144:1151::-;49402:152;;;49345:12;49402:152;;;;;-1:-1:-1;;;;;49440:19:0;;49370:29;49440:19;;;:6;:19;;;;;;;;;49402:152;;;;;;;;;;;49589:45;49447:11;49402:152;49617:4;49623;49629;49589:6;:45::i;:::-;49567:128;;;;-1:-1:-1;;;49567:128:0;;25108:2:1;49567:128:0;;;25090:21:1;25147:2;25127:18;;;25120:30;25186:34;25166:18;;;25159:62;-1:-1:-1;;;25237:18:1;;;25230:31;25278:19;;49567:128:0;24906:397:1;49567:128:0;-1:-1:-1;;;;;49784:19:0;;;;;;:6;:19;;;;;;:26;;49808:1;49784:23;:26::i;:::-;-1:-1:-1;;;;;49762:19:0;;;;;;:6;:19;;;;;;;:48;;;;49828:126;;;;;49769:11;;49900:10;;49926:17;;49828:126;:::i;:::-;;;;;;;;50065:12;50079:23;50114:4;-1:-1:-1;;;;;50106:18:0;50156:17;50175:11;50139:48;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;50139:48:0;;;;;;;;;;50106:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50064:134;;;;50217:7;50209:48;;;;-1:-1:-1;;;50209:48:0;;20792:2:1;50209:48:0;;;20774:21:1;20831:2;20811:18;;;20804:30;20870;20850:18;;;20843:58;20918:18;;50209:48:0;20590:352:1;50209:48:0;50277:10;49144:1151;-1:-1:-1;;;;;;;;49144:1151:0:o;57390:160::-;57487:13;57525:17;57533:8;57525:7;:17::i;27580:442::-;-1:-1:-1;;;;;27813:20:0;;2775:10;27813:20;;:60;;-1:-1:-1;27837:36:0;27854:4;2775:10;26862:168;:::i;27837:36::-;27791:160;;;;-1:-1:-1;;;27791:160:0;;23917:2:1;27791:160:0;;;23899:21:1;23956:2;23936:18;;;23929:30;23995:34;23975:18;;;23968:62;-1:-1:-1;;;24046:18:1;;;24039:48;24104:19;;27791:160:0;23715:414:1;27791:160:0;27962:52;27985:4;27991:2;27995:3;28000:7;28009:4;27962:22;:52::i;:::-;27580:442;;;;;:::o;53923:681::-;54033:10;53998:15;54016:28;;;:16;:28;;;;;;54063:13;;54016:28;;;;;54063:13;;54055:56;;;;-1:-1:-1;;;54055:56:0;;23558:2:1;54055:56:0;;;23540:21:1;23597:2;23577:18;;;23570:30;23636:32;23616:18;;;23609:60;23686:18;;54055:56:0;23356:354:1;54055:56:0;54141:1;54130:8;:12;;;54122:60;;;;-1:-1:-1;;;54122:60:0;;22342:2:1;54122:60:0;;;22324:21:1;22381:2;22361:18;;;22354:30;22420:34;22400:18;;;22393:62;-1:-1:-1;;;22471:18:1;;;22464:33;22514:19;;54122:60:0;22140:399:1;54122:60:0;54222:8;54201:29;;:17;:29;;;;54193:71;;;;-1:-1:-1;;;54193:71:0;;19212:2:1;54193:71:0;;;19194:21:1;19251:2;19231:18;;;19224:30;19290:31;19270:18;;;19263:59;19339:18;;54193:71:0;19010:353:1;54193:71:0;54303:1;54283:17;:21;;;54275:63;;;;-1:-1:-1;;;54275:63:0;;25510:2:1;54275:63:0;;;25492:21:1;25549:2;25529:18;;;25522:30;25588:31;25568:18;;;25561:59;25637:18;;54275:63:0;25308:353:1;54275:63:0;54371:5;;54403:9;;54371:28;;;;;:9;:28::i;:::-;:41;;54349:125;;;;-1:-1:-1;;;54349:125:0;;;;;;;:::i;:::-;54516:28;54527:17;54516:8;:28;:::i;:::-;54502:10;54485:28;;;;:16;:28;;;;;:59;;-1:-1:-1;;54485:59:0;;;;;;;;;;;;;54555:41;;54578:17;54555:10;:41::i;:::-;53987:617;53923:681;:::o;57785:250::-;3980:6;;-1:-1:-1;;;;;3980:6:0;2775:10;4127:23;4119:68;;;;-1:-1:-1;;;4119:68:0;;;;;;;:::i;:::-;57852:49:::1;::::0;57834:12:::1;::::0;57852:10:::1;::::0;57875:21:::1;::::0;57834:12;57852:49;57834:12;57852:49;57875:21;57852:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57833:68;;;57934:7;57912:115;;;::::0;-1:-1:-1;;;57912:115:0;;21559:2:1;57912:115:0::1;::::0;::::1;21541:21:1::0;21598:2;21578:18;;;21571:30;21637:34;21617:18;;;21610:62;21708:28;21688:18;;;21681:56;21754:19;;57912:115:0::1;21357:422:1::0;57912:115:0::1;57822:213;57785:250::o:0;25882:524::-;26038:16;26099:3;:10;26080:8;:15;:29;26072:83;;;;-1:-1:-1;;;26072:83:0;;26278:2:1;26072:83:0;;;26260:21:1;26317:2;26297:18;;;26290:30;26356:34;26336:18;;;26329:62;-1:-1:-1;;;26407:18:1;;;26400:39;26456:19;;26072:83:0;26076:405:1;26072:83:0;26168:30;26215:8;:15;-1:-1:-1;;;;;26201:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26201:30:0;;26168:63;;26249:9;26244:122;26268:8;:15;26264:1;:19;26244:122;;;26324:30;26334:8;26343:1;26334:11;;;;;;;;:::i;:::-;;;;;;;26347:3;26351:1;26347:6;;;;;;;;:::i;:::-;;;;;;;26324:9;:30::i;:::-;26305:13;26319:1;26305:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;26285:3;;;:::i;:::-;;;26244:122;;;-1:-1:-1;26385:13:0;25882:524;-1:-1:-1;;;25882:524:0:o;4558:94::-;3980:6;;-1:-1:-1;;;;;3980:6:0;2775:10;4127:23;4119:68;;;;-1:-1:-1;;;4119:68:0;;;;;;;:::i;:::-;4623:21:::1;4641:1;4623:9;:21::i;:::-;4558:94::o:0;56254:144::-;3980:6;;-1:-1:-1;;;;;3980:6:0;2775:10;4127:23;4119:68;;;;-1:-1:-1;;;4119:68:0;;;;;;;:::i;:::-;56335:13:::1;:25:::0;;56371:19;::::1;;56335:25;56371:19;-1:-1:-1::0;;56335:25:0;::::1;;56371:19:::0;;;;-1:-1:-1;;56371:19:0;;;;;;;::::1;::::0;;56254:144::o;56063:92::-;3980:6;;-1:-1:-1;;;;;3980:6:0;2775:10;4127:23;4119:68;;;;-1:-1:-1;;;4119:68:0;;;;;;;:::i;:::-;56130:5:::1;:17:::0;56063:92::o;55900:::-;3980:6;;-1:-1:-1;;;;;3980:6:0;2775:10;4127:23;4119:68;;;;-1:-1:-1;;;4119:68:0;;;;;;;:::i;:::-;55969:15;;::::1;::::0;:8:::1;::::0;:15:::1;::::0;::::1;::::0;::::1;:::i;26479:311::-:0;2775:10;-1:-1:-1;;;;;26582:24:0;;;;26574:78;;;;-1:-1:-1;;;26574:78:0;;25868:2:1;26574:78:0;;;25850:21:1;25907:2;25887:18;;;25880:30;25946:34;25926:18;;;25919:62;-1:-1:-1;;;25997:18:1;;;25990:39;26046:19;;26574:78:0;25666:405:1;26574:78:0;2775:10;26665:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;26665:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;26665:53:0;;;;;;;;;;26734:48;;16446:41:1;;;26665:42:0;;2775:10;26734:48;;16419:18:1;26734:48:0;;;;;;;26479:311;;:::o;55017:187::-;3980:6;;-1:-1:-1;;;;;3980:6:0;2775:10;4127:23;4119:68;;;;-1:-1:-1;;;4119:68:0;;;;;;;:::i;:::-;55124:1:::1;55103:17;:22;;;55099:50;;-1:-1:-1::0;55147:2:0::1;55099:50;55162:34;55173:3;55178:17;55162:10;:34::i;54612:397::-:0;54695:10;;;;;;;54687:50;;;;-1:-1:-1;;;54687:50:0;;21986:2:1;54687:50:0;;;21968:21:1;22025:2;22005:18;;;21998:30;22064:29;22044:18;;;22037:57;22111:18;;54687:50:0;21784:351:1;54687:50:0;54776:1;54756:17;:21;;;54748:63;;;;-1:-1:-1;;;54748:63:0;;25510:2:1;54748:63:0;;;25492:21:1;25549:2;25529:18;;;25522:30;25588:31;25568:18;;;25561:59;25637:18;;54748:63:0;25308:353:1;54748:63:0;54844:5;;54876:9;;54844:28;;;;;:9;:28::i;:::-;:41;;54822:125;;;;-1:-1:-1;;;54822:125:0;;;;;;;:::i;:::-;54960:41;54971:10;54983:17;54960:10;:41::i;53640:275::-;3980:6;;-1:-1:-1;;;;;3980:6:0;2775:10;4127:23;4119:68;;;;-1:-1:-1;;;4119:68:0;;;;;;;:::i;:::-;53784:8:::1;53779:129;53798:27;::::0;::::1;::::0;-1:-1:-1;53779:129:0::1;;;53887:6;;53894:1;53887:9;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;53847:16;:37;53864:16;;53881:1;53864:19;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;53847:37:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;53847:37:0;:49;;-1:-1:-1;;53847:49:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;53827:3;::::1;::::0;::::1;:::i;:::-;;;;53779:129;;27102:401:::0;-1:-1:-1;;;;;27310:20:0;;2775:10;27310:20;;:60;;-1:-1:-1;27334:36:0;27351:4;2775:10;26862:168;:::i;27334:36::-;27288:151;;;;-1:-1:-1;;;27288:151:0;;21149:2:1;27288:151:0;;;21131:21:1;21188:2;21168:18;;;21161:30;21227:34;21207:18;;;21200:62;-1:-1:-1;;;21278:18:1;;;21271:39;21327:19;;27288:151:0;20947:405:1;27288:151:0;27450:45;27468:4;27474:2;27478;27482:6;27490:4;27450:17;:45::i;4807:192::-;3980:6;;-1:-1:-1;;;;;3980:6:0;2775:10;4127:23;4119:68;;;;-1:-1:-1;;;4119:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;4896:22:0;::::1;4888:73;;;::::0;-1:-1:-1;;;4888:73:0;;20385:2:1;4888:73:0::1;::::0;::::1;20367:21:1::0;20424:2;20404:18;;;20397:30;20463:34;20443:18;;;20436:62;-1:-1:-1;;;20514:18:1;;;20507:36;20560:19;;4888:73:0::1;20183:402:1::0;4888:73:0::1;4972:19;4982:8;4972:9;:19::i;17817:223::-:0;17919:4;-1:-1:-1;;;;;;17943:49:0;;-1:-1:-1;;;17943:49:0;;:89;;;17996:36;18020:11;17996:23;:36::i;50836:486::-;51014:4;-1:-1:-1;;;;;51039:20:0;;51031:70;;;;-1:-1:-1;;;51031:70:0;;22746:2:1;51031:70:0;;;22728:21:1;22785:2;22765:18;;;22758:30;22824:34;22804:18;;;22797:62;-1:-1:-1;;;22875:18:1;;;22868:35;22920:19;;51031:70:0;22544:401:1;51031:70:0;51155:159;51183:47;51202:27;51222:6;51202:19;:27::i;:::-;51183:18;:47::i;:::-;51155:159;;;;;;;;;;;;17329:25:1;;;;17402:4;17390:17;;17370:18;;;17363:45;17424:18;;;17417:34;;;17467:18;;;17460:34;;;17301:19;;51155:159:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51132:182:0;:6;-1:-1:-1;;;;;51132:182:0;;51112:202;;50836:486;;;;;;;:::o;43953:98::-;44011:7;44038:5;44042:1;44038;:5;:::i;:::-;44031:12;43953:98;-1:-1:-1;;;43953:98:0:o;57558:215::-;57616:13;57704:8;57714:26;57731:8;57714:16;:26::i;:::-;57687:63;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57642:123;;57558:215;;;:::o;29664:1074::-;29891:7;:14;29877:3;:10;:28;29869:81;;;;-1:-1:-1;;;29869:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;29969:16:0;;29961:66;;;;-1:-1:-1;;;29961:66:0;;;;;;;:::i;:::-;2775:10;30040:16;30157:421;30181:3;:10;30177:1;:14;30157:421;;;30213:10;30226:3;30230:1;30226:6;;;;;;;;:::i;:::-;;;;;;;30213:19;;30247:14;30264:7;30272:1;30264:10;;;;;;;;:::i;:::-;;;;;;;;;;;;30291:19;30313:13;;;;;;;;;;-1:-1:-1;;;;;30313:19:0;;;;;;;;;;;;30264:10;;-1:-1:-1;30355:21:0;;;;30347:76;;;;-1:-1:-1;;;30347:76:0;;;;;;;:::i;:::-;30467:9;:13;;;;;;;;;;;-1:-1:-1;;;;;30467:19:0;;;;;;;;;;30489:20;;;30467:42;;30539:17;;;;;;;:27;;30489:20;;30467:9;30539:27;;30489:20;;30539:27;:::i;:::-;;;;;;;;30198:380;;;30193:3;;;;:::i;:::-;;;30157:421;;;;30625:2;-1:-1:-1;;;;;30595:47:0;30619:4;-1:-1:-1;;;;;30595:47:0;30609:8;-1:-1:-1;;;;;30595:47:0;;30629:3;30634:7;30595:47;;;;;;;:::i;:::-;;;;;;;;30655:75;30691:8;30701:4;30707:2;30711:3;30716:7;30725:4;30655:35;:75::i;:::-;29858:880;29664:1074;;;;;:::o;44691:98::-;44749:7;44776:5;44780:1;44776;:5;:::i;55214:670::-;55316:9;;55278:16;;55297:28;;55316:9;;51652:4;55297:28;:::i;:::-;55278:47;;55373:9;55366:16;;:3;:16;;;;55344:124;;;;-1:-1:-1;;;55344:124:0;;27499:2:1;55344:124:0;;;27481:21:1;27538:2;27518:18;;;27511:30;27577:34;27557:18;;;27550:62;27648:28;27628:18;;;27621:56;27694:19;;55344:124:0;27297:422:1;55344:124:0;55497:9;;;;;;;55479:15;;55540:18;;-1:-1:-1;;;;;55540:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55540:18:0;;55517:41;;55569:24;55610:3;55596:18;;-1:-1:-1;;;;;55596:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55596:18:0;;55569:45;;55640:8;55635:151;55658:3;55654:7;;:1;:7;;;55635:151;;;55704:21;55716:8;55704:11;:21::i;:::-;55683:42;;;;;55684:3;55688:1;55684:6;;;;;;;;;;:::i;:::-;;;;;;55683:42;;;;;;;;;55753:1;55740:7;55748:1;55740:10;;;;;;;;;;:::i;:::-;;;;;;;;;;:14;55663:3;;;;:::i;:::-;;;;55635:151;;;-1:-1:-1;55796:9:0;:20;;-1:-1:-1;;55796:20:0;;;;;;;55827:39;;;;;;;;;-1:-1:-1;55827:39:0;;;;55844:3;;55849;;55854:7;;55827:16;:39::i;5007:173::-;5082:6;;;-1:-1:-1;;;;;5099:17:0;;;-1:-1:-1;;;;;;5099:17:0;;;;;;;5132:40;;5082:6;;;5099:17;5082:6;;5132:40;;5063:16;;5132:40;5052:128;5007:173;:::o;28486:820::-;-1:-1:-1;;;;;28674:16:0;;28666:66;;;;-1:-1:-1;;;28666:66:0;;;;;;;:::i;:::-;2775:10;28789:96;2775:10;28820:4;28826:2;28830:21;28848:2;28830:17;:21::i;:::-;28853:25;28871:6;28853:17;:25::i;28789:96::-;28898:19;28920:13;;;;;;;;;;;-1:-1:-1;;;;;28920:19:0;;;;;;;;;;28958:21;;;;28950:76;;;;-1:-1:-1;;;28950:76:0;;;;;;;:::i;:::-;29062:9;:13;;;;;;;;;;;-1:-1:-1;;;;;29062:19:0;;;;;;;;;;29084:20;;;29062:42;;29126:17;;;;;;;:27;;29084:20;;29062:9;29126:27;;29084:20;;29126:27;:::i;:::-;;;;-1:-1:-1;;29171:46:0;;;28273:25:1;;;28329:2;28314:18;;28307:34;;;-1:-1:-1;;;;;29171:46:0;;;;;;;;;;;;;;28246:18:1;29171:46:0;;;;;;;29230:68;29261:8;29271:4;29277:2;29281;29285:6;29293:4;29230:30;:68::i;:::-;28655:651;;28486:820;;;;;:::o;24508:310::-;24610:4;-1:-1:-1;;;;;;24647:41:0;;-1:-1:-1;;;24647:41:0;;:110;;-1:-1:-1;;;;;;;24705:52:0;;-1:-1:-1;;;24705:52:0;24647:110;:163;;;-1:-1:-1;;;;;;;;;;15040:40:0;;;24774:36;14931:157;50303:410;50413:7;48480:100;;;;;;;;;;;;;;;;;48460:127;;;;;;;50567:12;;50602:11;;;;50646:24;;;;;50636:35;;;;;;50486:204;;;;;16911:25:1;;;16967:2;16952:18;;16945:34;;;;-1:-1:-1;;;;;17015:32:1;17010:2;16995:18;;16988:60;17079:2;17064:18;;17057:34;16898:3;16883:19;;16680:417;50486:204:0;;;;;;;;;;;;;50458:247;;;;;;50438:267;;50303:410;;;:::o;40925:258::-;41024:7;41126:20;40364:15;;;40286:101;41126:20;41097:63;;-1:-1:-1;;;41097:63:0;;;12690:27:1;12733:11;;;12726:27;;;;12769:12;;;12762:28;;;12806:12;;41097:63:0;12432:392:1;311:723:0;367:13;588:10;584:53;;-1:-1:-1;;615:10:0;;;;;;;;;;;;-1:-1:-1;;;615:10:0;;;;;311:723::o;584:53::-;662:5;647:12;703:78;710:9;;703:78;;736:8;;;;:::i;:::-;;-1:-1:-1;759:10:0;;-1:-1:-1;767:2:0;759:10;;:::i;:::-;;;703:78;;;791:19;823:6;-1:-1:-1;;;;;813:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;813:17:0;;791:39;;841:154;848:10;;841:154;;875:11;885:1;875:11;;:::i;:::-;;-1:-1:-1;944:10:0;952:2;944:5;:10;:::i;:::-;931:24;;:2;:24;:::i;:::-;918:39;;901:6;908;901:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;901:56:0;;;;;;;;-1:-1:-1;972:11:0;981:2;972:11;;:::i;:::-;;;841:154;;;1019:6;311:723;-1:-1:-1;;;;311:723:0:o;37753:813::-;-1:-1:-1;;;;;37993:13:0;;6276:20;6324:8;37989:570;;38029:79;;-1:-1:-1;;;38029:79:0;;-1:-1:-1;;;;;38029:43:0;;;;;:79;;38073:8;;38083:4;;38089:3;;38094:7;;38103:4;;38029:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38029:79:0;;;;;;;;-1:-1:-1;;38029:79:0;;;;;;;;;;;;:::i;:::-;;;38025:523;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;38421:6;38414:14;;-1:-1:-1;;;38414:14:0;;;;;;;;:::i;38025:523::-;;;38470:62;;-1:-1:-1;;;38470:62:0;;18382:2:1;38470:62:0;;;18364:21:1;18421:2;18401:18;;;18394:30;18460:34;18440:18;;;18433:62;-1:-1:-1;;;18511:18:1;;;18504:50;18571:19;;38470:62:0;18180:416:1;38025:523:0;-1:-1:-1;;;;;;38190:60:0;;-1:-1:-1;;;38190:60:0;38186:159;;38275:50;;-1:-1:-1;;;38275:50:0;;;;;;;:::i;52529:1097::-;52585:6;;;52631:27;52650:8;51652:4;52631:27;:::i;:::-;52735:176;;-1:-1:-1;;;;;;13288:3:1;13266:16;;;13262:38;52735:176:0;;;13250:51:1;-1:-1:-1;;52805:10:0;13338:2:1;13334:15;13330:53;13317:11;;;13310:74;52838:16:0;13400:12:1;;;13393:28;52877:15:0;13437:12:1;;;13430:28;52612:46:0;;-1:-1:-1;52669:13:0;;52685:264;;;;13474:12:1;;52735:176:0;;;;;;;;;;;;52707:219;;;;;;52685:252;;:264;;;;:::i;:::-;52669:280;;53004:12;53035:7;53043:5;53035:14;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:19;53031:128;;53079:7;53087:5;53079:14;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;53071:22;;53031:128;;;-1:-1:-1;53141:5:0;53031:128;53224:7;53232:13;53244:1;53232:9;:13;:::i;:::-;53224:22;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;53220:283;;53349:13;53361:1;53349:9;:13;:::i;:::-;53332:7;53340:5;53332:14;;;;;;;:::i;:::-;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;53220:283;;;53469:7;53477:13;53489:1;53477:9;:13;:::i;:::-;53469:22;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;53452:7;53460:5;53452:14;;;;;;;:::i;:::-;;;;;;;;;;;;:39;;;;;;;;;;;;;;;;;;53220:283;53513:10;;;;:::i;:::-;;-1:-1:-1;53600:7:0;;-1:-1:-1;53600:5:0;53606:1;53600:7;:::i;:::-;53592:26;52529:1097;-1:-1:-1;;;;;52529:1097:0:o;33026:735::-;-1:-1:-1;;;;;33204:16:0;;33196:62;;;;-1:-1:-1;;;33196:62:0;;27097:2:1;33196:62:0;;;27079:21:1;27136:2;27116:18;;;27109:30;27175:34;27155:18;;;27148:62;-1:-1:-1;;;27226:18:1;;;27219:31;27267:19;;33196:62:0;26895:397:1;33196:62:0;33291:7;:14;33277:3;:10;:28;33269:81;;;;-1:-1:-1;;;33269:81:0;;;;;;;:::i;:::-;2775:10;33363:16;33486:103;33510:3;:10;33506:1;:14;33486:103;;;33567:7;33575:1;33567:10;;;;;;;;:::i;:::-;;;;;;;33542:9;:17;33552:3;33556:1;33552:6;;;;;;;;:::i;:::-;;;;;;;33542:17;;;;;;;;;;;:21;33560:2;-1:-1:-1;;;;;33542:21:0;-1:-1:-1;;;;;33542:21:0;;;;;;;;;;;;;:35;;;;;;;:::i;:::-;;;;-1:-1:-1;33522:3:0;;-1:-1:-1;33522:3:0;;;:::i;:::-;;;;33486:103;;;;33642:2;-1:-1:-1;;;;;33606:53:0;33638:1;-1:-1:-1;;;;;33606:53:0;33620:8;-1:-1:-1;;;;;33606:53:0;;33646:3;33651:7;33606:53;;;;;;;:::i;:::-;;;;;;;;33672:81;33708:8;33726:1;33730:2;33734:3;33739:7;33748:4;33672:35;:81::i;38574:198::-;38694:16;;;38708:1;38694:16;;;;;;;;;38640;;38669:22;;38694:16;;;;;;;;;;;;-1:-1:-1;38694:16:0;38669:41;;38732:7;38721:5;38727:1;38721:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;38759:5;38574:198;-1:-1:-1;;38574:198:0:o;37001:744::-;-1:-1:-1;;;;;37216:13:0;;6276:20;6324:8;37212:526;;37252:72;;-1:-1:-1;;;37252:72:0;;-1:-1:-1;;;;;37252:38:0;;;;;:72;;37291:8;;37301:4;;37307:2;;37311:6;;37319:4;;37252:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37252:72:0;;;;;;;;-1:-1:-1;;37252:72:0;;;;;;;;;;;;:::i;:::-;;;37248:479;;;;:::i;:::-;-1:-1:-1;;;;;;37374:55:0;;-1:-1:-1;;;37374:55:0;37370:154;;37454:50;;-1:-1:-1;;;37454:50:0;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:468:1;78:5;-1:-1:-1;;;;;104:6:1;101:30;98:56;;;134:18;;:::i;:::-;183:2;177:9;195:69;252:2;231:15;;-1:-1:-1;;227:29:1;258:4;223:40;177:9;195:69;:::i;:::-;282:6;273:15;;312:6;304;297:22;352:3;343:6;338:3;334:16;331:25;328:45;;;369:1;366;359:12;328:45;419:6;414:3;407:4;399:6;395:17;382:44;474:1;467:4;458:6;450;446:19;442:30;435:41;;14:468;;;;;:::o;487:173::-;555:20;;-1:-1:-1;;;;;604:31:1;;594:42;;584:70;;650:1;647;640:12;584:70;487:173;;;:::o;665:367::-;728:8;738:6;792:3;785:4;777:6;773:17;769:27;759:55;;810:1;807;800:12;759:55;-1:-1:-1;833:20:1;;-1:-1:-1;;;;;865:30:1;;862:50;;;908:1;905;898:12;862:50;945:4;937:6;933:17;921:29;;1005:3;998:4;988:6;985:1;981:14;973:6;969:27;965:38;962:47;959:67;;;1022:1;1019;1012:12;959:67;665:367;;;;;:::o;1037:735::-;1091:5;1144:3;1137:4;1129:6;1125:17;1121:27;1111:55;;1162:1;1159;1152:12;1111:55;1198:6;1185:20;1224:4;1247:43;1287:2;1247:43;:::i;:::-;1319:2;1313:9;1331:31;1359:2;1351:6;1331:31;:::i;:::-;1397:18;;;1431:15;;;;-1:-1:-1;1466:15:1;;;1516:1;1512:10;;;1500:23;;1496:32;;1493:41;-1:-1:-1;1490:61:1;;;1547:1;1544;1537:12;1490:61;1569:1;1579:163;1593:2;1590:1;1587:9;1579:163;;;1650:17;;1638:30;;1688:12;;;;1720;;;;1611:1;1604:9;1579:163;;;-1:-1:-1;1760:6:1;;1037:735;-1:-1:-1;;;;;;;1037:735:1:o;1777:160::-;1842:20;;1898:13;;1891:21;1881:32;;1871:60;;1927:1;1924;1917:12;1942:220;1984:5;2037:3;2030:4;2022:6;2018:17;2014:27;2004:55;;2055:1;2052;2045:12;2004:55;2077:79;2152:3;2143:6;2130:20;2123:4;2115:6;2111:17;2077:79;:::i;2167:159::-;2234:20;;2294:6;2283:18;;2273:29;;2263:57;;2316:1;2313;2306:12;2331:186;2390:6;2443:2;2431:9;2422:7;2418:23;2414:32;2411:52;;;2459:1;2456;2449:12;2411:52;2482:29;2501:9;2482:29;:::i;2522:260::-;2590:6;2598;2651:2;2639:9;2630:7;2626:23;2622:32;2619:52;;;2667:1;2664;2657:12;2619:52;2690:29;2709:9;2690:29;:::i;:::-;2680:39;;2738:38;2772:2;2761:9;2757:18;2738:38;:::i;:::-;2728:48;;2522:260;;;;;:::o;2787:943::-;2941:6;2949;2957;2965;2973;3026:3;3014:9;3005:7;3001:23;2997:33;2994:53;;;3043:1;3040;3033:12;2994:53;3066:29;3085:9;3066:29;:::i;:::-;3056:39;;3114:38;3148:2;3137:9;3133:18;3114:38;:::i;:::-;3104:48;;3203:2;3192:9;3188:18;3175:32;-1:-1:-1;;;;;3267:2:1;3259:6;3256:14;3253:34;;;3283:1;3280;3273:12;3253:34;3306:61;3359:7;3350:6;3339:9;3335:22;3306:61;:::i;:::-;3296:71;;3420:2;3409:9;3405:18;3392:32;3376:48;;3449:2;3439:8;3436:16;3433:36;;;3465:1;3462;3455:12;3433:36;3488:63;3543:7;3532:8;3521:9;3517:24;3488:63;:::i;:::-;3478:73;;3604:3;3593:9;3589:19;3576:33;3560:49;;3634:2;3624:8;3621:16;3618:36;;;3650:1;3647;3640:12;3618:36;;3673:51;3716:7;3705:8;3694:9;3690:24;3673:51;:::i;:::-;3663:61;;;2787:943;;;;;;;;:::o;3735:606::-;3839:6;3847;3855;3863;3871;3924:3;3912:9;3903:7;3899:23;3895:33;3892:53;;;3941:1;3938;3931:12;3892:53;3964:29;3983:9;3964:29;:::i;:::-;3954:39;;4012:38;4046:2;4035:9;4031:18;4012:38;:::i;:::-;4002:48;;4097:2;4086:9;4082:18;4069:32;4059:42;;4148:2;4137:9;4133:18;4120:32;4110:42;;4203:3;4192:9;4188:19;4175:33;-1:-1:-1;;;;;4223:6:1;4220:30;4217:50;;;4263:1;4260;4253:12;4217:50;4286:49;4327:7;4318:6;4307:9;4303:22;4286:49;:::i;4346:254::-;4411:6;4419;4472:2;4460:9;4451:7;4447:23;4443:32;4440:52;;;4488:1;4485;4478:12;4440:52;4511:29;4530:9;4511:29;:::i;:::-;4501:39;;4559:35;4590:2;4579:9;4575:18;4559:35;:::i;4605:689::-;4707:6;4715;4723;4731;4739;4792:3;4780:9;4771:7;4767:23;4763:33;4760:53;;;4809:1;4806;4799:12;4760:53;4832:29;4851:9;4832:29;:::i;:::-;4822:39;;4912:2;4901:9;4897:18;4884:32;-1:-1:-1;;;;;4931:6:1;4928:30;4925:50;;;4971:1;4968;4961:12;4925:50;4994:49;5035:7;5026:6;5015:9;5011:22;4994:49;:::i;:::-;4984:59;;;5090:2;5079:9;5075:18;5062:32;5052:42;;5141:2;5130:9;5126:18;5113:32;5103:42;;5195:3;5184:9;5180:19;5167:33;5240:4;5233:5;5229:16;5222:5;5219:27;5209:55;;5260:1;5257;5250:12;5209:55;5283:5;5273:15;;;4605:689;;;;;;;;:::o;5299:258::-;5366:6;5374;5427:2;5415:9;5406:7;5402:23;5398:32;5395:52;;;5443:1;5440;5433:12;5395:52;5466:29;5485:9;5466:29;:::i;:::-;5456:39;;5514:37;5547:2;5536:9;5532:18;5514:37;:::i;5562:254::-;5630:6;5638;5691:2;5679:9;5670:7;5666:23;5662:32;5659:52;;;5707:1;5704;5697:12;5659:52;5730:29;5749:9;5730:29;:::i;:::-;5720:39;5806:2;5791:18;;;;5778:32;;-1:-1:-1;;;5562:254:1:o;5821:772::-;5942:6;5950;5958;5966;6019:2;6007:9;5998:7;5994:23;5990:32;5987:52;;;6035:1;6032;6025:12;5987:52;6075:9;6062:23;-1:-1:-1;;;;;6145:2:1;6137:6;6134:14;6131:34;;;6161:1;6158;6151:12;6131:34;6200:70;6262:7;6253:6;6242:9;6238:22;6200:70;:::i;:::-;6289:8;;-1:-1:-1;6174:96:1;-1:-1:-1;6377:2:1;6362:18;;6349:32;;-1:-1:-1;6393:16:1;;;6390:36;;;6422:1;6419;6412:12;6390:36;;6461:72;6525:7;6514:8;6503:9;6499:24;6461:72;:::i;:::-;5821:772;;;;-1:-1:-1;6552:8:1;-1:-1:-1;;;;5821:772:1:o;6598:1219::-;6716:6;6724;6777:2;6765:9;6756:7;6752:23;6748:32;6745:52;;;6793:1;6790;6783:12;6745:52;6833:9;6820:23;-1:-1:-1;;;;;6903:2:1;6895:6;6892:14;6889:34;;;6919:1;6916;6909:12;6889:34;6957:6;6946:9;6942:22;6932:32;;7002:7;6995:4;6991:2;6987:13;6983:27;6973:55;;7024:1;7021;7014:12;6973:55;7060:2;7047:16;7082:4;7105:43;7145:2;7105:43;:::i;:::-;7177:2;7171:9;7189:31;7217:2;7209:6;7189:31;:::i;:::-;7255:18;;;7289:15;;;;-1:-1:-1;7324:11:1;;;7366:1;7362:10;;;7354:19;;7350:28;;7347:41;-1:-1:-1;7344:61:1;;;7401:1;7398;7391:12;7344:61;7423:1;7414:10;;7433:169;7447:2;7444:1;7441:9;7433:169;;;7504:23;7523:3;7504:23;:::i;:::-;7492:36;;7465:1;7458:9;;;;;7548:12;;;;7580;;7433:169;;;-1:-1:-1;7621:6:1;-1:-1:-1;;7665:18:1;;7652:32;;-1:-1:-1;;7696:16:1;;;7693:36;;;7725:1;7722;7715:12;7693:36;;7748:63;7803:7;7792:8;7781:9;7777:24;7748:63;:::i;:::-;7738:73;;;6598:1219;;;;;:::o;7822:248::-;7884:6;7892;7945:2;7933:9;7924:7;7920:23;7916:32;7913:52;;;7961:1;7958;7951:12;7913:52;7984:26;8000:9;7984:26;:::i;8075:245::-;8133:6;8186:2;8174:9;8165:7;8161:23;8157:32;8154:52;;;8202:1;8199;8192:12;8154:52;8241:9;8228:23;8260:30;8284:5;8260:30;:::i;8325:249::-;8394:6;8447:2;8435:9;8426:7;8422:23;8418:32;8415:52;;;8463:1;8460;8453:12;8415:52;8495:9;8489:16;8514:30;8538:5;8514:30;:::i;8579:450::-;8648:6;8701:2;8689:9;8680:7;8676:23;8672:32;8669:52;;;8717:1;8714;8707:12;8669:52;8757:9;8744:23;-1:-1:-1;;;;;8782:6:1;8779:30;8776:50;;;8822:1;8819;8812:12;8776:50;8845:22;;8898:4;8890:13;;8886:27;-1:-1:-1;8876:55:1;;8927:1;8924;8917:12;8876:55;8950:73;9015:7;9010:2;8997:16;8992:2;8988;8984:11;8950:73;:::i;9034:184::-;9092:6;9145:2;9133:9;9124:7;9120:23;9116:32;9113:52;;;9161:1;9158;9151:12;9113:52;9184:28;9202:9;9184:28;:::i;9223:180::-;9282:6;9335:2;9323:9;9314:7;9310:23;9306:32;9303:52;;;9351:1;9348;9341:12;9303:52;-1:-1:-1;9374:23:1;;9223:180;-1:-1:-1;9223:180:1:o;9408:435::-;9461:3;9499:5;9493:12;9526:6;9521:3;9514:19;9552:4;9581:2;9576:3;9572:12;9565:19;;9618:2;9611:5;9607:14;9639:1;9649:169;9663:6;9660:1;9657:13;9649:169;;;9724:13;;9712:26;;9758:12;;;;9793:15;;;;9685:1;9678:9;9649:169;;;-1:-1:-1;9834:3:1;;9408:435;-1:-1:-1;;;;;9408:435:1:o;9848:268::-;9900:3;9938:5;9932:12;9965:6;9960:3;9953:19;9981:63;10037:6;10030:4;10025:3;10021:14;10014:4;10007:5;10003:16;9981:63;:::i;:::-;10098:2;10077:15;-1:-1:-1;;10073:29:1;10064:39;;;;10105:4;10060:50;;9848:268;-1:-1:-1;;9848:268:1:o;10121:184::-;10162:3;10200:5;10194:12;10215:52;10260:6;10255:3;10248:4;10241:5;10237:16;10215:52;:::i;:::-;10283:16;;;;;10121:184;-1:-1:-1;;10121:184:1:o;10428:274::-;10557:3;10595:6;10589:13;10611:53;10657:6;10652:3;10645:4;10637:6;10633:17;10611:53;:::i;:::-;10680:16;;;;;10428:274;-1:-1:-1;;10428:274:1:o;10707:415::-;10864:3;10902:6;10896:13;10918:53;10964:6;10959:3;10952:4;10944:6;10940:17;10918:53;:::i;:::-;11040:2;11036:15;;;;-1:-1:-1;;11032:53:1;10993:16;;;;11018:68;;;11113:2;11102:14;;10707:415;-1:-1:-1;;10707:415:1:o;11127:1300::-;11404:3;11433:1;11466:6;11460:13;11496:3;11518:1;11546:9;11542:2;11538:18;11528:28;;11606:2;11595:9;11591:18;11628;11618:61;;11672:4;11664:6;11660:17;11650:27;;11618:61;11698:2;11746;11738:6;11735:14;11715:18;11712:38;11709:165;;;-1:-1:-1;;;11773:33:1;;11829:4;11826:1;11819:15;11859:4;11780:3;11847:17;11709:165;11890:18;11917:104;;;;12035:1;12030:320;;;;11883:467;;11917:104;-1:-1:-1;;11950:24:1;;11938:37;;11995:16;;;;-1:-1:-1;11917:104:1;;12030:320;28613:1;28606:14;;;28650:4;28637:18;;12125:1;12139:165;12153:6;12150:1;12147:13;12139:165;;;12231:14;;12218:11;;;12211:35;12274:16;;;;12168:10;;12139:165;;;12143:3;;12333:6;12328:3;12324:16;12317:23;;11883:467;;;;;;;12366:55;12391:29;12416:3;12408:6;12391:29;:::i;:::-;-1:-1:-1;;;10370:20:1;;10415:1;10406:11;;10310:113;12366:55;12359:62;11127:1300;-1:-1:-1;;;;;11127:1300:1:o;13705:442::-;-1:-1:-1;;;;;13962:15:1;;;13944:34;;14014:15;;14009:2;13994:18;;13987:43;14066:2;14061;14046:18;;14039:30;;;13887:4;;14086:55;;14122:18;;14114:6;14086:55;:::i;14152:837::-;-1:-1:-1;;;;;14549:15:1;;;14531:34;;14601:15;;14596:2;14581:18;;14574:43;14511:3;14648:2;14633:18;;14626:31;;;14474:4;;14680:57;;14717:19;;14709:6;14680:57;:::i;:::-;14785:9;14777:6;14773:22;14768:2;14757:9;14753:18;14746:50;14819:44;14856:6;14848;14819:44;:::i;:::-;14805:58;;14912:9;14904:6;14900:22;14894:3;14883:9;14879:19;14872:51;14940:43;14976:6;14968;14940:43;:::i;14994:571::-;-1:-1:-1;;;;;15291:15:1;;;15273:34;;15343:15;;15338:2;15323:18;;15316:43;15390:2;15375:18;;15368:34;;;15433:2;15418:18;;15411:34;;;15253:3;15476;15461:19;;15454:32;;;15216:4;;15503:56;;15539:19;;15531:6;15503:56;:::i;:::-;15495:64;14994:571;-1:-1:-1;;;;;;;14994:571:1:o;15570:261::-;15749:2;15738:9;15731:21;15712:4;15769:56;15821:2;15810:9;15806:18;15798:6;15769:56;:::i;15836:465::-;16093:2;16082:9;16075:21;16056:4;16119:56;16171:2;16160:9;16156:18;16148:6;16119:56;:::i;:::-;16223:9;16215:6;16211:22;16206:2;16195:9;16191:18;16184:50;16251:44;16288:6;16280;16251:44;:::i;17712:228::-;17859:2;17848:9;17841:21;17822:4;17879:55;17930:2;17919:9;17915:18;17907:6;17879:55;:::i;18601:404::-;18803:2;18785:21;;;18842:2;18822:18;;;18815:30;18881:34;18876:2;18861:18;;18854:62;-1:-1:-1;;;18947:2:1;18932:18;;18925:38;18995:3;18980:19;;18601:404::o;19368:398::-;19570:2;19552:21;;;19609:2;19589:18;;;19582:30;19648:34;19643:2;19628:18;;19621:62;-1:-1:-1;;;19714:2:1;19699:18;;19692:32;19756:3;19741:19;;19368:398::o;22950:401::-;23152:2;23134:21;;;23191:2;23171:18;;;23164:30;23230:34;23225:2;23210:18;;23203:62;-1:-1:-1;;;23296:2:1;23281:18;;23274:35;23341:3;23326:19;;22950:401::o;24134:406::-;24336:2;24318:21;;;24375:2;24355:18;;;24348:30;24414:34;24409:2;24394:18;;24387:62;-1:-1:-1;;;24480:2:1;24465:18;;24458:40;24530:3;24515:19;;24134:406::o;24545:356::-;24747:2;24729:21;;;24766:18;;;24759:30;24825:34;24820:2;24805:18;;24798:62;24892:2;24877:18;;24545:356::o;26486:404::-;26688:2;26670:21;;;26727:2;26707:18;;;26700:30;26766:34;26761:2;26746:18;;26739:62;-1:-1:-1;;;26832:2:1;26817:18;;26810:38;26880:3;26865:19;;26486:404::o;28352:183::-;28412:4;-1:-1:-1;;;;;28437:6:1;28434:30;28431:56;;;28467:18;;:::i;:::-;-1:-1:-1;28512:1:1;28508:14;28524:4;28504:25;;28352:183::o;28666:224::-;28705:3;28733:6;28766:2;28763:1;28759:10;28796:2;28793:1;28789:10;28827:3;28823:2;28819:12;28814:3;28811:21;28808:47;;;28835:18;;:::i;:::-;28871:13;;28666:224;-1:-1:-1;;;;28666:224:1:o;28895:128::-;28935:3;28966:1;28962:6;28959:1;28956:13;28953:39;;;28972:18;;:::i;:::-;-1:-1:-1;29008:9:1;;28895:128::o;29028:120::-;29068:1;29094;29084:35;;29099:18;;:::i;:::-;-1:-1:-1;29133:9:1;;29028:120::o;29153:168::-;29193:7;29259:1;29255;29251:6;29247:14;29244:1;29241:21;29236:1;29229:9;29222:17;29218:45;29215:71;;;29266:18;;:::i;:::-;-1:-1:-1;29306:9:1;;29153:168::o;29326:217::-;29365:4;29394:6;29450:10;;;;29420;;29472:12;;;29469:38;;;29487:18;;:::i;:::-;29524:13;;29326:217;-1:-1:-1;;;29326:217:1:o;29548:125::-;29588:4;29616:1;29613;29610:8;29607:34;;;29621:18;;:::i;:::-;-1:-1:-1;29658:9:1;;29548:125::o;29678:258::-;29750:1;29760:113;29774:6;29771:1;29768:13;29760:113;;;29850:11;;;29844:18;29831:11;;;29824:39;29796:2;29789:10;29760:113;;;29891:6;29888:1;29885:13;29882:48;;;29926:1;29917:6;29912:3;29908:16;29901:27;29882:48;;29678:258;;;:::o;29941:380::-;30020:1;30016:12;;;;30063;;;30084:61;;30138:4;30130:6;30126:17;30116:27;;30084:61;30191:2;30183:6;30180:14;30160:18;30157:38;30154:161;;;30237:10;30232:3;30228:20;30225:1;30218:31;30272:4;30269:1;30262:15;30300:4;30297:1;30290:15;30154:161;;29941:380;;;:::o;30326:249::-;30436:2;30417:13;;-1:-1:-1;;30413:27:1;30401:40;;-1:-1:-1;;;;;30456:34:1;;30492:22;;;30453:62;30450:88;;;30518:18;;:::i;:::-;30554:2;30547:22;-1:-1:-1;;30326:249:1:o;30580:197::-;30618:3;30646:6;30687:2;30680:5;30676:14;30714:2;30705:7;30702:15;30699:41;;;30720:18;;:::i;:::-;30769:1;30756:15;;30580:197;-1:-1:-1;;;30580:197:1:o;30782:135::-;30821:3;-1:-1:-1;;30842:17:1;;30839:43;;;30862:18;;:::i;:::-;-1:-1:-1;30909:1:1;30898:13;;30782:135::o;30922:112::-;30954:1;30980;30970:35;;30985:18;;:::i;:::-;-1:-1:-1;31019:9:1;;30922:112::o;31039:127::-;31100:10;31095:3;31091:20;31088:1;31081:31;31131:4;31128:1;31121:15;31155:4;31152:1;31145:15;31171:127;31232:10;31227:3;31223:20;31220:1;31213:31;31263:4;31260:1;31253:15;31287:4;31284:1;31277:15;31303:127;31364:10;31359:3;31355:20;31352:1;31345:31;31395:4;31392:1;31385:15;31419:4;31416:1;31409:15;31435:127;31496:10;31491:3;31487:20;31484:1;31477:31;31527:4;31524:1;31517:15;31551:4;31548:1;31541:15;31567:179;31602:3;31644:1;31626:16;31623:23;31620:120;;;31690:1;31687;31684;31669:23;-1:-1:-1;31727:1:1;31721:8;31716:3;31712:18;31620:120;31567:179;:::o;31751:671::-;31790:3;31832:4;31814:16;31811:26;31808:39;;;31751:671;:::o;31808:39::-;31874:2;31868:9;-1:-1:-1;;31939:16:1;31935:25;;31932:1;31868:9;31911:50;31990:4;31984:11;32014:16;-1:-1:-1;;;;;32120:2:1;32113:4;32105:6;32101:17;32098:25;32093:2;32085:6;32082:14;32079:45;32076:58;;;32127:5;;;;;31751:671;:::o;32076:58::-;32164:6;32158:4;32154:17;32143:28;;32200:3;32194:10;32227:2;32219:6;32216:14;32213:27;;;32233:5;;;;;;31751:671;:::o;32213:27::-;32317:2;32298:16;32292:4;32288:27;32284:36;32277:4;32268:6;32263:3;32259:16;32255:27;32252:69;32249:82;;;32324:5;;;;;;31751:671;:::o;32249:82::-;32340:57;32391:4;32382:6;32374;32370:19;32366:30;32360:4;32340:57;:::i;:::-;-1:-1:-1;32413:3:1;;31751:671;-1:-1:-1;;;;;31751:671:1:o;32427:131::-;-1:-1:-1;;;;;;32501:32:1;;32491:43;;32481:71;;32548:1;32545;32538:12

Swarm Source

ipfs://36c49e2984420be015e0509f60ae71e6f2a33ee6f1c70ff1100fa7e69cdd1352
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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