bitbadgesjs-sdk - v0.27.2
    Preparing search index...

    Class DynamicStore<T>

    DynamicStore is a flexible storage object that can store arbitrary data. It is identified by a unique ID assigned by the blockchain, which is a uint64 that increments. Dynamic stores are created by users and can only be updated or deleted by their creator. They provide a way to store custom data on-chain with proper access control.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    createdBy: string

    The address of the creator of this dynamic store.

    customData: string

    Custom data field for storing arbitrary data associated with this dynamic store.

    defaultValue: boolean

    The default value for uninitialized addresses (true/false).

    globalEnabled: boolean

    Global kill switch state (defaults to true on creation, can be toggled via UpdateDynamicStore). When false, all approvals using this store via DynamicStoreChallenge will fail immediately.

    storeId: T

    The unique identifier for this dynamic store. This is assigned by the blockchain.

    uri: string

    URI for additional metadata or resources associated with this dynamic store.

    Methods