45 lines
1.1 KiB
TypeScript
45 lines
1.1 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 { Demo3OnchainDexPairCandidate } from "./Demo3OnchainDexPairCandidate";
|
|
|
|
/**
|
|
* 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 scanned with getSignaturesForAddress.
|
|
*/
|
|
resolvedProgramId: string,
|
|
/**
|
|
* 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 candidate rows returned.
|
|
*/
|
|
candidateCount: number,
|
|
/**
|
|
* Candidate on-chain rows.
|
|
*/
|
|
candidates: Array<Demo3OnchainDexPairCandidate>, };
|