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