haedal-vault-sdk 1.0.3 → 1.1.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 +5 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { CoinBalance, SuiObjectResponse } from '@mysten/sui/client';
|
|
|
2
2
|
import { AggregatorClient } from '@cetusprotocol/aggregator-sdk';
|
|
3
3
|
import { PaginationArgs, DataPage, CoinPairType, IModule as IModule$1, Package, SuiAddressType, FullClient, CoinAsset, SuiResource } from '@cetusprotocol/common-sdk';
|
|
4
4
|
import { Pool as Pool$1, CetusClmmSDK } from '@cetusprotocol/sui-clmm-sdk';
|
|
5
|
-
import {
|
|
5
|
+
import { TransactionObjectArgument, Transaction } from '@mysten/sui/transactions';
|
|
6
6
|
import * as _pythnetwork_price_service_sdk from '@pythnetwork/price-service-sdk';
|
|
7
7
|
import { SuiPriceServiceConnection, SuiPythClient } from '@pythnetwork/pyth-sui-js';
|
|
8
8
|
import BN from 'bn.js';
|
|
@@ -150,6 +150,10 @@ type WithdrawOptions = {
|
|
|
150
150
|
mode: WithdrawMode;
|
|
151
151
|
slippage?: number;
|
|
152
152
|
partner?: string;
|
|
153
|
+
extra_burn?: {
|
|
154
|
+
lp_burn_coin: TransactionObjectArgument;
|
|
155
|
+
burn_lp_amount: string;
|
|
156
|
+
};
|
|
153
157
|
};
|
|
154
158
|
type WithdrawMode = 'FixedOneSide' | 'OnlyCoinA' | 'OnlyCoinB';
|
|
155
159
|
type WithdrawCalculationOptions = {
|