Crate pallet_nfts

source ·
Expand description

Nfts Module

A simple, secure module for dealing with non-fungible items.

Re-exports

Modules

  • The pallet module in each FRAME pallet hosts the most important items needed to construct this pallet.
  • Autogenerated weights for pallet_nfts

Macros

  • Enable/disable the given code depending on feature = "runtime-benchmarks" being enabled for the crate or not.

Structs

Enums

  • Attribute namespaces for non-fungible tokens.
  • Support for up to 8 different roles for collections.
  • Support for up to 64 user-enabled features on a collection.
  • Support for up to 64 user-enabled features on an item.
  • Mint type. Can the NFT be create by anyone, or only the creator of the collection, or only by wallets that already hold an NFT from a certain collection? The ownership of a privately minted NFT is still publicly visible.
  • A list of possible pallet-level attributes.
  • Support for up to 64 system-enabled features on a collection.
  • Specifies whether the tokens will be sent or received.

Constants