Document ERC1155 event differences (#4666)
(cherry picked from commit 793d92a333)
This commit is contained in:
committed by
Francisco Giordano
parent
932fddf69a
commit
5161a4dc8a
@ -104,13 +104,12 @@ interface IERC1155 is IERC165 {
|
||||
/**
|
||||
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
|
||||
*
|
||||
*
|
||||
* WARNING: This function can potentially allow a reentrancy attack when transferring tokens
|
||||
* to an untrusted contract, when invoking {onERC1155BatchReceived} on the receiver.
|
||||
* Ensure to follow the checks-effects-interactions pattern and consider employing
|
||||
* reentrancy guards when interacting with untrusted contracts.
|
||||
*
|
||||
* Emits a {TransferBatch} event.
|
||||
* Emits either a {TransferSingle} or a {TransferBatch} event, depending on the length of the array arguments.
|
||||
*
|
||||
* Requirements:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user