Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update erc1155.adoc #1226

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/erc1155.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

= ERC1155

The ERC1155 multi token standard is a specification for {fungibility-agnostic} token contracts.
The ERC1155 multi-token standard is a specification for {fungibility-agnostic} token contracts.
The ERC1155 library implements an approximation of {eip-1155} in Cairo for StarkNet.

== Multi Token Standard
Expand Down Expand Up @@ -181,7 +181,7 @@ tokens, this yields execution to the receiver which can result in a xref:securit
:on_erc1155_batch_received: xref:/api/erc1155.adoc#IERC1155Receiver-on_erc1155_batch_received[on_erc1155_batch_received]
:computing-interface-id: xref:introspection.adoc#computing_the_interface_id[Computing the interface ID]

In order to be sure a non-account contract can safely accept ERC1155 tokens, said contract must implement the `IERC1155Receiver` interface.
In order to be sure a non-account contract can safely accept ERC1155 tokens, the contract must implement the `IERC1155Receiver` interface.
The recipient contract must also implement the {src5} interface which supports interface introspection.

=== IERC1155Receiver
Expand Down