Crate pallet_nfts
source ·Expand description
Re-exports
pub use weights::WeightInfo;
pub use pallet::*;
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
- Information about the reserved attribute deposit.
- A witness data to cancel attributes approval operation.
- Collection’s configuration.
- Information about a collection.
- Information about the collection’s metadata.
- A wrapper type that implements
Codec
. - Wrapper type for
BitFlags<CollectionSetting>
that implementsCodec
. - Witness data for the destroy transactions.
- Item’s configuration.
- Information about the reserved item deposit.
- Information concerning the ownership of a single unique item.
- Information about the item’s metadata.
- Information about the reserved item’s metadata deposit.
- Wrapper type for
BitFlags<ItemSetting>
that implementsCodec
. - Information about the tip.
- Holds the information about minting.
- Witness data for items mint transactions.
- Wrapper type for
BitFlags<PalletFeature>
that implementsCodec
. - Information about the pending swap.
- Holds the details about the price.
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
- The log target of this pallet.