ETH Price: $3,881.22 (-0.05%)

Token

Mystic Wizards Familiars (MYSTICFAMILIARS)
 

Overview

Max Total Supply

0 MYSTICFAMILIARS

Holders

123

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
forestguide.eth
Balance
1 MYSTICFAMILIARS
0xf913181ae8b184449d9bce2864e26585784f8172
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:
MysticWizardsFamiliars

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 20000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// Dependency file: @openzeppelin/contracts/utils/introspection/IERC165.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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);
}


// Dependency file: @openzeppelin/contracts/token/ERC721/IERC721.sol

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}


// Dependency file: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

// pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}


// Dependency file: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol

// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}


// Dependency file: @openzeppelin/contracts/utils/Address.sol

// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

// pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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


// Dependency file: @openzeppelin/contracts/utils/Context.sol

// OpenZeppelin Contracts v4.4.1 (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;
    }
}


// Dependency file: @openzeppelin/contracts/utils/Strings.sol

// OpenZeppelin Contracts v4.4.1 (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);
    }
}


// Dependency file: @openzeppelin/contracts/utils/introspection/ERC165.sol

// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

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


// Dependency file: @openzeppelin/contracts/token/ERC721/ERC721.sol

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
// import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
// import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
// import "@openzeppelin/contracts/utils/Address.sol";
// import "@openzeppelin/contracts/utils/Context.sol";
// import "@openzeppelin/contracts/utils/Strings.sol";
// import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}


// Dependency file: @openzeppelin/contracts/interfaces/IERC2981.sol

// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}


// Dependency file: @openzeppelin/contracts/access/Ownable.sol

// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/utils/Context.sol";

/**
 * @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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// Dependency file: @openzeppelin/contracts/utils/Counters.sol

// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

// pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}


// Dependency file: @openzeppelin/contracts/utils/cryptography/ECDSA.sol

// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/utils/Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}


// Dependency file: @openzeppelin/contracts/utils/math/SafeMath.sol

// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/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 generally not needed starting with Solidity 0.8, since 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 subtraction 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. 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;
        }
    }
}


// Root file: contracts/MysticWizardsFamiliars.sol


/*
*
* Mystic Wizards Familiars Contract
* 
* Contract by Matt Casanova [Twitter: @DevGuyThings]
* 
* Launched on Hashku
*
*/

pragma solidity 0.8.13;

// import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
// import "@openzeppelin/contracts/interfaces/IERC2981.sol";
// import "@openzeppelin/contracts/access/Ownable.sol";
// import "@openzeppelin/contracts/utils/Address.sol";
// import "@openzeppelin/contracts/utils/Strings.sol";
// import "@openzeppelin/contracts/utils/Context.sol";
// import "@openzeppelin/contracts/utils/Counters.sol";
// import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
// import "@openzeppelin/contracts/utils/math/SafeMath.sol";

contract MysticWizardsFamiliars is ERC721, Ownable {
    using Address for address;
    using Strings for uint256;
    using Counters for Counters.Counter;
    using ECDSA for bytes32;

    address public mainContract = 0xbE6A2F5960B27c7fde12E073d61b962D9C6c3cB7;
    string public baseTokenURI = "https://storage.hashku.com/api/mystic-wizards/familiars/";
    bool public isOpen;

    constructor() ERC721("Mystic Wizards Familiars", "MYSTICFAMILIARS") {}

    // external contract used for checking owners and existence of redeemed tokens
    function setMainContract(address _address) external onlyOwner {
        mainContract = _address;
    }

    function getMainContractOwner(uint256 _tokenId) public view returns (address) {
        IERC721 main = IERC721(mainContract);
        return main.ownerOf(_tokenId);
    }

    // owner set the contract to closed
    function setIsOpen(bool _open) external virtual onlyOwner {
        isOpen = _open;
    }

    function redeem(uint256[] calldata _tokenIds) public {
        require(isOpen, "not_open");

        for (uint256 i = 0; i < _tokenIds.length; i++) {
            _safeMint(getMainContractOwner(_tokenIds[i]), _tokenIds[i]);
        }
    }

    function redeemOwn(uint256[] calldata _tokenIds) external {
        for (uint256 i = 0; i < _tokenIds.length; i++) {
            require(getMainContractOwner(_tokenIds[i]) == _msgSender(), "not_owner");
        }

        redeem(_tokenIds);
    }

    // return the token URI for a specific token
    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId), "no_token");

        return bytes(baseTokenURI).length > 0 ? string(abi.encodePacked(baseTokenURI, _tokenId.toString())) : "";
    }

    // owner set a new base token URI
    function setBaseUri(string calldata _baseTokenURI) external virtual onlyOwner {
        baseTokenURI = _baseTokenURI;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getMainContractOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mainContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"redeemOwn","outputs":[],"stateMutability":"nonpayable","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":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_open","type":"bool"}],"name":"setIsOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setMainContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600780546001600160a01b03191673be6a2f5960b27c7fde12e073d61b962d9c6c3cb717905560e060405260386080818152906200267060a03980516200004f9160089160209091019062000159565b503480156200005d57600080fd5b50604080518082018252601881527f4d79737469632057697a617264732046616d696c69617273000000000000000060208083019182528351808501909452600f84526e4d595354494346414d494c4941525360881b908401528151919291620000ca9160009162000159565b508051620000e090600190602084019062000159565b505050620000fd620000f76200010360201b60201c565b62000107565b6200023b565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016790620001ff565b90600052602060002090601f0160209004810192826200018b5760008555620001d6565b82601f10620001a657805160ff1916838001178555620001d6565b82800160010185558215620001d6579182015b82811115620001d6578251825591602001919060010190620001b9565b50620001e4929150620001e8565b5090565b5b80821115620001e45760008155600101620001e9565b600181811c908216806200021457607f821691505b6020821081036200023557634e487b7160e01b600052602260045260246000fd5b50919050565b612425806200024b6000396000f3fe608060405234801561001057600080fd5b50600436106101a35760003560e01c8063855e3cee116100ee578063bf4f33ed11610097578063d547cfb711610071578063d547cfb71461037f578063e985e9c514610387578063f2fde38b146103d0578063f9afb26a146103e357600080fd5b8063bf4f33ed14610339578063c87b56dd1461034c578063d270e7ab1461035f57600080fd5b8063a0bcfc7f116100c8578063a0bcfc7f14610300578063a22cb46514610313578063b88d4fde1461032657600080fd5b8063855e3cee146102c75780638da5cb5b146102da57806395d89b41146102f857600080fd5b80633ded33bc116101505780636352211e1161012a5780636352211e1461028b57806370a082311461029e578063715018a6146102bf57600080fd5b80633ded33bc1461025857806342842e0e1461026b57806347535d7b1461027e57600080fd5b8063085a10cf11610181578063085a10cf1461021d578063095ea7b31461023257806323b872dd1461024557600080fd5b806301ffc9a7146101a857806306fdde03146101d0578063081812fc146101e5575b600080fd5b6101bb6101b6366004611cf9565b6103f6565b60405190151581526020015b60405180910390f35b6101d86104db565b6040516101c79190611d8c565b6101f86101f3366004611d9f565b61056d565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101c7565b61023061022b366004611dcd565b610632565b005b610230610240366004611e0a565b6106ca565b610230610253366004611e36565b610822565b610230610266366004611e77565b6108a9565b610230610279366004611e36565b610957565b6009546101bb9060ff1681565b6101f8610299366004611d9f565b610972565b6102b16102ac366004611e77565b610a0a565b6040519081526020016101c7565b610230610abe565b6102306102d5366004611e94565b610b31565b60065473ffffffffffffffffffffffffffffffffffffffff166101f8565b6101d8610be2565b61023061030e366004611f09565b610bf1565b610230610321366004611f69565b610c64565b610230610334366004611fcd565b610c6f565b6101f8610347366004611d9f565b610cfd565b6101d861035a366004611d9f565b610d9a565b6007546101f89073ffffffffffffffffffffffffffffffffffffffff1681565b6101d8610e6a565b6101bb6103953660046120cb565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102306103de366004611e77565b610ef8565b6102306103f1366004611e94565b610ff4565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061048957507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806104d557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546104ea90612104565b80601f016020809104026020016040519081016040528092919081815260200182805461051690612104565b80156105635780601f1061053857610100808354040283529160200191610563565b820191906000526020600020905b81548152906001019060200180831161054657829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166106095760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610600565b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60006106d582610972565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036107785760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610600565b3373ffffffffffffffffffffffffffffffffffffffff821614806107a157506107a18133610395565b6108135760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610600565b61081d8383611099565b505050565b61082c3382611139565b61089e5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610600565b61081d83838361128f565b60065473ffffffffffffffffffffffffffffffffffffffff1633146109105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610600565b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61081d83838360405180602001604052806000815250610c6f565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16806104d55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610600565b600073ffffffffffffffffffffffffffffffffffffffff8216610a955760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610600565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff163314610b255760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610600565b610b2f60006114c2565b565b60005b81811015610bd35733610b5e848484818110610b5257610b52612157565b90506020020135610cfd565b73ffffffffffffffffffffffffffffffffffffffff1614610bc15760405162461bcd60e51b815260206004820152600960248201527f6e6f745f6f776e657200000000000000000000000000000000000000000000006044820152606401610600565b80610bcb816121b5565b915050610b34565b50610bde8282610ff4565b5050565b6060600180546104ea90612104565b60065473ffffffffffffffffffffffffffffffffffffffff163314610c585760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610600565b61081d60088383611c14565b610bde338383611539565b610c793383611139565b610ceb5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610600565b610cf78484848461164c565b50505050565b6007546040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810183905260009173ffffffffffffffffffffffffffffffffffffffff16908190636352211e90602401602060405180830381865afa158015610d6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9391906121ed565b9392505050565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16610e0e5760405162461bcd60e51b815260206004820152600860248201527f6e6f5f746f6b656e0000000000000000000000000000000000000000000000006044820152606401610600565b600060088054610e1d90612104565b905011610e3957604051806020016040528060008152506104d5565b6008610e44836116d5565b604051602001610e55929190612226565b60405160208183030381529060405292915050565b60088054610e7790612104565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea390612104565b8015610ef05780601f10610ec557610100808354040283529160200191610ef0565b820191906000526020600020905b815481529060010190602001808311610ed357829003601f168201915b505050505081565b60065473ffffffffffffffffffffffffffffffffffffffff163314610f5f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610600565b73ffffffffffffffffffffffffffffffffffffffff8116610fe85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610600565b610ff1816114c2565b50565b60095460ff166110465760405162461bcd60e51b815260206004820152600860248201527f6e6f745f6f70656e0000000000000000000000000000000000000000000000006044820152606401610600565b60005b8181101561081d57611087611069848484818110610b5257610b52612157565b84848481811061107b5761107b612157565b9050602002013561180a565b80611091816121b5565b915050611049565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906110f382610972565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166111d05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610600565b60006111db83610972565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611249575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b8061128757508373ffffffffffffffffffffffffffffffffffffffff1661126f8461056d565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff166112af82610972565b73ffffffffffffffffffffffffffffffffffffffff16146113385760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610600565b73ffffffffffffffffffffffffffffffffffffffff82166113c05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610600565b6113cb600082611099565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290611401908490612303565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061143c90849061231a565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115b45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610600565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61165784848461128f565b61166384848484611824565b610cf75760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610600565b60608160000361171857505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611742578061172c816121b5565b915061173b9050600a83612361565b915061171c565b60008167ffffffffffffffff81111561175d5761175d611f9e565b6040519080825280601f01601f191660200182016040528015611787576020820181803683370190505b5090505b84156112875761179c600183612303565b91506117a9600a86612375565b6117b490603061231a565b60f81b8183815181106117c9576117c9612157565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611803600a86612361565b945061178b565b610bde8282604051806020016040528060008152506119fd565b600073ffffffffffffffffffffffffffffffffffffffff84163b156119f2576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061189b903390899088908890600401612389565b6020604051808303816000875af19250505080156118f4575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526118f1918101906123d2565b60015b6119a7573d808015611922576040519150601f19603f3d011682016040523d82523d6000602084013e611927565b606091505b50805160000361199f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610600565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611287565b506001949350505050565b611a078383611a86565b611a146000848484611824565b61081d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610600565b73ffffffffffffffffffffffffffffffffffffffff8216611ae95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610600565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615611b5b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610600565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290611b9190849061231a565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611c2090612104565b90600052602060002090601f016020900481019282611c425760008555611ca6565b82601f10611c79578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555611ca6565b82800160010185558215611ca6579182015b82811115611ca6578235825591602001919060010190611c8b565b50611cb2929150611cb6565b5090565b5b80821115611cb25760008155600101611cb7565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610ff157600080fd5b600060208284031215611d0b57600080fd5b8135610d9381611ccb565b60005b83811015611d31578181015183820152602001611d19565b83811115610cf75750506000910152565b60008151808452611d5a816020860160208601611d16565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610d936020830184611d42565b600060208284031215611db157600080fd5b5035919050565b80358015158114611dc857600080fd5b919050565b600060208284031215611ddf57600080fd5b610d9382611db8565b73ffffffffffffffffffffffffffffffffffffffff81168114610ff157600080fd5b60008060408385031215611e1d57600080fd5b8235611e2881611de8565b946020939093013593505050565b600080600060608486031215611e4b57600080fd5b8335611e5681611de8565b92506020840135611e6681611de8565b929592945050506040919091013590565b600060208284031215611e8957600080fd5b8135610d9381611de8565b60008060208385031215611ea757600080fd5b823567ffffffffffffffff80821115611ebf57600080fd5b818501915085601f830112611ed357600080fd5b813581811115611ee257600080fd5b8660208260051b8501011115611ef757600080fd5b60209290920196919550909350505050565b60008060208385031215611f1c57600080fd5b823567ffffffffffffffff80821115611f3457600080fd5b818501915085601f830112611f4857600080fd5b813581811115611f5757600080fd5b866020828501011115611ef757600080fd5b60008060408385031215611f7c57600080fd5b8235611f8781611de8565b9150611f9560208401611db8565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060008060808587031215611fe357600080fd5b8435611fee81611de8565b93506020850135611ffe81611de8565b925060408501359150606085013567ffffffffffffffff8082111561202257600080fd5b818701915087601f83011261203657600080fd5b81358181111561204857612048611f9e565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561208e5761208e611f9e565b816040528281528a60208487010111156120a757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156120de57600080fd5b82356120e981611de8565b915060208301356120f981611de8565b809150509250929050565b600181811c9082168061211857607f821691505b602082108103612151577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036121e6576121e6612186565b5060010190565b6000602082840312156121ff57600080fd5b8151610d9381611de8565b6000815161221c818560208601611d16565b9290920192915050565b600080845481600182811c91508083168061224257607f831692505b6020808410820361227a577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b81801561228e57600181146122bd576122ea565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616895284890196506122ea565b60008b81526020902060005b868110156122e25781548b8201529085019083016122c9565b505084890196505b5050505050506122fa818561220a565b95945050505050565b60008282101561231557612315612186565b500390565b6000821982111561232d5761232d612186565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261237057612370612332565b500490565b60008261238457612384612332565b500690565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526123c86080830184611d42565b9695505050505050565b6000602082840312156123e457600080fd5b8151610d9381611ccb56fea2646970667358221220f2f4bf98816ba38871da3ff2a51fc4de1d3b1c44dd5517ba7f1dd5afb029864e64736f6c634300080d003368747470733a2f2f73746f726167652e686173686b752e636f6d2f6170692f6d79737469632d77697a617264732f66616d696c696172732f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a35760003560e01c8063855e3cee116100ee578063bf4f33ed11610097578063d547cfb711610071578063d547cfb71461037f578063e985e9c514610387578063f2fde38b146103d0578063f9afb26a146103e357600080fd5b8063bf4f33ed14610339578063c87b56dd1461034c578063d270e7ab1461035f57600080fd5b8063a0bcfc7f116100c8578063a0bcfc7f14610300578063a22cb46514610313578063b88d4fde1461032657600080fd5b8063855e3cee146102c75780638da5cb5b146102da57806395d89b41146102f857600080fd5b80633ded33bc116101505780636352211e1161012a5780636352211e1461028b57806370a082311461029e578063715018a6146102bf57600080fd5b80633ded33bc1461025857806342842e0e1461026b57806347535d7b1461027e57600080fd5b8063085a10cf11610181578063085a10cf1461021d578063095ea7b31461023257806323b872dd1461024557600080fd5b806301ffc9a7146101a857806306fdde03146101d0578063081812fc146101e5575b600080fd5b6101bb6101b6366004611cf9565b6103f6565b60405190151581526020015b60405180910390f35b6101d86104db565b6040516101c79190611d8c565b6101f86101f3366004611d9f565b61056d565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101c7565b61023061022b366004611dcd565b610632565b005b610230610240366004611e0a565b6106ca565b610230610253366004611e36565b610822565b610230610266366004611e77565b6108a9565b610230610279366004611e36565b610957565b6009546101bb9060ff1681565b6101f8610299366004611d9f565b610972565b6102b16102ac366004611e77565b610a0a565b6040519081526020016101c7565b610230610abe565b6102306102d5366004611e94565b610b31565b60065473ffffffffffffffffffffffffffffffffffffffff166101f8565b6101d8610be2565b61023061030e366004611f09565b610bf1565b610230610321366004611f69565b610c64565b610230610334366004611fcd565b610c6f565b6101f8610347366004611d9f565b610cfd565b6101d861035a366004611d9f565b610d9a565b6007546101f89073ffffffffffffffffffffffffffffffffffffffff1681565b6101d8610e6a565b6101bb6103953660046120cb565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102306103de366004611e77565b610ef8565b6102306103f1366004611e94565b610ff4565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061048957507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806104d557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546104ea90612104565b80601f016020809104026020016040519081016040528092919081815260200182805461051690612104565b80156105635780601f1061053857610100808354040283529160200191610563565b820191906000526020600020905b81548152906001019060200180831161054657829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166106095760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610600565b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60006106d582610972565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036107785760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610600565b3373ffffffffffffffffffffffffffffffffffffffff821614806107a157506107a18133610395565b6108135760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610600565b61081d8383611099565b505050565b61082c3382611139565b61089e5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610600565b61081d83838361128f565b60065473ffffffffffffffffffffffffffffffffffffffff1633146109105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610600565b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61081d83838360405180602001604052806000815250610c6f565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16806104d55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610600565b600073ffffffffffffffffffffffffffffffffffffffff8216610a955760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610600565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff163314610b255760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610600565b610b2f60006114c2565b565b60005b81811015610bd35733610b5e848484818110610b5257610b52612157565b90506020020135610cfd565b73ffffffffffffffffffffffffffffffffffffffff1614610bc15760405162461bcd60e51b815260206004820152600960248201527f6e6f745f6f776e657200000000000000000000000000000000000000000000006044820152606401610600565b80610bcb816121b5565b915050610b34565b50610bde8282610ff4565b5050565b6060600180546104ea90612104565b60065473ffffffffffffffffffffffffffffffffffffffff163314610c585760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610600565b61081d60088383611c14565b610bde338383611539565b610c793383611139565b610ceb5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610600565b610cf78484848461164c565b50505050565b6007546040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810183905260009173ffffffffffffffffffffffffffffffffffffffff16908190636352211e90602401602060405180830381865afa158015610d6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9391906121ed565b9392505050565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16610e0e5760405162461bcd60e51b815260206004820152600860248201527f6e6f5f746f6b656e0000000000000000000000000000000000000000000000006044820152606401610600565b600060088054610e1d90612104565b905011610e3957604051806020016040528060008152506104d5565b6008610e44836116d5565b604051602001610e55929190612226565b60405160208183030381529060405292915050565b60088054610e7790612104565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea390612104565b8015610ef05780601f10610ec557610100808354040283529160200191610ef0565b820191906000526020600020905b815481529060010190602001808311610ed357829003601f168201915b505050505081565b60065473ffffffffffffffffffffffffffffffffffffffff163314610f5f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610600565b73ffffffffffffffffffffffffffffffffffffffff8116610fe85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610600565b610ff1816114c2565b50565b60095460ff166110465760405162461bcd60e51b815260206004820152600860248201527f6e6f745f6f70656e0000000000000000000000000000000000000000000000006044820152606401610600565b60005b8181101561081d57611087611069848484818110610b5257610b52612157565b84848481811061107b5761107b612157565b9050602002013561180a565b80611091816121b5565b915050611049565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906110f382610972565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166111d05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610600565b60006111db83610972565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611249575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b8061128757508373ffffffffffffffffffffffffffffffffffffffff1661126f8461056d565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff166112af82610972565b73ffffffffffffffffffffffffffffffffffffffff16146113385760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610600565b73ffffffffffffffffffffffffffffffffffffffff82166113c05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610600565b6113cb600082611099565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290611401908490612303565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061143c90849061231a565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115b45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610600565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61165784848461128f565b61166384848484611824565b610cf75760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610600565b60608160000361171857505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611742578061172c816121b5565b915061173b9050600a83612361565b915061171c565b60008167ffffffffffffffff81111561175d5761175d611f9e565b6040519080825280601f01601f191660200182016040528015611787576020820181803683370190505b5090505b84156112875761179c600183612303565b91506117a9600a86612375565b6117b490603061231a565b60f81b8183815181106117c9576117c9612157565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611803600a86612361565b945061178b565b610bde8282604051806020016040528060008152506119fd565b600073ffffffffffffffffffffffffffffffffffffffff84163b156119f2576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061189b903390899088908890600401612389565b6020604051808303816000875af19250505080156118f4575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526118f1918101906123d2565b60015b6119a7573d808015611922576040519150601f19603f3d011682016040523d82523d6000602084013e611927565b606091505b50805160000361199f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610600565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611287565b506001949350505050565b611a078383611a86565b611a146000848484611824565b61081d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610600565b73ffffffffffffffffffffffffffffffffffffffff8216611ae95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610600565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615611b5b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610600565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290611b9190849061231a565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611c2090612104565b90600052602060002090601f016020900481019282611c425760008555611ca6565b82601f10611c79578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555611ca6565b82800160010185558215611ca6579182015b82811115611ca6578235825591602001919060010190611c8b565b50611cb2929150611cb6565b5090565b5b80821115611cb25760008155600101611cb7565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610ff157600080fd5b600060208284031215611d0b57600080fd5b8135610d9381611ccb565b60005b83811015611d31578181015183820152602001611d19565b83811115610cf75750506000910152565b60008151808452611d5a816020860160208601611d16565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610d936020830184611d42565b600060208284031215611db157600080fd5b5035919050565b80358015158114611dc857600080fd5b919050565b600060208284031215611ddf57600080fd5b610d9382611db8565b73ffffffffffffffffffffffffffffffffffffffff81168114610ff157600080fd5b60008060408385031215611e1d57600080fd5b8235611e2881611de8565b946020939093013593505050565b600080600060608486031215611e4b57600080fd5b8335611e5681611de8565b92506020840135611e6681611de8565b929592945050506040919091013590565b600060208284031215611e8957600080fd5b8135610d9381611de8565b60008060208385031215611ea757600080fd5b823567ffffffffffffffff80821115611ebf57600080fd5b818501915085601f830112611ed357600080fd5b813581811115611ee257600080fd5b8660208260051b8501011115611ef757600080fd5b60209290920196919550909350505050565b60008060208385031215611f1c57600080fd5b823567ffffffffffffffff80821115611f3457600080fd5b818501915085601f830112611f4857600080fd5b813581811115611f5757600080fd5b866020828501011115611ef757600080fd5b60008060408385031215611f7c57600080fd5b8235611f8781611de8565b9150611f9560208401611db8565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060008060808587031215611fe357600080fd5b8435611fee81611de8565b93506020850135611ffe81611de8565b925060408501359150606085013567ffffffffffffffff8082111561202257600080fd5b818701915087601f83011261203657600080fd5b81358181111561204857612048611f9e565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561208e5761208e611f9e565b816040528281528a60208487010111156120a757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156120de57600080fd5b82356120e981611de8565b915060208301356120f981611de8565b809150509250929050565b600181811c9082168061211857607f821691505b602082108103612151577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036121e6576121e6612186565b5060010190565b6000602082840312156121ff57600080fd5b8151610d9381611de8565b6000815161221c818560208601611d16565b9290920192915050565b600080845481600182811c91508083168061224257607f831692505b6020808410820361227a577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b81801561228e57600181146122bd576122ea565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616895284890196506122ea565b60008b81526020902060005b868110156122e25781548b8201529085019083016122c9565b505084890196505b5050505050506122fa818561220a565b95945050505050565b60008282101561231557612315612186565b500390565b6000821982111561232d5761232d612186565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261237057612370612332565b500490565b60008261238457612384612332565b500690565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526123c86080830184611d42565b9695505050505050565b6000602082840312156123e457600080fd5b8151610d9381611ccb56fea2646970667358221220f2f4bf98816ba38871da3ff2a51fc4de1d3b1c44dd5517ba7f1dd5afb029864e64736f6c634300080d0033

Deployed Bytecode Sourcemap

58012:1991:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22418:305;;;;;;:::i;:::-;;:::i;:::-;;;611:14:1;;604:22;586:41;;574:2;559:18;22418:305:0;;;;;;;;23363:100;;;:::i;:::-;;;;;;;:::i;24923:221::-;;;;;;:::i;:::-;;:::i;:::-;;;1831:42:1;1819:55;;;1801:74;;1789:2;1774:18;24923:221:0;1655:226:1;58904:91:0;;;;;;:::i;:::-;;:::i;:::-;;24446:411;;;;;;:::i;:::-;;:::i;25673:339::-;;;;;;:::i;:::-;;:::i;58570:104::-;;;;;;:::i;:::-;;:::i;26083:185::-;;;;;;:::i;:::-;;:::i;58381:18::-;;;;;;;;;23057:239;;;;;;:::i;:::-;;:::i;22787:208::-;;;;;;:::i;:::-;;:::i;:::-;;;3574:25:1;;;3562:2;3547:18;22787:208:0;3428:177:1;38298:103:0;;;:::i;59255:252::-;;;;;;:::i;:::-;;:::i;37647:87::-;37720:6;;;;37647:87;;23532:104;;;:::i;59875:125::-;;;;;;:::i;:::-;;:::i;25216:155::-;;;;;;:::i;:::-;;:::i;26339:328::-;;;;;;:::i;:::-;;:::i;58682:173::-;;;;;;:::i;:::-;;:::i;59565:263::-;;;;;;:::i;:::-;;:::i;58208:72::-;;;;;;;;;58287:87;;;:::i;25442:164::-;;;;;;:::i;:::-;25563:25;;;;25539:4;25563:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;25442:164;38556:201;;;;;;:::i;:::-;;:::i;59003:244::-;;;;;;:::i;:::-;;:::i;22418:305::-;22520:4;22557:40;;;22572:25;22557:40;;:105;;-1:-1:-1;22614:48:0;;;22629:33;22614:48;22557:105;:158;;;-1:-1:-1;20516:25:0;20501:40;;;;22679:36;22537:178;22418:305;-1:-1:-1;;22418:305:0:o;23363:100::-;23417:13;23450:5;23443:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23363:100;:::o;24923:221::-;24999:7;28266:16;;;:7;:16;;;;;;:30;:16;25019:73;;;;-1:-1:-1;;;25019:73:0;;7703:2:1;25019:73:0;;;7685:21:1;7742:2;7722:18;;;7715:30;7781:34;7761:18;;;7754:62;7852:14;7832:18;;;7825:42;7884:19;;25019:73:0;;;;;;;;;-1:-1:-1;25112:24:0;;;;:15;:24;;;;;;;;;24923:221::o;58904:91::-;37720:6;;37867:23;37720:6;17171:10;37867:23;37859:68;;;;-1:-1:-1;;;37859:68:0;;8116:2:1;37859:68:0;;;8098:21:1;;;8135:18;;;8128:30;8194:34;8174:18;;;8167:62;8246:18;;37859:68:0;7914:356:1;37859:68:0;58973:6:::1;:14:::0;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;58904:91::o;24446:411::-;24527:13;24543:23;24558:7;24543:14;:23::i;:::-;24527:39;;24591:5;24585:11;;:2;:11;;;24577:57;;;;-1:-1:-1;;;24577:57:0;;8477:2:1;24577:57:0;;;8459:21:1;8516:2;8496:18;;;8489:30;8555:34;8535:18;;;8528:62;8626:3;8606:18;;;8599:31;8647:19;;24577:57:0;8275:397:1;24577:57:0;17171:10;24669:21;;;;;:62;;-1:-1:-1;24694:37:0;24711:5;17171:10;25442:164;:::i;24694:37::-;24647:168;;;;-1:-1:-1;;;24647:168:0;;8879:2:1;24647:168:0;;;8861:21:1;8918:2;8898:18;;;8891:30;8957:34;8937:18;;;8930:62;9028:26;9008:18;;;9001:54;9072:19;;24647:168:0;8677:420:1;24647:168:0;24828:21;24837:2;24841:7;24828:8;:21::i;:::-;24516:341;24446:411;;:::o;25673:339::-;25868:41;17171:10;25901:7;25868:18;:41::i;:::-;25860:103;;;;-1:-1:-1;;;25860:103:0;;9304:2:1;25860:103:0;;;9286:21:1;9343:2;9323:18;;;9316:30;9382:34;9362:18;;;9355:62;9453:19;9433:18;;;9426:47;9490:19;;25860:103:0;9102:413:1;25860:103:0;25976:28;25986:4;25992:2;25996:7;25976:9;:28::i;58570:104::-;37720:6;;37867:23;37720:6;17171:10;37867:23;37859:68;;;;-1:-1:-1;;;37859:68:0;;8116:2:1;37859:68:0;;;8098:21:1;;;8135:18;;;8128:30;8194:34;8174:18;;;8167:62;8246:18;;37859:68:0;7914:356:1;37859:68:0;58643:12:::1;:23:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;58570:104::o;26083:185::-;26221:39;26238:4;26244:2;26248:7;26221:39;;;;;;;;;;;;:16;:39::i;23057:239::-;23129:7;23165:16;;;:7;:16;;;;;;;;;23192:73;;;;-1:-1:-1;;;23192:73:0;;9722:2:1;23192:73:0;;;9704:21:1;9761:2;9741:18;;;9734:30;9800:34;9780:18;;;9773:62;9871:11;9851:18;;;9844:39;9900:19;;23192:73:0;9520:405:1;22787:208:0;22859:7;22887:19;;;22879:74;;;;-1:-1:-1;;;22879:74:0;;10132:2:1;22879:74:0;;;10114:21:1;10171:2;10151:18;;;10144:30;10210:34;10190:18;;;10183:62;10281:12;10261:18;;;10254:40;10311:19;;22879:74:0;9930:406:1;22879:74:0;-1:-1:-1;22971:16:0;;;;;;:9;:16;;;;;;;22787:208::o;38298:103::-;37720:6;;37867:23;37720:6;17171:10;37867:23;37859:68;;;;-1:-1:-1;;;37859:68:0;;8116:2:1;37859:68:0;;;8098:21:1;;;8135:18;;;8128:30;8194:34;8174:18;;;8167:62;8246:18;;37859:68:0;7914:356:1;37859:68:0;38363:30:::1;38390:1;38363:18;:30::i;:::-;38298:103::o:0;59255:252::-;59329:9;59324:146;59344:20;;;59324:146;;;17171:10;59394:34;59415:9;;59425:1;59415:12;;;;;;;:::i;:::-;;;;;;;59394:20;:34::i;:::-;:50;;;59386:72;;;;-1:-1:-1;;;59386:72:0;;10732:2:1;59386:72:0;;;10714:21:1;10771:1;10751:18;;;10744:29;10809:11;10789:18;;;10782:39;10838:18;;59386:72:0;10530:332:1;59386:72:0;59366:3;;;;:::i;:::-;;;;59324:146;;;;59482:17;59489:9;;59482:6;:17::i;:::-;59255:252;;:::o;23532:104::-;23588:13;23621:7;23614:14;;;;;:::i;59875:125::-;37720:6;;37867:23;37720:6;17171:10;37867:23;37859:68;;;;-1:-1:-1;;;37859:68:0;;8116:2:1;37859:68:0;;;8098:21:1;;;8135:18;;;8128:30;8194:34;8174:18;;;8167:62;8246:18;;37859:68:0;7914:356:1;37859:68:0;59964:28:::1;:12;59979:13:::0;;59964:28:::1;:::i;25216:155::-:0;25311:52;17171:10;25344:8;25354;25311:18;:52::i;26339:328::-;26514:41;17171:10;26547:7;26514:18;:41::i;:::-;26506:103;;;;-1:-1:-1;;;26506:103:0;;9304:2:1;26506:103:0;;;9286:21:1;9343:2;9323:18;;;9316:30;9382:34;9362:18;;;9355:62;9453:19;9433:18;;;9426:47;9490:19;;26506:103:0;9102:413:1;26506:103:0;26620:39;26634:4;26640:2;26644:7;26653:5;26620:13;:39::i;:::-;26339:328;;;;:::o;58682:173::-;58794:12;;58825:22;;;;;;;;3574:25:1;;;58751:7:0;;58794:12;;;;;58825;;3547:18:1;;58825:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58818:29;58682:173;-1:-1:-1;;;58682:173:0:o;59565:263::-;28242:4;28266:16;;;:7;:16;;;;;;59639:13;;28266:30;:16;59665:38;;;;-1:-1:-1;;;59665:38:0;;11714:2:1;59665:38:0;;;11696:21:1;11753:1;11733:18;;;11726:29;11791:10;11771:18;;;11764:38;11819:18;;59665:38:0;11512:331:1;59665:38:0;59752:1;59729:12;59723:26;;;;;:::i;:::-;;;:30;:97;;;;;;;;;;;;;;;;;59780:12;59794:19;:8;:17;:19::i;:::-;59763:51;;;;;;;;;:::i;:::-;;;;;;;;;;;;;59716:104;59565:263;-1:-1:-1;;59565:263:0:o;58287:87::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;38556:201::-;37720:6;;37867:23;37720:6;17171:10;37867:23;37859:68;;;;-1:-1:-1;;;37859:68:0;;8116:2:1;37859:68:0;;;8098:21:1;;;8135:18;;;8128:30;8194:34;8174:18;;;8167:62;8246:18;;37859:68:0;7914:356:1;37859:68:0;38645:22:::1;::::0;::::1;38637:73;;;::::0;-1:-1:-1;;;38637:73:0;;13660:2:1;38637:73:0::1;::::0;::::1;13642:21:1::0;13699:2;13679:18;;;13672:30;13738:34;13718:18;;;13711:62;13809:8;13789:18;;;13782:36;13835:19;;38637:73:0::1;13458:402:1::0;38637:73:0::1;38721:28;38740:8;38721:18;:28::i;:::-;38556:201:::0;:::o;59003:244::-;59075:6;;;;59067:27;;;;-1:-1:-1;;;59067:27:0;;14067:2:1;59067:27:0;;;14049:21:1;14106:1;14086:18;;;14079:29;14144:10;14124:18;;;14117:38;14172:18;;59067:27:0;13865:331:1;59067:27:0;59112:9;59107:133;59127:20;;;59107:133;;;59169:59;59179:34;59200:9;;59210:1;59200:12;;;;;;;:::i;59179:34::-;59215:9;;59225:1;59215:12;;;;;;;:::i;:::-;;;;;;;59169:9;:59::i;:::-;59149:3;;;;:::i;:::-;;;;59107:133;;32323:174;32398:24;;;;:15;:24;;;;;:29;;;;;;;;;;;;;:24;;32452:23;32398:24;32452:14;:23::i;:::-;32443:46;;;;;;;;;;;;32323:174;;:::o;28471:348::-;28564:4;28266:16;;;:7;:16;;;;;;:30;:16;28581:73;;;;-1:-1:-1;;;28581:73:0;;14403:2:1;28581:73:0;;;14385:21:1;14442:2;14422:18;;;14415:30;14481:34;14461:18;;;14454:62;14552:14;14532:18;;;14525:42;14584:19;;28581:73:0;14201:408:1;28581:73:0;28665:13;28681:23;28696:7;28681:14;:23::i;:::-;28665:39;;28734:5;28723:16;;:7;:16;;;:52;;;-1:-1:-1;25563:25:0;;;;25539:4;25563:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;28743:32;28723:87;;;;28803:7;28779:31;;:20;28791:7;28779:11;:20::i;:::-;:31;;;28723:87;28715:96;28471:348;-1:-1:-1;;;;28471:348:0:o;31580:625::-;31739:4;31712:31;;:23;31727:7;31712:14;:23::i;:::-;:31;;;31704:81;;;;-1:-1:-1;;;31704:81:0;;14816:2:1;31704:81:0;;;14798:21:1;14855:2;14835:18;;;14828:30;14894:34;14874:18;;;14867:62;14965:7;14945:18;;;14938:35;14990:19;;31704:81:0;14614:401:1;31704:81:0;31804:16;;;31796:65;;;;-1:-1:-1;;;31796:65:0;;15222:2:1;31796:65:0;;;15204:21:1;15261:2;15241:18;;;15234:30;15300:34;15280:18;;;15273:62;15371:6;15351:18;;;15344:34;15395:19;;31796:65:0;15020:400:1;31796:65:0;31978:29;31995:1;31999:7;31978:8;:29::i;:::-;32020:15;;;;;;;:9;:15;;;;;:20;;32039:1;;32020:15;:20;;32039:1;;32020:20;:::i;:::-;;;;-1:-1:-1;;32051:13:0;;;;;;;:9;:13;;;;;:18;;32068:1;;32051:13;:18;;32068:1;;32051:18;:::i;:::-;;;;-1:-1:-1;;32080:16:0;;;;:7;:16;;;;;;:21;;;;;;;;;;;;;;32119:27;;32080:16;;32119:27;;;;;;;24516:341;24446:411;;:::o;38917:191::-;39010:6;;;;39027:17;;;;;;;;;;;39060:40;;39010:6;;;39027:17;39010:6;;39060:40;;38991:16;;39060:40;38980:128;38917:191;:::o;32639:315::-;32794:8;32785:17;;:5;:17;;;32777:55;;;;-1:-1:-1;;;32777:55:0;;15890:2:1;32777:55:0;;;15872:21:1;15929:2;15909:18;;;15902:30;15968:27;15948:18;;;15941:55;16013:18;;32777:55:0;15688:349:1;32777:55:0;32843:25;;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;;;;;;;;;;;;32905:41;;586::1;;;32905::0;;559:18:1;32905:41:0;;;;;;;32639:315;;;:::o;27549:::-;27706:28;27716:4;27722:2;27726:7;27706:9;:28::i;:::-;27753:48;27776:4;27782:2;27786:7;27795:5;27753:22;:48::i;:::-;27745:111;;;;-1:-1:-1;;;27745:111:0;;16244:2:1;27745:111:0;;;16226:21:1;16283:2;16263:18;;;16256:30;16322:34;16302:18;;;16295:62;16393:20;16373:18;;;16366:48;16431:19;;27745:111:0;16042:414:1;17684:723:0;17740:13;17961:5;17970:1;17961:10;17957:53;;-1:-1:-1;;17988:10:0;;;;;;;;;;;;;;;;;;17684:723::o;17957:53::-;18035:5;18020:12;18076:78;18083:9;;18076:78;;18109:8;;;;:::i;:::-;;-1:-1:-1;18132:10:0;;-1:-1:-1;18140:2:0;18132:10;;:::i;:::-;;;18076:78;;;18164:19;18196:6;18186:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18186:17:0;;18164:39;;18214:154;18221:10;;18214:154;;18248:11;18258:1;18248:11;;:::i;:::-;;-1:-1:-1;18317:10:0;18325:2;18317:5;:10;:::i;:::-;18304:24;;:2;:24;:::i;:::-;18291:39;;18274:6;18281;18274:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;18345:11:0;18354:2;18345:11;;:::i;:::-;;;18214:154;;29161:110;29237:26;29247:2;29251:7;29237:26;;;;;;;;;;;;:9;:26::i;33519:799::-;33674:4;33695:13;;;9423:19;:23;33691:620;;33731:72;;;;;:36;;;;;;:72;;17171:10;;33782:4;;33788:7;;33797:5;;33731:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33731:72:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;33727:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33973:6;:13;33990:1;33973:18;33969:272;;34016:60;;-1:-1:-1;;;34016:60:0;;16244:2:1;34016:60:0;;;16226:21:1;16283:2;16263:18;;;16256:30;16322:34;16302:18;;;16295:62;16393:20;16373:18;;;16366:48;16431:19;;34016:60:0;16042:414:1;33969:272:0;34191:6;34185:13;34176:6;34172:2;34168:15;34161:38;33727:529;33854:51;;33864:41;33854:51;;-1:-1:-1;33847:58:0;;33691:620;-1:-1:-1;34295:4:0;33519:799;;;;;;:::o;29498:321::-;29628:18;29634:2;29638:7;29628:5;:18::i;:::-;29679:54;29710:1;29714:2;29718:7;29727:5;29679:22;:54::i;:::-;29657:154;;;;-1:-1:-1;;;29657:154:0;;16244:2:1;29657:154:0;;;16226:21:1;16283:2;16263:18;;;16256:30;16322:34;16302:18;;;16295:62;16393:20;16373:18;;;16366:48;16431:19;;29657:154:0;16042:414:1;30155:439:0;30235:16;;;30227:61;;;;-1:-1:-1;;;30227:61:0;;17876:2:1;30227:61:0;;;17858:21:1;;;17895:18;;;17888:30;17954:34;17934:18;;;17927:62;18006:18;;30227:61:0;17674:356:1;30227:61:0;28242:4;28266:16;;;:7;:16;;;;;;:30;:16;:30;30299:58;;;;-1:-1:-1;;;30299:58:0;;18237:2:1;30299:58:0;;;18219:21:1;18276:2;18256:18;;;18249:30;18315;18295:18;;;18288:58;18363:18;;30299:58:0;18035:352:1;30299:58:0;30428:13;;;;;;;:9;:13;;;;;:18;;30445:1;;30428:13;:18;;30445:1;;30428:18;:::i;:::-;;;;-1:-1:-1;;30457:16:0;;;;:7;:16;;;;;;:21;;;;;;;;;;;;;30496:33;;30457:16;;;30496:33;;30457:16;;30496:33;59255:252;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:177:1;99:66;92:5;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:258::-;710:1;720:113;734:6;731:1;728:13;720:113;;;810:11;;;804:18;791:11;;;784:39;756:2;749:10;720:113;;;851:6;848:1;845:13;842:48;;;-1:-1:-1;;886:1:1;868:16;;861:27;638:258::o;901:328::-;954:3;992:5;986:12;1019:6;1014:3;1007:19;1035:63;1091:6;1084:4;1079:3;1075:14;1068:4;1061:5;1057:16;1035:63;:::i;:::-;1143:2;1131:15;1148:66;1127:88;1118:98;;;;1218:4;1114:109;;901:328;-1:-1:-1;;901:328:1:o;1234:231::-;1383:2;1372:9;1365:21;1346:4;1403:56;1455:2;1444:9;1440:18;1432:6;1403:56;:::i;1470:180::-;1529:6;1582:2;1570:9;1561:7;1557:23;1553:32;1550:52;;;1598:1;1595;1588:12;1550:52;-1:-1:-1;1621:23:1;;1470:180;-1:-1:-1;1470:180:1:o;1886:160::-;1951:20;;2007:13;;2000:21;1990:32;;1980:60;;2036:1;2033;2026:12;1980:60;1886:160;;;:::o;2051:180::-;2107:6;2160:2;2148:9;2139:7;2135:23;2131:32;2128:52;;;2176:1;2173;2166:12;2128:52;2199:26;2215:9;2199:26;:::i;2236:154::-;2322:42;2315:5;2311:54;2304:5;2301:65;2291:93;;2380:1;2377;2370:12;2395:315;2463:6;2471;2524:2;2512:9;2503:7;2499:23;2495:32;2492:52;;;2540:1;2537;2530:12;2492:52;2579:9;2566:23;2598:31;2623:5;2598:31;:::i;:::-;2648:5;2700:2;2685:18;;;;2672:32;;-1:-1:-1;;;2395:315:1:o;2715:456::-;2792:6;2800;2808;2861:2;2849:9;2840:7;2836:23;2832:32;2829:52;;;2877:1;2874;2867:12;2829:52;2916:9;2903:23;2935:31;2960:5;2935:31;:::i;:::-;2985:5;-1:-1:-1;3042:2:1;3027:18;;3014:32;3055:33;3014:32;3055:33;:::i;:::-;2715:456;;3107:7;;-1:-1:-1;;;3161:2:1;3146:18;;;;3133:32;;2715:456::o;3176:247::-;3235:6;3288:2;3276:9;3267:7;3263:23;3259:32;3256:52;;;3304:1;3301;3294:12;3256:52;3343:9;3330:23;3362:31;3387:5;3362:31;:::i;3610:615::-;3696:6;3704;3757:2;3745:9;3736:7;3732:23;3728:32;3725:52;;;3773:1;3770;3763:12;3725:52;3813:9;3800:23;3842:18;3883:2;3875:6;3872:14;3869:34;;;3899:1;3896;3889:12;3869:34;3937:6;3926:9;3922:22;3912:32;;3982:7;3975:4;3971:2;3967:13;3963:27;3953:55;;4004:1;4001;3994:12;3953:55;4044:2;4031:16;4070:2;4062:6;4059:14;4056:34;;;4086:1;4083;4076:12;4056:34;4139:7;4134:2;4124:6;4121:1;4117:14;4113:2;4109:23;4105:32;4102:45;4099:65;;;4160:1;4157;4150:12;4099:65;4191:2;4183:11;;;;;4213:6;;-1:-1:-1;3610:615:1;;-1:-1:-1;;;;3610:615:1:o;4230:592::-;4301:6;4309;4362:2;4350:9;4341:7;4337:23;4333:32;4330:52;;;4378:1;4375;4368:12;4330:52;4418:9;4405:23;4447:18;4488:2;4480:6;4477:14;4474:34;;;4504:1;4501;4494:12;4474:34;4542:6;4531:9;4527:22;4517:32;;4587:7;4580:4;4576:2;4572:13;4568:27;4558:55;;4609:1;4606;4599:12;4558:55;4649:2;4636:16;4675:2;4667:6;4664:14;4661:34;;;4691:1;4688;4681:12;4661:34;4736:7;4731:2;4722:6;4718:2;4714:15;4710:24;4707:37;4704:57;;;4757:1;4754;4747:12;4827:315;4892:6;4900;4953:2;4941:9;4932:7;4928:23;4924:32;4921:52;;;4969:1;4966;4959:12;4921:52;5008:9;4995:23;5027:31;5052:5;5027:31;:::i;:::-;5077:5;-1:-1:-1;5101:35:1;5132:2;5117:18;;5101:35;:::i;:::-;5091:45;;4827:315;;;;;:::o;5147:184::-;5199:77;5196:1;5189:88;5296:4;5293:1;5286:15;5320:4;5317:1;5310:15;5336:1325;5431:6;5439;5447;5455;5508:3;5496:9;5487:7;5483:23;5479:33;5476:53;;;5525:1;5522;5515:12;5476:53;5564:9;5551:23;5583:31;5608:5;5583:31;:::i;:::-;5633:5;-1:-1:-1;5690:2:1;5675:18;;5662:32;5703:33;5662:32;5703:33;:::i;:::-;5755:7;-1:-1:-1;5809:2:1;5794:18;;5781:32;;-1:-1:-1;5864:2:1;5849:18;;5836:32;5887:18;5917:14;;;5914:34;;;5944:1;5941;5934:12;5914:34;5982:6;5971:9;5967:22;5957:32;;6027:7;6020:4;6016:2;6012:13;6008:27;5998:55;;6049:1;6046;6039:12;5998:55;6085:2;6072:16;6107:2;6103;6100:10;6097:36;;;6113:18;;:::i;:::-;6247:2;6241:9;6309:4;6301:13;;6152:66;6297:22;;;6321:2;6293:31;6289:40;6277:53;;;6345:18;;;6365:22;;;6342:46;6339:72;;;6391:18;;:::i;:::-;6431:10;6427:2;6420:22;6466:2;6458:6;6451:18;6506:7;6501:2;6496;6492;6488:11;6484:20;6481:33;6478:53;;;6527:1;6524;6517:12;6478:53;6583:2;6578;6574;6570:11;6565:2;6557:6;6553:15;6540:46;6628:1;6623:2;6618;6610:6;6606:15;6602:24;6595:35;6649:6;6639:16;;;;;;;5336:1325;;;;;;;:::o;6666:388::-;6734:6;6742;6795:2;6783:9;6774:7;6770:23;6766:32;6763:52;;;6811:1;6808;6801:12;6763:52;6850:9;6837:23;6869:31;6894:5;6869:31;:::i;:::-;6919:5;-1:-1:-1;6976:2:1;6961:18;;6948:32;6989:33;6948:32;6989:33;:::i;:::-;7041:7;7031:17;;;6666:388;;;;;:::o;7059:437::-;7138:1;7134:12;;;;7181;;;7202:61;;7256:4;7248:6;7244:17;7234:27;;7202:61;7309:2;7301:6;7298:14;7278:18;7275:38;7272:218;;7346:77;7343:1;7336:88;7447:4;7444:1;7437:15;7475:4;7472:1;7465:15;7272:218;;7059:437;;;:::o;10341:184::-;10393:77;10390:1;10383:88;10490:4;10487:1;10480:15;10514:4;10511:1;10504:15;10867:184;10919:77;10916:1;10909:88;11016:4;11013:1;11006:15;11040:4;11037:1;11030:15;11056:195;11095:3;11126:66;11119:5;11116:77;11113:103;;11196:18;;:::i;:::-;-1:-1:-1;11243:1:1;11232:13;;11056:195::o;11256:251::-;11326:6;11379:2;11367:9;11358:7;11354:23;11350:32;11347:52;;;11395:1;11392;11385:12;11347:52;11427:9;11421:16;11446:31;11471:5;11446:31;:::i;11974:185::-;12016:3;12054:5;12048:12;12069:52;12114:6;12109:3;12102:4;12095:5;12091:16;12069:52;:::i;:::-;12137:16;;;;;11974:185;-1:-1:-1;;11974:185:1:o;12164:1289::-;12340:3;12369:1;12402:6;12396:13;12432:3;12454:1;12482:9;12478:2;12474:18;12464:28;;12542:2;12531:9;12527:18;12564;12554:61;;12608:4;12600:6;12596:17;12586:27;;12554:61;12634:2;12682;12674:6;12671:14;12651:18;12648:38;12645:222;;12721:77;12716:3;12709:90;12822:4;12819:1;12812:15;12852:4;12847:3;12840:17;12645:222;12883:18;12910:162;;;;13086:1;13081:320;;;;12876:525;;12910:162;12958:66;12947:9;12943:82;12938:3;12931:95;13055:6;13050:3;13046:16;13039:23;;12910:162;;13081:320;11921:1;11914:14;;;11958:4;11945:18;;13176:1;13190:165;13204:6;13201:1;13198:13;13190:165;;;13282:14;;13269:11;;;13262:35;13325:16;;;;13219:10;;13190:165;;;13194:3;;13384:6;13379:3;13375:16;13368:23;;12876:525;;;;;;;13417:30;13443:3;13435:6;13417:30;:::i;:::-;13410:37;12164:1289;-1:-1:-1;;;;;12164:1289:1:o;15425:125::-;15465:4;15493:1;15490;15487:8;15484:34;;;15498:18;;:::i;:::-;-1:-1:-1;15535:9:1;;15425:125::o;15555:128::-;15595:3;15626:1;15622:6;15619:1;15616:13;15613:39;;;15632:18;;:::i;:::-;-1:-1:-1;15668:9:1;;15555:128::o;16461:184::-;16513:77;16510:1;16503:88;16610:4;16607:1;16600:15;16634:4;16631:1;16624:15;16650:120;16690:1;16716;16706:35;;16721:18;;:::i;:::-;-1:-1:-1;16755:9:1;;16650:120::o;16775:112::-;16807:1;16833;16823:35;;16838:18;;:::i;:::-;-1:-1:-1;16872:9:1;;16775:112::o;16892:523::-;17086:4;17115:42;17196:2;17188:6;17184:15;17173:9;17166:34;17248:2;17240:6;17236:15;17231:2;17220:9;17216:18;17209:43;;17288:6;17283:2;17272:9;17268:18;17261:34;17331:3;17326:2;17315:9;17311:18;17304:31;17352:57;17404:3;17393:9;17389:19;17381:6;17352:57;:::i;:::-;17344:65;16892:523;-1:-1:-1;;;;;;16892:523:1:o;17420:249::-;17489:6;17542:2;17530:9;17521:7;17517:23;17513:32;17510:52;;;17558:1;17555;17548:12;17510:52;17590:9;17584:16;17609:30;17633:5;17609:30;:::i

Swarm Source

ipfs://f2f4bf98816ba38871da3ff2a51fc4de1d3b1c44dd5517ba7f1dd5afb029864e
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.