@myx-trade/sdk 1.0.4-beta.7 → 1.0.4
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 +39 -3
- package/dist/index.d.ts +39 -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
|
@@ -1059,6 +1059,22 @@ declare const getTokenInfo: (chainId: number, tokenAddress: string, account?: st
|
|
|
1059
1059
|
totalSupply: number;
|
|
1060
1060
|
}>;
|
|
1061
1061
|
|
|
1062
|
+
/**
|
|
1063
|
+
* Optional log sink for SDK. Default is no-op so the SDK does not touch the global `console`.
|
|
1064
|
+
* Host can call setSdkLogSink(console) to get logs; in LavaMoat environments leave unset to reduce allowlist.
|
|
1065
|
+
*/
|
|
1066
|
+
type LogSink = {
|
|
1067
|
+
log?: (...args: unknown[]) => void;
|
|
1068
|
+
info?: (...args: unknown[]) => void;
|
|
1069
|
+
warn?: (...args: unknown[]) => void;
|
|
1070
|
+
error?: (...args: unknown[]) => void;
|
|
1071
|
+
};
|
|
1072
|
+
declare function setSdkLogSink(s: LogSink | null): void;
|
|
1073
|
+
declare function getSdkLogSink(): LogSink;
|
|
1074
|
+
declare function sdkLog(...args: unknown[]): void;
|
|
1075
|
+
declare function sdkWarn(...args: unknown[]): void;
|
|
1076
|
+
declare function sdkError(...args: unknown[]): void;
|
|
1077
|
+
|
|
1062
1078
|
/**
|
|
1063
1079
|
* MyxLogger
|
|
1064
1080
|
* Uses optional sink (no global console by default) so LavaMoat allowlist can omit "console".
|
|
@@ -1858,7 +1874,11 @@ declare class Api extends Request {
|
|
|
1858
1874
|
getOraclePrice(chainId: ChainId, poolIds?: string[]): Promise<Record<string, any>>;
|
|
1859
1875
|
getPoolDetail(chainId: number, poolId: string): Promise<PoolResponse>;
|
|
1860
1876
|
getPoolLevelConfig({ poolId, chainId }: GetPoolLevelConfigParams): Promise<ApiResponse<PoolLevelConfig>>;
|
|
1861
|
-
getPositions(accessToken
|
|
1877
|
+
getPositions({ accessToken, address, positionId }: {
|
|
1878
|
+
accessToken: string;
|
|
1879
|
+
address: string;
|
|
1880
|
+
positionId?: string;
|
|
1881
|
+
}): Promise<PositionResponse>;
|
|
1862
1882
|
getOrders(accessToken: string, address: string): Promise<OrderResponse>;
|
|
1863
1883
|
getPoolOpenOrders(accessToken: string, address: string, chainId: ChainId): Promise<PoolOpenOrdersResponse>;
|
|
1864
1884
|
getKlineData({ chainId, poolId, endTime, limit, interval, }: GetKlineDataParams): Promise<ApiResponse<KlineDataItemType[]>>;
|
|
@@ -1875,6 +1895,13 @@ declare class Api extends Request {
|
|
|
1875
1895
|
getHistoryOrders({ accessToken, address, ...params }: GetHistoryOrdersParams & AccessTokenRequest): Promise<ApiResponse<HistoryOrderItem[]>>;
|
|
1876
1896
|
getPositionHistory({ accessToken, address, ...params }: GetHistoryOrdersParams & AccessTokenRequest): Promise<ApiResponse<PositionHistoryItem[]>>;
|
|
1877
1897
|
getMarketList(): Promise<ApiResponse<MarketInfo[]>>;
|
|
1898
|
+
getAccountVipInfo({ address, accessToken, chainId, deadline, nonce, }: {
|
|
1899
|
+
address: string;
|
|
1900
|
+
accessToken: string;
|
|
1901
|
+
chainId: number;
|
|
1902
|
+
deadline: number;
|
|
1903
|
+
nonce: string;
|
|
1904
|
+
}): Promise<ApiResponse<any>>;
|
|
1878
1905
|
/**
|
|
1879
1906
|
* appeal module start ------>
|
|
1880
1907
|
*/
|
|
@@ -2052,6 +2079,15 @@ declare class Account {
|
|
|
2052
2079
|
message: string;
|
|
2053
2080
|
data?: undefined;
|
|
2054
2081
|
}>;
|
|
2082
|
+
getAccountVipInfoByBackend(address: string, chainId: number, deadline: number, nonce: string): Promise<{
|
|
2083
|
+
code: number;
|
|
2084
|
+
data: any;
|
|
2085
|
+
message?: undefined;
|
|
2086
|
+
} | {
|
|
2087
|
+
code: number;
|
|
2088
|
+
message: string;
|
|
2089
|
+
data?: undefined;
|
|
2090
|
+
}>;
|
|
2055
2091
|
setUserFeeData(address: string, chainId: number, deadline: number, params: {
|
|
2056
2092
|
tier: number;
|
|
2057
2093
|
referrer: string;
|
|
@@ -2130,7 +2166,7 @@ declare class Position {
|
|
|
2130
2166
|
private account;
|
|
2131
2167
|
private api;
|
|
2132
2168
|
constructor(configManager: ConfigManager, logger: Logger, utils: Utils, seamless: Seamless, account: Account, api: Api);
|
|
2133
|
-
listPositions(address: string): Promise<{
|
|
2169
|
+
listPositions(address: string, positionId?: string): Promise<{
|
|
2134
2170
|
code: number;
|
|
2135
2171
|
data: PositionType[];
|
|
2136
2172
|
message?: undefined;
|
|
@@ -2471,4 +2507,4 @@ declare function normalizeSigner(signerLike: SignerLike): ISigner;
|
|
|
2471
2507
|
|
|
2472
2508
|
declare const SDK_VERSION: string;
|
|
2473
2509
|
|
|
2474
|
-
export { type AccessTokenRequest, type AccessTokenResponse$1 as AccessTokenResponse, type AccessTokenType, type AddFavoriteParams, type AddTpSLParams, 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, AppealStatus, AppealType, type AppealUploadEvidenceParams, type AppealVoteItem, type BaseDetailResponse, type BaseResponse, COMMON_LP_AMOUNT_DECIMALS, COMMON_PRICE_DECIMALS, type CancelTpSLParams, ChainId, type ChainIdRequest, CloseTypeEnum, type CreatePoolRequest, 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, type ISigner, 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, type OrderItem, type OrderResponse, 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 SignerLike, type StatDashBoardResponse, type TickerDataItem, type TickersDataResponse, TimeInForce, type TpSLParams, type TpSl, TradeFlowAccountTypeEnum, type TradeFlowItem, TradeFlowTypeEnum, type TradingResult, TriggerType, TriggerTypeEnum, type UpdateOrderTpSlParams, VoteTypeEnum, approve, index$2 as base, bigintAmountSlipperCalculator, bigintTradingGasPriceWithRatio, bigintTradingGasToRatioCalculator, fromViemWalletClient, getAllowanceApproved, getBalanceOf, getBaseDetail, getBaseUrlByEnv, getMarketDetail, getMarketList, getOraclePrice, getPoolDetail, getPoolList, getPoolOpenOrders, getPriceData, getPricesData, getPublicClient, getTickerData, getTokenInfo, getWalletClient, getWalletProvider, index as market, normalizeSigner, pool, index$1 as quote, setConfigManagerForViem };
|
|
2510
|
+
export { type AccessTokenRequest, type AccessTokenResponse$1 as AccessTokenResponse, type AccessTokenType, type AddFavoriteParams, type AddTpSLParams, 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, AppealStatus, AppealType, type AppealUploadEvidenceParams, type AppealVoteItem, type BaseDetailResponse, type BaseResponse, COMMON_LP_AMOUNT_DECIMALS, COMMON_PRICE_DECIMALS, type CancelTpSLParams, ChainId, type ChainIdRequest, CloseTypeEnum, type CreatePoolRequest, 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, type ISigner, IsVoteNodeEnum, type KlineDataItemType, type KlineDataResponse, type KlineResolution, type LevelConfig, type LogLevel, type LogSink, Logger, type LoggerOptions, 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, type OrderItem, type OrderResponse, 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 SignerLike, type StatDashBoardResponse, type TickerDataItem, type TickersDataResponse, TimeInForce, type TpSLParams, type TpSl, TradeFlowAccountTypeEnum, type TradeFlowItem, TradeFlowTypeEnum, type TradingResult, TriggerType, TriggerTypeEnum, type UpdateOrderTpSlParams, VoteTypeEnum, approve, index$2 as base, bigintAmountSlipperCalculator, bigintTradingGasPriceWithRatio, bigintTradingGasToRatioCalculator, fromViemWalletClient, getAllowanceApproved, getBalanceOf, getBaseDetail, getBaseUrlByEnv, getMarketDetail, getMarketList, getOraclePrice, getPoolDetail, getPoolList, getPoolOpenOrders, getPriceData, getPricesData, getPublicClient, getSdkLogSink, getTickerData, getTokenInfo, getWalletClient, getWalletProvider, index as market, normalizeSigner, pool, index$1 as quote, sdkError, sdkLog, sdkWarn, setConfigManagerForViem, setSdkLogSink };
|
package/dist/index.d.ts
CHANGED
|
@@ -1059,6 +1059,22 @@ declare const getTokenInfo: (chainId: number, tokenAddress: string, account?: st
|
|
|
1059
1059
|
totalSupply: number;
|
|
1060
1060
|
}>;
|
|
1061
1061
|
|
|
1062
|
+
/**
|
|
1063
|
+
* Optional log sink for SDK. Default is no-op so the SDK does not touch the global `console`.
|
|
1064
|
+
* Host can call setSdkLogSink(console) to get logs; in LavaMoat environments leave unset to reduce allowlist.
|
|
1065
|
+
*/
|
|
1066
|
+
type LogSink = {
|
|
1067
|
+
log?: (...args: unknown[]) => void;
|
|
1068
|
+
info?: (...args: unknown[]) => void;
|
|
1069
|
+
warn?: (...args: unknown[]) => void;
|
|
1070
|
+
error?: (...args: unknown[]) => void;
|
|
1071
|
+
};
|
|
1072
|
+
declare function setSdkLogSink(s: LogSink | null): void;
|
|
1073
|
+
declare function getSdkLogSink(): LogSink;
|
|
1074
|
+
declare function sdkLog(...args: unknown[]): void;
|
|
1075
|
+
declare function sdkWarn(...args: unknown[]): void;
|
|
1076
|
+
declare function sdkError(...args: unknown[]): void;
|
|
1077
|
+
|
|
1062
1078
|
/**
|
|
1063
1079
|
* MyxLogger
|
|
1064
1080
|
* Uses optional sink (no global console by default) so LavaMoat allowlist can omit "console".
|
|
@@ -1858,7 +1874,11 @@ declare class Api extends Request {
|
|
|
1858
1874
|
getOraclePrice(chainId: ChainId, poolIds?: string[]): Promise<Record<string, any>>;
|
|
1859
1875
|
getPoolDetail(chainId: number, poolId: string): Promise<PoolResponse>;
|
|
1860
1876
|
getPoolLevelConfig({ poolId, chainId }: GetPoolLevelConfigParams): Promise<ApiResponse<PoolLevelConfig>>;
|
|
1861
|
-
getPositions(accessToken
|
|
1877
|
+
getPositions({ accessToken, address, positionId }: {
|
|
1878
|
+
accessToken: string;
|
|
1879
|
+
address: string;
|
|
1880
|
+
positionId?: string;
|
|
1881
|
+
}): Promise<PositionResponse>;
|
|
1862
1882
|
getOrders(accessToken: string, address: string): Promise<OrderResponse>;
|
|
1863
1883
|
getPoolOpenOrders(accessToken: string, address: string, chainId: ChainId): Promise<PoolOpenOrdersResponse>;
|
|
1864
1884
|
getKlineData({ chainId, poolId, endTime, limit, interval, }: GetKlineDataParams): Promise<ApiResponse<KlineDataItemType[]>>;
|
|
@@ -1875,6 +1895,13 @@ declare class Api extends Request {
|
|
|
1875
1895
|
getHistoryOrders({ accessToken, address, ...params }: GetHistoryOrdersParams & AccessTokenRequest): Promise<ApiResponse<HistoryOrderItem[]>>;
|
|
1876
1896
|
getPositionHistory({ accessToken, address, ...params }: GetHistoryOrdersParams & AccessTokenRequest): Promise<ApiResponse<PositionHistoryItem[]>>;
|
|
1877
1897
|
getMarketList(): Promise<ApiResponse<MarketInfo[]>>;
|
|
1898
|
+
getAccountVipInfo({ address, accessToken, chainId, deadline, nonce, }: {
|
|
1899
|
+
address: string;
|
|
1900
|
+
accessToken: string;
|
|
1901
|
+
chainId: number;
|
|
1902
|
+
deadline: number;
|
|
1903
|
+
nonce: string;
|
|
1904
|
+
}): Promise<ApiResponse<any>>;
|
|
1878
1905
|
/**
|
|
1879
1906
|
* appeal module start ------>
|
|
1880
1907
|
*/
|
|
@@ -2052,6 +2079,15 @@ declare class Account {
|
|
|
2052
2079
|
message: string;
|
|
2053
2080
|
data?: undefined;
|
|
2054
2081
|
}>;
|
|
2082
|
+
getAccountVipInfoByBackend(address: string, chainId: number, deadline: number, nonce: string): Promise<{
|
|
2083
|
+
code: number;
|
|
2084
|
+
data: any;
|
|
2085
|
+
message?: undefined;
|
|
2086
|
+
} | {
|
|
2087
|
+
code: number;
|
|
2088
|
+
message: string;
|
|
2089
|
+
data?: undefined;
|
|
2090
|
+
}>;
|
|
2055
2091
|
setUserFeeData(address: string, chainId: number, deadline: number, params: {
|
|
2056
2092
|
tier: number;
|
|
2057
2093
|
referrer: string;
|
|
@@ -2130,7 +2166,7 @@ declare class Position {
|
|
|
2130
2166
|
private account;
|
|
2131
2167
|
private api;
|
|
2132
2168
|
constructor(configManager: ConfigManager, logger: Logger, utils: Utils, seamless: Seamless, account: Account, api: Api);
|
|
2133
|
-
listPositions(address: string): Promise<{
|
|
2169
|
+
listPositions(address: string, positionId?: string): Promise<{
|
|
2134
2170
|
code: number;
|
|
2135
2171
|
data: PositionType[];
|
|
2136
2172
|
message?: undefined;
|
|
@@ -2471,4 +2507,4 @@ declare function normalizeSigner(signerLike: SignerLike): ISigner;
|
|
|
2471
2507
|
|
|
2472
2508
|
declare const SDK_VERSION: string;
|
|
2473
2509
|
|
|
2474
|
-
export { type AccessTokenRequest, type AccessTokenResponse$1 as AccessTokenResponse, type AccessTokenType, type AddFavoriteParams, type AddTpSLParams, 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, AppealStatus, AppealType, type AppealUploadEvidenceParams, type AppealVoteItem, type BaseDetailResponse, type BaseResponse, COMMON_LP_AMOUNT_DECIMALS, COMMON_PRICE_DECIMALS, type CancelTpSLParams, ChainId, type ChainIdRequest, CloseTypeEnum, type CreatePoolRequest, 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, type ISigner, 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, type OrderItem, type OrderResponse, 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 SignerLike, type StatDashBoardResponse, type TickerDataItem, type TickersDataResponse, TimeInForce, type TpSLParams, type TpSl, TradeFlowAccountTypeEnum, type TradeFlowItem, TradeFlowTypeEnum, type TradingResult, TriggerType, TriggerTypeEnum, type UpdateOrderTpSlParams, VoteTypeEnum, approve, index$2 as base, bigintAmountSlipperCalculator, bigintTradingGasPriceWithRatio, bigintTradingGasToRatioCalculator, fromViemWalletClient, getAllowanceApproved, getBalanceOf, getBaseDetail, getBaseUrlByEnv, getMarketDetail, getMarketList, getOraclePrice, getPoolDetail, getPoolList, getPoolOpenOrders, getPriceData, getPricesData, getPublicClient, getTickerData, getTokenInfo, getWalletClient, getWalletProvider, index as market, normalizeSigner, pool, index$1 as quote, setConfigManagerForViem };
|
|
2510
|
+
export { type AccessTokenRequest, type AccessTokenResponse$1 as AccessTokenResponse, type AccessTokenType, type AddFavoriteParams, type AddTpSLParams, 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, AppealStatus, AppealType, type AppealUploadEvidenceParams, type AppealVoteItem, type BaseDetailResponse, type BaseResponse, COMMON_LP_AMOUNT_DECIMALS, COMMON_PRICE_DECIMALS, type CancelTpSLParams, ChainId, type ChainIdRequest, CloseTypeEnum, type CreatePoolRequest, 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, type ISigner, IsVoteNodeEnum, type KlineDataItemType, type KlineDataResponse, type KlineResolution, type LevelConfig, type LogLevel, type LogSink, Logger, type LoggerOptions, 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, type OrderItem, type OrderResponse, 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 SignerLike, type StatDashBoardResponse, type TickerDataItem, type TickersDataResponse, TimeInForce, type TpSLParams, type TpSl, TradeFlowAccountTypeEnum, type TradeFlowItem, TradeFlowTypeEnum, type TradingResult, TriggerType, TriggerTypeEnum, type UpdateOrderTpSlParams, VoteTypeEnum, approve, index$2 as base, bigintAmountSlipperCalculator, bigintTradingGasPriceWithRatio, bigintTradingGasToRatioCalculator, fromViemWalletClient, getAllowanceApproved, getBalanceOf, getBaseDetail, getBaseUrlByEnv, getMarketDetail, getMarketList, getOraclePrice, getPoolDetail, getPoolList, getPoolOpenOrders, getPriceData, getPricesData, getPublicClient, getSdkLogSink, getTickerData, getTokenInfo, getWalletClient, getWalletProvider, index as market, normalizeSigner, pool, index$1 as quote, sdkError, sdkLog, sdkWarn, setConfigManagerForViem, setSdkLogSink };
|