Token Smol Turds

Overview ERC721

Total Supply:
100 TURD

Holders:
81 addresses

Transfers:
-

Loading
[ Download CSV Export  ] 
Loading
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Smol

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// Sources flattened with hardhat v2.9.6 https://hardhat.org

// File lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol

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


// File lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol


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

pragma solidity ^0.8.0;

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


// File lib/openzeppelin-contracts/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);
}


// File lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Metadata.sol


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

pragma solidity ^0.8.0;

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


// File lib/openzeppelin-contracts/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.7.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 functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

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

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

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

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

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

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

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

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

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

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


// File lib/openzeppelin-contracts/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;
    }
}


// File lib/openzeppelin-contracts/contracts/utils/Strings.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // 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);
    }

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


// File lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol


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

pragma solidity ^0.8.0;

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


// File lib/openzeppelin-contracts/contracts/token/ERC721/ERC721.sol


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

pragma solidity ^0.8.0;







/**
 * @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: address zero is not a valid owner");
        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: invalid token ID");
        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) {
        _requireMinted(tokenId);

        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 token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        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: caller is not token 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: caller is not token 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) {
        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
        delete _tokenApprovals[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 an {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 an {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 Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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 {
                    /// @solidity memory-safe-assembly
                    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 {}
}


// File lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}


// File lib/openzeppelin-contracts/contracts/token/ERC721/extensions/ERC721Enumerable.sol


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

pragma solidity ^0.8.0;


/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}


// File lib/openzeppelin-contracts/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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);
    }
}


// File lib/openzeppelin-contracts/contracts/security/ReentrancyGuard.sol

// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}


// File lib/openzeppelin-contracts/contracts/interfaces/IERC2981.sol


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

pragma solidity ^0.8.0;

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


// File lib/openzeppelin-contracts/contracts/token/common/ERC2981.sol

// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}


// File lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol

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

pragma solidity ^0.8.13;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}


// File src/Smol.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.13;





contract Smol is ERC721Enumerable, Ownable, ReentrancyGuard, ERC2981 {
    uint256 private a;
    uint256 constant public MAX_TURDS = 100;
    uint256 constant public SHIDS = 26;
    uint256 private shids;
    mapping(address => bool) public minted;
    mapping(address => bool) public shidlisted;
    string private _baseTokenURI;

    constructor(address receiver, uint96 feeNumerator)
        ERC721("Smol Turds", "TURD")
    {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function turd(uint256 b) public {
        require(
            tx.origin == msg.sender,
            "I don't deal with contracts!"
        );
        require (b == 1337, "you are not the shit");
        require(a == 1, "a is not greater than 0");
        
        require(totalSupply() < MAX_TURDS - SHIDS, "no more turds, I'm sorry");
        require(!minted[msg.sender], "you already minted an turds");
        _mint(msg.sender, totalSupply());
        minted[msg.sender] = true;
    }

    function smol(uint256 _stage) public onlyOwner {
        a = _stage;
    }

    function shid() public {
        require(shidlisted[msg.sender], "you already minted a shid or are not shidlisted");
        require(shids < SHIDS, "max shids minted");
        require(a == 2, "shidlist minting hasn't started");
        shidlisted[msg.sender] = false;
        _mint(msg.sender, totalSupply());
        ++shids;
    }

    function addToShidlist(address[] memory _shidlisted) external onlyOwner {
        for (uint i; i < _shidlisted.length; i++)
        {
            shidlisted[_shidlisted[i]] = true;
        }
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        _baseTokenURI = baseURI;
    }

    function _baseURI() internal view override returns (string memory) {
        return _baseTokenURI;
    }

    function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) public onlyOwner {
        _setDefaultRoyalty(_receiver, _feeNumerator);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721Enumerable, ERC2981)
        returns (bool)
    {
        return
            interfaceId == 0x2a55205a || super.supportsInterface(interfaceId);
    }

    function recoverTokens(address _tokenAddress, uint256 _tokenAmount)
        external
        onlyOwner
    {
        IERC20(_tokenAddress).transfer(address(msg.sender), _tokenAmount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"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":[],"name":"MAX_TURDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SHIDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_shidlisted","type":"address[]"}],"name":"addToShidlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","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":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"recoverTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"shidlisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_stage","type":"uint256"}],"name":"smol","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"inputs":[{"internalType":"uint256","name":"b","type":"uint256"}],"name":"turd","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620025ed380380620025ed8339810160408190526200003491620002cf565b604080518082018252600a815269536d6f6c20547572647360b01b6020808301918252835180850190945260048452631515549160e21b908401528151919291620000829160009162000229565b5080516200009890600190602084019062000229565b505050620000b5620000af620000ce60201b60201c565b620000d2565b6001600b55620000c6828262000124565b505062000360565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b0382161115620001985760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620001f05760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016200018f565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600c55565b828054620002379062000324565b90600052602060002090601f0160209004810192826200025b5760008555620002a6565b82601f106200027657805160ff1916838001178555620002a6565b82800160010185558215620002a6579182015b82811115620002a657825182559160200191906001019062000289565b50620002b4929150620002b8565b5090565b5b80821115620002b45760008155600101620002b9565b60008060408385031215620002e357600080fd5b82516001600160a01b0381168114620002fb57600080fd5b60208401519092506001600160601b03811681146200031957600080fd5b809150509250929050565b600181811c908216806200033957607f821691505b6020821081036200035a57634e487b7160e01b600052602260045260246000fd5b50919050565b61227d80620003706000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80636352211e1161010f578063bb3163c0116100a2578063e985e9c511610071578063e985e9c514610421578063eac71ca11461045d578063f2fde38b14610470578063fc22a3dc1461048357600080fd5b8063bb3163c0146103db578063bba2fa62146103e3578063c4134e61146103eb578063c87b56dd1461040e57600080fd5b80638da5cb5b116100de5780638da5cb5b1461039c57806395d89b41146103ad578063a22cb465146103b5578063b88d4fde146103c857600080fd5b80636352211e1461036657806370a0823114610379578063715018a61461038c578063791e3b021461039457600080fd5b80631e7269c51161018757806342842e0e1161015657806342842e0e1461031a5780634f6ccce71461032d57806355f804b3146103405780635c1d87ce1461035357600080fd5b80631e7269c51461029f57806323b872dd146102c25780632a55205a146102d55780632f745c591461030757600080fd5b806306fdde03116101c357806306fdde031461023a578063081812fc1461024f578063095ea7b31461027a57806318160ddd1461028d57600080fd5b806301ffc9a7146101ea57806304634d8d14610212578063069c9fae14610227575b600080fd5b6101fd6101f8366004611bbf565b610496565b60405190151581526020015b60405180910390f35b610225610220366004611bf8565b6104c1565b005b610225610235366004611c3b565b6104d7565b610242610555565b6040516102099190611cbd565b61026261025d366004611cd0565b6105e7565b6040516001600160a01b039091168152602001610209565b610225610288366004611c3b565b61060e565b6008545b604051908152602001610209565b6101fd6102ad366004611ce9565b60106020526000908152604090205460ff1681565b6102256102d0366004611d04565b610723565b6102e86102e3366004611d40565b610754565b604080516001600160a01b039093168352602083019190915201610209565b610291610315366004611c3b565b610800565b610225610328366004611d04565b610896565b61029161033b366004611cd0565b6108b1565b61022561034e366004611e01565b610944565b610225610361366004611e4a565b61095f565b610262610374366004611cd0565b6109cf565b610291610387366004611ce9565b610a2f565b610225610ab5565b610291606481565b600a546001600160a01b0316610262565b610242610ac9565b6102256103c3366004611f05565b610ad8565b6102256103d6366004611f31565b610ae3565b610291601a81565b610225610b1b565b6101fd6103f9366004611ce9565b60116020526000908152604090205460ff1681565b61024261041c366004611cd0565b610c67565b6101fd61042f366004611fad565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61022561046b366004611cd0565b610cce565b61022561047e366004611ce9565b610e9d565b610225610491366004611cd0565b610f16565b600063152a902d60e11b6001600160e01b0319831614806104bb57506104bb82610f23565b92915050565b6104c9610f48565b6104d38282610fa2565b5050565b6104df610f48565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af115801561052c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105509190611fe0565b505050565b60606000805461056490611ffd565b80601f016020809104026020016040519081016040528092919081815260200182805461059090611ffd565b80156105dd5780601f106105b2576101008083540402835291602001916105dd565b820191906000526020600020905b8154815290600101906020018083116105c057829003601f168201915b5050505050905090565b60006105f28261109f565b506000908152600460205260409020546001600160a01b031690565b6000610619826109cf565b9050806001600160a01b0316836001600160a01b03160361068b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806106a757506106a7813361042f565b6107195760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610682565b61055083836110fe565b61072d338261116c565b6107495760405162461bcd60e51b815260040161068290612037565b6105508383836111eb565b6000828152600d602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916107c9575060408051808201909152600c546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906107e8906001600160601b03168761209b565b6107f291906120d0565b915196919550909350505050565b600061080b83610a2f565b821061086d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610682565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61055083838360405180602001604052806000815250610ae3565b60006108bc60085490565b821061091f5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610682565b60088281548110610932576109326120e4565b90600052602060002001549050919050565b61094c610f48565b80516104d3906012906020840190611b10565b610967610f48565b60005b81518110156104d35760016011600084848151811061098b5761098b6120e4565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806109c7816120fa565b91505061096a565b6000818152600260205260408120546001600160a01b0316806104bb5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610682565b60006001600160a01b038216610a995760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610682565b506001600160a01b031660009081526003602052604090205490565b610abd610f48565b610ac760006113a1565b565b60606001805461056490611ffd565b6104d33383836113f3565b610aed338361116c565b610b095760405162461bcd60e51b815260040161068290612037565b610b15848484846114c1565b50505050565b3360009081526011602052604090205460ff16610b925760405162461bcd60e51b815260206004820152602f60248201527f796f7520616c7265616479206d696e74656420612073686964206f722061726560448201526e081b9bdd081cda1a591b1a5cdd1959608a1b6064820152608401610682565b601a600f5410610bd75760405162461bcd60e51b815260206004820152601060248201526f1b585e081cda1a591cc81b5a5b9d195960821b6044820152606401610682565b600e54600214610c295760405162461bcd60e51b815260206004820152601f60248201527f736869646c697374206d696e74696e67206861736e27742073746172746564006044820152606401610682565b336000818152601160205260409020805460ff19169055610c5290610c4d60085490565b6114f4565b600f60008154610c61906120fa565b90915550565b6060610c728261109f565b6000610c7c611642565b90506000815111610c9c5760405180602001604052806000815250610cc7565b80610ca684611651565b604051602001610cb7929190612113565b6040516020818303038152906040525b9392505050565b323314610d1d5760405162461bcd60e51b815260206004820152601c60248201527f4920646f6e2774206465616c207769746820636f6e74726163747321000000006044820152606401610682565b8061053914610d655760405162461bcd60e51b81526020600482015260146024820152731e5bdd48185c99481b9bdd081d1a19481cda1a5d60621b6044820152606401610682565b600e54600114610db75760405162461bcd60e51b815260206004820152601760248201527f61206973206e6f742067726561746572207468616e20300000000000000000006044820152606401610682565b610dc3601a6064612142565b60085410610e135760405162461bcd60e51b815260206004820152601860248201527f6e6f206d6f72652074757264732c2049276d20736f72727900000000000000006044820152606401610682565b3360009081526010602052604090205460ff1615610e735760405162461bcd60e51b815260206004820152601b60248201527f796f7520616c7265616479206d696e74656420616e20747572647300000000006044820152606401610682565b610e8033610c4d60085490565b50336000908152601060205260409020805460ff19166001179055565b610ea5610f48565b6001600160a01b038116610f0a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610682565b610f13816113a1565b50565b610f1e610f48565b600e55565b60006001600160e01b0319821663152a902d60e11b14806104bb57506104bb82611752565b600a546001600160a01b03163314610ac75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610682565b6127106001600160601b03821611156110105760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610682565b6001600160a01b0382166110665760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610682565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600c55565b6000818152600260205260409020546001600160a01b0316610f135760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610682565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611133826109cf565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611178836109cf565b9050806001600160a01b0316846001600160a01b031614806111bf57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806111e35750836001600160a01b03166111d8846105e7565b6001600160a01b0316145b949350505050565b826001600160a01b03166111fe826109cf565b6001600160a01b0316146112625760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610682565b6001600160a01b0382166112c45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610682565b6112cf838383611777565b600081815260046020908152604080832080546001600160a01b03191690556001600160a01b038616835260039091528120805460019290611312908490612142565b90915550506001600160a01b0382166000908152600360205260408120805460019290611340908490612159565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036114545760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610682565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6114cc8484846111eb565b6114d88484848461182f565b610b155760405162461bcd60e51b815260040161068290612171565b6001600160a01b03821661154a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610682565b6000818152600260205260409020546001600160a01b0316156115af5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610682565b6115bb60008383611777565b6001600160a01b03821660009081526003602052604081208054600192906115e4908490612159565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60606012805461056490611ffd565b6060816000036116785750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116a2578061168c816120fa565b915061169b9050600a836120d0565b915061167c565b60008167ffffffffffffffff8111156116bd576116bd611d62565b6040519080825280601f01601f1916602001820160405280156116e7576020820181803683370190505b5090505b84156111e3576116fc600183612142565b9150611709600a866121c3565b611714906030612159565b60f81b818381518110611729576117296120e4565b60200101906001600160f81b031916908160001a90535061174b600a866120d0565b94506116eb565b60006001600160e01b0319821663780e9d6360e01b14806104bb57506104bb82611930565b6001600160a01b0383166117d2576117cd81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6117f5565b816001600160a01b0316836001600160a01b0316146117f5576117f58382611980565b6001600160a01b03821661180c5761055081611a1d565b826001600160a01b0316826001600160a01b031614610550576105508282611acc565b60006001600160a01b0384163b1561192557604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906118739033908990889088906004016121d7565b6020604051808303816000875af19250505080156118ae575060408051601f3d908101601f191682019092526118ab91810190612214565b60015b61190b573d8080156118dc576040519150601f19603f3d011682016040523d82523d6000602084013e6118e1565b606091505b5080516000036119035760405162461bcd60e51b815260040161068290612171565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111e3565b506001949350505050565b60006001600160e01b031982166380ac58cd60e01b148061196157506001600160e01b03198216635b5e139f60e01b145b806104bb57506301ffc9a760e01b6001600160e01b03198316146104bb565b6000600161198d84610a2f565b6119979190612142565b6000838152600760205260409020549091508082146119ea576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611a2f90600190612142565b60008381526009602052604081205460088054939450909284908110611a5757611a576120e4565b906000526020600020015490508060088381548110611a7857611a786120e4565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611ab057611ab0612231565b6001900381819060005260206000200160009055905550505050565b6000611ad783610a2f565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611b1c90611ffd565b90600052602060002090601f016020900481019282611b3e5760008555611b84565b82601f10611b5757805160ff1916838001178555611b84565b82800160010185558215611b84579182015b82811115611b84578251825591602001919060010190611b69565b50611b90929150611b94565b5090565b5b80821115611b905760008155600101611b95565b6001600160e01b031981168114610f1357600080fd5b600060208284031215611bd157600080fd5b8135610cc781611ba9565b80356001600160a01b0381168114611bf357600080fd5b919050565b60008060408385031215611c0b57600080fd5b611c1483611bdc565b915060208301356001600160601b0381168114611c3057600080fd5b809150509250929050565b60008060408385031215611c4e57600080fd5b611c5783611bdc565b946020939093013593505050565b60005b83811015611c80578181015183820152602001611c68565b83811115610b155750506000910152565b60008151808452611ca9816020860160208601611c65565b601f01601f19169290920160200192915050565b602081526000610cc76020830184611c91565b600060208284031215611ce257600080fd5b5035919050565b600060208284031215611cfb57600080fd5b610cc782611bdc565b600080600060608486031215611d1957600080fd5b611d2284611bdc565b9250611d3060208501611bdc565b9150604084013590509250925092565b60008060408385031215611d5357600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611da157611da1611d62565b604052919050565b600067ffffffffffffffff831115611dc357611dc3611d62565b611dd6601f8401601f1916602001611d78565b9050828152838383011115611dea57600080fd5b828260208301376000602084830101529392505050565b600060208284031215611e1357600080fd5b813567ffffffffffffffff811115611e2a57600080fd5b8201601f81018413611e3b57600080fd5b6111e384823560208401611da9565b60006020808385031215611e5d57600080fd5b823567ffffffffffffffff80821115611e7557600080fd5b818501915085601f830112611e8957600080fd5b813581811115611e9b57611e9b611d62565b8060051b9150611eac848301611d78565b8181529183018401918481019088841115611ec657600080fd5b938501935b83851015611eeb57611edc85611bdc565b82529385019390850190611ecb565b98975050505050505050565b8015158114610f1357600080fd5b60008060408385031215611f1857600080fd5b611f2183611bdc565b91506020830135611c3081611ef7565b60008060008060808587031215611f4757600080fd5b611f5085611bdc565b9350611f5e60208601611bdc565b925060408501359150606085013567ffffffffffffffff811115611f8157600080fd5b8501601f81018713611f9257600080fd5b611fa187823560208401611da9565b91505092959194509250565b60008060408385031215611fc057600080fd5b611fc983611bdc565b9150611fd760208401611bdc565b90509250929050565b600060208284031215611ff257600080fd5b8151610cc781611ef7565b600181811c9082168061201157607f821691505b60208210810361203157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156120b5576120b5612085565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826120df576120df6120ba565b500490565b634e487b7160e01b600052603260045260246000fd5b60006001820161210c5761210c612085565b5060010190565b60008351612125818460208801611c65565b835190830190612139818360208801611c65565b01949350505050565b60008282101561215457612154612085565b500390565b6000821982111561216c5761216c612085565b500190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826121d2576121d26120ba565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061220a90830184611c91565b9695505050505050565b60006020828403121561222657600080fd5b8151610cc781611ba9565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220928b9e925b2cd9799277ba020267238028314e14081bdbb61c629fb1f7d88bed64736f6c634300080d0033000000000000000000000000744d17684cb717daaa3530c9840c7501bb29fad000000000000000000000000000000000000000000000000000000000000002b2

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000744d17684cb717daaa3530c9840c7501bb29fad000000000000000000000000000000000000000000000000000000000000002b2

-----Decoded View---------------
Arg [0] : receiver (address): 0x744d17684cb717daaa3530c9840c7501bb29fad0
Arg [1] : feeNumerator (uint96): 690

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000744d17684cb717daaa3530c9840c7501bb29fad0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000002b2


Deployed ByteCode Sourcemap

58082:2497:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60119:255;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;60119:255:0;;;;;;;;59963:148;;;;;;:::i;:::-;;:::i;:::-;;60382:194;;;;;;:::i;:::-;;:::i;24017:100::-;;;:::i;:::-;;;;;;;:::i;25530:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2500:32:1;;;2482:51;;2470:2;2455:18;25530:171:0;2336:203:1;25047:417:0;;;;;;:::i;:::-;;:::i;39029:113::-;39117:10;:17;39029:113;;;2690:25:1;;;2678:2;2663:18;39029:113:0;2544:177:1;58297:38:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;26230:336;;;;;;:::i;:::-;;:::i;52596:442::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3695:32:1;;;3677:51;;3759:2;3744:18;;3737:34;;;;3650:18;52596:442:0;3503:274:1;38697:256:0;;;;;;:::i;:::-;;:::i;26637:185::-;;;;;;:::i;:::-;;:::i;39219:233::-;;;;;;:::i;:::-;;:::i;59739:102::-;;;;;;:::i;:::-;;:::i;59530:201::-;;;;;;:::i;:::-;;:::i;23728:222::-;;;;;;:::i;:::-;;:::i;23459:207::-;;;;;;:::i;:::-;;:::i;46432:103::-;;;:::i;58182:39::-;;58218:3;58182:39;;45784:87;45857:6;;-1:-1:-1;;;;;45857:6:0;45784:87;;24186:104;;;:::i;25773:155::-;;;;;;:::i;:::-;;:::i;26893:323::-;;;;;;:::i;:::-;;:::i;58228:34::-;;58260:2;58228:34;;59182:340;;;:::i;58342:42::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;24361:281;;;;;;:::i;:::-;;:::i;25999:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;26120:25:0;;;26096:4;26120:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;25999:164;58591:499;;;;;;:::i;:::-;;:::i;46690:201::-;;;;;;:::i;:::-;;:::i;59098:76::-;;;;;;:::i;:::-;;:::i;60119:255::-;60259:4;-1:-1:-1;;;;;;;;;60301:25:0;;;;:65;;;60330:36;60354:11;60330:23;:36::i;:::-;60281:85;60119:255;-1:-1:-1;;60119:255:0:o;59963:148::-;45670:13;:11;:13::i;:::-;60059:44:::1;60078:9;60089:13;60059:18;:44::i;:::-;59963:148:::0;;:::o;60382:194::-;45670:13;:11;:13::i;:::-;60503:65:::1;::::0;-1:-1:-1;;;60503:65:0;;60542:10:::1;60503:65;::::0;::::1;3677:51:1::0;3744:18;;;3737:34;;;-1:-1:-1;;;;;60503:30:0;::::1;::::0;::::1;::::0;3650:18:1;;60503:65:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;60382:194:::0;;:::o;24017:100::-;24071:13;24104:5;24097:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24017:100;:::o;25530:171::-;25606:7;25626:23;25641:7;25626:14;:23::i;:::-;-1:-1:-1;25669:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25669:24:0;;25530:171::o;25047:417::-;25128:13;25144:23;25159:7;25144:14;:23::i;:::-;25128:39;;25192:5;-1:-1:-1;;;;;25186:11:0;:2;-1:-1:-1;;;;;25186:11:0;;25178:57;;;;-1:-1:-1;;;25178:57:0;;8236:2:1;25178:57:0;;;8218:21:1;8275:2;8255:18;;;8248:30;8314:34;8294:18;;;8287:62;-1:-1:-1;;;8365:18:1;;;8358:31;8406:19;;25178:57:0;;;;;;;;;17985:10;-1:-1:-1;;;;;25270:21:0;;;;:62;;-1:-1:-1;25295:37:0;25312:5;17985:10;25999:164;:::i;25295:37::-;25248:174;;;;-1:-1:-1;;;25248:174:0;;8638:2:1;25248:174:0;;;8620:21:1;8677:2;8657:18;;;8650:30;8716:34;8696:18;;;8689:62;8787:32;8767:18;;;8760:60;8837:19;;25248:174:0;8436:426:1;25248:174:0;25435:21;25444:2;25448:7;25435:8;:21::i;26230:336::-;26425:41;17985:10;26458:7;26425:18;:41::i;:::-;26417:100;;;;-1:-1:-1;;;26417:100:0;;;;;;;:::i;:::-;26530:28;26540:4;26546:2;26550:7;26530:9;:28::i;52596:442::-;52693:7;52751:27;;;:17;:27;;;;;;;;52722:56;;;;;;;;;-1:-1:-1;;;;;52722:56:0;;;;;-1:-1:-1;;;52722:56:0;;;-1:-1:-1;;;;;52722:56:0;;;;;;;;52693:7;;52791:92;;-1:-1:-1;52842:29:0;;;;;;;;;52852:19;52842:29;-1:-1:-1;;;;;52842:29:0;;;;-1:-1:-1;;;52842:29:0;;-1:-1:-1;;;;;52842:29:0;;;;;52791:92;52933:23;;;;52895:21;;53404:5;;52920:36;;-1:-1:-1;;;;;52920:36:0;:10;:36;:::i;:::-;52919:58;;;;:::i;:::-;52998:16;;;;;-1:-1:-1;52596:442:0;;-1:-1:-1;;;;52596:442:0:o;38697:256::-;38794:7;38830:23;38847:5;38830:16;:23::i;:::-;38822:5;:31;38814:87;;;;-1:-1:-1;;;38814:87:0;;10046:2:1;38814:87:0;;;10028:21:1;10085:2;10065:18;;;10058:30;10124:34;10104:18;;;10097:62;-1:-1:-1;;;10175:18:1;;;10168:41;10226:19;;38814:87:0;9844:407:1;38814:87:0;-1:-1:-1;;;;;;38919:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;38697:256::o;26637:185::-;26775:39;26792:4;26798:2;26802:7;26775:39;;;;;;;;;;;;:16;:39::i;39219:233::-;39294:7;39330:30;39117:10;:17;;39029:113;39330:30;39322:5;:38;39314:95;;;;-1:-1:-1;;;39314:95:0;;10458:2:1;39314:95:0;;;10440:21:1;10497:2;10477:18;;;10470:30;10536:34;10516:18;;;10509:62;-1:-1:-1;;;10587:18:1;;;10580:42;10639:19;;39314:95:0;10256:408:1;39314:95:0;39427:10;39438:5;39427:17;;;;;;;;:::i;:::-;;;;;;;;;39420:24;;39219:233;;;:::o;59739:102::-;45670:13;:11;:13::i;:::-;59810:23;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;59530:201::-:0;45670:13;:11;:13::i;:::-;59618:6:::1;59613:111;59630:11;:18;59626:1;:22;59613:111;;;59708:4;59679:10;:26;59690:11;59702:1;59690:14;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;59679:26:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;59679:26:0;:33;;-1:-1:-1;;59679:33:0::1;::::0;::::1;;::::0;;;::::1;::::0;;59650:3;::::1;::::0;::::1;:::i;:::-;;;;59613:111;;23728:222:::0;23800:7;23836:16;;;:7;:16;;;;;;-1:-1:-1;;;;;23836:16:0;;23863:56;;;;-1:-1:-1;;;23863:56:0;;11143:2:1;23863:56:0;;;11125:21:1;11182:2;11162:18;;;11155:30;-1:-1:-1;;;11201:18:1;;;11194:54;11265:18;;23863:56:0;10941:348:1;23459:207:0;23531:7;-1:-1:-1;;;;;23559:19:0;;23551:73;;;;-1:-1:-1;;;23551:73:0;;11496:2:1;23551:73:0;;;11478:21:1;11535:2;11515:18;;;11508:30;11574:34;11554:18;;;11547:62;-1:-1:-1;;;11625:18:1;;;11618:39;11674:19;;23551:73:0;11294:405:1;23551:73:0;-1:-1:-1;;;;;;23642:16:0;;;;;:9;:16;;;;;;;23459:207::o;46432:103::-;45670:13;:11;:13::i;:::-;46497:30:::1;46524:1;46497:18;:30::i;:::-;46432:103::o:0;24186:104::-;24242:13;24275:7;24268:14;;;;;:::i;25773:155::-;25868:52;17985:10;25901:8;25911;25868:18;:52::i;26893:323::-;27067:41;17985:10;27100:7;27067:18;:41::i;:::-;27059:100;;;;-1:-1:-1;;;27059:100:0;;;;;;;:::i;:::-;27170:38;27184:4;27190:2;27194:7;27203:4;27170:13;:38::i;:::-;26893:323;;;;:::o;59182:340::-;59235:10;59224:22;;;;:10;:22;;;;;;;;59216:82;;;;-1:-1:-1;;;59216:82:0;;11906:2:1;59216:82:0;;;11888:21:1;11945:2;11925:18;;;11918:30;11984:34;11964:18;;;11957:62;-1:-1:-1;;;12035:18:1;;;12028:45;12090:19;;59216:82:0;11704:411:1;59216:82:0;58260:2;59317:5;;:13;59309:42;;;;-1:-1:-1;;;59309:42:0;;12322:2:1;59309:42:0;;;12304:21:1;12361:2;12341:18;;;12334:30;-1:-1:-1;;;12380:18:1;;;12373:46;12436:18;;59309:42:0;12120:340:1;59309:42:0;59370:1;;59375;59370:6;59362:50;;;;-1:-1:-1;;;59362:50:0;;12667:2:1;59362:50:0;;;12649:21:1;12706:2;12686:18;;;12679:30;12745:33;12725:18;;;12718:61;12796:18;;59362:50:0;12465:355:1;59362:50:0;59434:10;59448:5;59423:22;;;:10;:22;;;;;:30;;-1:-1:-1;;59423:30:0;;;59464:32;;59482:13;39117:10;:17;;39029:113;59482:13;59464:5;:32::i;:::-;59509:5;;59507:7;;;;;:::i;:::-;;;;-1:-1:-1;59182:340:0:o;24361:281::-;24434:13;24460:23;24475:7;24460:14;:23::i;:::-;24496:21;24520:10;:8;:10::i;:::-;24496:34;;24572:1;24554:7;24548:21;:25;:86;;;;;;;;;;;;;;;;;24600:7;24609:18;:7;:16;:18::i;:::-;24583:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;24548:86;24541:93;24361:281;-1:-1:-1;;;24361:281:0:o;58591:499::-;58656:9;58669:10;58656:23;58634:101;;;;-1:-1:-1;;;58634:101:0;;13502:2:1;58634:101:0;;;13484:21:1;13541:2;13521:18;;;13514:30;13580;13560:18;;;13553:58;13628:18;;58634:101:0;13300:352:1;58634:101:0;58755:1;58760:4;58755:9;58746:43;;;;-1:-1:-1;;;58746:43:0;;13859:2:1;58746:43:0;;;13841:21:1;13898:2;13878:18;;;13871:30;-1:-1:-1;;;13917:18:1;;;13910:50;13977:18;;58746:43:0;13657:344:1;58746:43:0;58808:1;;58813;58808:6;58800:42;;;;-1:-1:-1;;;58800:42:0;;14208:2:1;58800:42:0;;;14190:21:1;14247:2;14227:18;;;14220:30;14286:25;14266:18;;;14259:53;14329:18;;58800:42:0;14006:347:1;58800:42:0;58887:17;58260:2;58218:3;58887:17;:::i;:::-;39117:10;:17;58871:33;58863:70;;;;-1:-1:-1;;;58863:70:0;;14690:2:1;58863:70:0;;;14672:21:1;14729:2;14709:18;;;14702:30;14768:26;14748:18;;;14741:54;14812:18;;58863:70:0;14488:348:1;58863:70:0;58960:10;58953:18;;;;:6;:18;;;;;;;;58952:19;58944:59;;;;-1:-1:-1;;;58944:59:0;;15043:2:1;58944:59:0;;;15025:21:1;15082:2;15062:18;;;15055:30;15121:29;15101:18;;;15094:57;15168:18;;58944:59:0;14841:351:1;58944:59:0;59014:32;59020:10;59032:13;39117:10;:17;;39029:113;59014:32;-1:-1:-1;59064:10:0;59057:18;;;;:6;:18;;;;;:25;;-1:-1:-1;;59057:25:0;59078:4;59057:25;;;58591:499::o;46690:201::-;45670:13;:11;:13::i;:::-;-1:-1:-1;;;;;46779:22:0;::::1;46771:73;;;::::0;-1:-1:-1;;;46771:73:0;;15399:2:1;46771:73:0::1;::::0;::::1;15381:21:1::0;15438:2;15418:18;;;15411:30;15477:34;15457:18;;;15450:62;-1:-1:-1;;;15528:18:1;;;15521:36;15574:19;;46771:73:0::1;15197:402:1::0;46771:73:0::1;46855:28;46874:8;46855:18;:28::i;:::-;46690:201:::0;:::o;59098:76::-;45670:13;:11;:13::i;:::-;59156:1:::1;:10:::0;59098:76::o;52326:215::-;52428:4;-1:-1:-1;;;;;;52452:41:0;;-1:-1:-1;;;52452:41:0;;:81;;;52497:36;52521:11;52497:23;:36::i;45949:132::-;45857:6;;-1:-1:-1;;;;;45857:6:0;17985:10;46013:23;46005:68;;;;-1:-1:-1;;;46005:68:0;;15806:2:1;46005:68:0;;;15788:21:1;;;15825:18;;;15818:30;15884:34;15864:18;;;15857:62;15936:18;;46005:68:0;15604:356:1;53688:332:0;53404:5;-1:-1:-1;;;;;53791:33:0;;;;53783:88;;;;-1:-1:-1;;;53783:88:0;;16167:2:1;53783:88:0;;;16149:21:1;16206:2;16186:18;;;16179:30;16245:34;16225:18;;;16218:62;-1:-1:-1;;;16296:18:1;;;16289:40;16346:19;;53783:88:0;15965:406:1;53783:88:0;-1:-1:-1;;;;;53890:22:0;;53882:60;;;;-1:-1:-1;;;53882:60:0;;16578:2:1;53882:60:0;;;16560:21:1;16617:2;16597:18;;;16590:30;16656:27;16636:18;;;16629:55;16701:18;;53882:60:0;16376:349:1;53882:60:0;53977:35;;;;;;;;;-1:-1:-1;;;;;53977:35:0;;;;;;-1:-1:-1;;;;;53977:35:0;;;;;;;;;;-1:-1:-1;;;53955:57:0;;;;:19;:57;53688:332::o;33507:135::-;28788:4;28812:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28812:16:0;33581:53;;;;-1:-1:-1;;;33581:53:0;;11143:2:1;33581:53:0;;;11125:21:1;11182:2;11162:18;;;11155:30;-1:-1:-1;;;11201:18:1;;;11194:54;11265:18;;33581:53:0;10941:348:1;32786:174:0;32861:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;32861:29:0;-1:-1:-1;;;;;32861:29:0;;;;;;;;:24;;32915:23;32861:24;32915:14;:23::i;:::-;-1:-1:-1;;;;;32906:46:0;;;;;;;;;;;32786:174;;:::o;29017:264::-;29110:4;29127:13;29143:23;29158:7;29143:14;:23::i;:::-;29127:39;;29196:5;-1:-1:-1;;;;;29185:16:0;:7;-1:-1:-1;;;;;29185:16:0;;:52;;;-1:-1:-1;;;;;;26120:25:0;;;26096:4;26120:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;29205:32;29185:87;;;;29265:7;-1:-1:-1;;;;;29241:31:0;:20;29253:7;29241:11;:20::i;:::-;-1:-1:-1;;;;;29241:31:0;;29185:87;29177:96;29017:264;-1:-1:-1;;;;29017:264:0:o;32040:627::-;32199:4;-1:-1:-1;;;;;32172:31:0;:23;32187:7;32172:14;:23::i;:::-;-1:-1:-1;;;;;32172:31:0;;32164:81;;;;-1:-1:-1;;;32164:81:0;;16932:2:1;32164:81:0;;;16914:21:1;16971:2;16951:18;;;16944:30;17010:34;16990:18;;;16983:62;-1:-1:-1;;;17061:18:1;;;17054:35;17106:19;;32164:81:0;16730:401:1;32164:81:0;-1:-1:-1;;;;;32264:16:0;;32256:65;;;;-1:-1:-1;;;32256:65:0;;17338:2:1;32256:65:0;;;17320:21:1;17377:2;17357:18;;;17350:30;17416:34;17396:18;;;17389:62;-1:-1:-1;;;17467:18:1;;;17460:34;17511:19;;32256:65:0;17136:400:1;32256:65:0;32334:39;32355:4;32361:2;32365:7;32334:20;:39::i;:::-;32445:24;;;;:15;:24;;;;;;;;32438:31;;-1:-1:-1;;;;;;32438:31:0;;;-1:-1:-1;;;;;32482:15:0;;;;:9;:15;;;;;:20;;32438:31;;32445:24;32482:20;;32438:31;;32482:20;:::i;:::-;;;;-1:-1:-1;;;;;;;32513:13:0;;;;;;:9;:13;;;;;:18;;32530:1;;32513:13;:18;;32530:1;;32513:18;:::i;:::-;;;;-1:-1:-1;;32542:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;32542:21:0;-1:-1:-1;;;;;32542:21:0;;;;;;;;;32581:27;;32542:16;;32581:27;;;;;;;60503:65:::1;60382:194:::0;;:::o;47051:191::-;47144:6;;;-1:-1:-1;;;;;47161:17:0;;;-1:-1:-1;;;;;;47161:17:0;;;;;;;47194:40;;47144:6;;;47161:17;47144:6;;47194:40;;47125:16;;47194:40;47114:128;47051:191;:::o;33103:315::-;33258:8;-1:-1:-1;;;;;33249:17:0;:5;-1:-1:-1;;;;;33249:17:0;;33241:55;;;;-1:-1:-1;;;33241:55:0;;17876:2:1;33241:55:0;;;17858:21:1;17915:2;17895:18;;;17888:30;17954:27;17934:18;;;17927:55;17999:18;;33241:55:0;17674:349:1;33241:55:0;-1:-1:-1;;;;;33307:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;33307:46:0;;;;;;;;;;33369:41;;540::1;;;33369::0;;513:18:1;33369:41:0;;;;;;;33103:315;;;:::o;28097:313::-;28253:28;28263:4;28269:2;28273:7;28253:9;:28::i;:::-;28300:47;28323:4;28329:2;28333:7;28342:4;28300:22;:47::i;:::-;28292:110;;;;-1:-1:-1;;;28292:110:0;;;;;;;:::i;30615:439::-;-1:-1:-1;;;;;30695:16:0;;30687:61;;;;-1:-1:-1;;;30687:61:0;;18649:2:1;30687:61:0;;;18631:21:1;;;18668:18;;;18661:30;18727:34;18707:18;;;18700:62;18779:18;;30687:61:0;18447:356:1;30687:61:0;28788:4;28812:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28812:16:0;:30;30759:58;;;;-1:-1:-1;;;30759:58:0;;19010:2:1;30759:58:0;;;18992:21:1;19049:2;19029:18;;;19022:30;19088;19068:18;;;19061:58;19136:18;;30759:58:0;18808:352:1;30759:58:0;30830:45;30859:1;30863:2;30867:7;30830:20;:45::i;:::-;-1:-1:-1;;;;;30888:13:0;;;;;;:9;:13;;;;;:18;;30905:1;;30888:13;:18;;30905:1;;30888:18;:::i;:::-;;;;-1:-1:-1;;30917:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30917:21:0;-1:-1:-1;;;;;30917:21:0;;;;;;;;30956:33;;30917:16;;;30956:33;;30917:16;;30956:33;59963:148;;:::o;59849:106::-;59901:13;59934;59927:20;;;;;:::i;18563:723::-;18619:13;18840:5;18849:1;18840:10;18836:53;;-1:-1:-1;;18867:10:0;;;;;;;;;;;;-1:-1:-1;;;18867:10:0;;;;;18563:723::o;18836:53::-;18914:5;18899:12;18955:78;18962:9;;18955:78;;18988:8;;;;:::i;:::-;;-1:-1:-1;19011:10:0;;-1:-1:-1;19019:2:0;19011:10;;:::i;:::-;;;18955:78;;;19043:19;19075:6;19065:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19065:17:0;;19043:39;;19093:154;19100:10;;19093:154;;19127:11;19137:1;19127:11;;:::i;:::-;;-1:-1:-1;19196:10:0;19204:2;19196:5;:10;:::i;:::-;19183:24;;:2;:24;:::i;:::-;19170:39;;19153:6;19160;19153:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;19153:56:0;;;;;;;;-1:-1:-1;19224:11:0;19233:2;19224:11;;:::i;:::-;;;19093:154;;38389:224;38491:4;-1:-1:-1;;;;;;38515:50:0;;-1:-1:-1;;;38515:50:0;;:90;;;38569:36;38593:11;38569:23;:36::i;40065:589::-;-1:-1:-1;;;;;40271:18:0;;40267:187;;40306:40;40338:7;41481:10;:17;;41454:24;;;;:15;:24;;;;;:44;;;41509:24;;;;;;;;;;;;41377:164;40306:40;40267:187;;;40376:2;-1:-1:-1;;;;;40368:10:0;:4;-1:-1:-1;;;;;40368:10:0;;40364:90;;40395:47;40428:4;40434:7;40395:32;:47::i;:::-;-1:-1:-1;;;;;40468:16:0;;40464:183;;40501:45;40538:7;40501:36;:45::i;40464:183::-;40574:4;-1:-1:-1;;;;;40568:10:0;:2;-1:-1:-1;;;;;40568:10:0;;40564:83;;40595:40;40623:2;40627:7;40595:27;:40::i;34206:853::-;34360:4;-1:-1:-1;;;;;34381:13:0;;9312:19;:23;34377:675;;34417:71;;-1:-1:-1;;;34417:71:0;;-1:-1:-1;;;;;34417:36:0;;;;;:71;;17985:10;;34468:4;;34474:7;;34483:4;;34417:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34417:71:0;;;;;;;;-1:-1:-1;;34417:71:0;;;;;;;;;;;;:::i;:::-;;;34413:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34658:6;:13;34675:1;34658:18;34654:328;;34701:60;;-1:-1:-1;;;34701:60:0;;;;;;;:::i;34654:328::-;34932:6;34926:13;34917:6;34913:2;34909:15;34902:38;34413:584;-1:-1:-1;;;;;;34539:51:0;-1:-1:-1;;;34539:51:0;;-1:-1:-1;34532:58:0;;34377:675;-1:-1:-1;35036:4:0;34206:853;;;;;;:::o;23090:305::-;23192:4;-1:-1:-1;;;;;;23229:40:0;;-1:-1:-1;;;23229:40:0;;:105;;-1:-1:-1;;;;;;;23286:48:0;;-1:-1:-1;;;23286:48:0;23229:105;:158;;;-1:-1:-1;;;;;;;;;;21616:40:0;;;23351:36;21507:157;42168:988;42434:22;42484:1;42459:22;42476:4;42459:16;:22::i;:::-;:26;;;;:::i;:::-;42496:18;42517:26;;;:17;:26;;;;;;42434:51;;-1:-1:-1;42650:28:0;;;42646:328;;-1:-1:-1;;;;;42717:18:0;;42695:19;42717:18;;;:12;:18;;;;;;;;:34;;;;;;;;;42768:30;;;;;;:44;;;42885:30;;:17;:30;;;;;:43;;;42646:328;-1:-1:-1;43070:26:0;;;;:17;:26;;;;;;;;43063:33;;;-1:-1:-1;;;;;43114:18:0;;;;;:12;:18;;;;;:34;;;;;;;43107:41;42168:988::o;43451:1079::-;43729:10;:17;43704:22;;43729:21;;43749:1;;43729:21;:::i;:::-;43761:18;43782:24;;;:15;:24;;;;;;44155:10;:26;;43704:46;;-1:-1:-1;43782:24:0;;43704:46;;44155:26;;;;;;:::i;:::-;;;;;;;;;44133:48;;44219:11;44194:10;44205;44194:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;44299:28;;;:15;:28;;;;;;;:41;;;44471:24;;;;;44464:31;44506:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;43522:1008;;;43451:1079;:::o;40955:221::-;41040:14;41057:20;41074:2;41057:16;:20::i;:::-;-1:-1:-1;;;;;41088:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;41133:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;40955:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:366::-;837:6;845;898:2;886:9;877:7;873:23;869:32;866:52;;;914:1;911;904:12;866:52;937:29;956:9;937:29;:::i;:::-;927:39;;1016:2;1005:9;1001:18;988:32;-1:-1:-1;;;;;1053:5:1;1049:38;1042:5;1039:49;1029:77;;1102:1;1099;1092:12;1029:77;1125:5;1115:15;;;770:366;;;;;:::o;1141:254::-;1209:6;1217;1270:2;1258:9;1249:7;1245:23;1241:32;1238:52;;;1286:1;1283;1276:12;1238:52;1309:29;1328:9;1309:29;:::i;:::-;1299:39;1385:2;1370:18;;;;1357:32;;-1:-1:-1;;;1141:254:1:o;1400:258::-;1472:1;1482:113;1496:6;1493:1;1490:13;1482:113;;;1572:11;;;1566:18;1553:11;;;1546:39;1518:2;1511:10;1482:113;;;1613:6;1610:1;1607:13;1604:48;;;-1:-1:-1;;1648:1:1;1630:16;;1623:27;1400:258::o;1663:::-;1705:3;1743:5;1737:12;1770:6;1765:3;1758:19;1786:63;1842:6;1835:4;1830:3;1826:14;1819:4;1812:5;1808:16;1786:63;:::i;:::-;1903:2;1882:15;-1:-1:-1;;1878:29:1;1869:39;;;;1910:4;1865:50;;1663:258;-1:-1:-1;;1663:258:1:o;1926:220::-;2075:2;2064:9;2057:21;2038:4;2095:45;2136:2;2125:9;2121:18;2113:6;2095:45;:::i;2151:180::-;2210:6;2263:2;2251:9;2242:7;2238:23;2234:32;2231:52;;;2279:1;2276;2269:12;2231:52;-1:-1:-1;2302:23:1;;2151:180;-1:-1:-1;2151:180:1:o;2726:186::-;2785:6;2838:2;2826:9;2817:7;2813:23;2809:32;2806:52;;;2854:1;2851;2844:12;2806:52;2877:29;2896:9;2877:29;:::i;2917:328::-;2994:6;3002;3010;3063:2;3051:9;3042:7;3038:23;3034:32;3031:52;;;3079:1;3076;3069:12;3031:52;3102:29;3121:9;3102:29;:::i;:::-;3092:39;;3150:38;3184:2;3173:9;3169:18;3150:38;:::i;:::-;3140:48;;3235:2;3224:9;3220:18;3207:32;3197:42;;2917:328;;;;;:::o;3250:248::-;3318:6;3326;3379:2;3367:9;3358:7;3354:23;3350:32;3347:52;;;3395:1;3392;3385:12;3347:52;-1:-1:-1;;3418:23:1;;;3488:2;3473:18;;;3460:32;;-1:-1:-1;3250:248:1:o;3782:127::-;3843:10;3838:3;3834:20;3831:1;3824:31;3874:4;3871:1;3864:15;3898:4;3895:1;3888:15;3914:275;3985:2;3979:9;4050:2;4031:13;;-1:-1:-1;;4027:27:1;4015:40;;4085:18;4070:34;;4106:22;;;4067:62;4064:88;;;4132:18;;:::i;:::-;4168:2;4161:22;3914:275;;-1:-1:-1;3914:275:1:o;4194:407::-;4259:5;4293:18;4285:6;4282:30;4279:56;;;4315:18;;:::i;:::-;4353:57;4398:2;4377:15;;-1:-1:-1;;4373:29:1;4404:4;4369:40;4353:57;:::i;:::-;4344:66;;4433:6;4426:5;4419:21;4473:3;4464:6;4459:3;4455:16;4452:25;4449:45;;;4490:1;4487;4480:12;4449:45;4539:6;4534:3;4527:4;4520:5;4516:16;4503:43;4593:1;4586:4;4577:6;4570:5;4566:18;4562:29;4555:40;4194:407;;;;;:::o;4606:451::-;4675:6;4728:2;4716:9;4707:7;4703:23;4699:32;4696:52;;;4744:1;4741;4734:12;4696:52;4784:9;4771:23;4817:18;4809:6;4806:30;4803:50;;;4849:1;4846;4839:12;4803:50;4872:22;;4925:4;4917:13;;4913:27;-1:-1:-1;4903:55:1;;4954:1;4951;4944:12;4903:55;4977:74;5043:7;5038:2;5025:16;5020:2;5016;5012:11;4977:74;:::i;5062:952::-;5146:6;5177:2;5220;5208:9;5199:7;5195:23;5191:32;5188:52;;;5236:1;5233;5226:12;5188:52;5276:9;5263:23;5305:18;5346:2;5338:6;5335:14;5332:34;;;5362:1;5359;5352:12;5332:34;5400:6;5389:9;5385:22;5375:32;;5445:7;5438:4;5434:2;5430:13;5426:27;5416:55;;5467:1;5464;5457:12;5416:55;5503:2;5490:16;5525:2;5521;5518:10;5515:36;;;5531:18;;:::i;:::-;5577:2;5574:1;5570:10;5560:20;;5600:28;5624:2;5620;5616:11;5600:28;:::i;:::-;5662:15;;;5732:11;;;5728:20;;;5693:12;;;;5760:19;;;5757:39;;;5792:1;5789;5782:12;5757:39;5816:11;;;;5836:148;5852:6;5847:3;5844:15;5836:148;;;5918:23;5937:3;5918:23;:::i;:::-;5906:36;;5869:12;;;;5962;;;;5836:148;;;6003:5;5062:952;-1:-1:-1;;;;;;;;5062:952:1:o;6019:118::-;6105:5;6098:13;6091:21;6084:5;6081:32;6071:60;;6127:1;6124;6117:12;6142:315;6207:6;6215;6268:2;6256:9;6247:7;6243:23;6239:32;6236:52;;;6284:1;6281;6274:12;6236:52;6307:29;6326:9;6307:29;:::i;:::-;6297:39;;6386:2;6375:9;6371:18;6358:32;6399:28;6421:5;6399:28;:::i;6462:667::-;6557:6;6565;6573;6581;6634:3;6622:9;6613:7;6609:23;6605:33;6602:53;;;6651:1;6648;6641:12;6602:53;6674:29;6693:9;6674:29;:::i;:::-;6664:39;;6722:38;6756:2;6745:9;6741:18;6722:38;:::i;:::-;6712:48;;6807:2;6796:9;6792:18;6779:32;6769:42;;6862:2;6851:9;6847:18;6834:32;6889:18;6881:6;6878:30;6875:50;;;6921:1;6918;6911:12;6875:50;6944:22;;6997:4;6989:13;;6985:27;-1:-1:-1;6975:55:1;;7026:1;7023;7016:12;6975:55;7049:74;7115:7;7110:2;7097:16;7092:2;7088;7084:11;7049:74;:::i;:::-;7039:84;;;6462:667;;;;;;;:::o;7134:260::-;7202:6;7210;7263:2;7251:9;7242:7;7238:23;7234:32;7231:52;;;7279:1;7276;7269:12;7231:52;7302:29;7321:9;7302:29;:::i;:::-;7292:39;;7350:38;7384:2;7373:9;7369:18;7350:38;:::i;:::-;7340:48;;7134:260;;;;;:::o;7399:245::-;7466:6;7519:2;7507:9;7498:7;7494:23;7490:32;7487:52;;;7535:1;7532;7525:12;7487:52;7567:9;7561:16;7586:28;7608:5;7586:28;:::i;7649:380::-;7728:1;7724:12;;;;7771;;;7792:61;;7846:4;7838:6;7834:17;7824:27;;7792:61;7899:2;7891:6;7888:14;7868:18;7865:38;7862:161;;7945:10;7940:3;7936:20;7933:1;7926:31;7980:4;7977:1;7970:15;8008:4;8005:1;7998:15;7862:161;;7649:380;;;:::o;8867:410::-;9069:2;9051:21;;;9108:2;9088:18;;;9081:30;9147:34;9142:2;9127:18;;9120:62;-1:-1:-1;;;9213:2:1;9198:18;;9191:44;9267:3;9252:19;;8867:410::o;9282:127::-;9343:10;9338:3;9334:20;9331:1;9324:31;9374:4;9371:1;9364:15;9398:4;9395:1;9388:15;9414:168;9454:7;9520:1;9516;9512:6;9508:14;9505:1;9502:21;9497:1;9490:9;9483:17;9479:45;9476:71;;;9527:18;;:::i;:::-;-1:-1:-1;9567:9:1;;9414:168::o;9587:127::-;9648:10;9643:3;9639:20;9636:1;9629:31;9679:4;9676:1;9669:15;9703:4;9700:1;9693:15;9719:120;9759:1;9785;9775:35;;9790:18;;:::i;:::-;-1:-1:-1;9824:9:1;;9719:120::o;10669:127::-;10730:10;10725:3;10721:20;10718:1;10711:31;10761:4;10758:1;10751:15;10785:4;10782:1;10775:15;10801:135;10840:3;10861:17;;;10858:43;;10881:18;;:::i;:::-;-1:-1:-1;10928:1:1;10917:13;;10801:135::o;12825:470::-;13004:3;13042:6;13036:13;13058:53;13104:6;13099:3;13092:4;13084:6;13080:17;13058:53;:::i;:::-;13174:13;;13133:16;;;;13196:57;13174:13;13133:16;13230:4;13218:17;;13196:57;:::i;:::-;13269:20;;12825:470;-1:-1:-1;;;;12825:470:1:o;14358:125::-;14398:4;14426:1;14423;14420:8;14417:34;;;14431:18;;:::i;:::-;-1:-1:-1;14468:9:1;;14358:125::o;17541:128::-;17581:3;17612:1;17608:6;17605:1;17602:13;17599:39;;;17618:18;;:::i;:::-;-1:-1:-1;17654:9:1;;17541:128::o;18028:414::-;18230:2;18212:21;;;18269:2;18249:18;;;18242:30;18308:34;18303:2;18288:18;;18281:62;-1:-1:-1;;;18374:2:1;18359:18;;18352:48;18432:3;18417:19;;18028:414::o;19165:112::-;19197:1;19223;19213:35;;19228:18;;:::i;:::-;-1:-1:-1;19262:9:1;;19165:112::o;19282:489::-;-1:-1:-1;;;;;19551:15:1;;;19533:34;;19603:15;;19598:2;19583:18;;19576:43;19650:2;19635:18;;19628:34;;;19698:3;19693:2;19678:18;;19671:31;;;19476:4;;19719:46;;19745:19;;19737:6;19719:46;:::i;:::-;19711:54;19282:489;-1:-1:-1;;;;;;19282:489:1:o;19776:249::-;19845:6;19898:2;19886:9;19877:7;19873:23;19869:32;19866:52;;;19914:1;19911;19904:12;19866:52;19946:9;19940:16;19965:30;19989:5;19965:30;:::i;20030:127::-;20091:10;20086:3;20082:20;20079:1;20072:31;20122:4;20119:1;20112:15;20146:4;20143:1;20136:15

Swarm Source

ipfs://928b9e925b2cd9799277ba020267238028314e14081bdbb61c629fb1f7d88bed
Loading