@cetusprotocol/sui-clmm-sdk 1.1.0 → 1.1.2
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.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CoinPairType, SuiObjectIdType, SuiAddressType, NFT as NFT$1, Percentage, IModule, SuiResource, PaginationArgs, DataPage, PageQuery, CoinAsset, SdkWrapper, BaseSdkOptions, Package, BuildCoinResult, BaseError } from '@cetusprotocol/common-sdk';
|
|
2
|
-
import { TransactionArgument,
|
|
2
|
+
import { TransactionArgument, TransactionObjectArgument, Transaction } from '@mysten/sui/transactions';
|
|
3
3
|
import BN from 'bn.js';
|
|
4
4
|
import Decimal from 'decimal.js';
|
|
5
5
|
import { DevInspectResults, SuiObjectResponse, SuiTransactionBlockResponse } from '@mysten/sui/client';
|
|
@@ -1059,7 +1059,7 @@ type PositionSnapshot = {
|
|
|
1059
1059
|
tick_upper_index: number;
|
|
1060
1060
|
fee_owned_a: string;
|
|
1061
1061
|
fee_owned_b: string;
|
|
1062
|
-
|
|
1062
|
+
value_cut: string;
|
|
1063
1063
|
rewards: string[];
|
|
1064
1064
|
};
|
|
1065
1065
|
|
|
@@ -1385,7 +1385,7 @@ type PositionVesting = {
|
|
|
1385
1385
|
} & CoinPairType;
|
|
1386
1386
|
type RedeemOption = {
|
|
1387
1387
|
clmm_pool_id: string;
|
|
1388
|
-
clmm_position_id: string;
|
|
1388
|
+
clmm_position_id: string | TransactionObjectArgument;
|
|
1389
1389
|
period: number;
|
|
1390
1390
|
} & CoinPairType;
|
|
1391
1391
|
type GetPositionVestOption = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CoinPairType, SuiObjectIdType, SuiAddressType, NFT as NFT$1, Percentage, IModule, SuiResource, PaginationArgs, DataPage, PageQuery, CoinAsset, SdkWrapper, BaseSdkOptions, Package, BuildCoinResult, BaseError } from '@cetusprotocol/common-sdk';
|
|
2
|
-
import { TransactionArgument,
|
|
2
|
+
import { TransactionArgument, TransactionObjectArgument, Transaction } from '@mysten/sui/transactions';
|
|
3
3
|
import BN from 'bn.js';
|
|
4
4
|
import Decimal from 'decimal.js';
|
|
5
5
|
import { DevInspectResults, SuiObjectResponse, SuiTransactionBlockResponse } from '@mysten/sui/client';
|
|
@@ -1059,7 +1059,7 @@ type PositionSnapshot = {
|
|
|
1059
1059
|
tick_upper_index: number;
|
|
1060
1060
|
fee_owned_a: string;
|
|
1061
1061
|
fee_owned_b: string;
|
|
1062
|
-
|
|
1062
|
+
value_cut: string;
|
|
1063
1063
|
rewards: string[];
|
|
1064
1064
|
};
|
|
1065
1065
|
|
|
@@ -1385,7 +1385,7 @@ type PositionVesting = {
|
|
|
1385
1385
|
} & CoinPairType;
|
|
1386
1386
|
type RedeemOption = {
|
|
1387
1387
|
clmm_pool_id: string;
|
|
1388
|
-
clmm_position_id: string;
|
|
1388
|
+
clmm_position_id: string | TransactionObjectArgument;
|
|
1389
1389
|
period: number;
|
|
1390
1390
|
} & CoinPairType;
|
|
1391
1391
|
type GetPositionVestOption = {
|