Token Food & Friends: Klima

 

Overview

TokenID:
3

Transfers:
-

 
Loading
[ Download CSV Export  ] 
Loading
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
ERC721FoodAndFriendsToken

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at PolygonScan.com on 2023-05-08
*/

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

// SPDX-License-Identifier: MIT
// 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: @openzeppelin/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: @openzeppelin/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: @openzeppelin/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: @openzeppelin/contracts/token/ERC721/IERC721.sol

// OpenZeppelin Contracts (last updated v4.8.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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol

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

pragma solidity ^0.8.0;

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

// File: @openzeppelin/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: @openzeppelin/contracts/utils/Address.sol

// OpenZeppelin Contracts (last updated v4.8.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: @openzeppelin/contracts/utils/math/Math.sol

// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/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: @openzeppelin/contracts/token/ERC721/ERC721.sol

// OpenZeppelin Contracts (last updated v4.8.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 = _ownerOf(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 or 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 or 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 or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @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 _ownerOf(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, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

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

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

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @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. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256, /* firstTokenId */
        uint256 batchSize
    ) internal virtual {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}
}

// File: contracts/ERC721FoodAndFriendsToken.sol

pragma solidity ^0.8.0;

/**
 * @title ERC721FoodAndFriendsToken
 * @dev ERC721 token contract for Food & Friends.
 */
contract ERC721FoodAndFriendsToken is ERC721, IERC2981, Ownable {
    using Math for uint256;
    using Strings for uint256;

    string private _metadataUriPrefix;
    address private _beneficiary;

    uint16 constant ROYALTIES_PERMILLE = 75;

    /**
     * @dev Creates token instance with royalties beneficiary address set to `beneficiary`, metadata URI prefix set to `metadataUriPrefix`, identified by `name and `symbol` and mints `count` of tokens to `wallet`.
     */
    constructor(address beneficiary, address wallet, string memory name, string memory symbol, string memory metadataUriPrefix, uint96 count) ERC721(name, symbol) {
        require(wallet != address(0), "ERC721FoodAndFriendsToken: cannot mint to the zero address");
        require(count > 0, "ERC721FoodAndFriendsToken: count cannot be 0");

        _beneficiary = beneficiary;
        _metadataUriPrefix = metadataUriPrefix;

        for (uint i = 1; i <= count; ++i) {
            _mint(wallet, i);
        }
    }

    /**
     * @dev Sets royalties beneficiary to `beneficiary`.
     */
    function setBeneficiary(address beneficiary) external onlyOwner {
        require(beneficiary != _beneficiary, "ERC721FoodAndFriendsToken: new value is the same");

        _beneficiary = beneficiary;
    }

    /**
     * @dev Sets metadata URI prefix to `metadataUriPrefix`.
     */
    function setMetadataUriPrefix(string calldata metadataUriPrefix) external onlyOwner {
        require(keccak256(abi.encodePacked(metadataUriPrefix)) != keccak256(abi.encodePacked(_metadataUriPrefix)), "ERC721FoodAndFriendsToken: new value is the same");

        _metadataUriPrefix = metadataUriPrefix;
    }

    /**
     * @dev Returns metadata URI for given `identifier`.
     */
    function tokenURI(uint256 identifier) public view override returns (string memory) {
        require(_exists(identifier), "ERC721FoodAndFriendsToken: token does not exist");

        return string(abi.encodePacked(_metadataUriPrefix, identifier.toString(), ".json"));
    }

    /**
     * @dev See {IERC2981-royaltyInfo}.
     */
    function royaltyInfo(uint256 identifier, uint256 salePrice) public view override returns (address, uint256) {
        require(_exists(identifier), "ERC721FoodAndFriendsToken: token does not exist");
        require(salePrice > 0, "ERC721FoodAndFriendsToken: salePrice cannot be 0");

        if (_beneficiary == address(0)) {
            return (_beneficiary, 0);
        }

        return (_beneficiary, salePrice.mulDiv(ROYALTIES_PERMILLE, 1000));
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"address","name":"wallet","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"metadataUriPrefix","type":"string"},{"internalType":"uint96","name":"count","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":[{"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":[],"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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"identifier","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":"address","name":"beneficiary","type":"address"}],"name":"setBeneficiary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"metadataUriPrefix","type":"string"}],"name":"setMetadataUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceIdentifier","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":"identifier","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620041dd380380620041dd8339818101604052810190620000379190620008f6565b838381600090816200004a919062000c3a565b5080600190816200005c919062000c3a565b5050506200007f62000073620001e860201b60201c565b620001f060201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603620000f1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000e89062000da8565b60405180910390fd5b6000816bffffffffffffffffffffffff161162000145576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200013c9062000e40565b60405180910390fd5b85600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816007908162000197919062000c3a565b506000600190505b816bffffffffffffffffffffffff168111620001db57620001c78682620002b660201b60201c565b80620001d39062000e91565b90506200019f565b5050505050505062001038565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000328576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200031f9062000f2e565b60405180910390fd5b6200033981620004fc60201b60201c565b156200037c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003739062000fa0565b60405180910390fd5b620003926000838360016200054560201b60201c565b620003a381620004fc60201b60201c565b15620003e6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003dd9062000fa0565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4620004f86000838360016200067260201b60201c565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff1662000526836200067860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60018111156200066c57600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614620005dd5780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620005d5919062000fc2565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146200066b5780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000663919062000ffd565b925050819055505b5b50505050565b50505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006f682620006c9565b9050919050565b6200070881620006e9565b81146200071457600080fd5b50565b6000815190506200072881620006fd565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620007838262000738565b810181811067ffffffffffffffff82111715620007a557620007a462000749565b5b80604052505050565b6000620007ba620006b5565b9050620007c8828262000778565b919050565b600067ffffffffffffffff821115620007eb57620007ea62000749565b5b620007f68262000738565b9050602081019050919050565b60005b838110156200082357808201518184015260208101905062000806565b60008484015250505050565b6000620008466200084084620007cd565b620007ae565b90508281526020810184848401111562000865576200086462000733565b5b6200087284828562000803565b509392505050565b600082601f8301126200089257620008916200072e565b5b8151620008a48482602086016200082f565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b620008d081620008ad565b8114620008dc57600080fd5b50565b600081519050620008f081620008c5565b92915050565b60008060008060008060c08789031215620009165762000915620006bf565b5b60006200092689828a0162000717565b96505060206200093989828a0162000717565b955050604087015167ffffffffffffffff8111156200095d576200095c620006c4565b5b6200096b89828a016200087a565b945050606087015167ffffffffffffffff8111156200098f576200098e620006c4565b5b6200099d89828a016200087a565b935050608087015167ffffffffffffffff811115620009c157620009c0620006c4565b5b620009cf89828a016200087a565b92505060a0620009e289828a01620008df565b9150509295509295509295565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000a4257607f821691505b60208210810362000a585762000a57620009fa565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000ac27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000a83565b62000ace868362000a83565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000b1b62000b1562000b0f8462000ae6565b62000af0565b62000ae6565b9050919050565b6000819050919050565b62000b378362000afa565b62000b4f62000b468262000b22565b84845462000a90565b825550505050565b600090565b62000b6662000b57565b62000b7381848462000b2c565b505050565b5b8181101562000b9b5762000b8f60008262000b5c565b60018101905062000b79565b5050565b601f82111562000bea5762000bb48162000a5e565b62000bbf8462000a73565b8101602085101562000bcf578190505b62000be762000bde8562000a73565b83018262000b78565b50505b505050565b600082821c905092915050565b600062000c0f6000198460080262000bef565b1980831691505092915050565b600062000c2a838362000bfc565b9150826002028217905092915050565b62000c4582620009ef565b67ffffffffffffffff81111562000c615762000c6062000749565b5b62000c6d825462000a29565b62000c7a82828562000b9f565b600060209050601f83116001811462000cb2576000841562000c9d578287015190505b62000ca9858262000c1c565b86555062000d19565b601f19841662000cc28662000a5e565b60005b8281101562000cec5784890151825560018201915060208501945060208101905062000cc5565b8683101562000d0c578489015162000d08601f89168262000bfc565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f455243373231466f6f64416e64467269656e6473546f6b656e3a2063616e6e6f60008201527f74206d696e7420746f20746865207a65726f2061646472657373000000000000602082015250565b600062000d90603a8362000d21565b915062000d9d8262000d32565b604082019050919050565b6000602082019050818103600083015262000dc38162000d81565b9050919050565b7f455243373231466f6f64416e64467269656e6473546f6b656e3a20636f756e7460008201527f2063616e6e6f7420626520300000000000000000000000000000000000000000602082015250565b600062000e28602c8362000d21565b915062000e358262000dca565b604082019050919050565b6000602082019050818103600083015262000e5b8162000e19565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000e9e8262000ae6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820362000ed35762000ed262000e62565b5b600182019050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600062000f1660208362000d21565b915062000f238262000ede565b602082019050919050565b6000602082019050818103600083015262000f498162000f07565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600062000f88601c8362000d21565b915062000f958262000f50565b602082019050919050565b6000602082019050818103600083015262000fbb8162000f79565b9050919050565b600062000fcf8262000ae6565b915062000fdc8362000ae6565b925082820390508181111562000ff75762000ff662000e62565b5b92915050565b60006200100a8262000ae6565b9150620010178362000ae6565b925082820190508082111562001032576200103162000e62565b5b92915050565b61319580620010486000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063ad2628cd11610071578063ad2628cd14610307578063b88d4fde14610323578063c87b56dd1461033f578063e985e9c51461036f578063f2fde38b1461039f57610121565b806370a0823114610275578063715018a6146102a55780638da5cb5b146102af57806395d89b41146102cd578063a22cb465146102eb57610121565b80631c31f710116100f45780631c31f710146101c057806323b872dd146101dc5780632a55205a146101f857806342842e0e146102295780636352211e1461024557610121565b806301ffc9a71461012657806306fdde0314610156578063081812fc14610174578063095ea7b3146101a4575b600080fd5b610140600480360381019061013b9190611d52565b6103bb565b60405161014d9190611d9a565b60405180910390f35b61015e610435565b60405161016b9190611e45565b60405180910390f35b61018e60048036038101906101899190611e9d565b6104c7565b60405161019b9190611f0b565b60405180910390f35b6101be60048036038101906101b99190611f52565b61050d565b005b6101da60048036038101906101d59190611f92565b610624565b005b6101f660048036038101906101f19190611fbf565b610700565b005b610212600480360381019061020d9190612012565b610760565b604051610220929190612061565b60405180910390f35b610243600480360381019061023e9190611fbf565b6108bd565b005b61025f600480360381019061025a9190611e9d565b6108dd565b60405161026c9190611f0b565b60405180910390f35b61028f600480360381019061028a9190611f92565b610963565b60405161029c919061208a565b60405180910390f35b6102ad610a1a565b005b6102b7610a2e565b6040516102c49190611f0b565b60405180910390f35b6102d5610a58565b6040516102e29190611e45565b60405180910390f35b610305600480360381019061030091906120d1565b610aea565b005b610321600480360381019061031c9190612176565b610b00565b005b61033d600480360381019061033891906122f3565b610baf565b005b61035960048036038101906103549190611e9d565b610c11565b6040516103669190611e45565b60405180910390f35b61038960048036038101906103849190612376565b610c8d565b6040516103969190611d9a565b60405180910390f35b6103b960048036038101906103b49190611f92565b610d21565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061042e575061042d82610da4565b5b9050919050565b606060008054610444906123e5565b80601f0160208091040260200160405190810160405280929190818152602001828054610470906123e5565b80156104bd5780601f10610492576101008083540402835291602001916104bd565b820191906000526020600020905b8154815290600101906020018083116104a057829003601f168201915b5050505050905090565b60006104d282610e86565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610518826108dd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057f90612488565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166105a7610ed1565b73ffffffffffffffffffffffffffffffffffffffff1614806105d657506105d5816105d0610ed1565b610c8d565b5b610615576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060c9061251a565b60405180910390fd5b61061f8383610ed9565b505050565b61062c610f92565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036106bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b3906125ac565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61071161070b610ed1565b82611010565b610750576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107479061263e565b60405180910390fd5b61075b8383836110a5565b505050565b60008061076c8461139e565b6107ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a2906126d0565b60405180910390fd5b600083116107ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e590612762565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361087257600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000915091506108b6565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166108b1604b61ffff166103e8866113df9092919063ffffffff16565b915091505b9250929050565b6108d883838360405180602001604052806000815250610baf565b505050565b6000806108e9836114ba565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361095a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610951906127ce565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036109d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ca90612860565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a22610f92565b610a2c60006114f7565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610a67906123e5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a93906123e5565b8015610ae05780601f10610ab557610100808354040283529160200191610ae0565b820191906000526020600020905b815481529060010190602001808311610ac357829003601f168201915b5050505050905090565b610afc610af5610ed1565b83836115bd565b5050565b610b08610f92565b6007604051602001610b1a9190612923565b604051602081830303815290604052805190602001208282604051602001610b4392919061295f565b6040516020818303038152906040528051906020012003610b99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b90906125ac565b60405180910390fd5b818160079182610baa929190612b1a565b505050565b610bc0610bba610ed1565b83611010565b610bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf69061263e565b60405180910390fd5b610c0b84848484611729565b50505050565b6060610c1c8261139e565b610c5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c52906126d0565b60405180910390fd5b6007610c6683611785565b604051602001610c77929190612c67565b6040516020818303038152906040529050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610d29610f92565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8f90612d08565b60405180910390fd5b610da1816114f7565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e6f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e7f5750610e7e82611853565b5b9050919050565b610e8f8161139e565b610ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec5906127ce565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16610f4c836108dd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610f9a610ed1565b73ffffffffffffffffffffffffffffffffffffffff16610fb8610a2e565b73ffffffffffffffffffffffffffffffffffffffff161461100e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100590612d74565b60405180910390fd5b565b60008061101c836108dd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061105e575061105d8185610c8d565b5b8061109c57508373ffffffffffffffffffffffffffffffffffffffff16611084846104c7565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166110c5826108dd565b73ffffffffffffffffffffffffffffffffffffffff161461111b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111290612e06565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361118a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118190612e98565b60405180910390fd5b61119783838360016118bd565b8273ffffffffffffffffffffffffffffffffffffffff166111b7826108dd565b73ffffffffffffffffffffffffffffffffffffffff161461120d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120490612e06565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461139983838360016119e3565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff166113c0836114ba565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600080600080198587098587029250828110838203039150506000810361141a578382816114105761140f612eb8565b5b04925050506114b3565b80841161142657600080fd5b60008486880990508281118203915080830392506000600186190186169050808604955080840493506001818260000304019050808302841793506000600287600302189050808702600203810290508087026002038102905080870260020381029050808702600203810290508087026002038102905080870260020381029050808502955050505050505b9392505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361162b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162290612f33565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161171c9190611d9a565b60405180910390a3505050565b6117348484846110a5565b611740848484846119e9565b61177f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177690612fc5565b60405180910390fd5b50505050565b60606000600161179484611b70565b01905060008167ffffffffffffffff8111156117b3576117b26121c8565b5b6040519080825280601f01601f1916602001820160405280156117e55781602001600182028036833780820191505090505b509050600082602001820190505b600115611848578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161183c5761183b612eb8565b5b049450600085036117f3575b819350505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60018111156119dd57600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146119515780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119499190613014565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146119dc5780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119d49190613048565b925050819055505b5b50505050565b50505050565b6000611a0a8473ffffffffffffffffffffffffffffffffffffffff16611cc3565b15611b63578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611a33610ed1565b8786866040518563ffffffff1660e01b8152600401611a5594939291906130d1565b6020604051808303816000875af1925050508015611a9157506040513d601f19601f82011682018060405250810190611a8e9190613132565b60015b611b13573d8060008114611ac1576040519150601f19603f3d011682016040523d82523d6000602084013e611ac6565b606091505b506000815103611b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0290612fc5565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611b68565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611bce577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611bc457611bc3612eb8565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611c0b576d04ee2d6d415b85acef81000000008381611c0157611c00612eb8565b5b0492506020810190505b662386f26fc100008310611c3a57662386f26fc100008381611c3057611c2f612eb8565b5b0492506010810190505b6305f5e1008310611c63576305f5e1008381611c5957611c58612eb8565b5b0492506008810190505b6127108310611c88576127108381611c7e57611c7d612eb8565b5b0492506004810190505b60648310611cab5760648381611ca157611ca0612eb8565b5b0492506002810190505b600a8310611cba576001810190505b80915050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611d2f81611cfa565b8114611d3a57600080fd5b50565b600081359050611d4c81611d26565b92915050565b600060208284031215611d6857611d67611cf0565b5b6000611d7684828501611d3d565b91505092915050565b60008115159050919050565b611d9481611d7f565b82525050565b6000602082019050611daf6000830184611d8b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611def578082015181840152602081019050611dd4565b60008484015250505050565b6000601f19601f8301169050919050565b6000611e1782611db5565b611e218185611dc0565b9350611e31818560208601611dd1565b611e3a81611dfb565b840191505092915050565b60006020820190508181036000830152611e5f8184611e0c565b905092915050565b6000819050919050565b611e7a81611e67565b8114611e8557600080fd5b50565b600081359050611e9781611e71565b92915050565b600060208284031215611eb357611eb2611cf0565b5b6000611ec184828501611e88565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611ef582611eca565b9050919050565b611f0581611eea565b82525050565b6000602082019050611f206000830184611efc565b92915050565b611f2f81611eea565b8114611f3a57600080fd5b50565b600081359050611f4c81611f26565b92915050565b60008060408385031215611f6957611f68611cf0565b5b6000611f7785828601611f3d565b9250506020611f8885828601611e88565b9150509250929050565b600060208284031215611fa857611fa7611cf0565b5b6000611fb684828501611f3d565b91505092915050565b600080600060608486031215611fd857611fd7611cf0565b5b6000611fe686828701611f3d565b9350506020611ff786828701611f3d565b925050604061200886828701611e88565b9150509250925092565b6000806040838503121561202957612028611cf0565b5b600061203785828601611e88565b925050602061204885828601611e88565b9150509250929050565b61205b81611e67565b82525050565b60006040820190506120766000830185611efc565b6120836020830184612052565b9392505050565b600060208201905061209f6000830184612052565b92915050565b6120ae81611d7f565b81146120b957600080fd5b50565b6000813590506120cb816120a5565b92915050565b600080604083850312156120e8576120e7611cf0565b5b60006120f685828601611f3d565b9250506020612107858286016120bc565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f84011261213657612135612111565b5b8235905067ffffffffffffffff81111561215357612152612116565b5b60208301915083600182028301111561216f5761216e61211b565b5b9250929050565b6000806020838503121561218d5761218c611cf0565b5b600083013567ffffffffffffffff8111156121ab576121aa611cf5565b5b6121b785828601612120565b92509250509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61220082611dfb565b810181811067ffffffffffffffff8211171561221f5761221e6121c8565b5b80604052505050565b6000612232611ce6565b905061223e82826121f7565b919050565b600067ffffffffffffffff82111561225e5761225d6121c8565b5b61226782611dfb565b9050602081019050919050565b82818337600083830152505050565b600061229661229184612243565b612228565b9050828152602081018484840111156122b2576122b16121c3565b5b6122bd848285612274565b509392505050565b600082601f8301126122da576122d9612111565b5b81356122ea848260208601612283565b91505092915050565b6000806000806080858703121561230d5761230c611cf0565b5b600061231b87828801611f3d565b945050602061232c87828801611f3d565b935050604061233d87828801611e88565b925050606085013567ffffffffffffffff81111561235e5761235d611cf5565b5b61236a878288016122c5565b91505092959194509250565b6000806040838503121561238d5761238c611cf0565b5b600061239b85828601611f3d565b92505060206123ac85828601611f3d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806123fd57607f821691505b6020821081036124105761240f6123b6565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612472602183611dc0565b915061247d82612416565b604082019050919050565b600060208201905081810360008301526124a181612465565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000612504603d83611dc0565b915061250f826124a8565b604082019050919050565b60006020820190508181036000830152612533816124f7565b9050919050565b7f455243373231466f6f64416e64467269656e6473546f6b656e3a206e6577207660008201527f616c7565206973207468652073616d6500000000000000000000000000000000602082015250565b6000612596603083611dc0565b91506125a18261253a565b604082019050919050565b600060208201905081810360008301526125c581612589565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000612628602d83611dc0565b9150612633826125cc565b604082019050919050565b600060208201905081810360008301526126578161261b565b9050919050565b7f455243373231466f6f64416e64467269656e6473546f6b656e3a20746f6b656e60008201527f20646f6573206e6f742065786973740000000000000000000000000000000000602082015250565b60006126ba602f83611dc0565b91506126c58261265e565b604082019050919050565b600060208201905081810360008301526126e9816126ad565b9050919050565b7f455243373231466f6f64416e64467269656e6473546f6b656e3a2073616c655060008201527f726963652063616e6e6f74206265203000000000000000000000000000000000602082015250565b600061274c603083611dc0565b9150612757826126f0565b604082019050919050565b6000602082019050818103600083015261277b8161273f565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006127b8601883611dc0565b91506127c382612782565b602082019050919050565b600060208201905081810360008301526127e7816127ab565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061284a602983611dc0565b9150612855826127ee565b604082019050919050565b600060208201905081810360008301526128798161283d565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546128ad816123e5565b6128b78186612880565b945060018216600081146128d257600181146128e75761291a565b60ff198316865281151582028601935061291a565b6128f08561288b565b60005b83811015612912578154818901526001820191506020810190506128f3565b838801955050505b50505092915050565b600061292f82846128a0565b915081905092915050565b60006129468385612880565b9350612953838584612274565b82840190509392505050565b600061296c82848661293a565b91508190509392505050565b600082905092915050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026129d07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612993565b6129da8683612993565b95508019841693508086168417925050509392505050565b6000819050919050565b6000612a17612a12612a0d84611e67565b6129f2565b611e67565b9050919050565b6000819050919050565b612a31836129fc565b612a45612a3d82612a1e565b8484546129a0565b825550505050565b600090565b612a5a612a4d565b612a65818484612a28565b505050565b5b81811015612a8957612a7e600082612a52565b600181019050612a6b565b5050565b601f821115612ace57612a9f8161288b565b612aa884612983565b81016020851015612ab7578190505b612acb612ac385612983565b830182612a6a565b50505b505050565b600082821c905092915050565b6000612af160001984600802612ad3565b1980831691505092915050565b6000612b0a8383612ae0565b9150826002028217905092915050565b612b248383612978565b67ffffffffffffffff811115612b3d57612b3c6121c8565b5b612b4782546123e5565b612b52828285612a8d565b6000601f831160018114612b815760008415612b6f578287013590505b612b798582612afe565b865550612be1565b601f198416612b8f8661288b565b60005b82811015612bb757848901358255600182019150602085019450602081019050612b92565b86831015612bd45784890135612bd0601f891682612ae0565b8355505b6001600288020188555050505b50505050505050565b6000612bf582611db5565b612bff8185612880565b9350612c0f818560208601611dd1565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000612c51600583612880565b9150612c5c82612c1b565b600582019050919050565b6000612c7382856128a0565b9150612c7f8284612bea565b9150612c8a82612c44565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612cf2602683611dc0565b9150612cfd82612c96565b604082019050919050565b60006020820190508181036000830152612d2181612ce5565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612d5e602083611dc0565b9150612d6982612d28565b602082019050919050565b60006020820190508181036000830152612d8d81612d51565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000612df0602583611dc0565b9150612dfb82612d94565b604082019050919050565b60006020820190508181036000830152612e1f81612de3565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612e82602483611dc0565b9150612e8d82612e26565b604082019050919050565b60006020820190508181036000830152612eb181612e75565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612f1d601983611dc0565b9150612f2882612ee7565b602082019050919050565b60006020820190508181036000830152612f4c81612f10565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000612faf603283611dc0565b9150612fba82612f53565b604082019050919050565b60006020820190508181036000830152612fde81612fa2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061301f82611e67565b915061302a83611e67565b925082820390508181111561304257613041612fe5565b5b92915050565b600061305382611e67565b915061305e83611e67565b925082820190508082111561307657613075612fe5565b5b92915050565b600081519050919050565b600082825260208201905092915050565b60006130a38261307c565b6130ad8185613087565b93506130bd818560208601611dd1565b6130c681611dfb565b840191505092915050565b60006080820190506130e66000830187611efc565b6130f36020830186611efc565b6131006040830185612052565b81810360608301526131128184613098565b905095945050505050565b60008151905061312c81611d26565b92915050565b60006020828403121561314857613147611cf0565b5b60006131568482850161311d565b9150509291505056fea264697066735822122070a711490e0972a630dcda077f4325faac9fd832ecb8af9083c156f34774c35e64736f6c634300081200330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a7f7234dd9f0d1095be0358f6fcf51cf010be1ce00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000015466f6f64202620467269656e64733a204b6c696d61000000000000000000000000000000000000000000000000000000000000000000000000000000000000044641464b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f6661662d6e66742f6b6c696d612f00000000000000000000000000000000000000

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

0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a7f7234dd9f0d1095be0358f6fcf51cf010be1ce00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000015466f6f64202620467269656e64733a204b6c696d61000000000000000000000000000000000000000000000000000000000000000000000000000000000000044641464b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f6661662d6e66742f6b6c696d612f00000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : beneficiary (address): 0x0000000000000000000000000000000000000000
Arg [1] : wallet (address): 0xa7f7234dd9f0d1095be0358f6fcf51cf010be1ce
Arg [2] : name (string): Food & Friends: Klima
Arg [3] : symbol (string): FAFK
Arg [4] : metadataUriPrefix (string): https://storage.googleapis.com/faf-nft/klima/
Arg [5] : count (uint96): 5

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [1] : 000000000000000000000000a7f7234dd9f0d1095be0358f6fcf51cf010be1ce
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [7] : 466f6f64202620467269656e64733a204b6c696d610000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 4641464b00000000000000000000000000000000000000000000000000000000
Arg [10] : 000000000000000000000000000000000000000000000000000000000000002d
Arg [11] : 68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f66
Arg [12] : 61662d6e66742f6b6c696d612f00000000000000000000000000000000000000


Deployed ByteCode Sourcemap

55442:2907:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58115:231;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;40353:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;41865:171;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;41383:416;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;56541:210;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;42565:335;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;57579:464;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;42971:185;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;40063:223;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;39794:207;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2803:103;;;:::i;:::-;;2155:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;40522:104;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;42108:155;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;56839:312;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;43227:322;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;57235:277;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;42334:164;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3061:201;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;58115:231;58217:4;58264:26;58241:49;;;:19;:49;;;;:97;;;;58294:44;58318:19;58294:23;:44::i;:::-;58241:97;58234:104;;58115:231;;;:::o;40353:100::-;40407:13;40440:5;40433:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40353:100;:::o;41865:171::-;41941:7;41961:23;41976:7;41961:14;:23::i;:::-;42004:15;:24;42020:7;42004:24;;;;;;;;;;;;;;;;;;;;;41997:31;;41865:171;;;:::o;41383:416::-;41464:13;41480:23;41495:7;41480:14;:23::i;:::-;41464:39;;41528:5;41522:11;;:2;:11;;;41514:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;41622:5;41606:21;;:12;:10;:12::i;:::-;:21;;;:62;;;;41631:37;41648:5;41655:12;:10;:12::i;:::-;41631:16;:37::i;:::-;41606:62;41584:173;;;;;;;;;;;;:::i;:::-;;;;;;;;;41770:21;41779:2;41783:7;41770:8;:21::i;:::-;41453:346;41383:416;;:::o;56541:210::-;2041:13;:11;:13::i;:::-;56639:12:::1;;;;;;;;;;;56624:27;;:11;:27;;::::0;56616:88:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;56732:11;56717:12;;:26;;;;;;;;;;;;;;;;;;56541:210:::0;:::o;42565:335::-;42760:41;42779:12;:10;:12::i;:::-;42793:7;42760:18;:41::i;:::-;42752:99;;;;;;;;;;;;:::i;:::-;;;;;;;;;42864:28;42874:4;42880:2;42884:7;42864:9;:28::i;:::-;42565:335;;;:::o;57579:464::-;57669:7;57678;57706:19;57714:10;57706:7;:19::i;:::-;57698:79;;;;;;;;;;;;:::i;:::-;;;;;;;;;57808:1;57796:9;:13;57788:74;;;;;;;;;;;;:::i;:::-;;;;;;;;;57903:1;57879:26;;:12;;;;;;;;;;;:26;;;57875:83;;57930:12;;;;;;;;;;;57944:1;57922:24;;;;;;57875:83;57978:12;;;;;;;;;;;57992:42;55690:2;57992:42;;58029:4;57992:9;:16;;:42;;;;;:::i;:::-;57970:65;;;;57579:464;;;;;;:::o;42971:185::-;43109:39;43126:4;43132:2;43136:7;43109:39;;;;;;;;;;;;:16;:39::i;:::-;42971:185;;;:::o;40063:223::-;40135:7;40155:13;40171:17;40180:7;40171:8;:17::i;:::-;40155:33;;40224:1;40207:19;;:5;:19;;;40199:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;40273:5;40266:12;;;40063:223;;;:::o;39794:207::-;39866:7;39911:1;39894:19;;:5;:19;;;39886:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;39977:9;:16;39987:5;39977:16;;;;;;;;;;;;;;;;39970:23;;39794:207;;;:::o;2803:103::-;2041:13;:11;:13::i;:::-;2868:30:::1;2895:1;2868:18;:30::i;:::-;2803:103::o:0;2155:87::-;2201:7;2228:6;;;;;;;;;;;2221:13;;2155:87;:::o;40522:104::-;40578:13;40611:7;40604:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40522:104;:::o;42108:155::-;42203:52;42222:12;:10;:12::i;:::-;42236:8;42246;42203:18;:52::i;:::-;42108:155;;:::o;56839:312::-;2041:13;:11;:13::i;:::-;57019:18:::1;57002:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;56992:47;;;;;;56969:17;;56952:35;;;;;;;;;:::i;:::-;;;;;;;;;;;;;56942:46;;;;;;:97:::0;56934:158:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;57126:17;;57105:18;:38;;;;;;;:::i;:::-;;56839:312:::0;;:::o;43227:322::-;43401:41;43420:12;:10;:12::i;:::-;43434:7;43401:18;:41::i;:::-;43393:99;;;;;;;;;;;;:::i;:::-;;;;;;;;;43503:38;43517:4;43523:2;43527:7;43536:4;43503:13;:38::i;:::-;43227:322;;;;:::o;57235:277::-;57303:13;57337:19;57345:10;57337:7;:19::i;:::-;57329:79;;;;;;;;;;;;:::i;:::-;;;;;;;;;57452:18;57472:21;:10;:19;:21::i;:::-;57435:68;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57421:83;;57235:277;;;:::o;42334:164::-;42431:4;42455:18;:25;42474:5;42455:25;;;;;;;;;;;;;;;:35;42481:8;42455:35;;;;;;;;;;;;;;;;;;;;;;;;;42448:42;;42334:164;;;;:::o;3061:201::-;2041:13;:11;:13::i;:::-;3170:1:::1;3150:22;;:8;:22;;::::0;3142:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;3226:28;3245:8;3226:18;:28::i;:::-;3061:201:::0;:::o;39425:305::-;39527:4;39579:25;39564:40;;;:11;:40;;;;:105;;;;39636:33;39621:48;;;:11;:48;;;;39564:105;:158;;;;39686:36;39710:11;39686:23;:36::i;:::-;39564:158;39544:178;;39425:305;;;:::o;51684:135::-;51766:16;51774:7;51766;:16::i;:::-;51758:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;51684:135;:::o;710:98::-;763:7;790:10;783:17;;710:98;:::o;50963:174::-;51065:2;51038:15;:24;51054:7;51038:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;51121:7;51117:2;51083:46;;51092:23;51107:7;51092:14;:23::i;:::-;51083:46;;;;;;;;;;;;50963:174;;:::o;2320:132::-;2395:12;:10;:12::i;:::-;2384:23;;:7;:5;:7::i;:::-;:23;;;2376:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;2320:132::o;45582:264::-;45675:4;45692:13;45708:23;45723:7;45708:14;:23::i;:::-;45692:39;;45761:5;45750:16;;:7;:16;;;:52;;;;45770:32;45787:5;45794:7;45770:16;:32::i;:::-;45750:52;:87;;;;45830:7;45806:31;;:20;45818:7;45806:11;:20::i;:::-;:31;;;45750:87;45742:96;;;45582:264;;;;:::o;49581:1263::-;49740:4;49713:31;;:23;49728:7;49713:14;:23::i;:::-;:31;;;49705:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;49819:1;49805:16;;:2;:16;;;49797:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;49875:42;49896:4;49902:2;49906:7;49915:1;49875:20;:42::i;:::-;50047:4;50020:31;;:23;50035:7;50020:14;:23::i;:::-;:31;;;50012:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;50165:15;:24;50181:7;50165:24;;;;;;;;;;;;50158:31;;;;;;;;;;;50660:1;50641:9;:15;50651:4;50641:15;;;;;;;;;;;;;;;;:20;;;;;;;;;;;50693:1;50676:9;:13;50686:2;50676:13;;;;;;;;;;;;;;;;:18;;;;;;;;;;;50735:2;50716:7;:16;50724:7;50716:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;50774:7;50770:2;50755:27;;50764:4;50755:27;;;;;;;;;;;;50795:41;50815:4;50821:2;50825:7;50834:1;50795:19;:41::i;:::-;49581:1263;;;:::o;45287:128::-;45352:4;45405:1;45376:31;;:17;45385:7;45376:8;:17::i;:::-;:31;;;;45369:38;;45287:128;;;:::o;23560:4005::-;23676:14;24028:13;24101;24228:1;24224:6;24221:1;24218;24211:20;24265:1;24262;24258:9;24249:18;;24321:5;24317:2;24314:13;24306:5;24302:2;24298:14;24294:34;24285:43;;24182:161;24436:1;24427:5;:10;24423:77;;24473:11;24465:5;:19;;;;;:::i;:::-;;;24458:26;;;;;;24423:77;24627:5;24613:11;:19;24605:28;;;;;;24896:17;25034:11;25031:1;25028;25021:25;25008:38;;25165:5;25154:9;25151:20;25144:5;25140:32;25131:41;;25210:9;25203:5;25199:21;25190:30;;25548:12;25593:1;25579:11;25578:12;:16;25563:11;:32;25548:47;;25718:4;25705:11;25701:22;25686:37;;25813:4;25806:5;25802:16;25793:25;;25973:1;25966:4;25959;25956:1;25952:12;25948:23;25944:31;25936:39;;26076:4;26068:5;:12;26059:21;;;;26403:15;26441:1;26426:11;26422:1;:15;26421:21;26403:39;;26692:7;26678:11;:21;26674:1;:25;26663:36;;;;26762:7;26748:11;:21;26744:1;:25;26733:36;;;;26833:7;26819:11;:21;26815:1;:25;26804:36;;;;26904:7;26890:11;:21;26886:1;:25;26875:36;;;;26975:7;26961:11;:21;26957:1;:25;26946:36;;;;27047:7;27033:11;:21;27029:1;:25;27018:36;;;;27511:7;27503:5;:15;27494:24;;27533:13;;;;;23560:4005;;;;;;:::o;44857:117::-;44923:7;44950;:16;44958:7;44950:16;;;;;;;;;;;;;;;;;;;;;44943:23;;44857:117;;;:::o;3422:191::-;3496:16;3515:6;;;;;;;;;;;3496:25;;3541:8;3532:6;;:17;;;;;;;;;;;;;;;;;;3596:8;3565:40;;3586:8;3565:40;;;;;;;;;;;;3485:128;3422:191;:::o;51280:315::-;51435:8;51426:17;;:5;:17;;;51418:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;51522:8;51484:18;:25;51503:5;51484:25;;;;;;;;;;;;;;;:35;51510:8;51484:35;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;51568:8;51546:41;;51561:5;51546:41;;;51578:8;51546:41;;;;;;:::i;:::-;;;;;;;;51280:315;;;:::o;44430:313::-;44586:28;44596:4;44602:2;44606:7;44586:9;:28::i;:::-;44633:47;44656:4;44662:2;44666:7;44675:4;44633:22;:47::i;:::-;44625:110;;;;;;;;;;;;:::i;:::-;;;;;;;;;44430:313;;;;:::o;35115:716::-;35171:13;35222:14;35259:1;35239:17;35250:5;35239:10;:17::i;:::-;:21;35222:38;;35275:20;35309:6;35298:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35275:41;;35331:11;35460:6;35456:2;35452:15;35444:6;35440:28;35433:35;;35497:288;35504:4;35497:288;;;35529:5;;;;;;;;35671:8;35666:2;35659:5;35655:14;35650:30;35645:3;35637:44;35727:2;35718:11;;;;;;:::i;:::-;;;;;35761:1;35752:5;:10;35497:288;35748:21;35497:288;35806:6;35799:13;;;;;35115:716;;;:::o;37870:157::-;37955:4;37994:25;37979:40;;;:11;:40;;;;37972:47;;37870:157;;;:::o;53968:410::-;54158:1;54146:9;:13;54142:229;;;54196:1;54180:18;;:4;:18;;;54176:87;;54238:9;54219;:15;54229:4;54219:15;;;;;;;;;;;;;;;;:28;;;;;;;:::i;:::-;;;;;;;;54176:87;54295:1;54281:16;;:2;:16;;;54277:83;;54335:9;54318;:13;54328:2;54318:13;;;;;;;;;;;;;;;;:26;;;;;;;:::i;:::-;;;;;;;;54277:83;54142:229;53968:410;;;;:::o;55100:158::-;;;;;:::o;52383:853::-;52537:4;52558:15;:2;:13;;;:15::i;:::-;52554:675;;;52610:2;52594:36;;;52631:12;:10;:12::i;:::-;52645:4;52651:7;52660:4;52594:71;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;52590:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52852:1;52835:6;:13;:18;52831:328;;52878:60;;;;;;;;;;:::i;:::-;;;;;;;;52831:328;53109:6;53103:13;53094:6;53090:2;53086:15;53079:38;52590:584;52726:41;;;52716:51;;;:6;:51;;;;52709:58;;;;;52554:675;53213:4;53206:11;;52383:853;;;;;;;:::o;31985:922::-;32038:7;32058:14;32075:1;32058:18;;32125:6;32116:5;:15;32112:102;;32161:6;32152:15;;;;;;:::i;:::-;;;;;32196:2;32186:12;;;;32112:102;32241:6;32232:5;:15;32228:102;;32277:6;32268:15;;;;;;:::i;:::-;;;;;32312:2;32302:12;;;;32228:102;32357:6;32348:5;:15;32344:102;;32393:6;32384:15;;;;;;:::i;:::-;;;;;32428:2;32418:12;;;;32344:102;32473:5;32464;:14;32460:99;;32508:5;32499:14;;;;;;:::i;:::-;;;;;32542:1;32532:11;;;;32460:99;32586:5;32577;:14;32573:99;;32621:5;32612:14;;;;;;:::i;:::-;;;;;32655:1;32645:11;;;;32573:99;32699:5;32690;:14;32686:99;;32734:5;32725:14;;;;;;:::i;:::-;;;;;32768:1;32758:11;;;;32686:99;32812:5;32803;:14;32799:66;;32848:1;32838:11;;;;32799:66;32893:6;32886:13;;;31985:922;;;:::o;13621:326::-;13681:4;13938:1;13916:7;:19;;;:23;13909:30;;13621:326;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:246::-;1879:1;1889:113;1903:6;1900:1;1897:13;1889:113;;;1988:1;1983:3;1979:11;1973:18;1969:1;1964:3;1960:11;1953:39;1925:2;1922:1;1918:10;1913:15;;1889:113;;;2036:1;2027:6;2022:3;2018:16;2011:27;1860:184;1798:246;;;:::o;2050:102::-;2091:6;2142:2;2138:7;2133:2;2126:5;2122:14;2118:28;2108:38;;2050:102;;;:::o;2158:377::-;2246:3;2274:39;2307:5;2274:39;:::i;:::-;2329:71;2393:6;2388:3;2329:71;:::i;:::-;2322:78;;2409:65;2467:6;2462:3;2455:4;2448:5;2444:16;2409:65;:::i;:::-;2499:29;2521:6;2499:29;:::i;:::-;2494:3;2490:39;2483:46;;2250:285;2158:377;;;;:::o;2541:313::-;2654:4;2692:2;2681:9;2677:18;2669:26;;2741:9;2735:4;2731:20;2727:1;2716:9;2712:17;2705:47;2769:78;2842:4;2833:6;2769:78;:::i;:::-;2761:86;;2541:313;;;;:::o;2860:77::-;2897:7;2926:5;2915:16;;2860:77;;;:::o;2943:122::-;3016:24;3034:5;3016:24;:::i;:::-;3009:5;3006:35;2996:63;;3055:1;3052;3045:12;2996:63;2943:122;:::o;3071:139::-;3117:5;3155:6;3142:20;3133:29;;3171:33;3198:5;3171:33;:::i;:::-;3071:139;;;;:::o;3216:329::-;3275:6;3324:2;3312:9;3303:7;3299:23;3295:32;3292:119;;;3330:79;;:::i;:::-;3292:119;3450:1;3475:53;3520:7;3511:6;3500:9;3496:22;3475:53;:::i;:::-;3465:63;;3421:117;3216:329;;;;:::o;3551:126::-;3588:7;3628:42;3621:5;3617:54;3606:65;;3551:126;;;:::o;3683:96::-;3720:7;3749:24;3767:5;3749:24;:::i;:::-;3738:35;;3683:96;;;:::o;3785:118::-;3872:24;3890:5;3872:24;:::i;:::-;3867:3;3860:37;3785:118;;:::o;3909:222::-;4002:4;4040:2;4029:9;4025:18;4017:26;;4053:71;4121:1;4110:9;4106:17;4097:6;4053:71;:::i;:::-;3909:222;;;;:::o;4137:122::-;4210:24;4228:5;4210:24;:::i;:::-;4203:5;4200:35;4190:63;;4249:1;4246;4239:12;4190:63;4137:122;:::o;4265:139::-;4311:5;4349:6;4336:20;4327:29;;4365:33;4392:5;4365:33;:::i;:::-;4265:139;;;;:::o;4410:474::-;4478:6;4486;4535:2;4523:9;4514:7;4510:23;4506:32;4503:119;;;4541:79;;:::i;:::-;4503:119;4661:1;4686:53;4731:7;4722:6;4711:9;4707:22;4686:53;:::i;:::-;4676:63;;4632:117;4788:2;4814:53;4859:7;4850:6;4839:9;4835:22;4814:53;:::i;:::-;4804:63;;4759:118;4410:474;;;;;:::o;4890:329::-;4949:6;4998:2;4986:9;4977:7;4973:23;4969:32;4966:119;;;5004:79;;:::i;:::-;4966:119;5124:1;5149:53;5194:7;5185:6;5174:9;5170:22;5149:53;:::i;:::-;5139:63;;5095:117;4890:329;;;;:::o;5225:619::-;5302:6;5310;5318;5367:2;5355:9;5346:7;5342:23;5338:32;5335:119;;;5373:79;;:::i;:::-;5335:119;5493:1;5518:53;5563:7;5554:6;5543:9;5539:22;5518:53;:::i;:::-;5508:63;;5464:117;5620:2;5646:53;5691:7;5682:6;5671:9;5667:22;5646:53;:::i;:::-;5636:63;;5591:118;5748:2;5774:53;5819:7;5810:6;5799:9;5795:22;5774:53;:::i;:::-;5764:63;;5719:118;5225:619;;;;;:::o;5850:474::-;5918:6;5926;5975:2;5963:9;5954:7;5950:23;5946:32;5943:119;;;5981:79;;:::i;:::-;5943:119;6101:1;6126:53;6171:7;6162:6;6151:9;6147:22;6126:53;:::i;:::-;6116:63;;6072:117;6228:2;6254:53;6299:7;6290:6;6279:9;6275:22;6254:53;:::i;:::-;6244:63;;6199:118;5850:474;;;;;:::o;6330:118::-;6417:24;6435:5;6417:24;:::i;:::-;6412:3;6405:37;6330:118;;:::o;6454:332::-;6575:4;6613:2;6602:9;6598:18;6590:26;;6626:71;6694:1;6683:9;6679:17;6670:6;6626:71;:::i;:::-;6707:72;6775:2;6764:9;6760:18;6751:6;6707:72;:::i;:::-;6454:332;;;;;:::o;6792:222::-;6885:4;6923:2;6912:9;6908:18;6900:26;;6936:71;7004:1;6993:9;6989:17;6980:6;6936:71;:::i;:::-;6792:222;;;;:::o;7020:116::-;7090:21;7105:5;7090:21;:::i;:::-;7083:5;7080:32;7070:60;;7126:1;7123;7116:12;7070:60;7020:116;:::o;7142:133::-;7185:5;7223:6;7210:20;7201:29;;7239:30;7263:5;7239:30;:::i;:::-;7142:133;;;;:::o;7281:468::-;7346:6;7354;7403:2;7391:9;7382:7;7378:23;7374:32;7371:119;;;7409:79;;:::i;:::-;7371:119;7529:1;7554:53;7599:7;7590:6;7579:9;7575:22;7554:53;:::i;:::-;7544:63;;7500:117;7656:2;7682:50;7724:7;7715:6;7704:9;7700:22;7682:50;:::i;:::-;7672:60;;7627:115;7281:468;;;;;:::o;7755:117::-;7864:1;7861;7854:12;7878:117;7987:1;7984;7977:12;8001:117;8110:1;8107;8100:12;8138:553;8196:8;8206:6;8256:3;8249:4;8241:6;8237:17;8233:27;8223:122;;8264:79;;:::i;:::-;8223:122;8377:6;8364:20;8354:30;;8407:18;8399:6;8396:30;8393:117;;;8429:79;;:::i;:::-;8393:117;8543:4;8535:6;8531:17;8519:29;;8597:3;8589:4;8581:6;8577:17;8567:8;8563:32;8560:41;8557:128;;;8604:79;;:::i;:::-;8557:128;8138:553;;;;;:::o;8697:529::-;8768:6;8776;8825:2;8813:9;8804:7;8800:23;8796:32;8793:119;;;8831:79;;:::i;:::-;8793:119;8979:1;8968:9;8964:17;8951:31;9009:18;9001:6;8998:30;8995:117;;;9031:79;;:::i;:::-;8995:117;9144:65;9201:7;9192:6;9181:9;9177:22;9144:65;:::i;:::-;9126:83;;;;8922:297;8697:529;;;;;:::o;9232:117::-;9341:1;9338;9331:12;9355:180;9403:77;9400:1;9393:88;9500:4;9497:1;9490:15;9524:4;9521:1;9514:15;9541:281;9624:27;9646:4;9624:27;:::i;:::-;9616:6;9612:40;9754:6;9742:10;9739:22;9718:18;9706:10;9703:34;9700:62;9697:88;;;9765:18;;:::i;:::-;9697:88;9805:10;9801:2;9794:22;9584:238;9541:281;;:::o;9828:129::-;9862:6;9889:20;;:::i;:::-;9879:30;;9918:33;9946:4;9938:6;9918:33;:::i;:::-;9828:129;;;:::o;9963:307::-;10024:4;10114:18;10106:6;10103:30;10100:56;;;10136:18;;:::i;:::-;10100:56;10174:29;10196:6;10174:29;:::i;:::-;10166:37;;10258:4;10252;10248:15;10240:23;;9963:307;;;:::o;10276:146::-;10373:6;10368:3;10363;10350:30;10414:1;10405:6;10400:3;10396:16;10389:27;10276:146;;;:::o;10428:423::-;10505:5;10530:65;10546:48;10587:6;10546:48;:::i;:::-;10530:65;:::i;:::-;10521:74;;10618:6;10611:5;10604:21;10656:4;10649:5;10645:16;10694:3;10685:6;10680:3;10676:16;10673:25;10670:112;;;10701:79;;:::i;:::-;10670:112;10791:54;10838:6;10833:3;10828;10791:54;:::i;:::-;10511:340;10428:423;;;;;:::o;10870:338::-;10925:5;10974:3;10967:4;10959:6;10955:17;10951:27;10941:122;;10982:79;;:::i;:::-;10941:122;11099:6;11086:20;11124:78;11198:3;11190:6;11183:4;11175:6;11171:17;11124:78;:::i;:::-;11115:87;;10931:277;10870:338;;;;:::o;11214:943::-;11309:6;11317;11325;11333;11382:3;11370:9;11361:7;11357:23;11353:33;11350:120;;;11389:79;;:::i;:::-;11350:120;11509:1;11534:53;11579:7;11570:6;11559:9;11555:22;11534:53;:::i;:::-;11524:63;;11480:117;11636:2;11662:53;11707:7;11698:6;11687:9;11683:22;11662:53;:::i;:::-;11652:63;;11607:118;11764:2;11790:53;11835:7;11826:6;11815:9;11811:22;11790:53;:::i;:::-;11780:63;;11735:118;11920:2;11909:9;11905:18;11892:32;11951:18;11943:6;11940:30;11937:117;;;11973:79;;:::i;:::-;11937:117;12078:62;12132:7;12123:6;12112:9;12108:22;12078:62;:::i;:::-;12068:72;;11863:287;11214:943;;;;;;;:::o;12163:474::-;12231:6;12239;12288:2;12276:9;12267:7;12263:23;12259:32;12256:119;;;12294:79;;:::i;:::-;12256:119;12414:1;12439:53;12484:7;12475:6;12464:9;12460:22;12439:53;:::i;:::-;12429:63;;12385:117;12541:2;12567:53;12612:7;12603:6;12592:9;12588:22;12567:53;:::i;:::-;12557:63;;12512:118;12163:474;;;;;:::o;12643:180::-;12691:77;12688:1;12681:88;12788:4;12785:1;12778:15;12812:4;12809:1;12802:15;12829:320;12873:6;12910:1;12904:4;12900:12;12890:22;;12957:1;12951:4;12947:12;12978:18;12968:81;;13034:4;13026:6;13022:17;13012:27;;12968:81;13096:2;13088:6;13085:14;13065:18;13062:38;13059:84;;13115:18;;:::i;:::-;13059:84;12880:269;12829:320;;;:::o;13155:220::-;13295:34;13291:1;13283:6;13279:14;13272:58;13364:3;13359:2;13351:6;13347:15;13340:28;13155:220;:::o;13381:366::-;13523:3;13544:67;13608:2;13603:3;13544:67;:::i;:::-;13537:74;;13620:93;13709:3;13620:93;:::i;:::-;13738:2;13733:3;13729:12;13722:19;;13381:366;;;:::o;13753:419::-;13919:4;13957:2;13946:9;13942:18;13934:26;;14006:9;14000:4;13996:20;13992:1;13981:9;13977:17;13970:47;14034:131;14160:4;14034:131;:::i;:::-;14026:139;;13753:419;;;:::o;14178:248::-;14318:34;14314:1;14306:6;14302:14;14295:58;14387:31;14382:2;14374:6;14370:15;14363:56;14178:248;:::o;14432:366::-;14574:3;14595:67;14659:2;14654:3;14595:67;:::i;:::-;14588:74;;14671:93;14760:3;14671:93;:::i;:::-;14789:2;14784:3;14780:12;14773:19;;14432:366;;;:::o;14804:419::-;14970:4;15008:2;14997:9;14993:18;14985:26;;15057:9;15051:4;15047:20;15043:1;15032:9;15028:17;15021:47;15085:131;15211:4;15085:131;:::i;:::-;15077:139;;14804:419;;;:::o;15229:235::-;15369:34;15365:1;15357:6;15353:14;15346:58;15438:18;15433:2;15425:6;15421:15;15414:43;15229:235;:::o;15470:366::-;15612:3;15633:67;15697:2;15692:3;15633:67;:::i;:::-;15626:74;;15709:93;15798:3;15709:93;:::i;:::-;15827:2;15822:3;15818:12;15811:19;;15470:366;;;:::o;15842:419::-;16008:4;16046:2;16035:9;16031:18;16023:26;;16095:9;16089:4;16085:20;16081:1;16070:9;16066:17;16059:47;16123:131;16249:4;16123:131;:::i;:::-;16115:139;;15842:419;;;:::o;16267:232::-;16407:34;16403:1;16395:6;16391:14;16384:58;16476:15;16471:2;16463:6;16459:15;16452:40;16267:232;:::o;16505:366::-;16647:3;16668:67;16732:2;16727:3;16668:67;:::i;:::-;16661:74;;16744:93;16833:3;16744:93;:::i;:::-;16862:2;16857:3;16853:12;16846:19;;16505:366;;;:::o;16877:419::-;17043:4;17081:2;17070:9;17066:18;17058:26;;17130:9;17124:4;17120:20;17116:1;17105:9;17101:17;17094:47;17158:131;17284:4;17158:131;:::i;:::-;17150:139;;16877:419;;;:::o;17302:234::-;17442:34;17438:1;17430:6;17426:14;17419:58;17511:17;17506:2;17498:6;17494:15;17487:42;17302:234;:::o;17542:366::-;17684:3;17705:67;17769:2;17764:3;17705:67;:::i;:::-;17698:74;;17781:93;17870:3;17781:93;:::i;:::-;17899:2;17894:3;17890:12;17883:19;;17542:366;;;:::o;17914:419::-;18080:4;18118:2;18107:9;18103:18;18095:26;;18167:9;18161:4;18157:20;18153:1;18142:9;18138:17;18131:47;18195:131;18321:4;18195:131;:::i;:::-;18187:139;;17914:419;;;:::o;18339:235::-;18479:34;18475:1;18467:6;18463:14;18456:58;18548:18;18543:2;18535:6;18531:15;18524:43;18339:235;:::o;18580:366::-;18722:3;18743:67;18807:2;18802:3;18743:67;:::i;:::-;18736:74;;18819:93;18908:3;18819:93;:::i;:::-;18937:2;18932:3;18928:12;18921:19;;18580:366;;;:::o;18952:419::-;19118:4;19156:2;19145:9;19141:18;19133:26;;19205:9;19199:4;19195:20;19191:1;19180:9;19176:17;19169:47;19233:131;19359:4;19233:131;:::i;:::-;19225:139;;18952:419;;;:::o;19377:174::-;19517:26;19513:1;19505:6;19501:14;19494:50;19377:174;:::o;19557:366::-;19699:3;19720:67;19784:2;19779:3;19720:67;:::i;:::-;19713:74;;19796:93;19885:3;19796:93;:::i;:::-;19914:2;19909:3;19905:12;19898:19;;19557:366;;;:::o;19929:419::-;20095:4;20133:2;20122:9;20118:18;20110:26;;20182:9;20176:4;20172:20;20168:1;20157:9;20153:17;20146:47;20210:131;20336:4;20210:131;:::i;:::-;20202:139;;19929:419;;;:::o;20354:228::-;20494:34;20490:1;20482:6;20478:14;20471:58;20563:11;20558:2;20550:6;20546:15;20539:36;20354:228;:::o;20588:366::-;20730:3;20751:67;20815:2;20810:3;20751:67;:::i;:::-;20744:74;;20827:93;20916:3;20827:93;:::i;:::-;20945:2;20940:3;20936:12;20929:19;;20588:366;;;:::o;20960:419::-;21126:4;21164:2;21153:9;21149:18;21141:26;;21213:9;21207:4;21203:20;21199:1;21188:9;21184:17;21177:47;21241:131;21367:4;21241:131;:::i;:::-;21233:139;;20960:419;;;:::o;21385:148::-;21487:11;21524:3;21509:18;;21385:148;;;;:::o;21539:141::-;21588:4;21611:3;21603:11;;21634:3;21631:1;21624:14;21668:4;21665:1;21655:18;21647:26;;21539:141;;;:::o;21710:874::-;21813:3;21850:5;21844:12;21879:36;21905:9;21879:36;:::i;:::-;21931:89;22013:6;22008:3;21931:89;:::i;:::-;21924:96;;22051:1;22040:9;22036:17;22067:1;22062:166;;;;22242:1;22237:341;;;;22029:549;;22062:166;22146:4;22142:9;22131;22127:25;22122:3;22115:38;22208:6;22201:14;22194:22;22186:6;22182:35;22177:3;22173:45;22166:52;;22062:166;;22237:341;22304:38;22336:5;22304:38;:::i;:::-;22364:1;22378:154;22392:6;22389:1;22386:13;22378:154;;;22466:7;22460:14;22456:1;22451:3;22447:11;22440:35;22516:1;22507:7;22503:15;22492:26;;22414:4;22411:1;22407:12;22402:17;;22378:154;;;22561:6;22556:3;22552:16;22545:23;;22244:334;;22029:549;;21817:767;;21710:874;;;;:::o;22590:269::-;22719:3;22741:92;22829:3;22820:6;22741:92;:::i;:::-;22734:99;;22850:3;22843:10;;22590:269;;;;:::o;22889:330::-;23005:3;23026:89;23108:6;23103:3;23026:89;:::i;:::-;23019:96;;23125:56;23174:6;23169:3;23162:5;23125:56;:::i;:::-;23206:6;23201:3;23197:16;23190:23;;22889:330;;;;;:::o;23225:295::-;23367:3;23389:105;23490:3;23481:6;23473;23389:105;:::i;:::-;23382:112;;23511:3;23504:10;;23225:295;;;;;:::o;23526:97::-;23585:6;23613:3;23603:13;;23526:97;;;;:::o;23629:93::-;23666:6;23713:2;23708;23701:5;23697:14;23693:23;23683:33;;23629:93;;;:::o;23728:107::-;23772:8;23822:5;23816:4;23812:16;23791:37;;23728:107;;;;:::o;23841:393::-;23910:6;23960:1;23948:10;23944:18;23983:97;24013:66;24002:9;23983:97;:::i;:::-;24101:39;24131:8;24120:9;24101:39;:::i;:::-;24089:51;;24173:4;24169:9;24162:5;24158:21;24149:30;;24222:4;24212:8;24208:19;24201:5;24198:30;24188:40;;23917:317;;23841:393;;;;;:::o;24240:60::-;24268:3;24289:5;24282:12;;24240:60;;;:::o;24306:142::-;24356:9;24389:53;24407:34;24416:24;24434:5;24416:24;:::i;:::-;24407:34;:::i;:::-;24389:53;:::i;:::-;24376:66;;24306:142;;;:::o;24454:75::-;24497:3;24518:5;24511:12;;24454:75;;;:::o;24535:269::-;24645:39;24676:7;24645:39;:::i;:::-;24706:91;24755:41;24779:16;24755:41;:::i;:::-;24747:6;24740:4;24734:11;24706:91;:::i;:::-;24700:4;24693:105;24611:193;24535:269;;;:::o;24810:73::-;24855:3;24810:73;:::o;24889:189::-;24966:32;;:::i;:::-;25007:65;25065:6;25057;25051:4;25007:65;:::i;:::-;24942:136;24889:189;;:::o;25084:186::-;25144:120;25161:3;25154:5;25151:14;25144:120;;;25215:39;25252:1;25245:5;25215:39;:::i;:::-;25188:1;25181:5;25177:13;25168:22;;25144:120;;;25084:186;;:::o;25276:543::-;25377:2;25372:3;25369:11;25366:446;;;25411:38;25443:5;25411:38;:::i;:::-;25495:29;25513:10;25495:29;:::i;:::-;25485:8;25481:44;25678:2;25666:10;25663:18;25660:49;;;25699:8;25684:23;;25660:49;25722:80;25778:22;25796:3;25778:22;:::i;:::-;25768:8;25764:37;25751:11;25722:80;:::i;:::-;25381:431;;25366:446;25276:543;;;:::o;25825:117::-;25879:8;25929:5;25923:4;25919:16;25898:37;;25825:117;;;;:::o;25948:169::-;25992:6;26025:51;26073:1;26069:6;26061:5;26058:1;26054:13;26025:51;:::i;:::-;26021:56;26106:4;26100;26096:15;26086:25;;25999:118;25948:169;;;;:::o;26122:295::-;26198:4;26344:29;26369:3;26363:4;26344:29;:::i;:::-;26336:37;;26406:3;26403:1;26399:11;26393:4;26390:21;26382:29;;26122:295;;;;:::o;26422:1403::-;26546:44;26586:3;26581;26546:44;:::i;:::-;26655:18;26647:6;26644:30;26641:56;;;26677:18;;:::i;:::-;26641:56;26721:38;26753:4;26747:11;26721:38;:::i;:::-;26806:67;26866:6;26858;26852:4;26806:67;:::i;:::-;26900:1;26929:2;26921:6;26918:14;26946:1;26941:632;;;;27617:1;27634:6;27631:84;;;27690:9;27685:3;27681:19;27668:33;27659:42;;27631:84;27741:67;27801:6;27794:5;27741:67;:::i;:::-;27735:4;27728:81;27590:229;26911:908;;26941:632;26993:4;26989:9;26981:6;26977:22;27027:37;27059:4;27027:37;:::i;:::-;27086:1;27100:215;27114:7;27111:1;27108:14;27100:215;;;27200:9;27195:3;27191:19;27178:33;27170:6;27163:49;27251:1;27243:6;27239:14;27229:24;;27298:2;27287:9;27283:18;27270:31;;27137:4;27134:1;27130:12;27125:17;;27100:215;;;27343:6;27334:7;27331:19;27328:186;;;27408:9;27403:3;27399:19;27386:33;27451:48;27493:4;27485:6;27481:17;27470:9;27451:48;:::i;:::-;27443:6;27436:64;27351:163;27328:186;27560:1;27556;27548:6;27544:14;27540:22;27534:4;27527:36;26948:625;;;26911:908;;26521:1304;;;26422:1403;;;:::o;27831:390::-;27937:3;27965:39;27998:5;27965:39;:::i;:::-;28020:89;28102:6;28097:3;28020:89;:::i;:::-;28013:96;;28118:65;28176:6;28171:3;28164:4;28157:5;28153:16;28118:65;:::i;:::-;28208:6;28203:3;28199:16;28192:23;;27941:280;27831:390;;;;:::o;28227:155::-;28367:7;28363:1;28355:6;28351:14;28344:31;28227:155;:::o;28388:400::-;28548:3;28569:84;28651:1;28646:3;28569:84;:::i;:::-;28562:91;;28662:93;28751:3;28662:93;:::i;:::-;28780:1;28775:3;28771:11;28764:18;;28388:400;;;:::o;28794:695::-;29072:3;29094:92;29182:3;29173:6;29094:92;:::i;:::-;29087:99;;29203:95;29294:3;29285:6;29203:95;:::i;:::-;29196:102;;29315:148;29459:3;29315:148;:::i;:::-;29308:155;;29480:3;29473:10;;28794:695;;;;;:::o;29495:225::-;29635:34;29631:1;29623:6;29619:14;29612:58;29704:8;29699:2;29691:6;29687:15;29680:33;29495:225;:::o;29726:366::-;29868:3;29889:67;29953:2;29948:3;29889:67;:::i;:::-;29882:74;;29965:93;30054:3;29965:93;:::i;:::-;30083:2;30078:3;30074:12;30067:19;;29726:366;;;:::o;30098:419::-;30264:4;30302:2;30291:9;30287:18;30279:26;;30351:9;30345:4;30341:20;30337:1;30326:9;30322:17;30315:47;30379:131;30505:4;30379:131;:::i;:::-;30371:139;;30098:419;;;:::o;30523:182::-;30663:34;30659:1;30651:6;30647:14;30640:58;30523:182;:::o;30711:366::-;30853:3;30874:67;30938:2;30933:3;30874:67;:::i;:::-;30867:74;;30950:93;31039:3;30950:93;:::i;:::-;31068:2;31063:3;31059:12;31052:19;;30711:366;;;:::o;31083:419::-;31249:4;31287:2;31276:9;31272:18;31264:26;;31336:9;31330:4;31326:20;31322:1;31311:9;31307:17;31300:47;31364:131;31490:4;31364:131;:::i;:::-;31356:139;;31083:419;;;:::o;31508:224::-;31648:34;31644:1;31636:6;31632:14;31625:58;31717:7;31712:2;31704:6;31700:15;31693:32;31508:224;:::o;31738:366::-;31880:3;31901:67;31965:2;31960:3;31901:67;:::i;:::-;31894:74;;31977:93;32066:3;31977:93;:::i;:::-;32095:2;32090:3;32086:12;32079:19;;31738:366;;;:::o;32110:419::-;32276:4;32314:2;32303:9;32299:18;32291:26;;32363:9;32357:4;32353:20;32349:1;32338:9;32334:17;32327:47;32391:131;32517:4;32391:131;:::i;:::-;32383:139;;32110:419;;;:::o;32535:223::-;32675:34;32671:1;32663:6;32659:14;32652:58;32744:6;32739:2;32731:6;32727:15;32720:31;32535:223;:::o;32764:366::-;32906:3;32927:67;32991:2;32986:3;32927:67;:::i;:::-;32920:74;;33003:93;33092:3;33003:93;:::i;:::-;33121:2;33116:3;33112:12;33105:19;;32764:366;;;:::o;33136:419::-;33302:4;33340:2;33329:9;33325:18;33317:26;;33389:9;33383:4;33379:20;33375:1;33364:9;33360:17;33353:47;33417:131;33543:4;33417:131;:::i;:::-;33409:139;;33136:419;;;:::o;33561:180::-;33609:77;33606:1;33599:88;33706:4;33703:1;33696:15;33730:4;33727:1;33720:15;33747:175;33887:27;33883:1;33875:6;33871:14;33864:51;33747:175;:::o;33928:366::-;34070:3;34091:67;34155:2;34150:3;34091:67;:::i;:::-;34084:74;;34167:93;34256:3;34167:93;:::i;:::-;34285:2;34280:3;34276:12;34269:19;;33928:366;;;:::o;34300:419::-;34466:4;34504:2;34493:9;34489:18;34481:26;;34553:9;34547:4;34543:20;34539:1;34528:9;34524:17;34517:47;34581:131;34707:4;34581:131;:::i;:::-;34573:139;;34300:419;;;:::o;34725:237::-;34865:34;34861:1;34853:6;34849:14;34842:58;34934:20;34929:2;34921:6;34917:15;34910:45;34725:237;:::o;34968:366::-;35110:3;35131:67;35195:2;35190:3;35131:67;:::i;:::-;35124:74;;35207:93;35296:3;35207:93;:::i;:::-;35325:2;35320:3;35316:12;35309:19;;34968:366;;;:::o;35340:419::-;35506:4;35544:2;35533:9;35529:18;35521:26;;35593:9;35587:4;35583:20;35579:1;35568:9;35564:17;35557:47;35621:131;35747:4;35621:131;:::i;:::-;35613:139;;35340:419;;;:::o;35765:180::-;35813:77;35810:1;35803:88;35910:4;35907:1;35900:15;35934:4;35931:1;35924:15;35951:194;35991:4;36011:20;36029:1;36011:20;:::i;:::-;36006:25;;36045:20;36063:1;36045:20;:::i;:::-;36040:25;;36089:1;36086;36082:9;36074:17;;36113:1;36107:4;36104:11;36101:37;;;36118:18;;:::i;:::-;36101:37;35951:194;;;;:::o;36151:191::-;36191:3;36210:20;36228:1;36210:20;:::i;:::-;36205:25;;36244:20;36262:1;36244:20;:::i;:::-;36239:25;;36287:1;36284;36280:9;36273:16;;36308:3;36305:1;36302:10;36299:36;;;36315:18;;:::i;:::-;36299:36;36151:191;;;;:::o;36348:98::-;36399:6;36433:5;36427:12;36417:22;;36348:98;;;:::o;36452:168::-;36535:11;36569:6;36564:3;36557:19;36609:4;36604:3;36600:14;36585:29;;36452:168;;;;:::o;36626:373::-;36712:3;36740:38;36772:5;36740:38;:::i;:::-;36794:70;36857:6;36852:3;36794:70;:::i;:::-;36787:77;;36873:65;36931:6;36926:3;36919:4;36912:5;36908:16;36873:65;:::i;:::-;36963:29;36985:6;36963:29;:::i;:::-;36958:3;36954:39;36947:46;;36716:283;36626:373;;;;:::o;37005:640::-;37200:4;37238:3;37227:9;37223:19;37215:27;;37252:71;37320:1;37309:9;37305:17;37296:6;37252:71;:::i;:::-;37333:72;37401:2;37390:9;37386:18;37377:6;37333:72;:::i;:::-;37415;37483:2;37472:9;37468:18;37459:6;37415:72;:::i;:::-;37534:9;37528:4;37524:20;37519:2;37508:9;37504:18;37497:48;37562:76;37633:4;37624:6;37562:76;:::i;:::-;37554:84;;37005:640;;;;;;;:::o;37651:141::-;37707:5;37738:6;37732:13;37723:22;;37754:32;37780:5;37754:32;:::i;:::-;37651:141;;;;:::o;37798:349::-;37867:6;37916:2;37904:9;37895:7;37891:23;37887:32;37884:119;;;37922:79;;:::i;:::-;37884:119;38042:1;38067:63;38122:7;38113:6;38102:9;38098:22;38067:63;:::i;:::-;38057:73;;38013:127;37798:349;;;;:::o

Swarm Source

ipfs://70a711490e0972a630dcda077f4325faac9fd832ecb8af9083c156f34774c35e
Loading