You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
598 B
21 lines
598 B
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity >=0.6.2 <0.8.0;
|
|
|
|
import "./IERC1155.sol";
|
|
|
|
/**
|
|
* @dev Interface of the optional ERC1155MetadataExtension interface, as defined
|
|
* in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
|
|
*
|
|
* _Available since v3.1._
|
|
*/
|
|
interface IERC1155MetadataURI is IERC1155 {
|
|
/**
|
|
* @dev Returns the URI for token type `id`.
|
|
*
|
|
* If the `\{id\}` substring is present in the URI, it must be replaced by
|
|
* clients with the actual token type ID.
|
|
*/
|
|
function uri(uint256 id) external view returns (string memory);
|
|
}
|
|
|