151 lines
4.6 KiB
TypeScript
151 lines
4.6 KiB
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { KbDemoPipeline2LocalDecodedEventDiagnosticSummary } from "./KbDemoPipeline2LocalDecodedEventDiagnosticSummary";
|
|
import type { KbDemoPipeline2LocalDexDiagnosticSummary } from "./KbDemoPipeline2LocalDexDiagnosticSummary";
|
|
import type { KbDemoPipeline2LocalDuplicateDecodedEventTradeDiagnosticSample } from "./KbDemoPipeline2LocalDuplicateDecodedEventTradeDiagnosticSample";
|
|
import type { KbDemoPipeline2LocalMissingTradeEventDiagnosticSample } from "./KbDemoPipeline2LocalMissingTradeEventDiagnosticSample";
|
|
import type { KbDemoPipeline2LocalMultiTradeSignaturePairDiagnosticSample } from "./KbDemoPipeline2LocalMultiTradeSignaturePairDiagnosticSample";
|
|
import type { KbDemoPipeline2LocalPairDiagnosticSummary } from "./KbDemoPipeline2LocalPairDiagnosticSummary";
|
|
import type { KbDemoPipeline2LocalPairGapDiagnosticSample } from "./KbDemoPipeline2LocalPairGapDiagnosticSample";
|
|
|
|
/**
|
|
* Local pipeline diagnostics summary for the UI.
|
|
*/
|
|
export type KbDemoPipeline2LocalPipelineDiagnosticSummary = {
|
|
/**
|
|
* Total persisted chain transactions.
|
|
*/
|
|
transactionCount: number,
|
|
/**
|
|
* Total successful chain transactions.
|
|
*/
|
|
okTransactionCount: number,
|
|
/**
|
|
* Total failed chain transactions.
|
|
*/
|
|
failedTransactionCount: number,
|
|
/**
|
|
* Total decoded DEX events.
|
|
*/
|
|
decodedEventCount: number,
|
|
/**
|
|
* Total decoded DEX trade candidates.
|
|
*/
|
|
decodedTradeCandidateCount: number,
|
|
/**
|
|
* Total decoded DEX candle candidates.
|
|
*/
|
|
decodedCandleCandidateCount: number,
|
|
/**
|
|
* Whether the local persisted pipeline has no blocking diagnostic issue.
|
|
*/
|
|
diagnosticsClean: boolean,
|
|
/**
|
|
* Number of blocking diagnostic issues.
|
|
*/
|
|
blockingIssueCount: number,
|
|
/**
|
|
* Total trade candidates without trade event, including ignored failed transactions.
|
|
*/
|
|
missingTradeEventCount: number,
|
|
/**
|
|
* Explicit alias for decoded trade candidates without linked trade event.
|
|
*/
|
|
decodedTradeCandidateWithoutTradeEventCount: number,
|
|
/**
|
|
* Trade candidates without linked trade event on successful transactions.
|
|
*/
|
|
decodedTradeCandidateWithoutTradeEventOnOkTransactionCount: number,
|
|
/**
|
|
* Trade candidates without linked trade event on failed transactions.
|
|
*/
|
|
decodedTradeCandidateWithoutTradeEventOnFailedTransactionCount: number,
|
|
/**
|
|
* Trade candidates without linked trade event and without explicit base/quote payload amounts.
|
|
* Actionable missing trade events on successful transactions.
|
|
*/
|
|
actionableMissingTradeEventCount: number,
|
|
/**
|
|
* Ignored missing trade events caused by failed transactions.
|
|
*/
|
|
ignoredFailedTransactionTradeCandidateCount: number, decodedTradeCandidateWithoutAmountPayloadCount: number,
|
|
/**
|
|
* Total persisted trade events.
|
|
*/
|
|
tradeEventCount: number,
|
|
/**
|
|
* Total invalid trade events.
|
|
*/
|
|
invalidTradeEventCount: number,
|
|
/**
|
|
* Total persisted pair candles.
|
|
*/
|
|
pairCandleCount: number,
|
|
/**
|
|
* Real duplicate trade rows grouped by decoded event id.
|
|
*/
|
|
duplicateDecodedEventTradeCount: number,
|
|
/**
|
|
* Multi-trade groups sharing the same signature and pair id.
|
|
*/
|
|
multiTradeSignaturePairCount: number,
|
|
/**
|
|
* Total duplicate candle buckets.
|
|
*/
|
|
duplicateCandleBucketCount: number,
|
|
/**
|
|
* Total known tokens.
|
|
*/
|
|
tokenCount: number,
|
|
/**
|
|
* Total tokens missing symbol or name.
|
|
*/
|
|
tokenMetadataMissingCount: number,
|
|
/**
|
|
* Total known pools.
|
|
*/
|
|
poolCount: number,
|
|
/**
|
|
* Total known pairs.
|
|
*/
|
|
pairCount: number,
|
|
/**
|
|
* Total pairs without trade.
|
|
*/
|
|
pairWithoutTradeCount: number,
|
|
/**
|
|
* Total pairs without candle.
|
|
*/
|
|
pairWithoutCandleCount: number,
|
|
/**
|
|
* Diagnostics grouped by DEX.
|
|
*/
|
|
dexSummaries: Array<KbDemoPipeline2LocalDexDiagnosticSummary>,
|
|
/**
|
|
* Diagnostics grouped by pair.
|
|
*/
|
|
pairSummaries: Array<KbDemoPipeline2LocalPairDiagnosticSummary>,
|
|
/**
|
|
* Diagnostics grouped by decoded event kind.
|
|
*/
|
|
decodedEventSummaries: Array<KbDemoPipeline2LocalDecodedEventDiagnosticSummary>,
|
|
/**
|
|
* Samples of decoded trade candidates without linked trade event.
|
|
*/
|
|
missingTradeEventSamples: Array<KbDemoPipeline2LocalMissingTradeEventDiagnosticSample>,
|
|
/**
|
|
* Samples of duplicated trade rows by decoded event id.
|
|
*/
|
|
duplicateDecodedEventTradeSamples: Array<KbDemoPipeline2LocalDuplicateDecodedEventTradeDiagnosticSample>,
|
|
/**
|
|
* Samples of multi-trade signature/pair groups.
|
|
*/
|
|
multiTradeSignaturePairSamples: Array<KbDemoPipeline2LocalMultiTradeSignaturePairDiagnosticSample>,
|
|
/**
|
|
* Samples of pairs without trade.
|
|
*/
|
|
pairWithoutTradeSamples: Array<KbDemoPipeline2LocalPairGapDiagnosticSample>,
|
|
/**
|
|
* Samples of pairs without candle.
|
|
*/
|
|
pairWithoutCandleSamples: Array<KbDemoPipeline2LocalPairGapDiagnosticSample>, };
|