use def IERC1155MetadataURI

pull/53/head
Tim Pechersky 2022-07-04 13:31:59 +02:00
rodzic 267996b101
commit 8ef2621da4
2 zmienionych plików z 1 dodań i 22 usunięć

Wyświetl plik

@ -1,21 +0,0 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin-contracts/contracts/token/ERC1155/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);
}

Wyświetl plik

@ -2,7 +2,7 @@
pragma solidity ^0.8.0;
import "./IERC1155MetadataURI.sol";
import "@openzeppelin-contracts/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol";
interface IERC1155WithTerminusStorage is IERC1155, IERC1155MetadataURI {
function isApprovedForPool(uint256 poolID, address operator)