// SPDX-License-Identifier: MIT pragma solidity ^0.8.15; /** * @dev Extension of {ERC20} that allows other facets from the diamond to mint tokens. */ interface IERC20MintableExtension { /** * @dev Creates `amount` new tokens for `to`, of token type `id`. * * See {ERC20-_mint}. * * Requirements: * * - the caller must be diamond itself (other facets). */ function mintByFacet(address to, uint256 amount) external; function mintByFacet(address[] memory tos, uint256[] memory amounts) external; }