@minswap/noodles-sdk 0.0.64 → 0.0.65-beta.1
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/0~rslib-runtime.js +1 -0
- package/dist/832.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +46 -46
- package/dist/index.js +1 -1
- package/dist/pay.cjs +1 -1
- package/dist/pay.d.ts +2 -2
- package/package.json +19 -18
- package/dist/rslib-runtime.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Coin } from '@flowx-finance/sdk';
|
|
2
2
|
import type { Coin as Coin_2 } from '@flowx-finance/sdk/src/core';
|
|
3
|
-
import type { CoinStruct } from '@mysten/sui/
|
|
3
|
+
import type { CoinStruct } from '@mysten/sui/jsonRpc';
|
|
4
4
|
import type { DevInspectResults } from '@mysten/sui/jsonRpc';
|
|
5
5
|
import { GetRoutesResult } from '@flowx-finance/sdk';
|
|
6
|
-
import { MemezPumpSDK } from '@interest-protocol/memez-fun-sdk';
|
|
7
|
-
import type { MoveStruct } from '@mysten/sui/
|
|
6
|
+
import type { MemezPumpSDK } from '@interest-protocol/memez-fun-sdk';
|
|
7
|
+
import type { MoveStruct } from '@mysten/sui/jsonRpc';
|
|
8
8
|
import { Path } from '@cetusprotocol/aggregator-sdk';
|
|
9
9
|
import type { PreSwapLpChangeParams } from '@cetusprotocol/aggregator-sdk';
|
|
10
10
|
import { Protocol } from '@flowx-finance/sdk';
|
|
@@ -14,7 +14,7 @@ import type { Route } from '@flowx-finance/sdk/src/universal-router/entities';
|
|
|
14
14
|
import type { RouterCompleteTradeRoute } from 'aftermath-ts-sdk';
|
|
15
15
|
import { RouterDataV3 } from '@cetusprotocol/aggregator-sdk';
|
|
16
16
|
import { SourceDex } from '@bluefin-exchange/bluefin7k-aggregator-sdk';
|
|
17
|
-
import {
|
|
17
|
+
import { SuiJsonRpcClient } from '@mysten/sui/jsonRpc';
|
|
18
18
|
import { SuiPriceServiceConnection } from '@pythnetwork/pyth-sui-js';
|
|
19
19
|
import { SuiPythClient } from '@pythnetwork/pyth-sui-js';
|
|
20
20
|
import { Transaction } from '@mysten/sui/transactions';
|
|
@@ -24,10 +24,10 @@ import { TransactionResult } from '@mysten/sui/transactions';
|
|
|
24
24
|
import type { TxSorSwap } from '@bluefin-exchange/bluefin7k-aggregator-sdk';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* Adapter to make
|
|
27
|
+
* Adapter to make SuiJsonRpcClient v1.38 compatible with libraries expecting v1.34
|
|
28
28
|
* This works around TypeScript type incompatibilities between versions
|
|
29
29
|
*/
|
|
30
|
-
export declare function adaptSuiClient(client:
|
|
30
|
+
export declare function adaptSuiClient(client: SuiJsonRpcClient): SuiJsonRpcClient;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Adapter to make Transaction v1.38 compatible with libraries expecting v1.34
|
|
@@ -40,7 +40,7 @@ export declare function addGasFee(params: {
|
|
|
40
40
|
sender: string;
|
|
41
41
|
feeAmount: bigint;
|
|
42
42
|
suiInputAmount?: bigint;
|
|
43
|
-
}, suiClient:
|
|
43
|
+
}, suiClient: SuiJsonRpcClient): Promise<Transaction>;
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* Parameters for adding a new subscription plan (admin only).
|
|
@@ -98,7 +98,7 @@ export declare class AftermathAggregator {
|
|
|
98
98
|
* @param config - Aggregator configuration including optional API settings
|
|
99
99
|
* @param suiClient - Sui client for blockchain interactions
|
|
100
100
|
*/
|
|
101
|
-
constructor(config: AftermathAggregatorConfig, suiClient:
|
|
101
|
+
constructor(config: AftermathAggregatorConfig, suiClient: SuiJsonRpcClient);
|
|
102
102
|
/**
|
|
103
103
|
* Lazy-loads and returns the Aftermath client, initializing it on first use
|
|
104
104
|
* Handles authentication if API key is provided in config
|
|
@@ -322,7 +322,7 @@ export declare class AstrosAggregator {
|
|
|
322
322
|
* @param config - Aggregator configuration including optional fee settings
|
|
323
323
|
* @param suiClient - Sui client for blockchain interactions
|
|
324
324
|
*/
|
|
325
|
-
constructor(config: AstrosAggregatorConfig, suiClient:
|
|
325
|
+
constructor(config: AstrosAggregatorConfig, suiClient: SuiJsonRpcClient);
|
|
326
326
|
/**
|
|
327
327
|
* Finds the optimal trade route for swapping tokens using Astros aggregator
|
|
328
328
|
* @param params - Trade route parameters
|
|
@@ -441,8 +441,8 @@ export declare namespace BlastFunConstants {
|
|
|
441
441
|
* @deprecated Use `BlastFunSDKCalculation` instead.
|
|
442
442
|
*/
|
|
443
443
|
export declare namespace BlastFunCustomCalculation {
|
|
444
|
-
export function getCurveAmountAfterBuy(params: GetCurveAmountAfterBuyParams, suiClient:
|
|
445
|
-
export function getSuiAmountAfterSell(params: GetSuiAmountAfterSellParams, suiClient:
|
|
444
|
+
export function getCurveAmountAfterBuy(params: GetCurveAmountAfterBuyParams, suiClient: SuiJsonRpcClient): Promise<bigint>;
|
|
445
|
+
export function getSuiAmountAfterSell(params: GetSuiAmountAfterSellParams, suiClient: SuiJsonRpcClient): Promise<bigint>;
|
|
446
446
|
}
|
|
447
447
|
|
|
448
448
|
/**
|
|
@@ -450,8 +450,8 @@ export declare namespace BlastFunCustomCalculation {
|
|
|
450
450
|
*/
|
|
451
451
|
export declare namespace BlastFunCustomTransaction {
|
|
452
452
|
export function getAllowedVersions(_tx?: Transaction): Promise<TransactionResult>;
|
|
453
|
-
export function buildBuyTx(params: BuildSwapTxParams, suiClient:
|
|
454
|
-
export function buildSellTx(params: BuildSwapTxParams, suiClient:
|
|
453
|
+
export function buildBuyTx(params: BuildSwapTxParams, suiClient: SuiJsonRpcClient): Promise<BuildTxResult>;
|
|
454
|
+
export function buildSellTx(params: BuildSwapTxParams, suiClient: SuiJsonRpcClient): Promise<BuildTxResult>;
|
|
455
455
|
}
|
|
456
456
|
|
|
457
457
|
export declare namespace BlastFunPackage {
|
|
@@ -461,7 +461,7 @@ export declare namespace BlastFunPackage {
|
|
|
461
461
|
public_key: number[];
|
|
462
462
|
ipx_meme_coin_treasury: string;
|
|
463
463
|
};
|
|
464
|
-
export function isSniperProtectedMemezFun(suiClient:
|
|
464
|
+
export function isSniperProtectedMemezFun(suiClient: SuiJsonRpcClient, poolId: string): Promise<boolean>;
|
|
465
465
|
}
|
|
466
466
|
export namespace MemezDistributor {
|
|
467
467
|
export type Recipient = {
|
|
@@ -508,7 +508,7 @@ export declare namespace BlastFunPackage {
|
|
|
508
508
|
export type PumpState = {
|
|
509
509
|
constant_product: MoveObjectStruct<MemezConstantProduct.MemezConstantProduct>;
|
|
510
510
|
};
|
|
511
|
-
export function getPumpState(suiClient:
|
|
511
|
+
export function getPumpState(suiClient: SuiJsonRpcClient, memezFun: MemezFun.MemezFun): Promise<PumpState>;
|
|
512
512
|
export function pump(pumpState: PumpState, quoteAmount: bigint): bigint;
|
|
513
513
|
export function dump(pumpState: PumpState, memeAmount: bigint): bigint;
|
|
514
514
|
}
|
|
@@ -520,16 +520,16 @@ export declare namespace BlastFunSDKCalculation {
|
|
|
520
520
|
}
|
|
521
521
|
|
|
522
522
|
export declare namespace BlastFunSDKTransaction {
|
|
523
|
-
export function buildBuyTx(params: BuildSwapTxParams, suiClient:
|
|
524
|
-
export function buildSellTx(params: BuildSwapTxParams, suiClient:
|
|
525
|
-
export function getBuyTransaction({ coinInAmount, coinInType, coinOutType, poolId, slippage, walletAddress, tradeFee, }: GetCurveTradeTransactionRequest, suiClient:
|
|
526
|
-
export function getSellTransaction({ coinInAmount, coinInType, coinOutType, poolId, slippage, walletAddress, tradeFee, }: GetCurveTradeTransactionRequest, suiClient:
|
|
523
|
+
export function buildBuyTx(params: BuildSwapTxParams, suiClient: SuiJsonRpcClient): Promise<BuildTxResult>;
|
|
524
|
+
export function buildSellTx(params: BuildSwapTxParams, suiClient: SuiJsonRpcClient): Promise<BuildTxResult>;
|
|
525
|
+
export function getBuyTransaction({ coinInAmount, coinInType, coinOutType, poolId, slippage, walletAddress, tradeFee, }: GetCurveTradeTransactionRequest, suiClient: SuiJsonRpcClient): Promise<Uint8Array>;
|
|
526
|
+
export function getSellTransaction({ coinInAmount, coinInType, coinOutType, poolId, slippage, walletAddress, tradeFee, }: GetCurveTradeTransactionRequest, suiClient: SuiJsonRpcClient): Promise<Uint8Array>;
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
export declare class Bluefin7kClient implements QuoteClient {
|
|
530
530
|
private readonly options;
|
|
531
531
|
readonly kind = SourceAggregatorRoute.SEVENK;
|
|
532
|
-
constructor(options: Bluefin7kClientOptions, client:
|
|
532
|
+
constructor(options: Bluefin7kClientOptions, client: SuiJsonRpcClient);
|
|
533
533
|
quote(quoteOptions: MetaQuoteOptions): Promise<MetaQuote>;
|
|
534
534
|
}
|
|
535
535
|
|
|
@@ -735,7 +735,7 @@ export declare class CetusAggregator {
|
|
|
735
735
|
* @param config - Aggregator configuration including fee settings and optional API credentials
|
|
736
736
|
* @param suiClient - Sui client for blockchain interactions
|
|
737
737
|
*/
|
|
738
|
-
constructor(config: CetusAggregatorConfig, suiClient:
|
|
738
|
+
constructor(config: CetusAggregatorConfig, suiClient: SuiJsonRpcClient);
|
|
739
739
|
/**
|
|
740
740
|
* Lazy-loads and returns the Cetus aggregator client, initializing it on first use
|
|
741
741
|
* Configures the client with overlay fees, API credentials, and partner information
|
|
@@ -800,7 +800,7 @@ export declare class CetusClient implements QuoteClient {
|
|
|
800
800
|
private readonly options;
|
|
801
801
|
readonly kind = SourceAggregatorRoute.CETUS;
|
|
802
802
|
private readonly cetusClient;
|
|
803
|
-
constructor(options: CetusClientOptions, metaOptions: MetaClientOptions, client:
|
|
803
|
+
constructor(options: CetusClientOptions, metaOptions: MetaClientOptions, client: SuiJsonRpcClient);
|
|
804
804
|
quote(quoteOptions: MetaQuoteOptions): Promise<MetaQuote>;
|
|
805
805
|
}
|
|
806
806
|
|
|
@@ -874,7 +874,7 @@ export declare const CONFIG_ID = "0x8b1a8ac6e34688cd8f8f8e5fefa9d5fb9e1ff74d2f13
|
|
|
874
874
|
/**
|
|
875
875
|
* Alternative: Create a proxy that ensures compatibility
|
|
876
876
|
*/
|
|
877
|
-
export declare function createCompatibleSuiClient(client:
|
|
877
|
+
export declare function createCompatibleSuiClient(client: SuiJsonRpcClient): LegacySuiClient;
|
|
878
878
|
|
|
879
879
|
export declare class CurveModule implements IModule {
|
|
880
880
|
readonly sdk: NoodlesSdk;
|
|
@@ -906,7 +906,7 @@ export declare type DraftTransaction = {
|
|
|
906
906
|
|
|
907
907
|
export declare class DraftTransferTx {
|
|
908
908
|
private readonly suiClient;
|
|
909
|
-
constructor(suiClient:
|
|
909
|
+
constructor(suiClient: SuiJsonRpcClient);
|
|
910
910
|
/**
|
|
911
911
|
* Validates private key against expected sender address
|
|
912
912
|
* @private
|
|
@@ -1078,7 +1078,7 @@ export declare class FlowXAggregator {
|
|
|
1078
1078
|
* @param config - Aggregator configuration including fee settings and optional API key
|
|
1079
1079
|
* @param suiClient - Sui client for blockchain interactions
|
|
1080
1080
|
*/
|
|
1081
|
-
constructor(config: FlowXAggregatorConfig, suiClient:
|
|
1081
|
+
constructor(config: FlowXAggregatorConfig, suiClient: SuiJsonRpcClient);
|
|
1082
1082
|
/**
|
|
1083
1083
|
* Creates a commission configuration for FlowX trades
|
|
1084
1084
|
* @param coinInType - Type/address of the input coin for commission calculation
|
|
@@ -1233,7 +1233,7 @@ export declare namespace FullsailClmm {
|
|
|
1233
1233
|
|
|
1234
1234
|
export declare function getAmountAfterFee(amount: bigint | string, fee?: string | number): bigint;
|
|
1235
1235
|
|
|
1236
|
-
export declare const getCoinObjectIdsByAmount: (suiClient:
|
|
1236
|
+
export declare const getCoinObjectIdsByAmount: (suiClient: SuiJsonRpcClient, address: string, amount: string, coinType: string) => Promise<{
|
|
1237
1237
|
objectIds: string[];
|
|
1238
1238
|
objectCoins: CoinStruct[];
|
|
1239
1239
|
balance: string;
|
|
@@ -1290,13 +1290,13 @@ export declare const getExpectedReturn: (returnAmount: string, slippageBps: numb
|
|
|
1290
1290
|
expectedAmount: string;
|
|
1291
1291
|
};
|
|
1292
1292
|
|
|
1293
|
-
export declare function getMemezPumpSDK(): MemezPumpSDK
|
|
1293
|
+
export declare function getMemezPumpSDK(): Promise<MemezPumpSDK>;
|
|
1294
1294
|
|
|
1295
|
-
export declare function getMoveObject(suiClient:
|
|
1295
|
+
export declare function getMoveObject(suiClient: SuiJsonRpcClient, objectId: string): Promise<MoveObject>;
|
|
1296
1296
|
|
|
1297
|
-
export declare function getMoveObjectContent(suiClient:
|
|
1297
|
+
export declare function getMoveObjectContent(suiClient: SuiJsonRpcClient, objectId: string): Promise<MoveStruct>;
|
|
1298
1298
|
|
|
1299
|
-
export declare function getNeededGasFee(suiClient:
|
|
1299
|
+
export declare function getNeededGasFee(suiClient: SuiJsonRpcClient, tx: Transaction, sender: string, bufferPercent: number): Promise<bigint>;
|
|
1300
1300
|
|
|
1301
1301
|
declare type GetSplitCoinForTx = {
|
|
1302
1302
|
account: string;
|
|
@@ -1308,7 +1308,7 @@ declare type GetSplitCoinForTx = {
|
|
|
1308
1308
|
isSponsored?: boolean;
|
|
1309
1309
|
};
|
|
1310
1310
|
|
|
1311
|
-
export declare function getSplitCoinForTx(params: GetSplitCoinForTx, suiClient:
|
|
1311
|
+
export declare function getSplitCoinForTx(params: GetSplitCoinForTx, suiClient: SuiJsonRpcClient): Promise<{
|
|
1312
1312
|
tx: Transaction;
|
|
1313
1313
|
coinData: TransactionResult;
|
|
1314
1314
|
}>;
|
|
@@ -1554,7 +1554,7 @@ export declare namespace KriyaClmm {
|
|
|
1554
1554
|
const VERSION_OBJ_ID = "0xf5145a7ac345ca8736cf8c76047d00d6d378f30e81be6f6eb557184d9de93c78";
|
|
1555
1555
|
}
|
|
1556
1556
|
|
|
1557
|
-
declare type LegacySuiClient =
|
|
1557
|
+
declare type LegacySuiClient = SuiJsonRpcClient;
|
|
1558
1558
|
|
|
1559
1559
|
export declare namespace MagmaAlmm {
|
|
1560
1560
|
const FACTORY_OBJ_ID = "0xedb456e93e423dd75a8ddebedd9974bb661195043027e32ce01649d6ccee74cf";
|
|
@@ -1654,7 +1654,7 @@ export declare type MetaAggregatorBasePath = {
|
|
|
1654
1654
|
export declare type MetaAggregatorPath = MetaAggregatorBasePath & ExtendAggregatorSwapParam;
|
|
1655
1655
|
|
|
1656
1656
|
export declare class MetaClient {
|
|
1657
|
-
client:
|
|
1657
|
+
client: SuiJsonRpcClient;
|
|
1658
1658
|
private providers;
|
|
1659
1659
|
private readonly options;
|
|
1660
1660
|
constructor(options?: MetaClientOptions);
|
|
@@ -1770,12 +1770,12 @@ export declare namespace MomentumClmm {
|
|
|
1770
1770
|
}
|
|
1771
1771
|
|
|
1772
1772
|
export declare namespace MoonbagsCalculation {
|
|
1773
|
-
export function getCurveAmountAfterBuy(params: GetCurveAmountAfterBuyParams, suiClient:
|
|
1774
|
-
export function getSuiAmountAfterSell(params: GetSuiAmountAfterSellParams, suiClient:
|
|
1773
|
+
export function getCurveAmountAfterBuy(params: GetCurveAmountAfterBuyParams, suiClient: SuiJsonRpcClient): Promise<bigint>;
|
|
1774
|
+
export function getSuiAmountAfterSell(params: GetSuiAmountAfterSellParams, suiClient: SuiJsonRpcClient): Promise<bigint>;
|
|
1775
1775
|
export function getUsedSuiForTx(params: {
|
|
1776
1776
|
suiAmount: bigint;
|
|
1777
1777
|
frontendFee?: number | string;
|
|
1778
|
-
}, suiClient:
|
|
1778
|
+
}, suiClient: SuiJsonRpcClient): Promise<bigint>;
|
|
1779
1779
|
}
|
|
1780
1780
|
|
|
1781
1781
|
export declare namespace MoonbagsConstants {
|
|
@@ -1814,7 +1814,7 @@ export declare namespace MoonbagsPackage {
|
|
|
1814
1814
|
name: number[];
|
|
1815
1815
|
value: string;
|
|
1816
1816
|
};
|
|
1817
|
-
export function getDynamicVirtualTokenReserves(suiClient:
|
|
1817
|
+
export function getDynamicVirtualTokenReserves(suiClient: SuiJsonRpcClient, poolId: string): Promise<bigint | undefined>;
|
|
1818
1818
|
export function buyExactInReturnsWithLock(params: {
|
|
1819
1819
|
inputAmount: bigint;
|
|
1820
1820
|
amountIn: bigint;
|
|
@@ -1837,10 +1837,10 @@ export declare namespace MoonbagsPackage {
|
|
|
1837
1837
|
}
|
|
1838
1838
|
|
|
1839
1839
|
export declare namespace MoonbagsTransaction {
|
|
1840
|
-
export function buildBuyTx(params: BuildSwapTxParams, suiClient:
|
|
1841
|
-
export function buildSellTx(params: BuildSwapTxParams, suiClient:
|
|
1842
|
-
export function getBuyTransaction({ coinInAmount, coinInType, coinOutType, poolId, slippage, walletAddress, tradeFee, }: GetCurveTradeTransactionRequest, suiClient:
|
|
1843
|
-
export function getSellTransaction({ coinInAmount, coinInType, coinOutType, poolId, slippage, walletAddress, tradeFee, }: GetCurveTradeTransactionRequest, suiClient:
|
|
1840
|
+
export function buildBuyTx(params: BuildSwapTxParams, suiClient: SuiJsonRpcClient): Promise<BuildTxResult>;
|
|
1841
|
+
export function buildSellTx(params: BuildSwapTxParams, suiClient: SuiJsonRpcClient): Promise<BuildTxResult>;
|
|
1842
|
+
export function getBuyTransaction({ coinInAmount, coinInType, coinOutType, poolId, slippage, walletAddress, tradeFee, }: GetCurveTradeTransactionRequest, suiClient: SuiJsonRpcClient): Promise<Uint8Array>;
|
|
1843
|
+
export function getSellTransaction({ coinInAmount, coinInType, coinOutType, poolId, slippage, walletAddress, tradeFee, }: GetCurveTradeTransactionRequest, suiClient: SuiJsonRpcClient): Promise<Uint8Array>;
|
|
1844
1844
|
}
|
|
1845
1845
|
|
|
1846
1846
|
export declare type MoveEnumObjectStruct<Content, Variant extends string = string> = MoveObjectStruct<Content> & {
|
|
@@ -1877,7 +1877,7 @@ export declare class NoodlesPaySdk {
|
|
|
1877
1877
|
readonly boostingModule: BoostingModule;
|
|
1878
1878
|
readonly subscriptionModule: SubscriptionModule;
|
|
1879
1879
|
constructor(network?: Network, env?: Environment);
|
|
1880
|
-
get suiClient():
|
|
1880
|
+
get suiClient(): SuiJsonRpcClient;
|
|
1881
1881
|
}
|
|
1882
1882
|
|
|
1883
1883
|
export declare class NoodlesSdk {
|
|
@@ -1888,7 +1888,7 @@ export declare class NoodlesSdk {
|
|
|
1888
1888
|
readonly aggregatorModule: AggregatorModule;
|
|
1889
1889
|
readonly curveModule: CurveModule;
|
|
1890
1890
|
constructor(options: SdkOptions, network?: Network, env?: Environment);
|
|
1891
|
-
get suiClient():
|
|
1891
|
+
get suiClient(): SuiJsonRpcClient;
|
|
1892
1892
|
}
|
|
1893
1893
|
|
|
1894
1894
|
export declare function normalizeTokenType(type: string): string;
|
|
@@ -1947,7 +1947,7 @@ export declare namespace PythUtils {
|
|
|
1947
1947
|
const WORMHOLE_STATE_ID = "0xaeab97f96cf9877fee2883315d459552b2b921edc16d7ceac6eab944dd88919c";
|
|
1948
1948
|
const PYTH_STATE_ID = "0x1f9310238ee9298fb703c3419030b35b22bb1cc37113e3bb5007c99aec79e5b8";
|
|
1949
1949
|
export function newPythConnections(pythUrls?: string[]): SuiPriceServiceConnection[];
|
|
1950
|
-
export function newPythClient(suiClient?:
|
|
1950
|
+
export function newPythClient(suiClient?: SuiJsonRpcClient): SuiPythClient;
|
|
1951
1951
|
export function updatePythPriceIDs(params: {
|
|
1952
1952
|
priceFeedIds: PythPriceFeedId[];
|
|
1953
1953
|
txb: Transaction;
|
|
@@ -2072,7 +2072,7 @@ export declare class SevenKAggregator {
|
|
|
2072
2072
|
* @param config - Aggregator configuration including fee settings and optional API key
|
|
2073
2073
|
* @param suiClient - Sui client for blockchain interactions
|
|
2074
2074
|
*/
|
|
2075
|
-
constructor(config: SevenKAggregatorConfig, suiClient:
|
|
2075
|
+
constructor(config: SevenKAggregatorConfig, suiClient: SuiJsonRpcClient);
|
|
2076
2076
|
/**
|
|
2077
2077
|
* Finds the optimal trade route for swapping tokens using 7K Protocol
|
|
2078
2078
|
* @param params - Trade route parameters
|
|
@@ -2141,7 +2141,7 @@ declare type SourceClientBaseOptions = {
|
|
|
2141
2141
|
disabled?: boolean;
|
|
2142
2142
|
};
|
|
2143
2143
|
|
|
2144
|
-
export declare function splitSuiCoinAfterFeeFromBuyTx(params: BuildSwapTxParams, suiClient:
|
|
2144
|
+
export declare function splitSuiCoinAfterFeeFromBuyTx(params: BuildSwapTxParams, suiClient: SuiJsonRpcClient): Promise<BuildTxResult>;
|
|
2145
2145
|
|
|
2146
2146
|
export declare function splitSuiCoinAfterFeeFromSellTx(tx: Transaction, params: BuildSwapTxParams, suiCoin: TransactionObjectArgument): Promise<BuildTxResult>;
|
|
2147
2147
|
|