/** * ENI BatchRouter 编码工具 — 完整版 * * 对标 BSC 全部 Bundle 操作的 calldata 编码 */ export declare function validateBatchParams(addresses: string[], amounts: bigint[], label?: string): void; export declare function encodeBatchBuy(portal: string, token: string, buyers: string[], amounts: bigint[]): string; export declare function encodeBatchSell(portal: string, token: string, sellers: string[], amounts: bigint[]): string; export declare function encodeBatchBuyV2(router: string, path: string[], buyers: string[], amounts: bigint[]): string; export declare function encodeBatchSellV2(router: string, path: string[], sellers: string[], amounts: bigint[]): string; export declare function encodeAtomicSwap(portal: string, token: string, seller: string, sellAmount: bigint, buyers: string[], buyAmounts: bigint[]): string; export declare function encodeBatchSwap(portal: string, token: string, sellers: string[], sellAmounts: bigint[], buyers: string[], buyAmounts: bigint[]): string; export declare function encodeAtomicSwapV2(router: string, token: string, seller: string, sellAmount: bigint, buyers: string[], buyAmounts: bigint[]): string; export declare function encodeBatchSwapV2(router: string, token: string, sellers: string[], sellAmounts: bigint[], buyers: string[], buyAmounts: bigint[]): string; export declare function encodeBuyFirstSwap(portal: string, token: string, buyers: string[], buyAmounts: bigint[], sellers: string[], sellAmounts: bigint[]): string; export declare function encodeBuyFirstSwapV2(router: string, token: string, buyers: string[], buyAmounts: bigint[], sellers: string[], sellAmounts: bigint[]): string; export declare function encodeCreateAndBatchBuy(portal: string, name: string, symbol: string, salt: string, createValue: bigint, token: string, buyers: string[], buyAmounts: bigint[]): string; export interface FairLaunchParamsForRouter { name: string; symbol: string; logo: string; metadata: string; quoteTokenAddr: string; initialLp: bigint; initialQuote: bigint; lpAddRate: bigint; lpAddMin: bigint; buybackRate: bigint; buybackMin: bigint; buybackPath: string[]; marketingRates: bigint[]; marketingAddrs: string[]; vestingAmount: bigint; vestingLockEndTime: bigint; vestingReleaseEndTime: bigint; vestingRecipients: string[]; vestingRatios: bigint[]; tradeStartTime: bigint; claimStartTime: bigint; claimEndTime: bigint; lockTime: bigint; releasePeriod: bigint; maxCount: bigint; minAmount: bigint; maxAmount: bigint; whitelistEnabled: boolean; whitelistAddrs: string[]; inviteCodeEnabled: boolean; inviteCodes: string[]; } export declare function encodeFairLaunchAndBatchBuyV2(launcher: string, launchParams: FairLaunchParamsForRouter, launchValue: bigint, router: string, token: string, buyers: string[], buyAmounts: bigint[]): string; export declare function encodeCrossSwapPortalToV2(portal: string, router: string, token: string, sellers: string[], sellAmounts: bigint[], buyers: string[], buyAmounts: bigint[]): string; export declare function encodeCrossSwapV2ToPortal(portal: string, router: string, token: string, sellers: string[], sellAmounts: bigint[], buyers: string[], buyAmounts: bigint[]): string; export declare function encodeBatchTransfer(recipients: string[], amounts: bigint[]): string; export declare function encodeBatchTransferToken(token: string, recipients: string[], amounts: bigint[]): string; export declare function encodeBatchSweepToken(token: string, sources: string[], target: string): string; export declare function buildBatchRouterTx(params: { rpcUrl?: string; mainPrivateKey: string; batchRouterAddress: string; calldata: string; value?: bigint; gasLimit?: bigint; gasPrice?: bigint; }): Promise<{ signedTx: string; from: string; nonce: number; }>;