UpdateEvent
Class: UpdateEvent
Properties overview
- approved: PublicKey = PublicKey; ↗
- isPaused: Bool = Bool; ↗
- metadata: Field = Field; ↗
- metadataVerificationKeyHash: Field = Field; ↗
- name: Field = Field; ↗
- owner: PublicKey = PublicKey; ↗
- storage: Storage = Storage; ↗
- version: UInt32 = UInt32; ↗
Defined in: packages/nft/src/interfaces/events.ts:29
Emitted when an NFT's state is updated.
Extends
- {
approved
:PublicKey
;
isPaused
:Bool
;
metadata
:Field
;
metadataVerificationKeyHash
:Field
;
name
:Field
;
owner
:PublicKey
;
storage
:Storage
;
version
:UInt32
;
}
Constructors
new UpdateEvent()
new UpdateEvent(value: {
approved: PublicKey;
isPaused: Bool;
metadata: Field;
metadataVerificationKeyHash: Field;
name: Field;
owner: PublicKey;
storage: Storage;
version: UInt32;
}): UpdateEvent
Defined in: node_modules/o1js/dist/node/lib/provable/types/struct.d.ts:103
Parameters
value
approved
PublicKey
= PublicKey
The approved address of the NFT after the update.
isPaused
Bool
= Bool
Indicates whether the NFT is paused after the update.
metadata
Field
= Field
The updated metadata hash of the NFT.
metadataVerificationKeyHash
Field
= Field
The hash of the verification key used for metadata proofs.
name
Field
= Field
The updated name of the NFT.
owner
PublicKey
= PublicKey
The owner of the NFT after the update.
storage
Storage
= Storage
Off-chain storage information, e.g., IPFS hash.
version
UInt32
= UInt32
The version number of the NFT state.
Returns
Inherited from
Struct({
/ The updated name of the NFT. /
name: Field,
/ The updated metadata hash of the NFT. /
metadata: Field,
/ Off-chain storage information, e.g., IPFS hash. /
storage: Storage,
/ The owner of the NFT after the update. /
owner: PublicKey,
/ The approved address of the NFT after the update. /
approved: PublicKey,
/ The version number of the NFT state. /
version: UInt32,
/ Indicates whether the NFT is paused after the update. /
isPaused: Bool,
/ The hash of the verification key used for metadata proofs. /
metadataVerificationKeyHash: Field,
}).constructor
Properties
approved
approved: PublicKey = PublicKey;
Defined in: packages/nft/src/interfaces/events.ts:39
The approved address of the NFT after the update.
Inherited from
Struct({
/ The updated name of the NFT. /
name: Field,
/ The updated metadata hash of the NFT. /
metadata: Field,
/ Off-chain storage information, e.g., IPFS hash. /
storage: Storage,
/ The owner of the NFT after the update. /
owner: PublicKey,
/ The approved address of the NFT after the update. /
approved: PublicKey,
/ The version number of the NFT state. /
version: UInt32,
/ Indicates whether the NFT is paused after the update. /
isPaused: Bool,
/ The hash of the verification key used for metadata proofs. /
metadataVerificationKeyHash: Field,
}).approved
isPaused
isPaused: Bool = Bool;
Defined in: packages/nft/src/interfaces/events.ts:43
Indicates whether the NFT is paused after the update.
Inherited from
Struct({
/ The updated name of the NFT. /
name: Field,
/ The updated metadata hash of the NFT. /
metadata: Field,
/ Off-chain storage information, e.g., IPFS hash. /
storage: Storage,
/ The owner of the NFT after the update. /
owner: PublicKey,
/ The approved address of the NFT after the update. /
approved: PublicKey,
/ The version number of the NFT state. /
version: UInt32,
/ Indicates whether the NFT is paused after the update. /
isPaused: Bool,
/ The hash of the verification key used for metadata proofs. /
metadataVerificationKeyHash: Field,
}).isPaused
metadata
metadata: Field = Field;
Defined in: packages/nft/src/interfaces/events.ts:33
The updated metadata hash of the NFT.
Inherited from
Struct({
/ The updated name of the NFT. /
name: Field,
/ The updated metadata hash of the NFT. /
metadata: Field,
/ Off-chain storage information, e.g., IPFS hash. /
storage: Storage,
/ The owner of the NFT after the update. /
owner: PublicKey,
/ The approved address of the NFT after the update. /
approved: PublicKey,
/ The version number of the NFT state. /
version: UInt32,
/ Indicates whether the NFT is paused after the update. /
isPaused: Bool,
/ The hash of the verification key used for metadata proofs. /
metadataVerificationKeyHash: Field,
}).metadata
metadataVerificationKeyHash
metadataVerificationKeyHash: Field = Field;
Defined in: packages/nft/src/interfaces/events.ts:45
The hash of the verification key used for metadata proofs.
Inherited from
Struct({
/ The updated name of the NFT. /
name: Field,
/ The updated metadata hash of the NFT. /
metadata: Field,
/ Off-chain storage information, e.g., IPFS hash. /
storage: Storage,
/ The owner of the NFT after the update. /
owner: PublicKey,
/ The approved address of the NFT after the update. /
approved: PublicKey,
/ The version number of the NFT state. /
version: UInt32,
/ Indicates whether the NFT is paused after the update. /
isPaused: Bool,
/ The hash of the verification key used for metadata proofs. /
metadataVerificationKeyHash: Field,
}).metadataVerificationKeyHash
name
name: Field = Field;
Defined in: packages/nft/src/interfaces/events.ts:31
The updated name of the NFT.
Inherited from
Struct({
/ The updated name of the NFT. /
name: Field,
/ The updated metadata hash of the NFT. /
metadata: Field,
/ Off-chain storage information, e.g., IPFS hash. /
storage: Storage,
/ The owner of the NFT after the update. /
owner: PublicKey,
/ The approved address of the NFT after the update. /
approved: PublicKey,
/ The version number of the NFT state. /
version: UInt32,
/ Indicates whether the NFT is paused after the update. /
isPaused: Bool,
/ The hash of the verification key used for metadata proofs. /
metadataVerificationKeyHash: Field,
}).name
owner
owner: PublicKey = PublicKey;
Defined in: packages/nft/src/interfaces/events.ts:37
The owner of the NFT after the update.
Inherited from
Struct({
/ The updated name of the NFT. /
name: Field,
/ The updated metadata hash of the NFT. /
metadata: Field,
/ Off-chain storage information, e.g., IPFS hash. /
storage: Storage,
/ The owner of the NFT after the update. /
owner: PublicKey,
/ The approved address of the NFT after the update. /
approved: PublicKey,
/ The version number of the NFT state. /
version: UInt32,
/ Indicates whether the NFT is paused after the update. /
isPaused: Bool,
/ The hash of the verification key used for metadata proofs. /
metadataVerificationKeyHash: Field,
}).owner
storage
storage: Storage = Storage;
Defined in: packages/nft/src/interfaces/events.ts:35
Off-chain storage information, e.g., IPFS hash.
Inherited from
Struct({
/ The updated name of the NFT. /
name: Field,
/ The updated metadata hash of the NFT. /
metadata: Field,
/ Off-chain storage information, e.g., IPFS hash. /
storage: Storage,
/ The owner of the NFT after the update. /
owner: PublicKey,
/ The approved address of the NFT after the update. /
approved: PublicKey,
/ The version number of the NFT state. /
version: UInt32,
/ Indicates whether the NFT is paused after the update. /
isPaused: Bool,
/ The hash of the verification key used for metadata proofs. /
metadataVerificationKeyHash: Field,
}).storage
version
version: UInt32 = UInt32;
Defined in: packages/nft/src/interfaces/events.ts:41
The version number of the NFT state.
Inherited from
Struct({
/ The updated name of the NFT. /
name: Field,
/ The updated metadata hash of the NFT. /
metadata: Field,
/ Off-chain storage information, e.g., IPFS hash. /
storage: Storage,
/ The owner of the NFT after the update. /
owner: PublicKey,
/ The approved address of the NFT after the update. /
approved: PublicKey,
/ The version number of the NFT state. /
version: UInt32,
/ Indicates whether the NFT is paused after the update. /
isPaused: Bool,
/ The hash of the verification key used for metadata proofs. /
metadataVerificationKeyHash: Field,
}).version
Updated 10 days ago