This commit is contained in:
2026-05-30 01:14:30 +02:00
parent ffa4acbccb
commit 7bd6593015
20 changed files with 4359 additions and 456 deletions

View File

@@ -20,6 +20,26 @@ signatureSource: string | null,
* Optional source address used when signature_source is `address`.
*/
sourceAddress: string | null,
/**
* Optional extra source addresses used for multi-pool discovery.
*/
sourceAddresses: Array<string>,
/**
* Optional `before` cursor passed to Solana getSignaturesForAddress.
*/
beforeSignature: string | null,
/**
* Optional `until` cursor passed to Solana getSignaturesForAddress.
*/
untilSignature: string | null,
/**
* Maximum number of signature pages to fetch per source address.
*/
maxPages: number,
/**
* Signature processing order: newest_first or oldest_first.
*/
scanOrder: string | null,
/**
* Optional target event family used to find non-swap signatures.
*/

View File

@@ -1,5 +1,6 @@
// 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";
@@ -27,6 +28,22 @@ 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.
*/

View File

@@ -0,0 +1,22 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
/**
* Pagination cursor hint for one scanned source address.
*/
export type Demo3OnchainDexPaginationCursor = {
/**
* Scanned source address.
*/
address: string,
/**
* Signature usable as beforeSignature for the next page window.
*/
nextBeforeSignature: string | null,
/**
* Raw signature count fetched for this address.
*/
fetchedSignatureCount: number,
/**
* Page count fetched for this address.
*/
fetchedPageCount: number, };