Type Alias NftEvent

Source
pub type NftEvent = NftEvent;

Aliased Type§

enum NftEvent {
    NftCollectionCreated(IdentityId, AssetId, NFTCollectionId),
    NFTPortfolioUpdated(IdentityId, NFTs, Option<PortfolioId>, Option<PortfolioId>, PortfolioUpdateReason),
}

Variants§

§

NftCollectionCreated(IdentityId, AssetId, NFTCollectionId)

Emitted when a new nft collection is created.

§

NFTPortfolioUpdated(IdentityId, NFTs, Option<PortfolioId>, Option<PortfolioId>, PortfolioUpdateReason)

Emitted when NFTs were issued, redeemed or transferred. Contains the [IdentityId] of the receiver/issuer/redeemer, the [NFTs], the [PortfolioId] of the source, the [PortfolioId] of the destination and the [PortfolioUpdateReason].