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

    Interface iMerkleChallengeTrackerDoc<T>

    interface iMerkleChallengeTrackerDoc<T extends NumberType> {
        _docId: string;
        _id?: string;
        approvalId: string;
        approvalLevel: "" | "collection" | "incoming" | "outgoing";
        approverAddress: string;
        challengeTrackerId: string;
        collectionId: string;
        usedLeafIndices: iUsedLeafStatus<T>[];
    }

    Type Parameters

    Hierarchy (View Summary)

    • Doc
      • iMerkleChallengeTrackerDoc

    Implemented by

    Index

    Properties

    _docId: string

    A unique stringified document ID

    _id?: string

    A unique document ID (Mongo DB ObjectID)

    approvalId: string

    The approval ID

    approvalLevel: "" | "collection" | "incoming" | "outgoing"

    The challenge level (i.e. "collection", "incoming", "outgoing")

    approverAddress: string

    The approver address (leave blank if approvalLevel = "collection")

    challengeTrackerId: string

    The challenge ID

    collectionId: string

    The collection ID

    usedLeafIndices: iUsedLeafStatus<T>[]

    The used leaf indices for each challenge. A leaf index is the leaf location in the bottommost layer of the Merkle tree