import { CWEvent } from '../../../interfaces'; import { EventKind, RawEvent, IEventData, IErc20Contracts } from '../types'; /** * This is an "enricher" function, whose goal is to augment the initial event data * received from the "system.events" query with additional useful information, as * described in the event's interface in our "types.ts" file. * * Once fetched, the function marshalls the event data and the additional information * into the interface, and returns a fully-formed event, ready for database storage. */ export interface EnricherConfig { balanceTransferThresholdPermill?: number; } export declare function Enrich(api: IErc20Contracts, blockNumber: number, kind: EventKind, rawData: RawEvent, config?: EnricherConfig): Promise>;