0.7.43-E5C

This commit is contained in:
2026-05-27 11:28:36 +02:00
parent 69c8f6c957
commit d9558a5c16
28 changed files with 4451 additions and 325 deletions

View File

@@ -12,6 +12,26 @@ dexCode: string | null,
* Optional Solana program id. When absent, dex_code must resolve to a verified program id.
*/
programId: string | null,
/**
* Optional signature source: `program_id` or `address`.
*/
signatureSource: string | null,
/**
* Optional source address used when signature_source is `address`.
*/
sourceAddress: string | null,
/**
* Optional target event family used to find non-swap signatures.
*/
targetEvent: string | null,
/**
* Whether transactions containing swap-like logs should be skipped.
*/
excludeSwaps: boolean,
/**
* Whether failed transactions should be returned as candidates.
*/
includeFailed: boolean,
/**
* HTTP role used to query Solana RPC.
*/

View File

@@ -1,6 +1,7 @@
// 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";
import type { Demo3OnchainDexRejectedCandidateSummary } from "./Demo3OnchainDexRejectedCandidateSummary";
/**
* Structured on-chain DEX discovery result.
@@ -15,9 +16,29 @@ request: Demo3OnchainDexDiscoveryRequest,
*/
resolvedDexCode: string | null,
/**
* Program id scanned with getSignaturesForAddress.
* Program id used to filter matched instructions.
*/
resolvedProgramId: string,
/**
* Signature source actually used by getSignaturesForAddress.
*/
resolvedSignatureSource: string,
/**
* Address scanned with getSignaturesForAddress.
*/
resolvedSignatureAddress: string,
/**
* 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.
*/
@@ -34,6 +55,22 @@ 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.
*/

View File

@@ -50,6 +50,10 @@ innerInstructionIndex: number | null,
* Instruction name inferred from data/logs.
*/
instructionName: string | null,
/**
* Prefix of the raw base58 instruction data, useful for audit grouping.
*/
instructionDataPrefix: string | null,
/**
* Candidate pool address.
*/

View File

@@ -0,0 +1,26 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
/**
* Rejected on-chain discovery candidate summary.
*/
export type Demo3OnchainDexRejectedCandidateSummary = {
/**
* Candidate kind rejected by target filtering.
*/
candidateKind: string,
/**
* Optional instruction data prefix.
*/
instructionDataPrefix: string | null,
/**
* Optional instruction name.
*/
instructionName: string | null,
/**
* Rejection reason.
*/
rejectionReason: string,
/**
* Count of matching rejected candidates.
*/
count: number, };