Skip to main content

UpdateEvent

Emitted when an NFT's state is updated.

Hierarchy

  • { isPaused: Bool; metadata: Field; metadataVerificationKeyHash: Field; name: Field; owner: PublicKey; price: UInt64; storage: Storage; version: UInt32 }
    • UpdateEvent

Index

Constructors

externalconstructor

  • new UpdateEvent(value: { isPaused: Bool; metadata: Field; metadataVerificationKeyHash: Field; name: Field; owner: PublicKey; price: UInt64; storage: Storage; version: UInt32 }): UpdateEvent
  • Parameters

    • externalvalue: { isPaused: Bool; metadata: Field; metadataVerificationKeyHash: Field; name: Field; owner: PublicKey; price: UInt64; storage: Storage; version: UInt32 }
      • externalisPaused: Bool = Bool

        Indicates whether the NFT is paused after the update.

      • externalmetadata: Field = Field

        The updated metadata hash of the NFT.

      • externalmetadataVerificationKeyHash: Field = Field

        The hash of the verification key used for metadata proofs.

      • externalname: Field = Field

        The updated name of the NFT.

      • externalowner: PublicKey = PublicKey

        The owner of the NFT after the update.

      • externalprice: UInt64 = UInt64

        The updated price of the NFT.

      • externalstorage: Storage = Storage

        Off-chain storage information, e.g., IPFS hash.

      • externalversion: UInt32 = UInt32

        The version number of the NFT state.

    Returns UpdateEvent

Properties

isPaused

isPaused: Bool = Bool

Indicates whether the NFT is paused after the update.

metadata

metadata: Field = Field

The updated metadata hash of the NFT.

metadataVerificationKeyHash

metadataVerificationKeyHash: Field = Field

The hash of the verification key used for metadata proofs.

name

name: Field = Field

The updated name of the NFT.

owner

owner: PublicKey = PublicKey

The owner of the NFT after the update.

price

price: UInt64 = UInt64

The updated price of the NFT.

storage

storage: Storage = Storage

Off-chain storage information, e.g., IPFS hash.

version

version: UInt32 = UInt32

The version number of the NFT state.