Type Alias ClaimIntegrationPublicStateType<T>

ClaimIntegrationPublicStateType<T>: T extends "numUses"
    ? {
        claimedUsers?: {
            [bitbadgesAddress: string]: number[];
        };
        numUses?: number;
    }
    : T extends "codes"
        ? {
            usedCodeIndices?: string[];
        }
        : Record<string, any>

Public state is the current state of the claim integration that is visible to the public. For example, the number of times a claim code has been used.

Type Parameters