@clayno-club/asset-flow 0.2.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -23,6 +23,20 @@ interface HeliusEnhancedInstruction {
23
23
  name?: string;
24
24
  innerInstructions?: HeliusEnhancedInstruction[];
25
25
  }
26
+ interface HeliusAccountDataTokenChange {
27
+ userAccount?: string;
28
+ tokenAccount?: string;
29
+ rawTokenAmount?: {
30
+ tokenAmount?: string;
31
+ decimals?: number;
32
+ };
33
+ mint?: string;
34
+ }
35
+ interface HeliusAccountData {
36
+ account: string;
37
+ nativeBalanceChange?: number;
38
+ tokenBalanceChanges?: HeliusAccountDataTokenChange[];
39
+ }
26
40
  interface HeliusEnhancedTx {
27
41
  signature: string;
28
42
  slot?: number;
@@ -31,6 +45,8 @@ interface HeliusEnhancedTx {
31
45
  source?: string;
32
46
  description?: string;
33
47
  fee?: number;
48
+ /** Solana fee payer / signer — for delegation-style loans this is the borrower. */
49
+ feePayer?: string;
34
50
  transactionError?: unknown | null;
35
51
  programIds?: string[];
36
52
  instructionLabels?: string[];
@@ -38,6 +54,13 @@ interface HeliusEnhancedTx {
38
54
  actions?: HeliusEnhancedAction[];
39
55
  tokenTransfers?: HeliusTokenTransfer[];
40
56
  nativeTransfers?: HeliusNativeTransfer[];
57
+ /**
58
+ * Per-account balance deltas. Required to detect delegation-style loan locks
59
+ * (Sharky TAKE_LOAN moves no tokens; the only signal that a specific mint
60
+ * is involved is the mint appearing here, plus the borrower's positive
61
+ * nativeBalanceChange.)
62
+ */
63
+ accountData?: HeliusAccountData[];
41
64
  }
42
65
  type RawAssetFlowAccountKey = string | {
43
66
  pubkey: string;
@@ -95,6 +118,9 @@ interface AssetFlowObservation {
95
118
  hasMeaningfulSettlement: boolean;
96
119
  primaryBuyer: string | null;
97
120
  primarySeller: string | null;
121
+ /** True when the mint appears in `tx.accountData[].account` — required for
122
+ * delegation-style loan locks where there is no token transfer. */
123
+ mintInAccountData: boolean;
98
124
  programIds: string[];
99
125
  instructionLabels: string[];
100
126
  }
@@ -218,6 +244,12 @@ interface AssetFlowTransactionFacts {
218
244
  custodyEndpoint: string | null;
219
245
  hasProgramEvidence: boolean;
220
246
  isNoisyOwnershipChange: boolean;
247
+ /**
248
+ * The mint shows up in `tx.accountData[].account`. Useful for delegation-style
249
+ * loan locks (Sharky TAKE_LOAN) where there is no token transfer but the mint
250
+ * is still listed as one of the tx's writable accounts.
251
+ */
252
+ mintInAccountData: boolean;
221
253
  programIds: string[];
222
254
  instructionLabels: string[];
223
255
  }
@@ -312,6 +344,13 @@ declare function isNonFungibleTokenStandard(tokenStandard: string | null | undef
312
344
  declare function isMintNftTransfer(transfer: HeliusTokenTransfer, mint: string): boolean;
313
345
  declare function getMintNftTransfers(tx: HeliusEnhancedTx, mint: string): HeliusTokenTransfer[];
314
346
  declare function hasMeaningfulNativeSettlement(tx: HeliusEnhancedTx, mint: string): boolean;
347
+ /**
348
+ * Detects a non-trivial SOL flow from account-balance deltas. Used for
349
+ * loan-program activity where the lender's payout to the borrower happens
350
+ * through CPI (and thus does not appear as a top-level `nativeTransfers`
351
+ * entry, only in `accountData[].nativeBalanceChange`).
352
+ */
353
+ declare function hasLoanProgramSettlement(tx: HeliusEnhancedTx): boolean;
315
354
 
316
355
  type index$1_AssetFlowClassificationExplanation = AssetFlowClassificationExplanation;
317
356
  type index$1_AssetFlowClassificationMatcher = AssetFlowClassificationMatcher;
@@ -344,6 +383,7 @@ declare const index$1_extractMintFlows: typeof extractMintFlows;
344
383
  declare const index$1_extractValueMovements: typeof extractValueMovements;
345
384
  declare const index$1_getMatchingAssetFlowMatchers: typeof getMatchingAssetFlowMatchers;
346
385
  declare const index$1_getMintNftTransfers: typeof getMintNftTransfers;
386
+ declare const index$1_hasLoanProgramSettlement: typeof hasLoanProgramSettlement;
347
387
  declare const index$1_hasMeaningfulNativeSettlement: typeof hasMeaningfulNativeSettlement;
348
388
  declare const index$1_interpretMintFlowProtocolEvent: typeof interpretMintFlowProtocolEvent;
349
389
  declare const index$1_isMintNftTransfer: typeof isMintNftTransfer;
@@ -362,7 +402,7 @@ declare const index$1_shouldFetchRawForMintTx: typeof shouldFetchRawForMintTx;
362
402
  declare const index$1_synthesizeEnhancedTransactionsFromRaw: typeof synthesizeEnhancedTransactionsFromRaw;
363
403
  declare const index$1_toNullableNumber: typeof toNullableNumber;
364
404
  declare namespace index$1 {
365
- export { type index$1_AssetFlowClassificationExplanation as AssetFlowClassificationExplanation, type index$1_AssetFlowClassificationMatcher as AssetFlowClassificationMatcher, type index$1_AssetFlowCoverageCluster as AssetFlowCoverageCluster, type index$1_AssetFlowCoverageReviewCandidate as AssetFlowCoverageReviewCandidate, type index$1_AssetFlowCoverageScanResult as AssetFlowCoverageScanResult, type index$1_AssetFlowMatcherExplanation as AssetFlowMatcherExplanation, type index$1_AssetFlowTransactionFacts as AssetFlowTransactionFacts, type index$1_AssetNftTouchKind as AssetNftTouchKind, type index$1_AssetOwnershipKind as AssetOwnershipKind, type index$1_AssetSettlementKind as AssetSettlementKind, type index$1_MintFlowProtocolEvent as MintFlowProtocolEvent, type index$1_MintFlowProtocolEventFlow as MintFlowProtocolEventFlow, type index$1_MintFlowProtocolEventKind as MintFlowProtocolEventKind, index$1_PERSIST_DERIVED_TYPES as PERSIST_DERIVED_TYPES, type index$1_RegisteredAssetFlowClassificationMatcher as RegisteredAssetFlowClassificationMatcher, index$1_applyRawOwnerOverridesToEnhanced as applyRawOwnerOverridesToEnhanced, index$1_assetFlowMatchers as assetFlowMatchers, index$1_augmentEnhancedTransactionWithRaw as augmentEnhancedTransactionWithRaw, augmentEnhancedTransactionWithRaw as augmentWithRaw, extractMintFlows as buildFlows, normalizeMintHistory as buildMintHistory, reconstructOwnershipPeriods as buildOwnershipPeriods, index$1_buildTransactionFacts as buildTransactionFacts, extractValueMovements as buildValueMovements, index$1_classification as classification, classifyEnhancedTransactionForMint as classify, index$1_classifyEnhancedTransactionForMint as classifyEnhancedTransactionForMint, index$1_clusterCoverageReviewCandidates as clusterCoverageReviewCandidates, index$1_collectCoverageReviewCandidates as collectCoverageReviewCandidates, index$1_coreAndMarketplaceMatchers as coreAndMarketplaceMatchers, explainEnhancedTransactionForMint as explain, index$1_explainEnhancedTransactionForMint as explainEnhancedTransactionForMint, index$1_extractCandidateMintsFromEnhancedTx as extractCandidateMintsFromEnhancedTx, index$1_extractCandidateMintsFromRawTransaction as extractCandidateMintsFromRawTransaction, index$1_extractMintFlows as extractMintFlows, extractCandidateMintsFromEnhancedTx as extractMints, index$1_extractValueMovements as extractValueMovements, index$1_getMatchingAssetFlowMatchers as getMatchingAssetFlowMatchers, index$1_getMintNftTransfers as getMintNftTransfers, index$1_hasMeaningfulNativeSettlement as hasMeaningfulNativeSettlement, index$1_interpretMintFlowProtocolEvent as interpretMintFlowProtocolEvent, index$1_isMintNftTransfer as isMintNftTransfer, index$1_isNonFungibleTokenStandard as isNonFungibleTokenStandard, index$1_mergeRawProgramEvidence as mergeRawProgramEvidence, index$1_normalizeEnhancedType as normalizeEnhancedType, index$1_normalizeMintHistory as normalizeMintHistory, index$1_observationFromFacts as observationFromFacts, index$1_observeEnhancedTransactionForMint as observeEnhancedTransactionForMint, index$1_protocolMatchers as protocolMatchers, index$1_reconstructOwnershipPeriods as reconstructOwnershipPeriods, index$1_scanTransactionsForCoverage as scanTransactionsForCoverage, index$1_selectAssetFlowMatcher as selectAssetFlowMatcher, index$1_shouldApplyRawOwnerOverrides as shouldApplyRawOwnerOverrides, shouldFetchRawForMintTx as shouldFetchRaw, index$1_shouldFetchRawForMintTx as shouldFetchRawForMintTx, index$1_synthesizeEnhancedTransactionsFromRaw as synthesizeEnhancedTransactionsFromRaw, index$1_toNullableNumber as toNullableNumber };
405
+ export { type index$1_AssetFlowClassificationExplanation as AssetFlowClassificationExplanation, type index$1_AssetFlowClassificationMatcher as AssetFlowClassificationMatcher, type index$1_AssetFlowCoverageCluster as AssetFlowCoverageCluster, type index$1_AssetFlowCoverageReviewCandidate as AssetFlowCoverageReviewCandidate, type index$1_AssetFlowCoverageScanResult as AssetFlowCoverageScanResult, type index$1_AssetFlowMatcherExplanation as AssetFlowMatcherExplanation, type index$1_AssetFlowTransactionFacts as AssetFlowTransactionFacts, type index$1_AssetNftTouchKind as AssetNftTouchKind, type index$1_AssetOwnershipKind as AssetOwnershipKind, type index$1_AssetSettlementKind as AssetSettlementKind, type index$1_MintFlowProtocolEvent as MintFlowProtocolEvent, type index$1_MintFlowProtocolEventFlow as MintFlowProtocolEventFlow, type index$1_MintFlowProtocolEventKind as MintFlowProtocolEventKind, index$1_PERSIST_DERIVED_TYPES as PERSIST_DERIVED_TYPES, type index$1_RegisteredAssetFlowClassificationMatcher as RegisteredAssetFlowClassificationMatcher, index$1_applyRawOwnerOverridesToEnhanced as applyRawOwnerOverridesToEnhanced, index$1_assetFlowMatchers as assetFlowMatchers, index$1_augmentEnhancedTransactionWithRaw as augmentEnhancedTransactionWithRaw, augmentEnhancedTransactionWithRaw as augmentWithRaw, extractMintFlows as buildFlows, normalizeMintHistory as buildMintHistory, reconstructOwnershipPeriods as buildOwnershipPeriods, index$1_buildTransactionFacts as buildTransactionFacts, extractValueMovements as buildValueMovements, index$1_classification as classification, classifyEnhancedTransactionForMint as classify, index$1_classifyEnhancedTransactionForMint as classifyEnhancedTransactionForMint, index$1_clusterCoverageReviewCandidates as clusterCoverageReviewCandidates, index$1_collectCoverageReviewCandidates as collectCoverageReviewCandidates, index$1_coreAndMarketplaceMatchers as coreAndMarketplaceMatchers, explainEnhancedTransactionForMint as explain, index$1_explainEnhancedTransactionForMint as explainEnhancedTransactionForMint, index$1_extractCandidateMintsFromEnhancedTx as extractCandidateMintsFromEnhancedTx, index$1_extractCandidateMintsFromRawTransaction as extractCandidateMintsFromRawTransaction, index$1_extractMintFlows as extractMintFlows, extractCandidateMintsFromEnhancedTx as extractMints, index$1_extractValueMovements as extractValueMovements, index$1_getMatchingAssetFlowMatchers as getMatchingAssetFlowMatchers, index$1_getMintNftTransfers as getMintNftTransfers, index$1_hasLoanProgramSettlement as hasLoanProgramSettlement, index$1_hasMeaningfulNativeSettlement as hasMeaningfulNativeSettlement, index$1_interpretMintFlowProtocolEvent as interpretMintFlowProtocolEvent, index$1_isMintNftTransfer as isMintNftTransfer, index$1_isNonFungibleTokenStandard as isNonFungibleTokenStandard, index$1_mergeRawProgramEvidence as mergeRawProgramEvidence, index$1_normalizeEnhancedType as normalizeEnhancedType, index$1_normalizeMintHistory as normalizeMintHistory, index$1_observationFromFacts as observationFromFacts, index$1_observeEnhancedTransactionForMint as observeEnhancedTransactionForMint, index$1_protocolMatchers as protocolMatchers, index$1_reconstructOwnershipPeriods as reconstructOwnershipPeriods, index$1_scanTransactionsForCoverage as scanTransactionsForCoverage, index$1_selectAssetFlowMatcher as selectAssetFlowMatcher, index$1_shouldApplyRawOwnerOverrides as shouldApplyRawOwnerOverrides, shouldFetchRawForMintTx as shouldFetchRaw, index$1_shouldFetchRawForMintTx as shouldFetchRawForMintTx, index$1_synthesizeEnhancedTransactionsFromRaw as synthesizeEnhancedTransactionsFromRaw, index$1_toNullableNumber as toNullableNumber };
366
406
  }
367
407
 
368
408
  interface SuiEventLike {
@@ -397,6 +437,7 @@ interface SuiTransactionBlockLike {
397
437
  digest: string;
398
438
  checkpoint?: string | null;
399
439
  timestampMs?: string | null;
440
+ description?: string | null;
400
441
  events?: SuiEventLike[] | null;
401
442
  objectChanges?: SuiObjectChangeLike[] | null;
402
443
  balanceChanges?: SuiBalanceChangeLike[] | null;
@@ -439,10 +480,12 @@ declare const TRADEPORT_BUY_SIMPLE_EVENT_SUFFIX = "::tradeport_listings::BuySimp
439
480
  declare const TRADEPORT_MATCH_SINGLE_BID_EVENT_SUFFIX = "::tradeport_biddings::MatchSingleBidEvent";
440
481
  declare const TRADEPORT_KIOSK_BUY_EVENT_SUFFIX = "::kiosk_listings::BuyEvent";
441
482
  declare const TRADEPORT_ADD_LISTING_EVENT_SUFFIX = "::tradeport_orderbook::AddListingEvent";
483
+ declare const TRADEPORT_CREATE_SIMPLE_LISTING_EVENT_SUFFIX = "::tradeport_listings::CreateSimpleListingEvent";
442
484
  declare const TRADEPORT_RELIST_SIMPLE_EVENT_SUFFIX = "::tradeport_listings::RelistSimpleListingEvent";
443
485
  declare const TRADEPORT_REMOVE_LISTING_EVENT_SUFFIX = "::tradeport_orderbook::RemoveListingEvent";
444
486
  declare const TRADEPORT_CANCEL_SIMPLE_EVENT_SUFFIX = "::tradeport_listings::CancelSimpleListingEvent";
445
487
  declare const TRADEPORT_CREATE_SINGLE_BID_EVENT_SUFFIX = "::tradeport_biddings::CreateSingleBidEvent";
488
+ declare const KIOSK_BIDDING_MATCH_COLLECTION_BID_EVENT_SUFFIX = "::kiosk_biddings::MatchCollectionBidWithPurchaseCapEvent";
446
489
  declare const KIOSK_LIST_EVENT_SUFFIX = "::kiosk_listings::ListEvent";
447
490
  declare const KIOSK_UNLIST_EVENT_SUFFIX = "::kiosk_listings::UnlistEvent";
448
491
  declare const KIOSK_TRANSFER_EVENT_SUFFIX = "::kiosk_transfers::TransferWithPurchaseCapEvent";
@@ -468,6 +511,7 @@ declare function normalizeOwnerRef(owner: SuiObjectOwnerLike): SuiAssetOwnerRef
468
511
  declare function getAssetObjectChange(tx: SuiTransactionBlockLike, assetId: string): SuiObjectChangeLike | null;
469
512
  declare function getAssetOwnerChangeDetails(tx: SuiTransactionBlockLike, assetId: string): SuiAssetOwnerChangeDetails | null;
470
513
  declare function getAssetOwnerChange(tx: SuiTransactionBlockLike, assetId: string): SuiAssetOwnerChange | null;
514
+ declare function getKioskOwnerCapAddressOwnerChange(tx: SuiTransactionBlockLike): SuiAssetOwnerChangeDetails | null;
471
515
  declare function eventTouchesAsset(event: SuiEventLike, assetId: string): boolean;
472
516
  declare function getAssetEvents(tx: SuiTransactionBlockLike, assetId: string): SuiEventLike[];
473
517
  declare function getEventTypes(events: SuiEventLike[]): string[];
@@ -479,12 +523,15 @@ declare function hasMeaningfulSuiSettlement(balanceChanges: SuiBalanceChangeLike
479
523
  declare function classifySuiTransactionForAsset(tx: SuiTransactionBlockLike, assetId: string): SuiAssetFlowClassification;
480
524
 
481
525
  declare function extractAssetFlows(transactions: SuiTransactionBlockLike[], assetId: string, classificationCache?: Map<string, SuiAssetFlowClassification>): ExtractedMintFlow[];
526
+ declare function extractSuiValueMovements(transactions: SuiTransactionBlockLike[], assetId: string, classificationCache?: Map<string, SuiAssetFlowClassification>): ExtractedValueMovement[];
482
527
  declare function normalizeAssetHistory(transactions: SuiTransactionBlockLike[], assetId: string): {
483
528
  flows: ExtractedMintFlow[];
529
+ valueMovements: ExtractedValueMovement[];
484
530
  periods: ReconstructedOwnershipPeriod[];
485
531
  };
486
532
 
487
533
  declare const index_KIOSK_BIDDING_CLAIM_EVENT_SUFFIX: typeof KIOSK_BIDDING_CLAIM_EVENT_SUFFIX;
534
+ declare const index_KIOSK_BIDDING_MATCH_COLLECTION_BID_EVENT_SUFFIX: typeof KIOSK_BIDDING_MATCH_COLLECTION_BID_EVENT_SUFFIX;
488
535
  declare const index_KIOSK_CLAIM_EVENT_SUFFIX: typeof KIOSK_CLAIM_EVENT_SUFFIX;
489
536
  declare const index_KIOSK_LIST_EVENT_SUFFIX: typeof KIOSK_LIST_EVENT_SUFFIX;
490
537
  declare const index_KIOSK_TRANSFER_EVENT_SUFFIX: typeof KIOSK_TRANSFER_EVENT_SUFFIX;
@@ -508,6 +555,7 @@ type index_SuiTransactionBlockLike = SuiTransactionBlockLike;
508
555
  declare const index_TRADEPORT_ADD_LISTING_EVENT_SUFFIX: typeof TRADEPORT_ADD_LISTING_EVENT_SUFFIX;
509
556
  declare const index_TRADEPORT_BUY_SIMPLE_EVENT_SUFFIX: typeof TRADEPORT_BUY_SIMPLE_EVENT_SUFFIX;
510
557
  declare const index_TRADEPORT_CANCEL_SIMPLE_EVENT_SUFFIX: typeof TRADEPORT_CANCEL_SIMPLE_EVENT_SUFFIX;
558
+ declare const index_TRADEPORT_CREATE_SIMPLE_LISTING_EVENT_SUFFIX: typeof TRADEPORT_CREATE_SIMPLE_LISTING_EVENT_SUFFIX;
511
559
  declare const index_TRADEPORT_CREATE_SINGLE_BID_EVENT_SUFFIX: typeof TRADEPORT_CREATE_SINGLE_BID_EVENT_SUFFIX;
512
560
  declare const index_TRADEPORT_KIOSK_BUY_EVENT_SUFFIX: typeof TRADEPORT_KIOSK_BUY_EVENT_SUFFIX;
513
561
  declare const index_TRADEPORT_MATCH_SINGLE_BID_EVENT_SUFFIX: typeof TRADEPORT_MATCH_SINGLE_BID_EVENT_SUFFIX;
@@ -517,12 +565,14 @@ declare const index_classifySuiTransactionForAsset: typeof classifySuiTransactio
517
565
  declare const index_eventTouchesAsset: typeof eventTouchesAsset;
518
566
  declare const index_eventTypeMatches: typeof eventTypeMatches;
519
567
  declare const index_extractAssetFlows: typeof extractAssetFlows;
568
+ declare const index_extractSuiValueMovements: typeof extractSuiValueMovements;
520
569
  declare const index_findFirstEvent: typeof findFirstEvent;
521
570
  declare const index_getAssetEvents: typeof getAssetEvents;
522
571
  declare const index_getAssetObjectChange: typeof getAssetObjectChange;
523
572
  declare const index_getAssetOwnerChange: typeof getAssetOwnerChange;
524
573
  declare const index_getAssetOwnerChangeDetails: typeof getAssetOwnerChangeDetails;
525
574
  declare const index_getEventTypes: typeof getEventTypes;
575
+ declare const index_getKioskOwnerCapAddressOwnerChange: typeof getKioskOwnerCapAddressOwnerChange;
526
576
  declare const index_getMarket: typeof getMarket;
527
577
  declare const index_getPriceRaw: typeof getPriceRaw;
528
578
  declare const index_getRecordString: typeof getRecordString;
@@ -534,7 +584,7 @@ declare const index_normalizeAssetHistory: typeof normalizeAssetHistory;
534
584
  declare const index_normalizeOwnerRef: typeof normalizeOwnerRef;
535
585
  declare const index_reconstructOwnershipPeriods: typeof reconstructOwnershipPeriods;
536
586
  declare namespace index {
537
- export { index_KIOSK_BIDDING_CLAIM_EVENT_SUFFIX as KIOSK_BIDDING_CLAIM_EVENT_SUFFIX, index_KIOSK_CLAIM_EVENT_SUFFIX as KIOSK_CLAIM_EVENT_SUFFIX, index_KIOSK_LIST_EVENT_SUFFIX as KIOSK_LIST_EVENT_SUFFIX, index_KIOSK_TRANSFER_EVENT_SUFFIX as KIOSK_TRANSFER_EVENT_SUFFIX, index_KIOSK_UNLIST_EVENT_SUFFIX as KIOSK_UNLIST_EVENT_SUFFIX, index_PERSONAL_KIOSK_CREATED_EVENT_SUFFIX as PERSONAL_KIOSK_CREATED_EVENT_SUFFIX, index_POPKINS_MINTED_EVENT_SUFFIX as POPKINS_MINTED_EVENT_SUFFIX, index_POPKINS_STAKED_EVENT_SUFFIX as POPKINS_STAKED_EVENT_SUFFIX, index_POPKINS_UNSTAKED_EVENT_SUFFIX as POPKINS_UNSTAKED_EVENT_SUFFIX, index_SUI_COIN_TYPE as SUI_COIN_TYPE, type index_SuiAssetFlowClassification as SuiAssetFlowClassification, type index_SuiAssetFlowFamily as SuiAssetFlowFamily, type index_SuiAssetOwnerChange as SuiAssetOwnerChange, type index_SuiAssetOwnerChangeDetails as SuiAssetOwnerChangeDetails, type index_SuiAssetOwnerRef as SuiAssetOwnerRef, type index_SuiAssetOwnerRefKind as SuiAssetOwnerRefKind, type index_SuiBalanceChangeLike as SuiBalanceChangeLike, type index_SuiEventLike as SuiEventLike, type index_SuiObjectChangeLike as SuiObjectChangeLike, type index_SuiObjectOwnerLike as SuiObjectOwnerLike, type index_SuiTransactionBlockLike as SuiTransactionBlockLike, index_TRADEPORT_ADD_LISTING_EVENT_SUFFIX as TRADEPORT_ADD_LISTING_EVENT_SUFFIX, index_TRADEPORT_BUY_SIMPLE_EVENT_SUFFIX as TRADEPORT_BUY_SIMPLE_EVENT_SUFFIX, index_TRADEPORT_CANCEL_SIMPLE_EVENT_SUFFIX as TRADEPORT_CANCEL_SIMPLE_EVENT_SUFFIX, index_TRADEPORT_CREATE_SINGLE_BID_EVENT_SUFFIX as TRADEPORT_CREATE_SINGLE_BID_EVENT_SUFFIX, index_TRADEPORT_KIOSK_BUY_EVENT_SUFFIX as TRADEPORT_KIOSK_BUY_EVENT_SUFFIX, index_TRADEPORT_MATCH_SINGLE_BID_EVENT_SUFFIX as TRADEPORT_MATCH_SINGLE_BID_EVENT_SUFFIX, index_TRADEPORT_RELIST_SIMPLE_EVENT_SUFFIX as TRADEPORT_RELIST_SIMPLE_EVENT_SUFFIX, index_TRADEPORT_REMOVE_LISTING_EVENT_SUFFIX as TRADEPORT_REMOVE_LISTING_EVENT_SUFFIX, normalizeAssetHistory as buildAssetHistory, extractAssetFlows as buildFlows, reconstructOwnershipPeriods as buildOwnershipPeriods, classifySuiTransactionForAsset as classify, index_classifySuiTransactionForAsset as classifySuiTransactionForAsset, index_eventTouchesAsset as eventTouchesAsset, index_eventTypeMatches as eventTypeMatches, index_extractAssetFlows as extractAssetFlows, index_findFirstEvent as findFirstEvent, index_getAssetEvents as getAssetEvents, index_getAssetObjectChange as getAssetObjectChange, index_getAssetOwnerChange as getAssetOwnerChange, index_getAssetOwnerChangeDetails as getAssetOwnerChangeDetails, index_getEventTypes as getEventTypes, index_getMarket as getMarket, index_getPriceRaw as getPriceRaw, index_getRecordString as getRecordString, index_getRecordStringArray as getRecordStringArray, index_getString as getString, index_hasMeaningfulSuiSettlement as hasMeaningfulSuiSettlement, index_isRecord as isRecord, index_normalizeAssetHistory as normalizeAssetHistory, index_normalizeOwnerRef as normalizeOwnerRef, index_reconstructOwnershipPeriods as reconstructOwnershipPeriods };
587
+ export { index_KIOSK_BIDDING_CLAIM_EVENT_SUFFIX as KIOSK_BIDDING_CLAIM_EVENT_SUFFIX, index_KIOSK_BIDDING_MATCH_COLLECTION_BID_EVENT_SUFFIX as KIOSK_BIDDING_MATCH_COLLECTION_BID_EVENT_SUFFIX, index_KIOSK_CLAIM_EVENT_SUFFIX as KIOSK_CLAIM_EVENT_SUFFIX, index_KIOSK_LIST_EVENT_SUFFIX as KIOSK_LIST_EVENT_SUFFIX, index_KIOSK_TRANSFER_EVENT_SUFFIX as KIOSK_TRANSFER_EVENT_SUFFIX, index_KIOSK_UNLIST_EVENT_SUFFIX as KIOSK_UNLIST_EVENT_SUFFIX, index_PERSONAL_KIOSK_CREATED_EVENT_SUFFIX as PERSONAL_KIOSK_CREATED_EVENT_SUFFIX, index_POPKINS_MINTED_EVENT_SUFFIX as POPKINS_MINTED_EVENT_SUFFIX, index_POPKINS_STAKED_EVENT_SUFFIX as POPKINS_STAKED_EVENT_SUFFIX, index_POPKINS_UNSTAKED_EVENT_SUFFIX as POPKINS_UNSTAKED_EVENT_SUFFIX, index_SUI_COIN_TYPE as SUI_COIN_TYPE, type index_SuiAssetFlowClassification as SuiAssetFlowClassification, type index_SuiAssetFlowFamily as SuiAssetFlowFamily, type index_SuiAssetOwnerChange as SuiAssetOwnerChange, type index_SuiAssetOwnerChangeDetails as SuiAssetOwnerChangeDetails, type index_SuiAssetOwnerRef as SuiAssetOwnerRef, type index_SuiAssetOwnerRefKind as SuiAssetOwnerRefKind, type index_SuiBalanceChangeLike as SuiBalanceChangeLike, type index_SuiEventLike as SuiEventLike, type index_SuiObjectChangeLike as SuiObjectChangeLike, type index_SuiObjectOwnerLike as SuiObjectOwnerLike, type index_SuiTransactionBlockLike as SuiTransactionBlockLike, index_TRADEPORT_ADD_LISTING_EVENT_SUFFIX as TRADEPORT_ADD_LISTING_EVENT_SUFFIX, index_TRADEPORT_BUY_SIMPLE_EVENT_SUFFIX as TRADEPORT_BUY_SIMPLE_EVENT_SUFFIX, index_TRADEPORT_CANCEL_SIMPLE_EVENT_SUFFIX as TRADEPORT_CANCEL_SIMPLE_EVENT_SUFFIX, index_TRADEPORT_CREATE_SIMPLE_LISTING_EVENT_SUFFIX as TRADEPORT_CREATE_SIMPLE_LISTING_EVENT_SUFFIX, index_TRADEPORT_CREATE_SINGLE_BID_EVENT_SUFFIX as TRADEPORT_CREATE_SINGLE_BID_EVENT_SUFFIX, index_TRADEPORT_KIOSK_BUY_EVENT_SUFFIX as TRADEPORT_KIOSK_BUY_EVENT_SUFFIX, index_TRADEPORT_MATCH_SINGLE_BID_EVENT_SUFFIX as TRADEPORT_MATCH_SINGLE_BID_EVENT_SUFFIX, index_TRADEPORT_RELIST_SIMPLE_EVENT_SUFFIX as TRADEPORT_RELIST_SIMPLE_EVENT_SUFFIX, index_TRADEPORT_REMOVE_LISTING_EVENT_SUFFIX as TRADEPORT_REMOVE_LISTING_EVENT_SUFFIX, normalizeAssetHistory as buildAssetHistory, extractAssetFlows as buildFlows, reconstructOwnershipPeriods as buildOwnershipPeriods, extractSuiValueMovements as buildValueMovements, classifySuiTransactionForAsset as classify, index_classifySuiTransactionForAsset as classifySuiTransactionForAsset, index_eventTouchesAsset as eventTouchesAsset, index_eventTypeMatches as eventTypeMatches, index_extractAssetFlows as extractAssetFlows, index_extractSuiValueMovements as extractSuiValueMovements, index_findFirstEvent as findFirstEvent, index_getAssetEvents as getAssetEvents, index_getAssetObjectChange as getAssetObjectChange, index_getAssetOwnerChange as getAssetOwnerChange, index_getAssetOwnerChangeDetails as getAssetOwnerChangeDetails, index_getEventTypes as getEventTypes, index_getKioskOwnerCapAddressOwnerChange as getKioskOwnerCapAddressOwnerChange, index_getMarket as getMarket, index_getPriceRaw as getPriceRaw, index_getRecordString as getRecordString, index_getRecordStringArray as getRecordStringArray, index_getString as getString, index_hasMeaningfulSuiSettlement as hasMeaningfulSuiSettlement, index_isRecord as isRecord, index_normalizeAssetHistory as normalizeAssetHistory, index_normalizeOwnerRef as normalizeOwnerRef, index_reconstructOwnershipPeriods as reconstructOwnershipPeriods };
538
588
  }
539
589
 
540
- export { type AssetFlowClassificationExplanation, type AssetFlowClassificationMatcher, type AssetFlowCoverageCluster, type AssetFlowCoverageReviewCandidate, type AssetFlowCoverageScanResult, type AssetFlowDerivedType, type AssetFlowEffect, type AssetFlowFamily, type AssetFlowInterpreterConfidence, type AssetFlowMatcherExplanation, type AssetFlowMaterialization, type AssetFlowObservation, type AssetFlowTransactionFacts, type AssetFlowTxClassification, type AssetNftTouchKind, type AssetOwnershipKind, type AssetSettlementKind, type ExtractedMintFlow, type ExtractedValueMovement, type HeliusEnhancedAction, type HeliusEnhancedInstruction, type HeliusEnhancedTx, type HeliusNativeTransfer, type HeliusTokenTransfer, KIOSK_BIDDING_CLAIM_EVENT_SUFFIX, KIOSK_CLAIM_EVENT_SUFFIX, KIOSK_LIST_EVENT_SUFFIX, KIOSK_TRANSFER_EVENT_SUFFIX, KIOSK_UNLIST_EVENT_SUFFIX, type MintFlowProtocolEvent, type MintFlowProtocolEventFlow, type MintFlowProtocolEventKind, type NormalizedMintHistory, PERSIST_DERIVED_TYPES, PERSONAL_KIOSK_CREATED_EVENT_SUFFIX, POPKINS_MINTED_EVENT_SUFFIX, POPKINS_STAKED_EVENT_SUFFIX, POPKINS_UNSTAKED_EVENT_SUFFIX, type RawAssetFlowAccountKey, type RawAssetFlowInstruction, type RawAssetFlowTokenBalance, type RawAssetFlowTransaction, type ReconstructedOwnershipPeriod, type RegisteredAssetFlowClassificationMatcher, SUI_COIN_TYPE, type SuiAssetFlowClassification, type SuiAssetFlowFamily, type SuiAssetOwnerChange, type SuiAssetOwnerChangeDetails, type SuiAssetOwnerRef, type SuiAssetOwnerRefKind, type SuiBalanceChangeLike, type SuiEventLike, type SuiObjectChangeLike, type SuiObjectOwnerLike, type SuiTransactionBlockLike, TRADEPORT_ADD_LISTING_EVENT_SUFFIX, TRADEPORT_BUY_SIMPLE_EVENT_SUFFIX, TRADEPORT_CANCEL_SIMPLE_EVENT_SUFFIX, TRADEPORT_CREATE_SINGLE_BID_EVENT_SUFFIX, TRADEPORT_KIOSK_BUY_EVENT_SUFFIX, TRADEPORT_MATCH_SINGLE_BID_EVENT_SUFFIX, TRADEPORT_RELIST_SIMPLE_EVENT_SUFFIX, TRADEPORT_REMOVE_LISTING_EVENT_SUFFIX, applyRawOwnerOverridesToEnhanced, assetFlowMatchers, augmentEnhancedTransactionWithRaw, augmentEnhancedTransactionWithRaw as augmentWithRaw, extractMintFlows as buildFlows, normalizeMintHistory as buildMintHistory, reconstructOwnershipPeriods as buildOwnershipPeriods, buildTransactionFacts, extractValueMovements as buildValueMovements, classification, classifyEnhancedTransactionForMint as classify, classifyEnhancedTransactionForMint, classifySuiTransactionForAsset, clusterCoverageReviewCandidates, collectCoverageReviewCandidates, coreAndMarketplaceMatchers, eventTouchesAsset, eventTypeMatches, explainEnhancedTransactionForMint as explain, explainEnhancedTransactionForMint, extractAssetFlows, extractCandidateMintsFromEnhancedTx, extractCandidateMintsFromRawTransaction, extractMintFlows, extractCandidateMintsFromEnhancedTx as extractMints, extractValueMovements, findFirstEvent, getAssetEvents, getAssetObjectChange, getAssetOwnerChange, getAssetOwnerChangeDetails, getEventTypes, getMarket, getMatchingAssetFlowMatchers, getMintNftTransfers, getPriceRaw, getRecordString, getRecordStringArray, getString, hasMeaningfulNativeSettlement, hasMeaningfulSuiSettlement, interpretMintFlowProtocolEvent, isMintNftTransfer, isNonFungibleTokenStandard, isRecord, mergeRawProgramEvidence, normalizeAssetHistory, normalizeEnhancedType, normalizeMintHistory, normalizeOwnerRef, observationFromFacts, observeEnhancedTransactionForMint, protocolMatchers, reconstructOwnershipPeriods, scanTransactionsForCoverage, selectAssetFlowMatcher, shouldApplyRawOwnerOverrides, shouldFetchRawForMintTx as shouldFetchRaw, shouldFetchRawForMintTx, index$1 as solana, index as sui, synthesizeEnhancedTransactionsFromRaw, toNullableNumber };
590
+ export { type AssetFlowClassificationExplanation, type AssetFlowClassificationMatcher, type AssetFlowCoverageCluster, type AssetFlowCoverageReviewCandidate, type AssetFlowCoverageScanResult, type AssetFlowDerivedType, type AssetFlowEffect, type AssetFlowFamily, type AssetFlowInterpreterConfidence, type AssetFlowMatcherExplanation, type AssetFlowMaterialization, type AssetFlowObservation, type AssetFlowTransactionFacts, type AssetFlowTxClassification, type AssetNftTouchKind, type AssetOwnershipKind, type AssetSettlementKind, type ExtractedMintFlow, type ExtractedValueMovement, type HeliusAccountData, type HeliusAccountDataTokenChange, type HeliusEnhancedAction, type HeliusEnhancedInstruction, type HeliusEnhancedTx, type HeliusNativeTransfer, type HeliusTokenTransfer, KIOSK_BIDDING_CLAIM_EVENT_SUFFIX, KIOSK_BIDDING_MATCH_COLLECTION_BID_EVENT_SUFFIX, KIOSK_CLAIM_EVENT_SUFFIX, KIOSK_LIST_EVENT_SUFFIX, KIOSK_TRANSFER_EVENT_SUFFIX, KIOSK_UNLIST_EVENT_SUFFIX, type MintFlowProtocolEvent, type MintFlowProtocolEventFlow, type MintFlowProtocolEventKind, type NormalizedMintHistory, PERSIST_DERIVED_TYPES, PERSONAL_KIOSK_CREATED_EVENT_SUFFIX, POPKINS_MINTED_EVENT_SUFFIX, POPKINS_STAKED_EVENT_SUFFIX, POPKINS_UNSTAKED_EVENT_SUFFIX, type RawAssetFlowAccountKey, type RawAssetFlowInstruction, type RawAssetFlowTokenBalance, type RawAssetFlowTransaction, type ReconstructedOwnershipPeriod, type RegisteredAssetFlowClassificationMatcher, SUI_COIN_TYPE, type SuiAssetFlowClassification, type SuiAssetFlowFamily, type SuiAssetOwnerChange, type SuiAssetOwnerChangeDetails, type SuiAssetOwnerRef, type SuiAssetOwnerRefKind, type SuiBalanceChangeLike, type SuiEventLike, type SuiObjectChangeLike, type SuiObjectOwnerLike, type SuiTransactionBlockLike, TRADEPORT_ADD_LISTING_EVENT_SUFFIX, TRADEPORT_BUY_SIMPLE_EVENT_SUFFIX, TRADEPORT_CANCEL_SIMPLE_EVENT_SUFFIX, TRADEPORT_CREATE_SIMPLE_LISTING_EVENT_SUFFIX, TRADEPORT_CREATE_SINGLE_BID_EVENT_SUFFIX, TRADEPORT_KIOSK_BUY_EVENT_SUFFIX, TRADEPORT_MATCH_SINGLE_BID_EVENT_SUFFIX, TRADEPORT_RELIST_SIMPLE_EVENT_SUFFIX, TRADEPORT_REMOVE_LISTING_EVENT_SUFFIX, applyRawOwnerOverridesToEnhanced, assetFlowMatchers, augmentEnhancedTransactionWithRaw, augmentEnhancedTransactionWithRaw as augmentWithRaw, extractMintFlows as buildFlows, normalizeMintHistory as buildMintHistory, reconstructOwnershipPeriods as buildOwnershipPeriods, buildTransactionFacts, extractValueMovements as buildValueMovements, classification, classifyEnhancedTransactionForMint as classify, classifyEnhancedTransactionForMint, classifySuiTransactionForAsset, clusterCoverageReviewCandidates, collectCoverageReviewCandidates, coreAndMarketplaceMatchers, eventTouchesAsset, eventTypeMatches, explainEnhancedTransactionForMint as explain, explainEnhancedTransactionForMint, extractAssetFlows, extractCandidateMintsFromEnhancedTx, extractCandidateMintsFromRawTransaction, extractMintFlows, extractCandidateMintsFromEnhancedTx as extractMints, extractSuiValueMovements, extractValueMovements, findFirstEvent, getAssetEvents, getAssetObjectChange, getAssetOwnerChange, getAssetOwnerChangeDetails, getEventTypes, getKioskOwnerCapAddressOwnerChange, getMarket, getMatchingAssetFlowMatchers, getMintNftTransfers, getPriceRaw, getRecordString, getRecordStringArray, getString, hasLoanProgramSettlement, hasMeaningfulNativeSettlement, hasMeaningfulSuiSettlement, interpretMintFlowProtocolEvent, isMintNftTransfer, isNonFungibleTokenStandard, isRecord, mergeRawProgramEvidence, normalizeAssetHistory, normalizeEnhancedType, normalizeMintHistory, normalizeOwnerRef, observationFromFacts, observeEnhancedTransactionForMint, protocolMatchers, reconstructOwnershipPeriods, scanTransactionsForCoverage, selectAssetFlowMatcher, shouldApplyRawOwnerOverrides, shouldFetchRawForMintTx as shouldFetchRaw, shouldFetchRawForMintTx, index$1 as solana, index as sui, synthesizeEnhancedTransactionsFromRaw, toNullableNumber };