curio-wrapper-truffle/contracts/IERC1155Metadata.sol

16 lines
513 B
Solidity
Raw Normal View History

2023-01-29 18:29:54 +00:00
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity ^0.8.17;
2022-02-11 04:17:00 +00:00
/**
Note: The ERC-165 identifier for this interface is 0x0e89341c.
*/
interface ERC1155Metadata_URI {
/**
@notice A distinct Uniform Resource Identifier (URI) for a given token.
@dev URIs are defined in RFC 3986.
The URI may point to a JSON file that conforms to the "ERC-1155 Metadata URI JSON Schema".
@return URI string
*/
function uri(uint256 _id) external view returns (string memory);
}