Interface iAddressListDoc<T>

interface iAddressListDoc<T> {
    _docId: string;
    _id?: string;
    addresses: string[];
    aliasAddress?: string;
    createdBlock: T;
    createdBy: string;
    customData: string;
    lastUpdated: T;
    listId: string;
    nsfw?: {
        reason: string;
    };
    private?: boolean;
    reported?: {
        reason: string;
    };
    updateHistory: iUpdateHistory<T>[];
    uri: string;
    viewableWithLink?: boolean;
    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 cosmos address of the address list.

createdBlock: T

The block number when this list was created

createdBy: string

The cosmos 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.

nsfw?: {
    reason: string;
}

The NSFW reason if this list is NSFW

Type declaration

  • reason: string
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

Type declaration

  • reason: string
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

whitelist: boolean

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