@streamflow/distributor 12.3.0 → 12.5.0-alpha.p366.24de361

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.
@@ -1,4 +1,5 @@
1
1
  import { PublicKey, Keypair, Connection, Commitment, ConnectionConfig, TransactionInstruction } from '@solana/web3.js';
2
+ import { Buffer as Buffer$1 } from 'buffer';
2
3
  import { SignerWalletAdapter } from '@solana/wallet-adapter-base';
3
4
  import { IdlAccountsOfMethod, IdlInstruction, PartnerOracleTypes, ITransactionResult, ITransactionExt, IdlArgsOfMethod, PartnerOracle, ICluster, ITransactionExtResolved, IProgramAccount, unwrapExecutionParams, signAndExecuteTransaction } from '@streamflow/common';
4
5
  import BN from 'bn.js';
@@ -25,12 +26,15 @@ type CompressedClaimStatus = MerkleDistributorAccountTypes["compressedClaimStatu
25
26
  * @inline
26
27
  */
27
28
  type MerkleDistributor = MerkleDistributorAccountTypes["merkleDistributor"];
29
+ type KycConfig = MerkleDistributorAccountTypes["kycConfig"];
28
30
  type NewDistributorAccounts = IdlAccountsOfMethod<MerkleDistributor$1, "newDistributor">;
29
31
  type NewDistributorArgs = IdlArgsOfMethod<MerkleDistributor$1, "newDistributor">;
30
32
  type NewClaimAccounts = IdlAccountsOfMethod<MerkleDistributor$1, "newClaim">;
31
33
  type NewClaimArgs = IdlInstruction<MerkleDistributor$1, "newClaim">["args"];
32
34
  type ClaimLockedV2Accounts = IdlAccountsOfMethod<MerkleDistributor$1, "claimLockedV2">;
33
35
  type ClaimLockedAccounts = IdlAccountsOfMethod<MerkleDistributor$1, "claimLocked">;
36
+ type EnableKycAccounts = IdlAccountsOfMethod<MerkleDistributor$1, "enableKyc">;
37
+ type DisableKycAccounts = IdlAccountsOfMethod<MerkleDistributor$1, "disableKyc">;
34
38
  type ClawbackAccounts = IdlAccountsOfMethod<MerkleDistributor$1, "clawback">;
35
39
  type CloseClaimAccounts = IdlAccountsOfMethod<MerkleDistributor$1, "closeClaim">;
36
40
  type CloseClaimArgs = IdlInstruction<MerkleDistributor$1, "closeClaim">["args"];
@@ -69,6 +73,7 @@ interface ICreateDistributorData {
69
73
  isSigner: boolean;
70
74
  };
71
75
  }
76
+ type KycNonce = Buffer$1 | number[] | string | null;
72
77
  interface AlignedDistributorData {
73
78
  sender: string;
74
79
  minPrice: number;
@@ -115,6 +120,20 @@ interface IClaimData {
115
120
  amountLocked: BN;
116
121
  claimableAmount: BN;
117
122
  proof: Array<Array<number>>;
123
+ attestation?: string | PublicKey;
124
+ partnerLink?: {
125
+ address: string;
126
+ isSigner: boolean;
127
+ };
128
+ }
129
+ interface IEnableKycData {
130
+ id: string;
131
+ credential: string | PublicKey;
132
+ schema: string | PublicKey;
133
+ nonce?: KycNonce;
134
+ }
135
+ interface IDisableKycData {
136
+ id: string;
118
137
  }
119
138
  interface ICloseClaimData extends Partial<Omit<IClaimData, "id">> {
120
139
  id: string;
@@ -355,6 +374,10 @@ declare abstract class BaseDistributorClient {
355
374
  prepareClaimInstructions(data: IClaimData, extParams: ITransactionExtResolved<IInteractExt>, _serviceTransfer?: unknown): Promise<TransactionInstruction[]>;
356
375
  closeClaim(data: ICloseClaimData, extParams: IInteractExt): Promise<ITransactionResult>;
357
376
  prepareCloseClaimInstructions(data: ICloseClaimData, extParams: ITransactionExtResolved<IInteractExt>): Promise<TransactionInstruction[]>;
377
+ enableKyc(data: IEnableKycData, extParams: IInteractExt): Promise<ITransactionResult>;
378
+ prepareEnableKycInstructions(data: IEnableKycData, extParams: ITransactionExtResolved<IInteractExt>): Promise<TransactionInstruction[]>;
379
+ disableKyc(data: IDisableKycData, extParams: IInteractExt): Promise<ITransactionResult>;
380
+ prepareDisableKycInstructions(data: IDisableKycData, extParams: ITransactionExtResolved<IInteractExt>): Promise<TransactionInstruction[]>;
358
381
  prepareClawbackInstructions(data: IClawbackData, extParams: ITransactionExtResolved<IInteractExt>): Promise<TransactionInstruction[]>;
359
382
  clawback(data: IClawbackData, extParams: IInteractExt): Promise<ITransactionResult>;
360
383
  /**
@@ -370,6 +393,7 @@ declare abstract class BaseDistributorClient {
370
393
  withdrawClawbackRequest(data: IWithdrawClawbackRequestData, extParams: IInteractExt): Promise<ITransactionResult>;
371
394
  prepareWithdrawClawbackRequestInstructions(data: IWithdrawClawbackRequestData, extParams: ITransactionExtResolved<IInteractExt>): Promise<TransactionInstruction[]>;
372
395
  getClaim(claimStatus: string | PublicKey): Promise<AnyClaimStatus | null>;
396
+ getKycConfig(distributor: string | PublicKey): Promise<KycConfig>;
373
397
  getClaims(data: IGetClaimData[]): Promise<(AnyClaimStatus | null)[]>;
374
398
  getDistributors(data: IGetDistributors): Promise<(MerkleDistributor | null)[]>;
375
399
  searchDistributors(data: ISearchDistributors): Promise<IProgramAccount<MerkleDistributor>[]>;
@@ -390,6 +414,12 @@ declare abstract class BaseDistributorClient {
390
414
  protected prepareClaimFeeInstruction(payer: PublicKey, fee?: bigint): TransactionInstruction;
391
415
  protected validateDistributorArgs(data: ICreateDistributorData): void;
392
416
  protected unwrapExecutionParams<T extends IInteractExt>(extParams: T): ReturnType<typeof unwrapExecutionParams<T>>;
417
+ /**
418
+ * Claim support multiple remaining accounts:
419
+ * - attestation when an Airdrop requires a KYC;
420
+ * - partner link accounts for custom fee derivation;
421
+ */
422
+ private getClaimRemainingAccounts;
393
423
  private decodeClaimStatus;
394
424
  }
395
425
 
@@ -413,6 +443,17 @@ declare const getAlignedDistributorPda: (programId: PublicKey, distributor: Publ
413
443
  declare const getTestOraclePda: (programId: PublicKey, mint: PublicKey, creator: PublicKey) => PublicKey;
414
444
  declare function getDistributorPda(programId: PublicKey, mint: PublicKey, version: number): PublicKey;
415
445
  declare function getClaimantStatusPda(programId: PublicKey, distributor: PublicKey, claimant: PublicKey): PublicKey;
446
+ declare function getKycNonceBytes(nonce?: KycNonce): Buffer$1 | null;
447
+ declare function getAttestationNonce({ claimant, nonce, }: {
448
+ claimant: PublicKey;
449
+ nonce?: KycNonce;
450
+ }): Promise<PublicKey>;
451
+ declare function getAttestationPda({ credential, schema, nonce, programId, }: {
452
+ credential: PublicKey;
453
+ schema: PublicKey;
454
+ nonce: PublicKey;
455
+ programId?: PublicKey;
456
+ }): PublicKey;
416
457
  declare function getEventAuthorityPda(programId: PublicKey): PublicKey;
417
458
  declare const isCompressedClaimStatus: (status?: AnyClaimStatus | null) => status is CompressedClaimStatus;
418
459
  declare function wrappedSignAndExecuteTransaction(...args: Parameters<typeof signAndExecuteTransaction>): Promise<string>;
@@ -430,9 +471,11 @@ declare const DISTRIBUTOR_PREFIX: Buffer;
430
471
  declare const ALIGNED_DISTRIBUTOR_PREFIX: Buffer;
431
472
  declare const TEST_ORACLE_PREFIX: Buffer;
432
473
  declare const CLAIM_STATUS_PREFIX: Buffer;
474
+ declare const ATTESTATION_PREFIX: Buffer;
433
475
  declare const ALIGNED_PRECISION_FACTOR_POW = 9;
434
476
  declare const AIRDROP_CLAIM_FEE: bigint;
435
477
  declare const STREAMFLOW_TREASURY_PUBLIC_KEY: PublicKey;
478
+ declare const SOLANA_ATTESTATION_SERVICE_PROGRAM_ID: PublicKey;
436
479
  declare const ONE_IN_BASIS_POINTS: bigint;
437
480
  declare const SOL_FEE_PROGRAM_VERSION = 1;
438
481
  declare const ALIGNED_DISTRIBUTOR_PROGRAM_ID: {
@@ -466,6 +509,7 @@ declare const constants_ALIGNED_DISTRIBUTOR_PREFIX: typeof ALIGNED_DISTRIBUTOR_P
466
509
  declare const constants_ALIGNED_DISTRIBUTOR_PROGRAM_ID: typeof ALIGNED_DISTRIBUTOR_PROGRAM_ID;
467
510
  declare const constants_ALIGNED_PRECISION_FACTOR_POW: typeof ALIGNED_PRECISION_FACTOR_POW;
468
511
  declare const constants_ANCHOR_DISCRIMINATOR_OFFSET: typeof ANCHOR_DISCRIMINATOR_OFFSET;
512
+ declare const constants_ATTESTATION_PREFIX: typeof ATTESTATION_PREFIX;
469
513
  declare const constants_CLAIM_STATUS_PREFIX: typeof CLAIM_STATUS_PREFIX;
470
514
  declare const constants_DISTRIBUTOR_ADMIN_OFFSET: typeof DISTRIBUTOR_ADMIN_OFFSET;
471
515
  declare const constants_DISTRIBUTOR_MINT_OFFSET: typeof DISTRIBUTOR_MINT_OFFSET;
@@ -475,11 +519,12 @@ declare const constants_FEE_CONFIG_PUBLIC_KEY: typeof FEE_CONFIG_PUBLIC_KEY;
475
519
  declare const constants_MERKLE_DISTRIBUTOR_ERRORS: typeof MERKLE_DISTRIBUTOR_ERRORS;
476
520
  declare const constants_ONE_IN_BASIS_POINTS: typeof ONE_IN_BASIS_POINTS;
477
521
  declare const constants_PARTNER_ORACLE_PROGRAM_ID: typeof PARTNER_ORACLE_PROGRAM_ID;
522
+ declare const constants_SOLANA_ATTESTATION_SERVICE_PROGRAM_ID: typeof SOLANA_ATTESTATION_SERVICE_PROGRAM_ID;
478
523
  declare const constants_SOL_FEE_PROGRAM_VERSION: typeof SOL_FEE_PROGRAM_VERSION;
479
524
  declare const constants_STREAMFLOW_TREASURY_PUBLIC_KEY: typeof STREAMFLOW_TREASURY_PUBLIC_KEY;
480
525
  declare const constants_TEST_ORACLE_PREFIX: typeof TEST_ORACLE_PREFIX;
481
526
  declare namespace constants {
482
- export { constants_AIRDROP_CLAIM_FEE as AIRDROP_CLAIM_FEE, constants_ALIGNED_DISTRIBUTOR_ERRORS as ALIGNED_DISTRIBUTOR_ERRORS, constants_ALIGNED_DISTRIBUTOR_PREFIX as ALIGNED_DISTRIBUTOR_PREFIX, constants_ALIGNED_DISTRIBUTOR_PROGRAM_ID as ALIGNED_DISTRIBUTOR_PROGRAM_ID, constants_ALIGNED_PRECISION_FACTOR_POW as ALIGNED_PRECISION_FACTOR_POW, constants_ANCHOR_DISCRIMINATOR_OFFSET as ANCHOR_DISCRIMINATOR_OFFSET, constants_CLAIM_STATUS_PREFIX as CLAIM_STATUS_PREFIX, constants_DISTRIBUTOR_ADMIN_OFFSET as DISTRIBUTOR_ADMIN_OFFSET, constants_DISTRIBUTOR_MINT_OFFSET as DISTRIBUTOR_MINT_OFFSET, constants_DISTRIBUTOR_PREFIX as DISTRIBUTOR_PREFIX, constants_DISTRIBUTOR_PROGRAM_ID as DISTRIBUTOR_PROGRAM_ID, constants_FEE_CONFIG_PUBLIC_KEY as FEE_CONFIG_PUBLIC_KEY, constants_MERKLE_DISTRIBUTOR_ERRORS as MERKLE_DISTRIBUTOR_ERRORS, constants_ONE_IN_BASIS_POINTS as ONE_IN_BASIS_POINTS, constants_PARTNER_ORACLE_PROGRAM_ID as PARTNER_ORACLE_PROGRAM_ID, constants_SOL_FEE_PROGRAM_VERSION as SOL_FEE_PROGRAM_VERSION, constants_STREAMFLOW_TREASURY_PUBLIC_KEY as STREAMFLOW_TREASURY_PUBLIC_KEY, constants_TEST_ORACLE_PREFIX as TEST_ORACLE_PREFIX };
527
+ export { constants_AIRDROP_CLAIM_FEE as AIRDROP_CLAIM_FEE, constants_ALIGNED_DISTRIBUTOR_ERRORS as ALIGNED_DISTRIBUTOR_ERRORS, constants_ALIGNED_DISTRIBUTOR_PREFIX as ALIGNED_DISTRIBUTOR_PREFIX, constants_ALIGNED_DISTRIBUTOR_PROGRAM_ID as ALIGNED_DISTRIBUTOR_PROGRAM_ID, constants_ALIGNED_PRECISION_FACTOR_POW as ALIGNED_PRECISION_FACTOR_POW, constants_ANCHOR_DISCRIMINATOR_OFFSET as ANCHOR_DISCRIMINATOR_OFFSET, constants_ATTESTATION_PREFIX as ATTESTATION_PREFIX, constants_CLAIM_STATUS_PREFIX as CLAIM_STATUS_PREFIX, constants_DISTRIBUTOR_ADMIN_OFFSET as DISTRIBUTOR_ADMIN_OFFSET, constants_DISTRIBUTOR_MINT_OFFSET as DISTRIBUTOR_MINT_OFFSET, constants_DISTRIBUTOR_PREFIX as DISTRIBUTOR_PREFIX, constants_DISTRIBUTOR_PROGRAM_ID as DISTRIBUTOR_PROGRAM_ID, constants_FEE_CONFIG_PUBLIC_KEY as FEE_CONFIG_PUBLIC_KEY, constants_MERKLE_DISTRIBUTOR_ERRORS as MERKLE_DISTRIBUTOR_ERRORS, constants_ONE_IN_BASIS_POINTS as ONE_IN_BASIS_POINTS, constants_PARTNER_ORACLE_PROGRAM_ID as PARTNER_ORACLE_PROGRAM_ID, constants_SOLANA_ATTESTATION_SERVICE_PROGRAM_ID as SOLANA_ATTESTATION_SERVICE_PROGRAM_ID, constants_SOL_FEE_PROGRAM_VERSION as SOL_FEE_PROGRAM_VERSION, constants_STREAMFLOW_TREASURY_PUBLIC_KEY as STREAMFLOW_TREASURY_PUBLIC_KEY, constants_TEST_ORACLE_PREFIX as TEST_ORACLE_PREFIX };
483
528
  }
484
529
 
485
530
  type AirdropFeeResponse = {
@@ -576,6 +621,8 @@ type index_CloseClaimArgs = CloseClaimArgs;
576
621
  type index_CompressedClaimStatus = CompressedClaimStatus;
577
622
  type index_ContractErrorCode = ContractErrorCode;
578
623
  declare const index_ContractErrorCode: typeof ContractErrorCode;
624
+ type index_DisableKycAccounts = DisableKycAccounts;
625
+ type index_EnableKycAccounts = EnableKycAccounts;
579
626
  declare const index_FEE_ALLOCATION_FACTOR_FALLBACK_DENOMINATOR: typeof FEE_ALLOCATION_FACTOR_FALLBACK_DENOMINATOR;
580
627
  declare const index_FEE_ALLOCATION_FACTOR_FALLBACK_NUMERATOR: typeof FEE_ALLOCATION_FACTOR_FALLBACK_NUMERATOR;
581
628
  type index_FeeConfig = FeeConfig;
@@ -587,6 +634,8 @@ type index_ICreateAlignedDistributorData = ICreateAlignedDistributorData;
587
634
  type index_ICreateDistributorData = ICreateDistributorData;
588
635
  type index_ICreateDistributorResult = ICreateDistributorResult;
589
636
  type index_ICreateExt = ICreateExt;
637
+ type index_IDisableKycData = IDisableKycData;
638
+ type index_IEnableKycData = IEnableKycData;
590
639
  type index_IGetClaimData = IGetClaimData;
591
640
  type index_IGetDistributors = IGetDistributors;
592
641
  type index_IInteractExt = IInteractExt;
@@ -595,6 +644,8 @@ type index_ISearchDistributors = ISearchDistributors;
595
644
  type index_ISetClawbackReceiverData = ISetClawbackReceiverData;
596
645
  type index_ISetDataAdmin = ISetDataAdmin;
597
646
  type index_IWithdrawClawbackRequestData = IWithdrawClawbackRequestData;
647
+ type index_KycConfig = KycConfig;
648
+ type index_KycNonce = KycNonce;
598
649
  declare const index_MAXIMUM_FEE_FALLBACK: typeof MAXIMUM_FEE_FALLBACK;
599
650
  declare const index_MINIMUM_FEE_FALLBACK: typeof MINIMUM_FEE_FALLBACK;
600
651
  type index_MerkleDistributor = MerkleDistributor;
@@ -622,16 +673,19 @@ declare const index_calculateDynamicFeeFromSolParams: typeof calculateDynamicFee
622
673
  declare const index_constants: typeof constants;
623
674
  declare const index_fetchAirdropFee: typeof fetchAirdropFee;
624
675
  declare const index_getAlignedDistributorPda: typeof getAlignedDistributorPda;
676
+ declare const index_getAttestationNonce: typeof getAttestationNonce;
677
+ declare const index_getAttestationPda: typeof getAttestationPda;
625
678
  declare const index_getClaimantStatusPda: typeof getClaimantStatusPda;
626
679
  declare const index_getDistributorPda: typeof getDistributorPda;
627
680
  declare const index_getEventAuthorityPda: typeof getEventAuthorityPda;
681
+ declare const index_getKycNonceBytes: typeof getKycNonceBytes;
628
682
  declare const index_getTestOraclePda: typeof getTestOraclePda;
629
683
  declare const index_isCompressedClaimStatus: typeof isCompressedClaimStatus;
630
684
  declare const index_resolveAirdropFeeLamportsUsingApi: typeof resolveAirdropFeeLamportsUsingApi;
631
685
  declare const index_toLamportsSOL: typeof toLamportsSOL;
632
686
  declare const index_wrappedSignAndExecuteTransaction: typeof wrappedSignAndExecuteTransaction;
633
687
  declare namespace index {
634
- export { type index_AirdropFeeClient as AirdropFeeClient, type index_AirdropFeeDynamic as AirdropFeeDynamic, type index_AirdropFeeQueryOptionsOverrides as AirdropFeeQueryOptionsOverrides, type index_AirdropFeeResponse as AirdropFeeResponse, type index_AirdropFeeServiceResponse as AirdropFeeServiceResponse, type index_AlignedDistributorData as AlignedDistributorData, index_AnchorErrorCode as AnchorErrorCode, type index_AnyClaimStatus as AnyClaimStatus, type index_ClaimLockedAccounts as ClaimLockedAccounts, type index_ClaimLockedV2Accounts as ClaimLockedV2Accounts, type index_ClaimStatus as ClaimStatus, type index_ClawbackAccounts as ClawbackAccounts, type index_CloseClaimAccounts as CloseClaimAccounts, type index_CloseClaimArgs as CloseClaimArgs, type index_CompressedClaimStatus as CompressedClaimStatus, index_ContractErrorCode as ContractErrorCode, index_FEE_ALLOCATION_FACTOR_FALLBACK_DENOMINATOR as FEE_ALLOCATION_FACTOR_FALLBACK_DENOMINATOR, index_FEE_ALLOCATION_FACTOR_FALLBACK_NUMERATOR as FEE_ALLOCATION_FACTOR_FALLBACK_NUMERATOR, type index_FeeConfig as FeeConfig, type index_Fees as Fees, type index_IClaimData as IClaimData, type index_IClawbackData as IClawbackData, type index_ICloseClaimData as ICloseClaimData, type index_ICreateAlignedDistributorData as ICreateAlignedDistributorData, type index_ICreateDistributorData as ICreateDistributorData, type index_ICreateDistributorResult as ICreateDistributorResult, type index_ICreateExt as ICreateExt, type index_IGetClaimData as IGetClaimData, type index_IGetDistributors as IGetDistributors, type index_IInteractExt as IInteractExt, type index_IRequestClawbackData as IRequestClawbackData, type index_ISearchDistributors as ISearchDistributors, type index_ISetClawbackReceiverData as ISetClawbackReceiverData, type index_ISetDataAdmin as ISetDataAdmin, type index_IWithdrawClawbackRequestData as IWithdrawClawbackRequestData, index_MAXIMUM_FEE_FALLBACK as MAXIMUM_FEE_FALLBACK, index_MINIMUM_FEE_FALLBACK as MINIMUM_FEE_FALLBACK, type index_MerkleDistributor as MerkleDistributor, type index_MerkleDistributorAccountTypes as MerkleDistributorAccountTypes, type index_MerkleDistributorAccounts as MerkleDistributorAccounts, type index_MerkleDistributorProgram as MerkleDistributorProgram, type index_NewAlignedDistributorArgs as NewAlignedDistributorArgs, type index_NewClaimAccounts as NewClaimAccounts, type index_NewClaimArgs as NewClaimArgs, type index_NewDistributorAccounts as NewDistributorAccounts, type index_NewDistributorArgs as NewDistributorArgs, type index_OracleType as OracleType, type index_OracleTypeName as OracleTypeName, type index_RequestClawbackAccounts as RequestClawbackAccounts, index_SolanaAlignedDistributorClient as SolanaAlignedDistributorClient, index_SolanaDistributorClient as SolanaDistributorClient, type index_WithdrawClawbackRequestAccounts as WithdrawClawbackRequestAccounts, index_applyFeeLogic as applyFeeLogic, index_calculateAirdropFeeLamports as calculateAirdropFeeLamports, index_calculateAmountWithTransferFees as calculateAmountWithTransferFees, index_calculateClaimableLamportsFromPrices as calculateClaimableLamportsFromPrices, index_calculateDynamicFeeFromSolParams as calculateDynamicFeeFromSolParams, index_constants as constants, index_fetchAirdropFee as fetchAirdropFee, index_getAlignedDistributorPda as getAlignedDistributorPda, index_getClaimantStatusPda as getClaimantStatusPda, index_getDistributorPda as getDistributorPda, index_getEventAuthorityPda as getEventAuthorityPda, index_getTestOraclePda as getTestOraclePda, index_isCompressedClaimStatus as isCompressedClaimStatus, index_resolveAirdropFeeLamportsUsingApi as resolveAirdropFeeLamportsUsingApi, index_toLamportsSOL as toLamportsSOL, index_wrappedSignAndExecuteTransaction as wrappedSignAndExecuteTransaction };
688
+ export { type index_AirdropFeeClient as AirdropFeeClient, type index_AirdropFeeDynamic as AirdropFeeDynamic, type index_AirdropFeeQueryOptionsOverrides as AirdropFeeQueryOptionsOverrides, type index_AirdropFeeResponse as AirdropFeeResponse, type index_AirdropFeeServiceResponse as AirdropFeeServiceResponse, type index_AlignedDistributorData as AlignedDistributorData, index_AnchorErrorCode as AnchorErrorCode, type index_AnyClaimStatus as AnyClaimStatus, type index_ClaimLockedAccounts as ClaimLockedAccounts, type index_ClaimLockedV2Accounts as ClaimLockedV2Accounts, type index_ClaimStatus as ClaimStatus, type index_ClawbackAccounts as ClawbackAccounts, type index_CloseClaimAccounts as CloseClaimAccounts, type index_CloseClaimArgs as CloseClaimArgs, type index_CompressedClaimStatus as CompressedClaimStatus, index_ContractErrorCode as ContractErrorCode, type index_DisableKycAccounts as DisableKycAccounts, type index_EnableKycAccounts as EnableKycAccounts, index_FEE_ALLOCATION_FACTOR_FALLBACK_DENOMINATOR as FEE_ALLOCATION_FACTOR_FALLBACK_DENOMINATOR, index_FEE_ALLOCATION_FACTOR_FALLBACK_NUMERATOR as FEE_ALLOCATION_FACTOR_FALLBACK_NUMERATOR, type index_FeeConfig as FeeConfig, type index_Fees as Fees, type index_IClaimData as IClaimData, type index_IClawbackData as IClawbackData, type index_ICloseClaimData as ICloseClaimData, type index_ICreateAlignedDistributorData as ICreateAlignedDistributorData, type index_ICreateDistributorData as ICreateDistributorData, type index_ICreateDistributorResult as ICreateDistributorResult, type index_ICreateExt as ICreateExt, type index_IDisableKycData as IDisableKycData, type index_IEnableKycData as IEnableKycData, type index_IGetClaimData as IGetClaimData, type index_IGetDistributors as IGetDistributors, type index_IInteractExt as IInteractExt, type index_IRequestClawbackData as IRequestClawbackData, type index_ISearchDistributors as ISearchDistributors, type index_ISetClawbackReceiverData as ISetClawbackReceiverData, type index_ISetDataAdmin as ISetDataAdmin, type index_IWithdrawClawbackRequestData as IWithdrawClawbackRequestData, type index_KycConfig as KycConfig, type index_KycNonce as KycNonce, index_MAXIMUM_FEE_FALLBACK as MAXIMUM_FEE_FALLBACK, index_MINIMUM_FEE_FALLBACK as MINIMUM_FEE_FALLBACK, type index_MerkleDistributor as MerkleDistributor, type index_MerkleDistributorAccountTypes as MerkleDistributorAccountTypes, type index_MerkleDistributorAccounts as MerkleDistributorAccounts, type index_MerkleDistributorProgram as MerkleDistributorProgram, type index_NewAlignedDistributorArgs as NewAlignedDistributorArgs, type index_NewClaimAccounts as NewClaimAccounts, type index_NewClaimArgs as NewClaimArgs, type index_NewDistributorAccounts as NewDistributorAccounts, type index_NewDistributorArgs as NewDistributorArgs, type index_OracleType as OracleType, type index_OracleTypeName as OracleTypeName, type index_RequestClawbackAccounts as RequestClawbackAccounts, index_SolanaAlignedDistributorClient as SolanaAlignedDistributorClient, index_SolanaDistributorClient as SolanaDistributorClient, type index_WithdrawClawbackRequestAccounts as WithdrawClawbackRequestAccounts, index_applyFeeLogic as applyFeeLogic, index_calculateAirdropFeeLamports as calculateAirdropFeeLamports, index_calculateAmountWithTransferFees as calculateAmountWithTransferFees, index_calculateClaimableLamportsFromPrices as calculateClaimableLamportsFromPrices, index_calculateDynamicFeeFromSolParams as calculateDynamicFeeFromSolParams, index_constants as constants, index_fetchAirdropFee as fetchAirdropFee, index_getAlignedDistributorPda as getAlignedDistributorPda, index_getAttestationNonce as getAttestationNonce, index_getAttestationPda as getAttestationPda, index_getClaimantStatusPda as getClaimantStatusPda, index_getDistributorPda as getDistributorPda, index_getEventAuthorityPda as getEventAuthorityPda, index_getKycNonceBytes as getKycNonceBytes, index_getTestOraclePda as getTestOraclePda, index_isCompressedClaimStatus as isCompressedClaimStatus, index_resolveAirdropFeeLamportsUsingApi as resolveAirdropFeeLamportsUsingApi, index_toLamportsSOL as toLamportsSOL, index_wrappedSignAndExecuteTransaction as wrappedSignAndExecuteTransaction };
635
689
  }
636
690
 
637
- export { type AirdropFeeClient, type AirdropFeeDynamic, type AirdropFeeQueryOptionsOverrides, type AirdropFeeResponse, type AirdropFeeServiceResponse, type AlignedDistributorData, AnchorErrorCode, type AnyClaimStatus, type ClaimLockedAccounts, type ClaimLockedV2Accounts, type ClaimStatus, type ClawbackAccounts, type CloseClaimAccounts, type CloseClaimArgs, type CompressedClaimStatus, ContractErrorCode, FEE_ALLOCATION_FACTOR_FALLBACK_DENOMINATOR, FEE_ALLOCATION_FACTOR_FALLBACK_NUMERATOR, type FeeConfig, type Fees, type IClaimData, type IClawbackData, type ICloseClaimData, type ICreateAlignedDistributorData, type ICreateDistributorData, type ICreateDistributorResult, type ICreateExt, type IGetClaimData, type IGetDistributors, type IInteractExt, type IRequestClawbackData, type ISearchDistributors, type ISetClawbackReceiverData, type ISetDataAdmin, type IWithdrawClawbackRequestData, MAXIMUM_FEE_FALLBACK, MINIMUM_FEE_FALLBACK, type MerkleDistributor, type MerkleDistributorAccountTypes, type MerkleDistributorAccounts, type MerkleDistributorProgram, type NewAlignedDistributorArgs, type NewClaimAccounts, type NewClaimArgs, type NewDistributorAccounts, type NewDistributorArgs, type OracleType, type OracleTypeName, type RequestClawbackAccounts, SolanaAlignedDistributorClient, SolanaDistributorClient, type WithdrawClawbackRequestAccounts, applyFeeLogic, calculateAirdropFeeLamports, calculateAmountWithTransferFees, calculateClaimableLamportsFromPrices, calculateDynamicFeeFromSolParams, constants, fetchAirdropFee, getAlignedDistributorPda, getClaimantStatusPda, getDistributorPda, getEventAuthorityPda, getTestOraclePda, index as i, isCompressedClaimStatus, resolveAirdropFeeLamportsUsingApi, toLamportsSOL, wrappedSignAndExecuteTransaction };
691
+ export { type AirdropFeeClient, type AirdropFeeDynamic, type AirdropFeeQueryOptionsOverrides, type AirdropFeeResponse, type AirdropFeeServiceResponse, type AlignedDistributorData, AnchorErrorCode, type AnyClaimStatus, type ClaimLockedAccounts, type ClaimLockedV2Accounts, type ClaimStatus, type ClawbackAccounts, type CloseClaimAccounts, type CloseClaimArgs, type CompressedClaimStatus, ContractErrorCode, type DisableKycAccounts, type EnableKycAccounts, FEE_ALLOCATION_FACTOR_FALLBACK_DENOMINATOR, FEE_ALLOCATION_FACTOR_FALLBACK_NUMERATOR, type FeeConfig, type Fees, type IClaimData, type IClawbackData, type ICloseClaimData, type ICreateAlignedDistributorData, type ICreateDistributorData, type ICreateDistributorResult, type ICreateExt, type IDisableKycData, type IEnableKycData, type IGetClaimData, type IGetDistributors, type IInteractExt, type IRequestClawbackData, type ISearchDistributors, type ISetClawbackReceiverData, type ISetDataAdmin, type IWithdrawClawbackRequestData, type KycConfig, type KycNonce, MAXIMUM_FEE_FALLBACK, MINIMUM_FEE_FALLBACK, type MerkleDistributor, type MerkleDistributorAccountTypes, type MerkleDistributorAccounts, type MerkleDistributorProgram, type NewAlignedDistributorArgs, type NewClaimAccounts, type NewClaimArgs, type NewDistributorAccounts, type NewDistributorArgs, type OracleType, type OracleTypeName, type RequestClawbackAccounts, SolanaAlignedDistributorClient, SolanaDistributorClient, type WithdrawClawbackRequestAccounts, applyFeeLogic, calculateAirdropFeeLamports, calculateAmountWithTransferFees, calculateClaimableLamportsFromPrices, calculateDynamicFeeFromSolParams, constants, fetchAirdropFee, getAlignedDistributorPda, getAttestationNonce, getAttestationPda, getClaimantStatusPda, getDistributorPda, getEventAuthorityPda, getKycNonceBytes, getTestOraclePda, index as i, isCompressedClaimStatus, resolveAirdropFeeLamportsUsingApi, toLamportsSOL, wrappedSignAndExecuteTransaction };