Hierarchy (View Summary)

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • privateConstructorKey: string
    • params: PayloadDivinerParams<
          DeepRestrictToStringKeys<
              {
                  allowedQueries?: string[];
                  archiving?: { archivists?: string[]; queries?: string[] };
                  archivist?: string;
                  consoleLogger?: LogLevel;
                  indexBatchSize?: number;
                  indexes?: string[];
                  labels?: { [key: string]: undefined | string };
                  maxIndexSize?: number;
                  name?: string;
                  paging?: { [key: string]: { size?: number } };
                  retry?: { backoff?: number; interval?: number; retries?: number };
                  schema: "network.xyo.diviner.payload.generic.config";
                  security?: {
                      allowAnonymous?: boolean;
                      allowed?: { [key: string]: (Lowercase<string> | Lowercase<(...)>[])[] };
                      disallowed?: { [key: string]: Lowercase<string>[] };
                  };
                  sign?: boolean;
                  storeQueries?: boolean;
                  timestamp?: boolean;
              },
          >,
      >
    • account: AccountInstance

    Returns MemoryPayloadDiviner

Properties

_account: AccountInstance
_cachedManifests: LRUCache<
    number,
    | DeepRestrictToStringKeys<
        {
            config: {
                accountPath?: string;
                features?: string[];
                labels?: { [x: string]: undefined
                | string };
                language?: string;
                name: string;
                os?: string;
                schema: string;
            };
            description?: string;
            lazyStart?: boolean;
            schema: "network.xyo.module.manifest";
            status?: {
                address: Lowercase<string>;
                children?: { [x: Lowercase<string>]: null | string };
            };
        },
    >
    | DeepRestrictToStringKeys<
        {
            config: {
                accountPath?: string;
                features?: string[];
                labels?: { [x: string]: undefined
                | string };
                language?: string;
                name: string;
                os?: string;
                schema: string;
            };
            description?: string;
            lazyStart?: boolean;
            schema: "network.xyo.node.manifest";
            status?: {
                address: Lowercase<string>;
                children?: { [x: Lowercase<string>]: null | string };
            };
        },
    >,
>
_lastError?: ModuleDetailsError
_started: undefined | Promisable<boolean>
_startPromise: undefined | Promisable<boolean>
eventData: DivinerModuleEventData<
    DivinerInstance<
        PayloadDivinerParams<
            DeepRestrictToStringKeys<
                {
                    allowedQueries?: string[];
                    archiving?: { archivists?: string[]; queries?: string[] };
                    archivist?: string;
                    consoleLogger?: LogLevel;
                    indexBatchSize?: number;
                    indexes?: string[];
                    labels?: { [key: string]: undefined | string };
                    maxIndexSize?: number;
                    name?: string;
                    paging?: { [key: string]: { size?: number } };
                    retry?: { backoff?: number; interval?: number; retries?: number };
                    schema: "network.xyo.diviner.payload.generic.config";
                    security?: {
                        allowAnonymous?: boolean;
                        allowed?: { [key: string]: ((...) | (...))[] };
                        disallowed?: { [key: string]: Lowercase<(...)>[] };
                    };
                    sign?: boolean;
                    storeQueries?: boolean;
                    timestamp?: boolean;
                },
            >,
        >,
        DeepRestrictToStringKeys<
            {
                address?: Lowercase<string>
                | Lowercase<string>[];
                budget?: number;
                cursor?: Lowercase<string>;
                limit?: number;
                maxFrequency?:
                    | "once"
                    | "second"
                    | "minute"
                    | "hour"
                    | "day"
                    | "week"
                    | "month"
                    | "year";
                minBid?: number;
                order?: Order;
                schema: "network.xyo.diviner.payload.query";
                schemas?: string[];
            },
        >,
        WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>,
    >,
    DeepRestrictToStringKeys<
        {
            address?: Lowercase<string>
            | Lowercase<string>[];
            budget?: number;
            cursor?: Lowercase<string>;
            limit?: number;
            maxFrequency?:
                | "once"
                | "second"
                | "minute"
                | "hour"
                | "day"
                | "week"
                | "month"
                | "year";
            minBid?: number;
            order?: Order;
            schema: "network.xyo.diviner.payload.query";
            schemas?: string[];
        },
    >,
    WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>,
>
indexMaps: Record<
    string,
    WithStorageMeta<
        WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>,
    >[],
>
moduleConfigQueryValidator: Queryable<UnsignedQueryBoundWitness>
onArchivistCleared: EventListener<{ mod: Module }>
onArchivistDeleted: EventListener<
    { mod: Module } & { hashes: Lowercase<string>[] },
>
onArchivistInserted: EventListener<
    { mod: Module } & {
        payloads: DeepRestrictToStringKeys<{ schema: string }>[];
    },
>
payloadsWithMeta: WithStorageMeta<
    WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>,
>[]
supportedQueryValidator: Queryable<UnsignedQueryBoundWitness>
allowRandomAccount: boolean
configSchemas: string[]
defaultConfigSchema: string
defaultLogger: Logger
enableLazyLoad: boolean
globalInstances: Record<string, WeakRef<Base<undefined | BaseParamsFields>>[]>
globalInstancesCountHistory: Record<string, number[]>
labels: Labels
privateConstructorKey: string
targetSchema: string
uniqueName: string
useNewResolver: false

Accessors

  • get account(): AccountInstance
  • Returns AccountInstance

  • get additionalSigners(): AccountInstance[]
  • Returns AccountInstance[]

  • get address(): Lowercase<string>
  • Returns Lowercase<string>

  • get allowAnonymous(): boolean
  • Returns boolean

  • get allowNameResolution(): boolean
  • Returns boolean

  • get archiving(): undefined | { archivists?: string[]; queries?: string[] }
  • Returns undefined | { archivists?: string[]; queries?: string[] }

  • get archivist(): undefined | string
  • Returns undefined | string

  • get config(): TParams["config"]
  • Returns TParams["config"]

  • get dead(): boolean
  • Returns boolean

  • get ephemeralQueryAccountEnabled(): boolean
  • Returns boolean

  • get id(): string
  • Returns string

  • get indexBatchSize(): number
  • Returns number

  • get indexes(): string[]
  • Returns string[]

  • get logger(): Logger
  • Returns Logger

  • get maxIndexSize(): number
  • Returns number

  • get modName(): undefined | string
  • Returns undefined | string

  • get params(): TParams
  • Returns TParams

  • get priority(): 2
  • Returns 2

  • get queries(): string[]
  • Returns string[]

  • get root(): this
  • Returns this

  • get status(): ModuleStatus
  • Returns ModuleStatus

  • set status(value: ModuleStatus): void
  • Parameters

    Returns void

  • get timestamp(): boolean
  • Returns boolean

  • get historyInterval(): number
  • Returns number

  • set historyInterval(value: number): void
  • Parameters

    • value: number

    Returns void

  • get historyTime(): number
  • Returns number

  • set historyTime(value: number): void
  • Parameters

    • value: number

    Returns void

  • get maxGcFrequency(): number
  • Returns number

  • set maxGcFrequency(value: number): void
  • Parameters

    • value: number

    Returns void

  • get maxHistoryDepth(): number
  • Returns number

Methods

  • Returns void

  • Parameters

    • funcName: string

    Returns any

  • Parameters

    • functionName: string

    Returns void

  • Type Parameters

    • T extends DeepRestrictToStringKeys<
          {
              address?: Lowercase<string>
              | Lowercase<string>[];
              budget?: number;
              maxFrequency?:
                  | "once"
                  | "second"
                  | "minute"
                  | "hour"
                  | "day"
                  | "week"
                  | "month"
                  | "year";
              minBid?: number;
              schema: string;
          },
      >

    Parameters

    Returns PromiseEx<
        [
            UnsignedQueryBoundWitness,
            DeepRestrictToStringKeys<{ schema: string }>[],
            DeepRestrictToStringKeys<{ schema: string }>[],
        ],
        AccountInstance,
    >

  • Type Parameters

    • T extends DeepRestrictToStringKeys<
          {
              address?: Lowercase<string>
              | Lowercase<string>[];
              budget?: number;
              maxFrequency?:
                  | "once"
                  | "second"
                  | "minute"
                  | "hour"
                  | "day"
                  | "week"
                  | "month"
                  | "year";
              minBid?: number;
              schema: string;
          },
      >

    Parameters

    Returns Promise<
        [
            UnsignedQueryBoundWitness,
            DeepRestrictToStringKeys<{ schema: string }>[],
            DeepRestrictToStringKeys<{ schema: string }>[],
        ],
    >

  • Type Parameters

    • T extends DeepRestrictToStringKeys<
          {
              address?: Lowercase<string>
              | Lowercase<string>[];
              budget?: number;
              maxFrequency?:
                  | "once"
                  | "second"
                  | "minute"
                  | "hour"
                  | "day"
                  | "week"
                  | "month"
                  | "year";
              minBid?: number;
              schema: string;
          },
      >

    Parameters

    • query: T
    • payloads: DeepRestrictToStringKeys<{ schema: string }>[]
    • OptionaladditionalWitnesses: AccountInstance[]
    • Optionalerrors: DeepRestrictToStringKeys<
          {
              details?: | null
              | string
              | number
              | boolean
              | {
                  [key: string]: | null
                  | string
                  | number
                  | boolean
                  | (
                      { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null)[] | null; }
                  )
                  | (
                      string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
                  )[];
              }
              | (
                  | null
                  | string
                  | number
                  | boolean
                  | {
                      [key: string]: string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null;
                  }
                  | (
                      (string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null)[]
                  )
              )[];
              message?: string;
              name?: string;
              query?: Lowercase<string>;
              schema: "network.xyo.error.module";
          },
      >[]

    Returns Promise<ModuleQueryResult>

  • Type Parameters

    • R

    Parameters

    • closure: () => Promise<R>

    Returns Promise<R>

  • Returns Promise<void>

  • Parameters

    • eventNames: string | number | symbol | (string | number | symbol)[]

    Returns void

  • Parameters

    • Optionalpayloads: DeepRestrictToStringKeys<
          {
              address?: Lowercase<string>
              | Lowercase<string>[];
              budget?: number;
              cursor?: Lowercase<string>;
              limit?: number;
              maxFrequency?:
                  | "once"
                  | "second"
                  | "minute"
                  | "hour"
                  | "day"
                  | "week"
                  | "month"
                  | "year";
              minBid?: number;
              order?: Order;
              schema: "network.xyo.diviner.payload.query";
              schemas?: string[];
          },
      >[]
    • OptionalretryConfigIn: RetryConfigWithComplete

    Returns Promise<
        DivinerDivineResult<
            WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>,
        >[],
    >

  • Parameters

    • Optionalpayloads: DeepRestrictToStringKeys<
          {
              address?: Lowercase<string>
              | Lowercase<string>[];
              budget?: number;
              cursor?: Lowercase<string>;
              limit?: number;
              maxFrequency?:
                  | "once"
                  | "second"
                  | "minute"
                  | "hour"
                  | "day"
                  | "week"
                  | "month"
                  | "year";
              minBid?: number;
              order?: Order;
              schema: "network.xyo.diviner.payload.query";
              schemas?: string[];
          },
      >[]

    Returns Promise<WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>[]>

  • Parameters

    • Optionalpayloads: DeepRestrictToStringKeys<
          {
              address?: Lowercase<string>
              | Lowercase<string>[];
              budget?: number;
              cursor?: Lowercase<string>;
              limit?: number;
              maxFrequency?:
                  | "once"
                  | "second"
                  | "minute"
                  | "hour"
                  | "day"
                  | "week"
                  | "month"
                  | "year";
              minBid?: number;
              order?: Order;
              schema: "network.xyo.diviner.payload.query";
              schemas?: string[];
          },
      >[]
    • Optionalaccount: AccountInstance
    • Optional_retry: RetryConfig

    Returns Promise<
        ModuleQueryResult<
            WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>,
        >,
    >

  • Type Parameters

    • TEventName extends string | number | symbol = string | number | symbol
    • TEventArgs extends EventArgs = DivinerModuleEventData<
          DivinerInstance<
              PayloadDivinerParams<
                  DeepRestrictToStringKeys<
                      {
                          allowedQueries?: string[];
                          archiving?: { archivists?: string[]; queries?: string[] };
                          archivist?: string;
                          consoleLogger?: LogLevel;
                          indexBatchSize?: number;
                          indexes?: string[];
                          labels?: { [key: string]: undefined | string };
                          maxIndexSize?: number;
                          name?: string;
                          paging?: { [key: string]: { size?: number } };
                          retry?: { backoff?: number; interval?: number; retries?: number };
                          schema: "network.xyo.diviner.payload.generic.config";
                          security?: {
                              allowAnonymous?: boolean;
                              allowed?: { [key: string]: (...)[] };
                              disallowed?: { [key: string]: (...)[] };
                          };
                          sign?: boolean;
                          storeQueries?: boolean;
                          timestamp?: boolean;
                      },
                  >,
              >,
              DeepRestrictToStringKeys<
                  {
                      address?: Lowercase<string>
                      | Lowercase<string>[];
                      budget?: number;
                      cursor?: Lowercase<string>;
                      limit?: number;
                      maxFrequency?:
                          | "once"
                          | "second"
                          | "minute"
                          | "hour"
                          | "day"
                          | "week"
                          | "month"
                          | "year";
                      minBid?: number;
                      order?: Order;
                      schema: "network.xyo.diviner.payload.query";
                      schemas?: string[];
                  },
              >,
              WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>,
          >,
          DeepRestrictToStringKeys<
              {
                  address?: Lowercase<string>
                  | Lowercase<string>[];
                  budget?: number;
                  cursor?: Lowercase<string>;
                  limit?: number;
                  maxFrequency?:
                      | "once"
                      | "second"
                      | "minute"
                      | "hour"
                      | "day"
                      | "week"
                      | "month"
                      | "year";
                  minBid?: number;
                  order?: Order;
                  schema: "network.xyo.diviner.payload.query";
                  schemas?: string[];
              },
          >,
          WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>,
      >[TEventName]

    Parameters

    Returns Promise<void>

  • Type Parameters

    • TEventName extends string | number | symbol = string | number | symbol
    • TEventArgs extends EventArgs = DivinerModuleEventData<
          DivinerInstance<
              PayloadDivinerParams<
                  DeepRestrictToStringKeys<
                      {
                          allowedQueries?: string[];
                          archiving?: { archivists?: string[]; queries?: string[] };
                          archivist?: string;
                          consoleLogger?: LogLevel;
                          indexBatchSize?: number;
                          indexes?: string[];
                          labels?: { [key: string]: undefined | string };
                          maxIndexSize?: number;
                          name?: string;
                          paging?: { [key: string]: { size?: number } };
                          retry?: { backoff?: number; interval?: number; retries?: number };
                          schema: "network.xyo.diviner.payload.generic.config";
                          security?: {
                              allowAnonymous?: boolean;
                              allowed?: { [key: string]: (...)[] };
                              disallowed?: { [key: string]: (...)[] };
                          };
                          sign?: boolean;
                          storeQueries?: boolean;
                          timestamp?: boolean;
                      },
                  >,
              >,
              DeepRestrictToStringKeys<
                  {
                      address?: Lowercase<string>
                      | Lowercase<string>[];
                      budget?: number;
                      cursor?: Lowercase<string>;
                      limit?: number;
                      maxFrequency?:
                          | "once"
                          | "second"
                          | "minute"
                          | "hour"
                          | "day"
                          | "week"
                          | "month"
                          | "year";
                      minBid?: number;
                      order?: Order;
                      schema: "network.xyo.diviner.payload.query";
                      schemas?: string[];
                  },
              >,
              WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>,
          >,
          DeepRestrictToStringKeys<
              {
                  address?: Lowercase<string>
                  | Lowercase<string>[];
                  budget?: number;
                  cursor?: Lowercase<string>;
                  limit?: number;
                  maxFrequency?:
                      | "once"
                      | "second"
                      | "minute"
                      | "hour"
                      | "day"
                      | "week"
                      | "month"
                      | "year";
                  minBid?: number;
                  order?: Order;
                  schema: "network.xyo.diviner.payload.query";
                  schemas?: string[];
              },
          >,
          WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>,
      >[TEventName]

    Parameters

    Returns Promise<void>

  • Returns Promise<
        DeepRestrictToStringKeys<
            {
                address: Lowercase<string>;
                children?: string[];
                name?: string;
                queries: string[];
                schema: "network.xyo.module.description";
            },
        >,
    >

  • Parameters

    • schema: string

    Returns boolean

  • Parameters

    • eventNames: string | number | symbol | (string | number | symbol)[]

    Returns number

  • Parameters

    • OptionalmaxDepth: number

    Returns Promise<
        | DeepRestrictToStringKeys<
            {
                config: {
                    accountPath?: string;
                    features?: string[];
                    labels?: { [key: string]: undefined
                    | string };
                    language?: string;
                    name: string;
                    os?: string;
                    schema: string;
                };
                description?: string;
                lazyStart?: boolean;
                schema: "network.xyo.module.manifest";
                status?: {
                    address: Lowercase<string>;
                    children?: { [key: Lowercase<string>]: null | string };
                };
            },
        >
        | DeepRestrictToStringKeys<
            {
                config: {
                    accountPath?: string;
                    features?: string[];
                    labels?: { [key: string]: undefined
                    | string };
                    language?: string;
                    name: string;
                    os?: string;
                    schema: string;
                };
                description?: string;
                lazyStart?: boolean;
                schema: "network.xyo.node.manifest";
                status?: {
                    address: Lowercase<string>;
                    children?: { [key: Lowercase<string>]: null | string };
                };
            },
        >,
    >

  • Parameters

    • OptionalmaxDepth: number
    • Optional_ignoreAddresses: Lowercase<string>[]

    Returns Promise<
        | DeepRestrictToStringKeys<
            {
                config: {
                    accountPath?: string;
                    features?: string[];
                    labels?: { [key: string]: undefined
                    | string };
                    language?: string;
                    name: string;
                    os?: string;
                    schema: string;
                };
                description?: string;
                lazyStart?: boolean;
                schema: "network.xyo.module.manifest";
                status?: {
                    address: Lowercase<string>;
                    children?: { [key: Lowercase<string>]: null | string };
                };
            },
        >
        | DeepRestrictToStringKeys<
            {
                config: {
                    accountPath?: string;
                    features?: string[];
                    labels?: { [key: string]: undefined
                    | string };
                    language?: string;
                    name: string;
                    os?: string;
                    schema: string;
                };
                description?: string;
                lazyStart?: boolean;
                schema: "network.xyo.node.manifest";
                status?: {
                    address: Lowercase<string>;
                    children?: { [key: Lowercase<string>]: null | string };
                };
            },
        >,
    >

  • Parameters

    Returns Promise<
        ModuleQueryResult<
            | DeepRestrictToStringKeys<
                {
                    config: {
                        accountPath?: string;
                        features?: string[];
                        labels?: { [key: string]: undefined
                        | string };
                        language?: string;
                        name: string;
                        os?: string;
                        schema: string;
                    };
                    description?: string;
                    lazyStart?: boolean;
                    schema: "network.xyo.module.manifest";
                    status?: {
                        address: Lowercase<string>;
                        children?: { [key: Lowercase<string>]: null | string };
                    };
                },
            >
            | DeepRestrictToStringKeys<
                {
                    config: {
                        accountPath?: string;
                        features?: string[];
                        labels?: { [key: string]: undefined
                        | string };
                        language?: string;
                        name: string;
                        os?: string;
                        schema: string;
                    };
                    description?: string;
                    lazyStart?: boolean;
                    schema: "network.xyo.node.manifest";
                    status?: {
                        address: Lowercase<string>;
                        children?: { [key: Lowercase<string>]: null | string };
                    };
                },
            >,
        >,
    >

  • Returns Promise<
        (
            | DeepRestrictToStringKeys<
                { address: Lowercase<string>; schema: "network.xyo.address" },
            >
            | DeepRestrictToStringKeys<
                {
                    address: Lowercase<string>;
                    previousHash?: string;
                    schema: "network.xyo.address.hash.previous";
                },
            >
        )[],
    >

  • Returns Promisable<
        (
            | DeepRestrictToStringKeys<
                { address: Lowercase<string>; schema: "network.xyo.address" },
            >
            | DeepRestrictToStringKeys<
                {
                    address: Lowercase<string>;
                    previousHash?: string;
                    schema: "network.xyo.address.hash.previous";
                },
            >
        )[],
    >

  • Type Parameters

    • TEventName extends string | number | symbol

    Parameters

    • eventNames: TEventName | TEventName[]
    • listener: EventListener<
          DivinerModuleEventData<
              DivinerInstance<
                  PayloadDivinerParams<
                      DeepRestrictToStringKeys<
                          {
                              allowedQueries?: string[];
                              archiving?: { archivists?: (...)[]; queries?: (...)[] };
                              archivist?: string;
                              consoleLogger?: LogLevel;
                              indexBatchSize?: number;
                              indexes?: string[];
                              labels?: { [key: string]: undefined | string };
                              maxIndexSize?: number;
                              name?: string;
                              paging?: { [key: string]: { size?: (...) | (...) } };
                              retry?: { backoff?: number; interval?: number; retries?: number };
                              schema: "network.xyo.diviner.payload.generic.config";
                              security?: {
                                  allowAnonymous?: boolean;
                                  allowed?: { [key: ...]: ... };
                                  disallowed?: { [key: ...]: ... };
                              };
                              sign?: boolean;
                              storeQueries?: boolean;
                              timestamp?: boolean;
                          },
                      >,
                  >,
                  DeepRestrictToStringKeys<
                      {
                          address?: Lowercase<string>
                          | Lowercase<string>[];
                          budget?: number;
                          cursor?: Lowercase<string>;
                          limit?: number;
                          maxFrequency?:
                              | "once"
                              | "second"
                              | "minute"
                              | "hour"
                              | "day"
                              | "week"
                              | "month"
                              | "year";
                          minBid?: number;
                          order?: Order;
                          schema: "network.xyo.diviner.payload.query";
                          schemas?: string[];
                      },
                  >,
                  WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>,
              >,
              DeepRestrictToStringKeys<
                  {
                      address?: Lowercase<string>
                      | Lowercase<string>[];
                      budget?: number;
                      cursor?: Lowercase<string>;
                      limit?: number;
                      maxFrequency?:
                          | "once"
                          | "second"
                          | "minute"
                          | "hour"
                          | "day"
                          | "week"
                          | "month"
                          | "year";
                      minBid?: number;
                      order?: Order;
                      schema: "network.xyo.diviner.payload.query";
                      schemas?: string[];
                  },
              >,
              WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>,
          >[TEventName],
      >

    Returns void

  • Type Parameters

    • TEventName extends string | number | symbol

    Parameters

    • eventNames: TEventName | TEventName[]
    • listener: EventListener<
          DivinerModuleEventData<
              DivinerInstance<
                  PayloadDivinerParams<
                      DeepRestrictToStringKeys<
                          {
                              allowedQueries?: string[];
                              archiving?: { archivists?: (...)[]; queries?: (...)[] };
                              archivist?: string;
                              consoleLogger?: LogLevel;
                              indexBatchSize?: number;
                              indexes?: string[];
                              labels?: { [key: string]: undefined | string };
                              maxIndexSize?: number;
                              name?: string;
                              paging?: { [key: string]: { size?: (...) | (...) } };
                              retry?: { backoff?: number; interval?: number; retries?: number };
                              schema: "network.xyo.diviner.payload.generic.config";
                              security?: {
                                  allowAnonymous?: boolean;
                                  allowed?: { [key: ...]: ... };
                                  disallowed?: { [key: ...]: ... };
                              };
                              sign?: boolean;
                              storeQueries?: boolean;
                              timestamp?: boolean;
                          },
                      >,
                  >,
                  DeepRestrictToStringKeys<
                      {
                          address?: Lowercase<string>
                          | Lowercase<string>[];
                          budget?: number;
                          cursor?: Lowercase<string>;
                          limit?: number;
                          maxFrequency?:
                              | "once"
                              | "second"
                              | "minute"
                              | "hour"
                              | "day"
                              | "week"
                              | "month"
                              | "year";
                          minBid?: number;
                          order?: Order;
                          schema: "network.xyo.diviner.payload.query";
                          schemas?: string[];
                      },
                  >,
                  WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>,
              >,
              DeepRestrictToStringKeys<
                  {
                      address?: Lowercase<string>
                      | Lowercase<string>[];
                      budget?: number;
                      cursor?: Lowercase<string>;
                      limit?: number;
                      maxFrequency?:
                          | "once"
                          | "second"
                          | "minute"
                          | "hour"
                          | "day"
                          | "week"
                          | "month"
                          | "year";
                      minBid?: number;
                      order?: Order;
                      schema: "network.xyo.diviner.payload.query";
                      schemas?: string[];
                  },
              >,
              WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>,
          >[TEventName],
      >

    Returns () => void

  • Type Parameters

    • TEventName extends string | number | symbol

    Parameters

    • eventName: TEventName
    • listener: EventListener<
          DivinerModuleEventData<
              DivinerInstance<
                  PayloadDivinerParams<
                      DeepRestrictToStringKeys<
                          {
                              allowedQueries?: string[];
                              archiving?: { archivists?: (...)[]; queries?: (...)[] };
                              archivist?: string;
                              consoleLogger?: LogLevel;
                              indexBatchSize?: number;
                              indexes?: string[];
                              labels?: { [key: string]: undefined | string };
                              maxIndexSize?: number;
                              name?: string;
                              paging?: { [key: string]: { size?: (...) | (...) } };
                              retry?: { backoff?: number; interval?: number; retries?: number };
                              schema: "network.xyo.diviner.payload.generic.config";
                              security?: {
                                  allowAnonymous?: boolean;
                                  allowed?: { [key: ...]: ... };
                                  disallowed?: { [key: ...]: ... };
                              };
                              sign?: boolean;
                              storeQueries?: boolean;
                              timestamp?: boolean;
                          },
                      >,
                  >,
                  DeepRestrictToStringKeys<
                      {
                          address?: Lowercase<string>
                          | Lowercase<string>[];
                          budget?: number;
                          cursor?: Lowercase<string>;
                          limit?: number;
                          maxFrequency?:
                              | "once"
                              | "second"
                              | "minute"
                              | "hour"
                              | "day"
                              | "week"
                              | "month"
                              | "year";
                          minBid?: number;
                          order?: Order;
                          schema: "network.xyo.diviner.payload.query";
                          schemas?: string[];
                      },
                  >,
                  WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>,
              >,
              DeepRestrictToStringKeys<
                  {
                      address?: Lowercase<string>
                      | Lowercase<string>[];
                      budget?: number;
                      cursor?: Lowercase<string>;
                      limit?: number;
                      maxFrequency?:
                          | "once"
                          | "second"
                          | "minute"
                          | "hour"
                          | "day"
                          | "week"
                          | "month"
                          | "year";
                      minBid?: number;
                      order?: Order;
                      schema: "network.xyo.diviner.payload.query";
                      schemas?: string[];
                  },
              >,
              WithStorageMeta<DeepRestrictToStringKeys<{ schema: string }>>,
          >[TEventName],
      >

    Returns () => void

  • Returns Promisable<undefined | string>

  • Type Parameters

    • T extends UnsignedQueryBoundWitness = UnsignedQueryBoundWitness
    • TConfig extends DeepRestrictToStringKeys<
          {
              allowedQueries?: string[];
              archiving?: { archivists?: string[]; queries?: string[] };
              archivist?: string;
              consoleLogger?: LogLevel;
              labels?: { [key: string]: undefined | string };
              name?: string;
              paging?: { [key: string]: { size?: number } };
              retry?: { backoff?: number; interval?: number; retries?: number };
              schema: "network.xyo.module.config";
              security?: {
                  allowAnonymous?: boolean;
                  allowed?: { [key: string]: (Lowercase<string> | Lowercase<string>[])[] };
                  disallowed?: { [key: string]: Lowercase<string>[] };
              };
              sign?: boolean;
              storeQueries?: boolean;
              timestamp?: boolean;
          },
      > = DeepRestrictToStringKeys<
          {
              allowedQueries?: string[];
              archiving?: { archivists?: string[]; queries?: string[] };
              archivist?: string;
              consoleLogger?: LogLevel;
              labels?: { [key: string]: undefined | string };
              name?: string;
              paging?: { [key: string]: { size?: number } };
              retry?: { backoff?: number; interval?: number; retries?: number };
              schema: "network.xyo.module.config";
              security?: {
                  allowAnonymous?: boolean;
                  allowed?: { [key: string]: (Lowercase<string> | Lowercase<string>[])[] };
                  disallowed?: { [key: string]: Lowercase<string>[] };
              };
              sign?: boolean;
              storeQueries?: boolean;
              timestamp?: boolean;
          },
      >

    Parameters

    Returns Promise<ModuleQueryResult>

  • Type Parameters

    • T extends UnsignedQueryBoundWitness = UnsignedQueryBoundWitness
    • TConfig extends DeepRestrictToStringKeys<
          {
              allowedQueries?: string[];
              archiving?: { archivists?: string[]; queries?: string[] };
              archivist?: string;
              consoleLogger?: LogLevel;
              labels?: { [key: string]: undefined | string };
              name?: string;
              paging?: { [key: string]: { size?: number } };
              retry?: { backoff?: number; interval?: number; retries?: number };
              schema: "network.xyo.module.config";
              security?: {
                  allowAnonymous?: boolean;
                  allowed?: { [key: string]: (Lowercase<string> | Lowercase<string>[])[] };
                  disallowed?: { [key: string]: Lowercase<string>[] };
              };
              sign?: boolean;
              storeQueries?: boolean;
              timestamp?: boolean;
          },
      > = DeepRestrictToStringKeys<
          {
              allowedQueries?: string[];
              archiving?: { archivists?: string[]; queries?: string[] };
              archivist?: string;
              consoleLogger?: LogLevel;
              labels?: { [key: string]: undefined | string };
              name?: string;
              paging?: { [key: string]: { size?: number } };
              retry?: { backoff?: number; interval?: number; retries?: number };
              schema: "network.xyo.module.config";
              security?: {
                  allowAnonymous?: boolean;
                  allowed?: { [key: string]: (Lowercase<string> | Lowercase<string>[])[] };
                  disallowed?: { [key: string]: Lowercase<string>[] };
              };
              sign?: boolean;
              storeQueries?: boolean;
              timestamp?: boolean;
          },
      >

    Parameters

    Returns Promise<boolean>

  • Type Parameters

    • T extends UnsignedQueryBoundWitness = UnsignedQueryBoundWitness
    • TConfig extends DeepRestrictToStringKeys<
          {
              allowedQueries?: string[];
              archiving?: { archivists?: string[]; queries?: string[] };
              archivist?: string;
              consoleLogger?: LogLevel;
              labels?: { [key: string]: undefined | string };
              name?: string;
              paging?: { [key: string]: { size?: number } };
              retry?: { backoff?: number; interval?: number; retries?: number };
              schema: "network.xyo.module.config";
              security?: {
                  allowAnonymous?: boolean;
                  allowed?: { [key: string]: (Lowercase<string> | Lowercase<string>[])[] };
                  disallowed?: { [key: string]: Lowercase<string>[] };
              };
              sign?: boolean;
              storeQueries?: boolean;
              timestamp?: boolean;
          },
      > = DeepRestrictToStringKeys<
          {
              allowedQueries?: string[];
              archiving?: { archivists?: string[]; queries?: string[] };
              archivist?: string;
              consoleLogger?: LogLevel;
              labels?: { [key: string]: undefined | string };
              name?: string;
              paging?: { [key: string]: { size?: number } };
              retry?: { backoff?: number; interval?: number; retries?: number };
              schema: "network.xyo.module.config";
              security?: {
                  allowAnonymous?: boolean;
                  allowed?: { [key: string]: (Lowercase<string> | Lowercase<string>[])[] };
                  disallowed?: { [key: string]: Lowercase<string>[] };
              };
              sign?: boolean;
              storeQueries?: boolean;
              timestamp?: boolean;
          },
      >

    Parameters

    Returns Promise<ModuleQueryHandlerResult>

  • Parameters

    • address: Lowercase<string>

    Returns void

  • Type Parameters

    • T extends DeepRestrictToStringKeys<
          {
              address?: Lowercase<string>
              | Lowercase<string>[];
              budget?: number;
              maxFrequency?:
                  | "once"
                  | "second"
                  | "minute"
                  | "hour"
                  | "day"
                  | "week"
                  | "month"
                  | "year";
              minBid?: number;
              schema: string;
          },
      >
    • P extends DeepRestrictToStringKeys<{ schema: string }> = DeepRestrictToStringKeys<{ schema: string }>
    • R extends DeepRestrictToStringKeys<{ schema: string }> = DeepRestrictToStringKeys<{ schema: string }>

    Parameters

    Returns Promise<R[]>

  • Type Parameters

    • T extends DeepRestrictToStringKeys<
          {
              address?: Lowercase<string>
              | Lowercase<string>[];
              budget?: number;
              maxFrequency?:
                  | "once"
                  | "second"
                  | "minute"
                  | "hour"
                  | "day"
                  | "week"
                  | "month"
                  | "year";
              minBid?: number;
              schema: string;
          },
      >
    • P extends DeepRestrictToStringKeys<{ schema: string }> = DeepRestrictToStringKeys<{ schema: string }>
    • R extends DeepRestrictToStringKeys<{ schema: string }> = DeepRestrictToStringKeys<{ schema: string }>

    Parameters

    Returns Promise<ModuleQueryResult<R>>

  • Parameters

    • Optional_timeout: number

    Returns Promisable<boolean>

  • Parameters

    • OptionalnotStartedAction: "error" | "warn" | "log" | "throw" | "none"
    • OptionaltryStart: boolean

    Returns Promise<boolean>

  • Returns Promise<boolean>

  • Parameters

    • Optional_timeout: number

    Returns Promise<boolean>

  • Parameters

    • Optional_timeout: number

    Returns Promise<boolean>

  • Returns Promise<void>

  • Parameters

    • Optionalconfig: unknown
    • Optionalparents: string[]

    Returns boolean

  • Parameters

    • funcName: string

    Returns any

  • Parameters

    • functionName: string

    Returns void

  • Parameters

    • Optionalforce: boolean

    Returns void

  • Parameters

    • className: string

    Returns void

  • Parameters

    • className: string

    Returns number

  • Returns Record<string, number>

  • Returns void

  • Returns void