Interface iBitBadgesAddressList<T>

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

Type Parameters

Hierarchy (View Summary, Expand)

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. Handled internally.

claims: iClaimDetails<T>[]

The linked 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. Leave blank for no custom data.

lastUpdated: T

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

listActivity: iListActivityDoc<T>[]

The activity of the address list.

listId: string

The ID of the address list.

listings?: iUtilityListingDoc<T>[]

The listings of the address list.

managedBy: string

The BitBadges address of the user who is currently managing this

metadata?: iMetadata<T>

The metadata of the address list.

nsfw?: { reason: string }

The NSFW reason if this list is NSFW

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.

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.

MMNEPVFCICPMFPCPTTAAATR