Expand description

NT-NFT Pallet

The NT-NFT pallet provides functionality for creation, distribution, and management of NT-NFTs.

Overview

The NT-NFT pallet provides functions for:

  • Creating NT-NFT Collections.
  • Freezing Collections.
  • Thawing Collections.
  • Destroying Collections.
  • Minting NT-NFTs.
  • Updating NT-NFTs metadata.
  • Assigning NT-NFTs.
  • Burning NT-NFTs.
  • Discarding NT-NFTs.

Interface

Dispatchable Functions

  • create_collection - Creates a collection administered by the calling AccountId.
  • freeze_collection - Freeze a collection, preventing any further actions from being performed on the collection until it is thawed.
  • thaw_collection - Thaw a frozen collection, allowing actions to be performed on the collection.
  • destroy_collection - Destroy a collection.
  • assign_ntnft - Assign a NT-NFT to an AccountId.
  • accept_assignment - Accept an NT-NFT assignment.
  • cancel_assignment - Cancel an NT-NFT assignment.
  • mint_ntnft - Mint a new NT-NFT in a collection.
  • update_ntnft - Update the metadata of a NT-NFT.
  • burn_ntnft - Burn a minted unassigned NT-NFT from a collection.
  • discard_ntnft - Discard an assigned NT-NFT.

Re-exports

pub use pallet::*;

Modules

The module that hosts all the FRAME types needed to add this pallet to a runtime.