mirror of openzeppelin-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
openzeppelin-contracts/contracts/token/ERC1155
Robert Kaiser a81e948fc9
Add a simple catch-all implementation of the metadata URI interface (#2029)
5 years ago
..
ERC1155.sol Add a simple catch-all implementation of the metadata URI interface (#2029) 5 years ago
ERC1155Holder.sol Add SPX license identifier (#2235) 5 years ago
ERC1155Receiver.sol Add SPX license identifier (#2235) 5 years ago
IERC1155.sol Add a simple catch-all implementation of the metadata URI interface (#2029) 5 years ago
IERC1155MetadataURI.sol Add a simple catch-all implementation of the metadata URI interface (#2029) 5 years ago
IERC1155Receiver.sol Add SPX license identifier (#2235) 5 years ago
README.adoc Add a simple catch-all implementation of the metadata URI interface (#2029) 5 years ago

README.adoc

= ERC 1155

This set of interfaces and contracts are all related to the https://eips.ethereum.org/EIPS/eip-1155[ERC1155 Multi Token Standard].

The EIP consists of three interfaces which fulfill different roles, found here as `IERC1155`, `IERC1155MetadataURI` and `IERC1155Receiver`.

`ERC1155` implement the mandatory `IERC1155` interface, as well as the optional extension `IERC1155MetadataURI` by relying on the substition mechanism to use the same URI for all token types, dramatically reducing gas costs.

`ERC1155Holder` implements the `IERC1155Receiver` interface for contracts that can receive (and hold) ERC1155 tokens.

== Core

{{IERC1155}}

{{IERC1155MetadataURI}}

{{ERC1155}}

{{IERC1155Receiver}}

{{ERC1155Holder}}