Interface iAddressListDoc<T>

interface iAddressListDoc<T extends NumberType> {
    _docId: string;
    _id?: string;
    addresses: string[];
    aliasAddress?: string;
    createdBlock: T;
    createdBy: string;
    customData: string;
    lastUpdated: T;
    listId: string;
    managedBy: string;
    nsfw?: { reason: string };
    reported?: { reason: string };
    updateHistory: iUpdateHistory<T>[];
    uri: 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.

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)

listId: string

The ID of the address list.

managedBy: string

The BitBadges address of the user who is currently managing this

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.

whitelist: boolean

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

MMNEPVFCICPMFPCPTTAAATR