kopia lustrzana https://github.com/bugout-dev/dao
use def IERC1155MetadataURI
rodzic
267996b101
commit
8ef2621da4
|
@ -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);
|
||||
}
|
|
@ -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)
|
||||
|
|
Ładowanie…
Reference in New Issue