mirror of
https://github.com/status-im/EIPs.git
synced 2025-01-14 00:45:05 +00:00
Automatically merged updates to draft EIP(s) 1155 (#1998)
Hi, I'm a bot! This change was automatically merged because: - It only modifies existing Draft or Last Call EIP(s) - The PR was approved or written by at least one author of each modified EIP - The build is passing
This commit is contained in:
parent
8e0595b9c6
commit
b54ebee91a
@ -254,8 +254,8 @@ To be more explicit about how safeTransferFrom and safeBatchTransferFrom MUST op
|
||||
- If the return value is `bytes4(keccak256("reject_erc1155_tokens()"))` the transaction MUST be reverted.
|
||||
* If the return value is anything other than `bytes4(keccak256("accept_batch_erc1155_tokens()"))` or `bytes4(keccack256("reject_erc1155_tokens()"))` the transaction MUST be reverted.
|
||||
|
||||
**_Implementation specific functions are used to transfer 1155 tokens to a contract:_**
|
||||
* If implementation specific functions are used to transfer 1155 tokens to a contract the appropriate hook(s) MUST still be called with the same rules as if safeTransferFrom/safeBatchTransferFrom was used.
|
||||
**_Implementation specific transfer api rules:_**
|
||||
* If implementation specific api functions are used to transfer 1155 tokens to a contract the appropriate hook(s) MUST still be called with the same rules as if safeTransferFrom/safeBatchTransferFrom was used.
|
||||
* The appropriate events MUST be correctly emitted as if safeTransferFrom/safeBatchTransferFrom was used.
|
||||
|
||||
###### A solidity example of the keccak256 generated constants for the return magic is:
|
||||
|
Loading…
x
Reference in New Issue
Block a user