Skip to content

Commit

Permalink
docs: add missing queryId fields for NFT Messages in the Cookbook (#…
Browse files Browse the repository at this point in the history
…1747)

Co-authored-by: Novus Nota <[email protected]>
  • Loading branch information
Vodka2134156 and novusnota authored Feb 8, 2025
1 parent ca6e7d2 commit ecae8d7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dev-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added the `description` property to the frontmatter of the each page for better SEO: PR [#916](https://github.com/tact-lang/tact/pull/916)
- Added Google Analytics tags per every page: PR [#921](https://github.com/tact-lang/tact/pull/921)
- Added Ston.fi cookbook: PR [#956](https://github.com/tact-lang/tact/pull/956)
- Added NFTs cookbook: PR [#958](https://github.com/tact-lang/tact/pull/958)
- Added NFTs cookbook: PR [#958](https://github.com/tact-lang/tact/pull/958), PR [#1747](https://github.com/tact-lang/tact/pull/1747)
- Added security best practices: PR [#1070](https://github.com/tact-lang/tact/pull/1070)
- Added automatic links to Web IDE from all code blocks: PR [#994](https://github.com/tact-lang/tact/pull/994)
- Added initial semi-automated Chinese translation of the documentation: PR [#942](https://github.com/tact-lang/tact/pull/942)
Expand Down
15 changes: 9 additions & 6 deletions docs/src/content/docs/cookbook/nfts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ Notification message of assigned NFT ownership has the following structure:

```tact
message(0x05138d91) NFTOwnershipAssigned {
previousOwner: Address;
forwardPayload: Slice as remaining;
queryId: Int as uint64;
previousOwner:Address;
forwardPayload:Slice as remaining;
}
```

Expand All @@ -32,8 +33,9 @@ Validation can be done in two ways:
import "@stdlib/deploy";
message(0x05138d91) NFTOwnershipAssigned {
previousOwner: Address;
forwardPayload: Slice as remaining;
queryId: Int as uint64;
previousOwner:Address;
forwardPayload:Slice as remaining;
}
contract SingleNft with Deployable {
Expand All @@ -57,8 +59,9 @@ contract SingleNft with Deployable {
import "@stdlib/deploy";
message(0x05138d91) NFTOwnershipAssigned {
previousOwner: Address;
forwardPayload: Slice as remaining;
queryId: Int as uint64;
previousOwner:Address;
forwardPayload:Slice as remaining;
}
struct NFTItemInitData {
Expand Down

0 comments on commit ecae8d7

Please sign in to comment.