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.
20 lines
736 B
20 lines
736 B
2 years ago
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
pragma solidity ^0.8.0;
|
||
|
|
||
|
import "./IERC165.sol";
|
||
|
import "./IERC721.sol";
|
||
|
|
||
|
/// @title EIP-721 Metadata Update Extension
|
||
|
interface IERC4906 is IERC165, IERC721 {
|
||
|
/// @dev This event emits when the metadata of a token is changed.
|
||
|
/// So that the third-party platforms such as NFT market could
|
||
|
/// timely update the images and related attributes of the NFT.
|
||
|
event MetadataUpdate(uint256 _tokenId);
|
||
|
|
||
|
/// @dev This event emits when the metadata of a range of tokens is changed.
|
||
|
/// So that the third-party platforms such as NFT market could
|
||
|
/// timely update the images and related attributes of the NFTs.
|
||
|
event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId);
|
||
|
}
|