Options
All
  • Public
  • Public/Protected
  • All
Menu

Module utils/_websocket/utils

Index

Variables

Let explorerNS

explorerNS: Namespace<any>

Functions

Const emmitChange

  • emmitChange(_ACTION: string, fullDocument: any): void

Const getAddressFilter

  • getAddressFilter(address: string): { $or: ({ fromTokenAddress: string; toTokenAddress: undefined } | { fromTokenAddress: undefined; toTokenAddress: string })[] } | { $or: undefined }
  • Parameters

    • address: string

    Returns { $or: ({ fromTokenAddress: string; toTokenAddress: undefined } | { fromTokenAddress: undefined; toTokenAddress: string })[] } | { $or: undefined }

Const getSpaceFilter

  • getSpaceFilter(dexSpaces: any): { $or: ({ isV2: boolean; isV2Sushi: undefined; isV3: undefined } | { isV2: undefined; isV2Sushi: undefined; isV3: boolean } | { isV2: undefined; isV2Sushi: boolean; isV3: undefined })[] } | { $or: undefined }
  • Parameters

    • dexSpaces: any

    Returns { $or: ({ isV2: boolean; isV2Sushi: undefined; isV3: undefined } | { isV2: undefined; isV2Sushi: undefined; isV3: boolean } | { isV2: undefined; isV2Sushi: boolean; isV3: undefined })[] } | { $or: undefined }

Const startSocketServer

  • startSocketServer(serverName: string): Promise<boolean>

Generated using TypeDoc