Class PollingDriftClientAccountSubscriber

Hierarchy

  • PollingDriftClientAccountSubscriber

Implements

Constructors

Properties

accountLoader: BulkAccountLoader
accountsToPoll: Map<string, AccountToPoll> = ...
delistedMarketSetting: DelistedMarketSetting
errorCallbackId?: string
eventEmitter: StrictEventEmitter<EventEmitter<DefaultEventMap>, DriftClientAccountEvents, DriftClientAccountEvents, "addEventListener" | "removeEventListener", "on" | "addListener" | "removeListener" | "once" | "emit">
isSubscribed: boolean
isSubscribing: boolean = false
oracleClientCache: OracleClientCache = ...
oracleInfos: OracleInfo[]
oracles: Map<string, DataAndSlot<OraclePriceData>> = ...
oraclesToPoll: Map<string, OraclesToPoll> = ...
perpMarket: Map<number, DataAndSlot<PerpMarketAccount>> = ...
perpMarketIndexes: number[]
perpOracleMap: Map<number, PublicKey> = ...
perpOracleStringMap: Map<number, string> = ...
program: Program<Idl>
shouldFindAllMarketsAndOracles: boolean
spotMarket: Map<number, DataAndSlot<SpotMarketAccount>> = ...
spotMarketIndexes: number[]
spotOracleMap: Map<number, PublicKey> = ...
spotOracleStringMap: Map<number, string> = ...
subscriptionPromise: Promise<boolean>
subscriptionPromiseResolver: ((val: boolean) => void)

Type declaration

    • (val: boolean): void
    • Parameters

      • val: boolean

      Returns void

Methods

Generated using TypeDoc