Handles the fetching and processing of signatures on an account.

Hierarchy

Constructors

Properties

account: string

The account account to fetch related signatures for.

accountLogHistoryDAL: EthereumAccountLogHistoryStorage
backwardJob: undefined | JobRunner
blockHistoryFetcher: EthereumBlockHistoryFetcher
blockchainId: Blockchain = Blockchain.Ethereum
ethereumClient: EthereumClient

The Solana RPC client.

fetcherState: BaseFetcherState<EthereumAccountLogHistoryPaginationCursor>
fetcherStateDAL: FetcherStateLevelStorage<EthereumAccountLogHistoryPaginationCursor>

The fetcher state storage.

forwardJob: undefined | JobRunner
isContract: boolean = false
iterationLimit: number = 100
options: BaseFetcherOptions<EthereumAccountLogHistoryPaginationCursor>
pageLimit: number = 10
times: number = 1

Methods

  • Parameters

    • type: "forward" | "backward"
    • ctx: {
          error?: Error;
          jobState: BaseFetcherJobState;
          newItems: boolean;
      }
      • Optional error?: Error
      • jobState: BaseFetcherJobState
      • newItems: boolean

    Returns Promise<boolean>

  • Parameters

    • fetcherType: "forward" | "backward"
    • ctx: {
          firstRun: boolean;
          interval: number;
      }
      • firstRun: boolean
      • interval: number

    Returns Promise<number>

  • Parameters

    • fetcherType: "forward" | "backward"

    Returns Promise<void>

  • Initialises the fetcherState class property of the Fetcher instance, could get the data from the data access layer when the fetching progress is restarted.

    Returns Promise<BaseFetcherState<EthereumAccountLogHistoryPaginationCursor>>

  • Returns string

  • Parameters

    • Optional fetcherType: "forward" | "backward"

    Returns Promise<number>

  • Parameters

    • Optional fetcherType: "forward" | "backward"

    Returns Promise<number>

  • Parameters

    • jobType: "forward" | "backward"

    Returns void

  • Parameters

    • Optional fetcherType: "forward" | "backward"

    Returns Promise<boolean>

  • Returns Promise<unknown>

  • Saves the fetcher state in the data access layer.

    Returns Promise<void>

  • Returns Promise<void>

Generated using TypeDoc