Interface iBitBadgesAddressList<T>

interface iBitBadgesAddressList<T> {
    _docId: string;
    _id?: string;
    addresses: string[];
    aliasAddress?: string;
    claims: iClaimDetails<T>[];
    createdBlock: T;
    createdBy: string;
    customData: string;
    lastUpdated: T;
    listId: string;
    listsActivity: iListActivityDoc<T>[];
    metadata?: iMetadata<T>;
    nsfw?: {
        reason: string;
    };
    private?: boolean;
    reported?: {
        reason: string;
    };
    updateHistory: iUpdateHistory<T>[];
    uri: string;
    viewableWithLink?: boolean;
    views: {
        [viewId: string]: {
            ids: string[];
            pagination: PaginationInfo;
            type: string;
        };
    };
    whitelist: boolean;
}

Type Parameters

Hierarchy (view full)

Implemented by

Properties

_docId: string

A unique stringified document ID

_id?: string

A unique document ID (Mongo DB ObjectID)

addresses: string[]

The addresses of the address list. If this is a tracker list, the addresses are the tracker IDs.

aliasAddress?: string

The alias BitBadges address of the address list.

claims: iClaimDetails<T>[]

The claims of the address list.

createdBlock: T

The block number when this list was created

createdBy: string

The BitBadges address of the user who created this list

customData: string

Arbitrary custom data that can be stored on-chain.

lastUpdated: T

The timestamp of when this list was last updated (milliseconds since epoch)

listId: string

The ID of the address list.

listsActivity: iListActivityDoc<T>[]

The activity of the address list.

metadata?: iMetadata<T>

The metadata of the address list.

nsfw?: {
    reason: string;
}

The NSFW reason if this list is NSFW

private?: boolean

True if this list is private and will not show up in search results

reported?: {
    reason: string;
}

The reported reason if this list is reported

updateHistory: iUpdateHistory<T>[]

The update history of this list

uri: string

The URI where to fetch the address list metadata from.

viewableWithLink?: boolean

True if this list is viewable if queried by the list ID directly

views: {
    [viewId: string]: {
        ids: string[];
        pagination: PaginationInfo;
        type: string;
    };
}

The views of the address list.

whitelist: boolean

Whether or not to include ONLY the addresses or include all EXCEPT the addresses.