Interface iApprovalTrackerDoc<T>

interface iApprovalTrackerDoc<T> {
    _docId: string;
    _id?: string;
    amountTrackerId: string;
    amounts: iBalance<T>[];
    approvalId: string;
    approvalLevel: string;
    approvedAddress: string;
    approverAddress: string;
    collectionId: T;
    numTransfers: T;
    trackerType: string;
}

Type Parameters

Hierarchy (view full)

Implemented by

Properties

_docId: string

A unique stringified document ID

_id?: string

A unique document ID (Mongo DB ObjectID)

amountTrackerId: string

The amount tracker ID of the approval.

amounts: iBalance<T>[]

A tally of the amounts transferred for this approval.

approvalId: string

The approval ID

approvalLevel: string

The approval level of the approval "collection", "incoming", or "outgoing".

approvedAddress: string

The address to check for the approval.

approverAddress: string

The address of the approval to check.

collectionId: T

The collection ID for the approval.

numTransfers: T

The number of transfers. Is an incrementing tally.

trackerType: string

The type of tracker to check "overall", "to", "from", or "initiatedBy".