Skip to content

Commit

Permalink
standards/nft/core: fix approval_id type (#240)
Browse files Browse the repository at this point in the history
also, add Errata section and explain update
  • Loading branch information
chadoh authored Jul 20, 2021
1 parent 30ad2c3 commit 038a326
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion specs/Standards/NonFungibleToken/Core.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand Down Expand Up @@ -198,6 +198,10 @@ function nft_on_transfer(
): Promise<boolean>;
```

## 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
Expand Down

0 comments on commit 038a326

Please sign in to comment.