Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/standards/TIP/TIP-4/2_2.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ interface ITIP4_2_2Collection {
/// The TIP-6.1 identifier for this interface is 0x244a5200

/// @notice The event emits when set or change collection metadata
event collectionMetadataUpdated();
event CollectionMetadataUpdated();

/// @notice The event emits when set or change NFTs metadata
event nftMetadataUpdated();
event NftMetadataUpdated();

/// @notice build url to get metadata for NFT
/// @return nftUrl - url to get metadata for NFT
Expand Down Expand Up @@ -74,8 +74,8 @@ function getCollectionUrl() external view responsible returns (string collection
The function is analogous to the getJson function in the Type4.2 standard but returns not json but a link to the json metadata of the collection.

```solidity
event collectionMetadataUpdated();
event nftMetadataUpdated();
event CollectionMetadataUpdated();
event NftMetadataUpdated();
```
You must emit them when you change the metadata of collection or NFT.

Expand All @@ -93,7 +93,7 @@ interface ITIP4_2_2NFT {
/// The TIP-6.1 identifier for this interface is 0x7239d7b1.

/// @notice event emits when update NFT part.
event metadataUpdated();
event MetadataUpdated();

/// @notice NFT part to get metadata
/// @return part - TvmCell allows to build URL with metadata for this NFT
Expand All @@ -108,7 +108,7 @@ function getUrlParts() external view responsible returns (TvmCell part);
```
The function returns the part identifying the NFT in the form of a TvmCell, which gives greater variability. In the simplest version, this could be id.

You must emit event `metadataUpdated()` when NFT part update.
You must emit event `MetadataUpdated()` when NFT part update.

### Metadata format
JSON metadata type: "Basic NFT"
Expand Down