import { ReturningLogFinderTransformer, LogFinderRule, LogFragment } from "@terra-money/log-finder"; export interface Action { msgType: string; canonicalMsg: string[]; payload: LogFragment; } export interface Amount { type: string; amount: string; sender?: string; recipient?: string; withdraw_date?: string; } export interface LogFindersActionRuleSet { rule: LogFinderRule; transform: ReturningLogFinderTransformer; } export interface LogFindersAmountRuleSet { rule: LogFinderRule; transform: ReturningLogFinderTransformer; } export interface LogFinderActionResult { fragment: LogFragment; match: { key: string; value: string; }[]; height?: number; transformed?: Action; txhash?: string; } export interface LogFinderAmountResult { timestamp: string; fragment: LogFragment; match: { key: string; value: string; }[]; height?: number; transformed?: Amount; txhash?: string; }