@myx-trade/sdk 0.1.267-beta.9 → 0.1.268-beta.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.mts +95 -33
- package/dist/index.d.ts +95 -33
- package/dist/index.js +1 -23929
- package/dist/index.mjs +1 -23842
- package/package.json +5 -8
package/dist/index.d.mts
CHANGED
|
@@ -82,12 +82,16 @@ declare const getPoolInfo$1: (chainId: ChainId, poolId: string, marketPrice?: bi
|
|
|
82
82
|
exchangeRate: bigint;
|
|
83
83
|
poolTokenPrice: bigint;
|
|
84
84
|
poolTokenSupply: bigint;
|
|
85
|
+
totalDebt: bigint;
|
|
86
|
+
baseCollateral: bigint;
|
|
85
87
|
};
|
|
86
88
|
basePool: {
|
|
87
89
|
poolToken: string;
|
|
88
90
|
exchangeRate: bigint;
|
|
89
91
|
poolTokenPrice: bigint;
|
|
90
92
|
poolTokenSupply: bigint;
|
|
93
|
+
totalDebt: bigint;
|
|
94
|
+
baseCollateral: bigint;
|
|
91
95
|
};
|
|
92
96
|
reserveInfo: {
|
|
93
97
|
baseTotalAmount: bigint;
|
|
@@ -106,6 +110,10 @@ declare const getPoolInfo$1: (chainId: ChainId, poolId: string, marketPrice?: bi
|
|
|
106
110
|
shortSize: bigint;
|
|
107
111
|
poolEntryPrice: bigint;
|
|
108
112
|
};
|
|
113
|
+
liquidityInfo: {
|
|
114
|
+
windowCaps: bigint;
|
|
115
|
+
openInterest: bigint;
|
|
116
|
+
};
|
|
109
117
|
}>;
|
|
110
118
|
|
|
111
119
|
declare const getUserGenesisShare: (chainId: ChainId, tokenAddress: string, account: string) => Promise<bigint>;
|
|
@@ -225,6 +233,7 @@ interface PositionTpSlOrderParams {
|
|
|
225
233
|
tpPrice?: string;
|
|
226
234
|
slSize?: string;
|
|
227
235
|
slPrice?: string;
|
|
236
|
+
slippagePct: string;
|
|
228
237
|
}
|
|
229
238
|
interface TradingResult {
|
|
230
239
|
success: boolean;
|
|
@@ -293,10 +302,10 @@ interface AccessTokenResponse$1 extends BaseResponse {
|
|
|
293
302
|
data: AccessTokenType;
|
|
294
303
|
}
|
|
295
304
|
declare enum MarketPoolState {
|
|
296
|
-
Cook = 0,//
|
|
297
|
-
Primed = 1,//
|
|
298
|
-
Trench = 2,//
|
|
299
|
-
PreBench = 3,//
|
|
305
|
+
Cook = 0,// Market created
|
|
306
|
+
Primed = 1,// Fee charged, waiting for oracle initialization
|
|
307
|
+
Trench = 2,// Trading enabled
|
|
308
|
+
PreBench = 3,// Pending delisting
|
|
300
309
|
Bench = 4
|
|
301
310
|
}
|
|
302
311
|
type MarketPool = {
|
|
@@ -617,7 +626,8 @@ declare enum DirectionEnum {
|
|
|
617
626
|
declare enum OrderStatusEnum {
|
|
618
627
|
Cancelled = 1,
|
|
619
628
|
Expired = 2,
|
|
620
|
-
Successful = 9
|
|
629
|
+
Successful = 9,
|
|
630
|
+
PartialFilled = 8
|
|
621
631
|
}
|
|
622
632
|
declare enum ExecTypeEnum {
|
|
623
633
|
Market = 1,// market order
|
|
@@ -921,9 +931,17 @@ declare const claimBasePoolRebates: (params: ClaimRebatesParams) => Promise<ethe
|
|
|
921
931
|
|
|
922
932
|
declare const deposit$1: (params: Deposit) => Promise<ethers.ContractTransactionResponse | undefined>;
|
|
923
933
|
|
|
934
|
+
declare const withdrawableLpAmount$1: (params: {
|
|
935
|
+
chainId: ChainId;
|
|
936
|
+
poolId: string;
|
|
937
|
+
price?: bigint;
|
|
938
|
+
}) => Promise<bigint>;
|
|
924
939
|
declare const withdraw$1: (params: WithdrawParams) => Promise<ethers.ContractTransactionReceipt | null | undefined>;
|
|
925
940
|
|
|
926
|
-
declare const getRewards$1: (params: RewardsParams) => Promise<
|
|
941
|
+
declare const getRewards$1: (params: RewardsParams) => Promise<{
|
|
942
|
+
rebates: bigint;
|
|
943
|
+
genesisRebates: bigint;
|
|
944
|
+
} | undefined>;
|
|
927
945
|
|
|
928
946
|
declare const previewUserWithdrawData: ({ chainId, account, poolId, amount }: PreviewWithdrawDataParams) => Promise<{
|
|
929
947
|
baseAmountOut: bigint;
|
|
@@ -936,11 +954,16 @@ declare const index$2_claimBasePoolRebate: typeof claimBasePoolRebate;
|
|
|
936
954
|
declare const index$2_claimBasePoolRebates: typeof claimBasePoolRebates;
|
|
937
955
|
declare const index$2_previewUserWithdrawData: typeof previewUserWithdrawData;
|
|
938
956
|
declare namespace index$2 {
|
|
939
|
-
export { index$2_claimBasePoolRebate as claimBasePoolRebate, index$2_claimBasePoolRebates as claimBasePoolRebates, deposit$1 as deposit, getLpPrice$1 as getLpPrice, getRewards$1 as getRewards, index$2_previewUserWithdrawData as previewUserWithdrawData, withdraw$1 as withdraw };
|
|
957
|
+
export { index$2_claimBasePoolRebate as claimBasePoolRebate, index$2_claimBasePoolRebates as claimBasePoolRebates, deposit$1 as deposit, getLpPrice$1 as getLpPrice, getRewards$1 as getRewards, index$2_previewUserWithdrawData as previewUserWithdrawData, withdraw$1 as withdraw, withdrawableLpAmount$1 as withdrawableLpAmount };
|
|
940
958
|
}
|
|
941
959
|
|
|
942
960
|
declare const deposit: (params: Deposit) => Promise<ethers.ContractTransactionResponse | undefined>;
|
|
943
961
|
|
|
962
|
+
declare const withdrawableLpAmount: (params: {
|
|
963
|
+
chainId: ChainId;
|
|
964
|
+
poolId: string;
|
|
965
|
+
price?: bigint;
|
|
966
|
+
}) => Promise<bigint>;
|
|
944
967
|
declare const withdraw: (params: WithdrawParams) => Promise<ethers.ContractTransactionReceipt | null | undefined>;
|
|
945
968
|
|
|
946
969
|
declare const transfer: (chainId: ChainId, fromPoolId: string, toPoolId: string, amount: number) => Promise<ethers.ContractTransactionResponse | null>;
|
|
@@ -959,16 +982,16 @@ declare const index$1_getLpPrice: typeof getLpPrice;
|
|
|
959
982
|
declare const index$1_getRewards: typeof getRewards;
|
|
960
983
|
declare const index$1_transfer: typeof transfer;
|
|
961
984
|
declare const index$1_withdraw: typeof withdraw;
|
|
985
|
+
declare const index$1_withdrawableLpAmount: typeof withdrawableLpAmount;
|
|
962
986
|
declare namespace index$1 {
|
|
963
|
-
export { index$1_claimQuotePoolRebate as claimQuotePoolRebate, index$1_claimQuotePoolRebates as claimQuotePoolRebates, index$1_deposit as deposit, index$1_getLpPrice as getLpPrice, index$1_getRewards as getRewards, index$1_transfer as transfer, index$1_withdraw as withdraw };
|
|
987
|
+
export { index$1_claimQuotePoolRebate as claimQuotePoolRebate, index$1_claimQuotePoolRebates as claimQuotePoolRebates, index$1_deposit as deposit, index$1_getLpPrice as getLpPrice, index$1_getRewards as getRewards, index$1_transfer as transfer, index$1_withdraw as withdraw, index$1_withdrawableLpAmount as withdrawableLpAmount };
|
|
964
988
|
}
|
|
965
989
|
|
|
966
|
-
declare const getMarket: (chainId: ChainId, marketId: string) => Promise<([string, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint
|
|
990
|
+
declare const getMarket: (chainId: ChainId, marketId: string) => Promise<([string, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint] & {
|
|
967
991
|
quoteToken: string;
|
|
968
992
|
baseReserveRatio: bigint;
|
|
969
993
|
quoteReserveRatio: bigint;
|
|
970
994
|
oracleFeeUsd: bigint;
|
|
971
|
-
oracleRefundFeeUsd: bigint;
|
|
972
995
|
poolPrimeThreshold: bigint;
|
|
973
996
|
executionFee: bigint;
|
|
974
997
|
maxExecutionFee: bigint;
|
|
@@ -1220,7 +1243,7 @@ interface AccessTokenResponse {
|
|
|
1220
1243
|
}
|
|
1221
1244
|
interface MyxClientConfig {
|
|
1222
1245
|
/**
|
|
1223
|
-
* @deprecated
|
|
1246
|
+
* @deprecated Pass chainId from outside in each method for flexibility; this field will be removed in a future version
|
|
1224
1247
|
*/
|
|
1225
1248
|
chainId: number;
|
|
1226
1249
|
signer?: Signer;
|
|
@@ -1255,29 +1278,34 @@ declare class ConfigManager {
|
|
|
1255
1278
|
auth(params: Pick<MyxClientConfig, "signer" | "getAccessToken">): void;
|
|
1256
1279
|
private validateConfig;
|
|
1257
1280
|
/**
|
|
1258
|
-
*
|
|
1259
|
-
* @
|
|
1260
|
-
|
|
1281
|
+
* Get currently stored accessToken (does not auto-refresh)
|
|
1282
|
+
* @returns Promise<string | null> Current accessToken or null
|
|
1283
|
+
*/
|
|
1284
|
+
getAccessToken(): Promise<string | null>;
|
|
1285
|
+
/**
|
|
1286
|
+
* Manually refresh accessToken (must be called explicitly by the client)
|
|
1287
|
+
* @param forceRefresh Whether to force refresh
|
|
1288
|
+
* @returns Promise<string | null> Refreshed accessToken or null
|
|
1261
1289
|
*/
|
|
1262
1290
|
private _getAccessTokenQueue;
|
|
1263
1291
|
private _isGettingAccessToken;
|
|
1264
|
-
|
|
1292
|
+
refreshAccessToken(forceRefresh?: boolean): Promise<string | null>;
|
|
1265
1293
|
private _processAccessTokenQueue;
|
|
1266
|
-
private
|
|
1294
|
+
private _refreshAccessToken;
|
|
1267
1295
|
/**
|
|
1268
|
-
*
|
|
1296
|
+
* Set accessToken and expiry
|
|
1269
1297
|
* @param token accessToken
|
|
1270
|
-
* @param expiryInSeconds
|
|
1298
|
+
* @param expiryInSeconds Token validity in seconds, default 1 hour
|
|
1271
1299
|
*/
|
|
1272
1300
|
setAccessToken(token: string, expiryInSeconds?: number): void;
|
|
1273
1301
|
/**
|
|
1274
|
-
*
|
|
1275
|
-
* @returns string | undefined
|
|
1302
|
+
* Get currently stored accessToken (does not trigger refresh)
|
|
1303
|
+
* @returns string | undefined Current accessToken
|
|
1276
1304
|
*/
|
|
1277
1305
|
getCurrentAccessToken(): string | undefined;
|
|
1278
1306
|
isAccessTokenValid(): boolean;
|
|
1279
1307
|
/**
|
|
1280
|
-
*
|
|
1308
|
+
* Clear accessToken
|
|
1281
1309
|
*/
|
|
1282
1310
|
clearAccessToken(): void;
|
|
1283
1311
|
getConfig(): MyxClientConfig;
|
|
@@ -1420,16 +1448,20 @@ declare class Utils {
|
|
|
1420
1448
|
marketPrice: string;
|
|
1421
1449
|
}): Promise<{
|
|
1422
1450
|
code: number;
|
|
1423
|
-
data: [[string, bigint, bigint, bigint] & {
|
|
1451
|
+
data: [[string, bigint, bigint, bigint, bigint, bigint] & {
|
|
1424
1452
|
poolToken: string;
|
|
1425
1453
|
exchangeRate: bigint;
|
|
1426
1454
|
poolTokenPrice: bigint;
|
|
1427
1455
|
poolTokenSupply: bigint;
|
|
1428
|
-
|
|
1456
|
+
totalDebt: bigint;
|
|
1457
|
+
baseCollateral: bigint;
|
|
1458
|
+
}, [string, bigint, bigint, bigint, bigint, bigint] & {
|
|
1429
1459
|
poolToken: string;
|
|
1430
1460
|
exchangeRate: bigint;
|
|
1431
1461
|
poolTokenPrice: bigint;
|
|
1432
1462
|
poolTokenSupply: bigint;
|
|
1463
|
+
totalDebt: bigint;
|
|
1464
|
+
baseCollateral: bigint;
|
|
1433
1465
|
}, [bigint, bigint, bigint, bigint] & {
|
|
1434
1466
|
baseTotalAmount: bigint;
|
|
1435
1467
|
baseReservedAmount: bigint;
|
|
@@ -1448,17 +1480,21 @@ declare class Utils {
|
|
|
1448
1480
|
windowCaps: bigint;
|
|
1449
1481
|
openInterest: bigint;
|
|
1450
1482
|
}] & {
|
|
1451
|
-
basePool: [string, bigint, bigint, bigint] & {
|
|
1483
|
+
basePool: [string, bigint, bigint, bigint, bigint, bigint] & {
|
|
1452
1484
|
poolToken: string;
|
|
1453
1485
|
exchangeRate: bigint;
|
|
1454
1486
|
poolTokenPrice: bigint;
|
|
1455
1487
|
poolTokenSupply: bigint;
|
|
1488
|
+
totalDebt: bigint;
|
|
1489
|
+
baseCollateral: bigint;
|
|
1456
1490
|
};
|
|
1457
|
-
quotePool: [string, bigint, bigint, bigint] & {
|
|
1491
|
+
quotePool: [string, bigint, bigint, bigint, bigint, bigint] & {
|
|
1458
1492
|
poolToken: string;
|
|
1459
1493
|
exchangeRate: bigint;
|
|
1460
1494
|
poolTokenPrice: bigint;
|
|
1461
1495
|
poolTokenSupply: bigint;
|
|
1496
|
+
totalDebt: bigint;
|
|
1497
|
+
baseCollateral: bigint;
|
|
1462
1498
|
};
|
|
1463
1499
|
reserveInfo: [bigint, bigint, bigint, bigint] & {
|
|
1464
1500
|
baseTotalAmount: bigint;
|
|
@@ -1511,7 +1547,9 @@ declare enum AppealReconsiderationType {
|
|
|
1511
1547
|
Failed = 4,
|
|
1512
1548
|
PlatformRuling = 6,
|
|
1513
1549
|
PlatformRevoked = 7,
|
|
1514
|
-
ReconsiderationVoting = 8
|
|
1550
|
+
ReconsiderationVoting = 8,
|
|
1551
|
+
AppealRevert = 9,
|
|
1552
|
+
NotAppealFailed = 10
|
|
1515
1553
|
}
|
|
1516
1554
|
declare enum AppealStage {
|
|
1517
1555
|
UnderReview = 1,
|
|
@@ -1549,6 +1587,7 @@ interface AppealListItem {
|
|
|
1549
1587
|
claimStatus: AppealClaimStatusEnum;
|
|
1550
1588
|
baseAmount?: string;
|
|
1551
1589
|
quoteAmount?: string;
|
|
1590
|
+
successVoteCount: number;
|
|
1552
1591
|
}
|
|
1553
1592
|
interface GetAppealDetailParams {
|
|
1554
1593
|
caseId: number;
|
|
@@ -1602,6 +1641,7 @@ interface AppealDetail {
|
|
|
1602
1641
|
claimStatus: AppealClaimStatusEnum;
|
|
1603
1642
|
baseAmount?: string;
|
|
1604
1643
|
quoteAmount?: string;
|
|
1644
|
+
successVoteCount: number;
|
|
1605
1645
|
}
|
|
1606
1646
|
interface AppealUploadEvidenceParams {
|
|
1607
1647
|
caseId: number;
|
|
@@ -1633,7 +1673,11 @@ interface AppealReconsiderationListItem {
|
|
|
1633
1673
|
publicNoticeEndTime: number;
|
|
1634
1674
|
updateTime: number;
|
|
1635
1675
|
appealCaseId?: number;
|
|
1636
|
-
|
|
1676
|
+
appealBondClaimTime?: number;
|
|
1677
|
+
successVoteCount: number;
|
|
1678
|
+
appealSuccessVoteCount?: number;
|
|
1679
|
+
appealTotalVoteCount?: number;
|
|
1680
|
+
appealVotedCount?: number;
|
|
1637
1681
|
}
|
|
1638
1682
|
interface GetAppealReconsiderationDetailParams {
|
|
1639
1683
|
caseId: number;
|
|
@@ -1667,6 +1711,11 @@ interface AppealReconsiderationDetail {
|
|
|
1667
1711
|
appealStage: AppealStage;
|
|
1668
1712
|
appealBondState: AppealClaimStatusEnum;
|
|
1669
1713
|
appealBondClaimTime?: number;
|
|
1714
|
+
txHash: string;
|
|
1715
|
+
appealStartTime: number;
|
|
1716
|
+
appealEndTime: number;
|
|
1717
|
+
appealSuccessVoteCount?: number;
|
|
1718
|
+
successVoteCount: number;
|
|
1670
1719
|
}
|
|
1671
1720
|
interface AppealReimbursementParams {
|
|
1672
1721
|
before?: number;
|
|
@@ -1688,6 +1737,7 @@ interface AppealReimbursementItem {
|
|
|
1688
1737
|
claimTime: number;
|
|
1689
1738
|
expireTime: number;
|
|
1690
1739
|
createTime: number;
|
|
1740
|
+
proof: string;
|
|
1691
1741
|
}
|
|
1692
1742
|
interface GetAppealNodeVoteListParams {
|
|
1693
1743
|
before?: number;
|
|
@@ -1838,6 +1888,9 @@ declare class Api extends Request {
|
|
|
1838
1888
|
getPedingVoteCount(): Promise<ApiResponse<number>>;
|
|
1839
1889
|
getMyAppealCount(): Promise<ApiResponse<number>>;
|
|
1840
1890
|
getWarmholeSign(params: GetWarmholeSignParams): Promise<ApiResponse<GetWarmholeSignResponse>>;
|
|
1891
|
+
getDisputeTotalCount(): Promise<ApiResponse<number>>;
|
|
1892
|
+
getAppealTotalCount(): Promise<ApiResponse<number>>;
|
|
1893
|
+
getReimbursementTotalCount(): Promise<ApiResponse<number>>;
|
|
1841
1894
|
/**
|
|
1842
1895
|
* appeal module end ------>
|
|
1843
1896
|
*/
|
|
@@ -2133,12 +2186,11 @@ declare class Position {
|
|
|
2133
2186
|
code: number;
|
|
2134
2187
|
data: PositionHistoryItem[];
|
|
2135
2188
|
}>;
|
|
2136
|
-
adjustCollateral({ poolId, positionId, adjustAmount, quoteToken,
|
|
2189
|
+
adjustCollateral({ poolId, positionId, adjustAmount, quoteToken, chainId, address, }: {
|
|
2137
2190
|
poolId: string;
|
|
2138
2191
|
positionId: string;
|
|
2139
2192
|
adjustAmount: string;
|
|
2140
2193
|
quoteToken: string;
|
|
2141
|
-
poolOracleType: OracleType;
|
|
2142
2194
|
chainId: number;
|
|
2143
2195
|
address: string;
|
|
2144
2196
|
}): Promise<{
|
|
@@ -2309,7 +2361,7 @@ declare class Order {
|
|
|
2309
2361
|
message: any;
|
|
2310
2362
|
data?: undefined;
|
|
2311
2363
|
}>;
|
|
2312
|
-
updateOrderTpSl(params: UpdateOrderParams, quoteAddress: string, chainId: number, address: string, marketId: string): Promise<{
|
|
2364
|
+
updateOrderTpSl(params: UpdateOrderParams, quoteAddress: string, chainId: number, address: string, marketId: string, isTpSlOrder?: boolean): Promise<{
|
|
2313
2365
|
code: number;
|
|
2314
2366
|
message: string;
|
|
2315
2367
|
data: ApiResponse<any>;
|
|
@@ -3880,6 +3932,9 @@ declare class Appeal extends BaseMyxClient {
|
|
|
3880
3932
|
getPedingVoteCount(): Promise<ApiResponse<number>>;
|
|
3881
3933
|
getMyAppealCount(): Promise<ApiResponse<number>>;
|
|
3882
3934
|
getWarmholeSign(params: GetWarmholeSignParams): Promise<ApiResponse<GetWarmholeSignResponse>>;
|
|
3935
|
+
getDisputeTotalCount(): Promise<ApiResponse<number>>;
|
|
3936
|
+
getAppealTotalCount(): Promise<ApiResponse<number>>;
|
|
3937
|
+
getReimbursementTotalCount(): Promise<ApiResponse<number>>;
|
|
3883
3938
|
}
|
|
3884
3939
|
|
|
3885
3940
|
declare class Referrals extends BaseMyxClient {
|
|
@@ -3907,7 +3962,7 @@ declare class MyxClient {
|
|
|
3907
3962
|
appeal: Appeal;
|
|
3908
3963
|
referrals: Referrals;
|
|
3909
3964
|
/**
|
|
3910
|
-
*
|
|
3965
|
+
* Get config manager (for accessToken-related methods)
|
|
3911
3966
|
*/
|
|
3912
3967
|
getConfigManager(): ConfigManager;
|
|
3913
3968
|
constructor(options: MyxClientConfig);
|
|
@@ -3921,9 +3976,16 @@ declare class MyxClient {
|
|
|
3921
3976
|
*/
|
|
3922
3977
|
close(): void;
|
|
3923
3978
|
/**
|
|
3924
|
-
*
|
|
3979
|
+
* Get currently stored access token (does not auto-refresh)
|
|
3925
3980
|
*/
|
|
3926
3981
|
getAccessToken(): Promise<string | null>;
|
|
3982
|
+
/**
|
|
3983
|
+
* Manually refresh access token (must be called explicitly by the client)
|
|
3984
|
+
* @param forceRefresh Whether to force refresh
|
|
3985
|
+
*/
|
|
3986
|
+
refreshAccessToken(forceRefresh?: boolean): Promise<string | null>;
|
|
3927
3987
|
}
|
|
3928
3988
|
|
|
3929
|
-
|
|
3989
|
+
declare const SDK_VERSION: string;
|
|
3990
|
+
|
|
3991
|
+
export { type AccessTokenRequest, type AccessTokenResponse$1 as AccessTokenResponse, type AccessTokenType, type AddFavoriteParams, type Address, type ApiResponse, AppealCaseTypeEnum, AppealClaimStatusEnum, type AppealDetail, type AppealListItem, AppealNodeStateEnum, type AppealNodeVoteItem, type AppealNodeVoteListItem, AppealNodeVotedStateEnum, type AppealReconsiderationDetail, type AppealReconsiderationItem, type AppealReconsiderationListItem, AppealReconsiderationType, type AppealReimbursementItem, type AppealReimbursementParams, AppealStage, AppealType, type AppealUploadEvidenceParams, type AppealVoteItem, type BaseDetailResponse, type BaseResponse, COMMON_LP_AMOUNT_DECIMALS, COMMON_PRICE_DECIMALS, ChainId, type ChainIdRequest, CloseTypeEnum, type DashboardType, Direction, DirectionEnum, ErrorCode, ExecTypeEnum, type FavoritesListItem, type FavoritesListParams, type FavoritesTimeInterval, type FavoritesType, type FetchForwarderGetParams, type FetchForwarderGetResponse, type FetchForwarderGetResponseData, ForwarderGetStatus, type ForwarderTxParams, type GetAppealDetailParams, type GetAppealListParams, type GetAppealNodeVoteListParams, type GetAppealReconsiderationDetailParams, type GetAppealReconsiderationListParams, type GetAppealVoteNodeDetailParams, type GetBaseDetailParams, type GetHistoryOrdersParams, type GetIsVoteNodeParams, type GetKlineDataParams, type GetMarketDetailParams, type GetPoolLevelConfigParams, type GetTickerDataParams, type GetWarmholeSignParams, type GetWarmholeSignResponse, type GuardianSignatureItem, type HistoryOrderItem, type HttpEnvParams, HttpKlineIntervalEnum, IsVoteNodeEnum, type KlineDataItemType, type KlineDataResponse, type KlineResolution, type LevelConfig, MarketCapType, type MarketDetailResponse, type MarketInfo, type MarketPool, type MarketPoolResponse, MarketPoolState, MarketType, MxSDK, MyxClient, type MyxClientConfig, type MyxSubscriptionOptions, type NetWorkFee, NodeTypeEnum, type ObjectType, type OnKlineCallback, type OnOrderCallback, type OnPositionCallback, type OnTickersAllCallback, type OnTickersCallback, OperationEnum, OperationType, OracleType, type Order$1 as Order, OrderStatus, OrderStatusEnum, OrderType, OrderTypeEnum, type PlaceOrderParams, type PoolLevelConfig, type PoolOpenOrder, type PoolOpenOrdersResponse, type PoolResponse, type PoolSymbolAllResponse, type Position$1 as Position, type PositionHistoryItem, type PositionResponse, type PositionTpSlOrderParams, type PositionType, type PostVoteResponse, type PostVoteSignatureParams, type PriceResponse, type PriceType, type RemoveFavoriteParams, SDK_VERSION, type SearchMarketParams, type SearchResultContractItem, type SearchResultCookItem, type SearchResultEarnItem, type SearchResultResponse, SearchSecondTypeEnum, SearchTypeEnum, type StatDashBoardResponse, type TickerDataItem, type TickersDataResponse, TimeInForce, TradeFlowAccountTypeEnum, type TradeFlowItem, TradeFlowTypeEnum, type TradingResult, TriggerType, TriggerTypeEnum, type UpdateOrderTpSlParams, VoteTypeEnum, approve, index$2 as base, bigintAmountSlipperCalculator, bigintTradingGasPriceWithRatio, bigintTradingGasToRatioCalculator, getAllowanceApproved, getBalanceOf, getBaseDetail, getBaseUrlByEnv, getMarketDetail, getMarketList, getOraclePrice, getPoolDetail, getPoolList, getPoolOpenOrders, getPriceData, getPricesData, getTickerData, getTokenInfo, index as market, index$3 as pool, index$1 as quote };
|