Files
khadhroony-bobobot/kb_demo_app/frontend/ts/bindings/Demo3OnchainDexDiscoveryResult.ts
2026-05-30 01:14:30 +02:00

99 lines
2.7 KiB
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Demo3OnchainDexDiscoveryRequest } from "./Demo3OnchainDexDiscoveryRequest";
import type { Demo3OnchainDexPaginationCursor } from "./Demo3OnchainDexPaginationCursor";
import type { Demo3OnchainDexPairCandidate } from "./Demo3OnchainDexPairCandidate";
import type { Demo3OnchainDexRejectedCandidateSummary } from "./Demo3OnchainDexRejectedCandidateSummary";
/**
* Structured on-chain DEX discovery result.
*/
export type Demo3OnchainDexDiscoveryResult = {
/**
* Normalized request used by kb_lib.
*/
request: Demo3OnchainDexDiscoveryRequest,
/**
* DEX code resolved from the support matrix when available.
*/
resolvedDexCode: string | null,
/**
* Program id used to filter matched instructions.
*/
resolvedProgramId: string,
/**
* Signature source actually used by getSignaturesForAddress.
*/
resolvedSignatureSource: string,
/**
* Address scanned with getSignaturesForAddress.
*/
resolvedSignatureAddress: string,
/**
* All addresses scanned with getSignaturesForAddress.
*/
resolvedSignatureAddresses: Array<string>,
/**
* Cursor hints by scanned address.
*/
nextBeforeByAddress: Array<Demo3OnchainDexPaginationCursor>,
/**
* Number of signature pages fetched.
*/
fetchedSignaturePageCount: number,
/**
* Number of unique fetched signatures after de-duplication.
*/
uniqueFetchedSignatureCount: number,
/**
* Number of unique candidate signatures.
*/
uniqueSignatureCount: number,
/**
* Unique signatures ready for signature backfill.
*/
uniqueBackfillSignatures: Array<string>,
/**
* Rejected candidate summary.
*/
rejectedCandidateSummary: Array<Demo3OnchainDexRejectedCandidateSummary>,
/**
* Number of signatures returned by Solana RPC.
*/
fetchedSignatureCount: number,
/**
* Number of fetched transactions.
*/
fetchedTransactionCount: number,
/**
* Number of getTransaction calls returning null.
*/
missingTransactionCount: number,
/**
* Number of failed transactions encountered.
*/
failedTransactionCount: number,
/**
* Number of failed transactions skipped because include_failed is false.
*/
skippedFailedTransactionCount: number,
/**
* Number of swap-log transactions skipped by the transaction-level swap guard.
*/
skippedSwapLogTransactionCount: number,
/**
* Number of candidate rows extracted before target-event filtering.
*/
extractedCandidateCount: number,
/**
* Number of candidate rows rejected by target-event filtering.
*/
targetRejectedCandidateCount: number,
/**
* Number of candidate rows returned.
*/
candidateCount: number,
/**
* Candidate on-chain rows.
*/
candidates: Array<Demo3OnchainDexPairCandidate>, };