August 2019
Intermediate to advanced
486 pages
13h 52m
English
The ERC721 standard has mainly three events, Transfer, Approval, and ApprovalForAll. These events are emitted from the different function calls of the ERC721 implementation, as we have seen in the ERC721 implementation section. For example, the _mint() function triggers the Transfer event upon successful execution of the function.
The Transfer event is triggered when any token-transfer-related function is called. However, for approvals, there are two types of approval an owner can give: