From 038a326c52f876cc9cc7b1784c20cf8dc5d455b8 Mon Sep 17 00:00:00 2001 From: Chad Ostrowski <221614+chadoh@users.noreply.github.com> Date: Tue, 20 Jul 2021 12:39:34 -0400 Subject: [PATCH] standards/nft/core: fix approval_id type (#240) also, add Errata section and explain update --- specs/Standards/NonFungibleToken/Core.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/specs/Standards/NonFungibleToken/Core.md b/specs/Standards/NonFungibleToken/Core.md index 33330a76d..4456162f4 100644 --- a/specs/Standards/NonFungibleToken/Core.md +++ b/specs/Standards/NonFungibleToken/Core.md @@ -118,7 +118,7 @@ function nft_transfer( function nft_transfer_call( receiver_id: string, token_id: string, - approval_id: string|null, + approval_id: number|null, memo: string|null, msg: string, ): Promise {} @@ -198,6 +198,10 @@ function nft_on_transfer( ): Promise; ``` +## Errata + +* **2021-07-16**: updated `nft_transfer_call` argument `approval_id` to be type `number|null` instead of `string|null`. As stated, approval IDs are not expected to exceed the JSON limit of 2^53. + [ERC-721]: https://eips.ethereum.org/EIPS/eip-721 [storage staking]: https://docs.near.org/docs/concepts/storage-staking [gas]: https://docs.near.org/docs/concepts/gas