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

    Class DynamicStore

    A 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.

    from message badges.DynamicStore

    Hierarchy

    Index

    Constructors

    Properties

    createdBy: string = ""

    The address of the creator of this dynamic store.

    from field: string createdBy = 2;

    customData: string = ""

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

    from field: string customData = 6;

    defaultValue: boolean = false

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

    from field: bool defaultValue = 3;

    globalEnabled: boolean = false

    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.

    from field: bool globalEnabled = 4;

    storeId: string = ""

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

    from field: string storeId = 1;

    uri: string = ""

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

    from field: string uri = 5;

    fields: FieldList = ...
    runtime: ProtoRuntime = proto3
    typeName: "badges.DynamicStore"

    Methods