Options
All
  • Public
  • Public/Protected
  • All
Menu

Fetcher and cache layer for fetching WhirlpoolSupportedTypes from the network Default implementation for WhirlpoolAccountFetcherInterface

Hierarchy

  • WhirlpoolAccountFetcher

Implements

Index

Constructors

Properties

connection: Connection
fetcher: AccountFetcher<WhirlpoolSupportedTypes, SimpleAccountFetchOptions>

Methods

  • getAccountRentExempt(refresh?: boolean): Promise<number>
  • getConfigs(addresses: Address[], opts?: SimpleAccountFetchOptions): Promise<ReadonlyMap<string, null | WhirlpoolsConfigData>>
  • getFeeTier(address: Address, opts?: SimpleAccountFetchOptions): Promise<null | FeeTierData>
  • getFeeTiers(addresses: Address[], opts?: SimpleAccountFetchOptions): Promise<ReadonlyMap<string, null | FeeTierData>>
  • getMintInfo(address: Address, opts?: SimpleAccountFetchOptions): Promise<null | Mint>
  • getMintInfos(addresses: Address[], opts?: SimpleAccountFetchOptions): Promise<ReadonlyMap<string, null | Mint>>
  • getPool(address: Address, opts?: SimpleAccountFetchOptions): Promise<null | WhirlpoolData>
  • getPools(addresses: Address[], opts?: SimpleAccountFetchOptions): Promise<ReadonlyMap<string, null | WhirlpoolData>>
  • getPosition(address: Address, opts?: SimpleAccountFetchOptions): Promise<null | PositionData>
  • getPositionBundle(address: Address, opts?: SimpleAccountFetchOptions): Promise<null | PositionBundleData>
  • getPositionBundles(addresses: Address[], opts?: SimpleAccountFetchOptions): Promise<ReadonlyMap<string, null | PositionBundleData>>
  • getPositions(addresses: Address[], opts?: SimpleAccountFetchOptions): Promise<ReadonlyMap<string, null | PositionData>>
  • getTickArray(address: Address, opts?: SimpleAccountFetchOptions): Promise<null | TickArrayData>
  • getTickArrays(addresses: Address[], opts?: SimpleAccountFetchOptions): Promise<readonly (null | TickArrayData)[]>
  • getTokenInfo(address: Address, opts?: SimpleAccountFetchOptions): Promise<null | Account>
  • getTokenInfos(addresses: Address[], opts?: SimpleAccountFetchOptions): Promise<ReadonlyMap<string, null | Account>>
  • populateCache<T>(accounts: ReadonlyMap<string, T>, parser: ParsableEntity<T>, now?: number): void

Generated using TypeDoc