/** * 空投分散 / 归集(airdrop-sweep)— 类型定义 */ import type { SoulPointSignatureMode, VNormalizationMode } from '../../clients/club48.js'; export type BundleSubmitResult = { bundleUuid: string; signedTxs: string[]; }; export type SignedTransactionsResult = { signedTransactions: string[]; }; export type AirdropDisperseParams = { rpcUrl: string; chainId: number; fromPrivateKey: string; recipients: string[]; amount?: string; amounts?: string[]; tokenAddress?: string; bundleEndpoint?: string; gasPriceGwei?: string; transferGasLimit?: bigint; nativeGasLimit?: bigint; blockOffset?: number; spMode?: SoulPointSignatureMode; spPrivateKey?: string; spVMode?: VNormalizationMode; }; export type AirdropDisperseSignParams = { rpcUrl: string; chainId: number; fromPrivateKey: string; recipients: string[]; amount?: string; amounts?: string[]; tokenAddress?: string; gasPriceGwei?: string; transferGasLimit?: bigint; nativeGasLimit?: bigint; }; export type AirdropSweepParams = { rpcUrl: string; chainId: number; sourcePrivateKeys: string[]; target: string; ratioPct?: number; amount?: string; tokenAddress?: string; bundleEndpoint?: string; gasPriceGwei?: string; transferGasLimit?: bigint; nativeGasLimit?: bigint; blockOffset?: number; skipIfInsufficient?: boolean; spMode?: SoulPointSignatureMode; spPrivateKey?: string; spVMode?: VNormalizationMode; }; export type AirdropSweepSignParams = { rpcUrl: string; chainId: number; sourcePrivateKeys: string[]; target: string; ratioPct?: number; amount?: string; tokenAddress?: string; gasPriceGwei?: string; transferGasLimit?: bigint; nativeGasLimit?: bigint; skipIfInsufficient?: boolean; }; /** @deprecated 使用 `AirdropDisperseParams` */ export type DisperseParams = AirdropDisperseParams; /** @deprecated 使用 `AirdropDisperseSignParams` */ export type DisperseSignParams = AirdropDisperseSignParams; /** @deprecated 使用 `AirdropSweepParams` */ export type SweepParams = AirdropSweepParams; /** @deprecated 使用 `AirdropSweepSignParams` */ export type SweepSignParams = AirdropSweepSignParams;