README.adoc 1011 B

1234567891011121314151617181920212223242526272829303132333435
  1. = ERC 1155
  2. [.readme-notice]
  3. NOTE: This document is better viewed at https://docs.openzeppelin.com/contracts/api/token/erc1155
  4. This set of interfaces and contracts are all related to the https://eips.ethereum.org/EIPS/eip-1155[ERC1155 Multi Token Standard].
  5. The EIP consists of three interfaces which fulfill different roles, found here as {IERC1155}, {IERC1155MetadataURI} and {IERC1155Receiver}.
  6. {ERC1155} implements the mandatory {IERC1155} interface, as well as the optional extension {IERC1155MetadataURI}, by relying on the substitution mechanism to use the same URI for all token types, dramatically reducing gas costs.
  7. Additionally there are multiple custom extensions, including:
  8. * designation of addresses that can pause token transfers for all users ({ERC1155Pausable}).
  9. * destruction of own tokens ({ERC1155Burnable}).
  10. == Core
  11. {{IERC1155}}
  12. {{IERC1155MetadataURI}}
  13. {{ERC1155}}
  14. {{IERC1155Receiver}}
  15. == Extensions
  16. {{ERC1155Pausable}}
  17. {{ERC1155Burnable}}
  18. == Convenience
  19. {{ERC1155Holder}}