IERC4906.sol 736 B

12345678910111213141516171819
  1. // SPDX-License-Identifier: MIT
  2. pragma solidity ^0.8.0;
  3. import "./IERC165.sol";
  4. import "./IERC721.sol";
  5. /// @title EIP-721 Metadata Update Extension
  6. interface IERC4906 is IERC165, IERC721 {
  7. /// @dev This event emits when the metadata of a token is changed.
  8. /// So that the third-party platforms such as NFT market could
  9. /// timely update the images and related attributes of the NFT.
  10. event MetadataUpdate(uint256 _tokenId);
  11. /// @dev This event emits when the metadata of a range of tokens is changed.
  12. /// So that the third-party platforms such as NFT market could
  13. /// timely update the images and related attributes of the NFTs.
  14. event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId);
  15. }