@myx-trade/sdk 1.0.2-beta.4 → 1.0.2-beta.5

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 CHANGED
@@ -71,58 +71,6 @@ interface CancelTpSLParams {
71
71
  orderId: string;
72
72
  }
73
73
 
74
- declare const createPool: ({ chainId, baseToken, marketId }: CreatePoolRequest) => Promise<any>;
75
-
76
- declare const getMarketPoolId: ({ chainId, baseToken, marketId, }: CreatePoolRequest) => Promise<any>;
77
- declare const getMarketPools: (chainId: ChainId) => Promise<any>;
78
- declare const getPoolInfo$1: (chainId: ChainId, poolId: string, marketPrice?: bigint) => Promise<{
79
- quotePool: {
80
- poolToken: any;
81
- exchangeRate: any;
82
- poolTokenPrice: any;
83
- poolTokenSupply: any;
84
- totalDebt: any;
85
- baseCollateral: any;
86
- };
87
- basePool: {
88
- poolToken: any;
89
- exchangeRate: any;
90
- poolTokenPrice: any;
91
- poolTokenSupply: any;
92
- totalDebt: any;
93
- baseCollateral: any;
94
- };
95
- reserveInfo: {
96
- baseTotalAmount: any;
97
- baseReservedAmount: any;
98
- quoteTotalAmount: any;
99
- quoteReservedAmount: any;
100
- };
101
- fundingInfo: {
102
- nextFundingRate: any;
103
- lastFundingFeeTracker: any;
104
- nextEpochTime: any;
105
- };
106
- ioTracker: {
107
- tracker: any;
108
- longSize: any;
109
- shortSize: any;
110
- poolEntryPrice: any;
111
- };
112
- liquidityInfo: {
113
- windowCaps: any;
114
- openInterest: any;
115
- };
116
- }>;
117
-
118
- declare const getUserGenesisShare: (chainId: ChainId, tokenAddress: string, account: string) => Promise<any>;
119
-
120
- declare const addTpSl: (params: AddTpSLParams) => Promise<any>;
121
-
122
- declare const cancelTpSl: (params: CancelTpSLParams) => Promise<any>;
123
-
124
- declare const reprime: (chainId: ChainId, poolId: string, marketId: string) => Promise<any>;
125
-
126
74
  /**
127
75
  * Trading related types and enums
128
76
  */
@@ -912,29 +860,6 @@ interface GetMarketDetailParams {
912
860
  declare const getMarketDetail: ({ ...params }: GetMarketDetailParams) => Promise<ApiResponse<MarketDetailResponse>>;
913
861
  declare const getMarketList: () => Promise<ApiResponse<MarketInfo[]>>;
914
862
 
915
- declare const getPoolInfo: (chainId: ChainId, poolId: string) => Promise<MarketPool | undefined>;
916
-
917
- declare const getOpenOrders: (chainId: ChainId, address: string) => Promise<PoolOpenOrder[]>;
918
-
919
- type index$3_AddTpSLParams = AddTpSLParams;
920
- type index$3_CancelTpSLParams = CancelTpSLParams;
921
- type index$3_CreatePoolRequest = CreatePoolRequest;
922
- type index$3_PoolType = PoolType;
923
- declare const index$3_PoolType: typeof PoolType;
924
- type index$3_TpSLParams = TpSLParams;
925
- type index$3_TpSl = TpSl;
926
- declare const index$3_addTpSl: typeof addTpSl;
927
- declare const index$3_cancelTpSl: typeof cancelTpSl;
928
- declare const index$3_createPool: typeof createPool;
929
- declare const index$3_getMarketPoolId: typeof getMarketPoolId;
930
- declare const index$3_getMarketPools: typeof getMarketPools;
931
- declare const index$3_getOpenOrders: typeof getOpenOrders;
932
- declare const index$3_getUserGenesisShare: typeof getUserGenesisShare;
933
- declare const index$3_reprime: typeof reprime;
934
- declare namespace index$3 {
935
- export { type index$3_AddTpSLParams as AddTpSLParams, type index$3_CancelTpSLParams as CancelTpSLParams, type index$3_CreatePoolRequest as CreatePoolRequest, index$3_PoolType as PoolType, type index$3_TpSLParams as TpSLParams, type index$3_TpSl as TpSl, TriggerType$1 as TriggerType, index$3_addTpSl as addTpSl, index$3_cancelTpSl as cancelTpSl, index$3_createPool as createPool, index$3_getMarketPoolId as getMarketPoolId, index$3_getMarketPools as getMarketPools, index$3_getOpenOrders as getOpenOrders, getPoolInfo as getPoolDetail, getPoolInfo$1 as getPoolInfo, index$3_getUserGenesisShare as getUserGenesisShare, index$3_reprime as reprime };
936
- }
937
-
938
863
  type DepositTpSl = Pick<TpSl, 'triggerType' | 'triggerPrice'>;
939
864
  interface Deposit {
940
865
  chainId: ChainId;
@@ -1061,6 +986,57 @@ declare const getPriceData: (chainId: ChainId, poolId: string) => Promise<{
1061
986
  declare const COMMON_PRICE_DECIMALS = 30;
1062
987
  declare const COMMON_LP_AMOUNT_DECIMALS = 18;
1063
988
 
989
+ declare const pool: {
990
+ createPool: ({ chainId, baseToken, marketId }: CreatePoolRequest) => Promise<any>;
991
+ getMarketPoolId: ({ chainId, baseToken, marketId, }: CreatePoolRequest) => Promise<any>;
992
+ getMarketPools: (chainId: ChainId) => Promise<any>;
993
+ getPoolInfo: (chainId: ChainId, poolId: string, marketPrice?: bigint) => Promise<{
994
+ quotePool: {
995
+ poolToken: any;
996
+ exchangeRate: any;
997
+ poolTokenPrice: any;
998
+ poolTokenSupply: any;
999
+ totalDebt: any;
1000
+ baseCollateral: any;
1001
+ };
1002
+ basePool: {
1003
+ poolToken: any;
1004
+ exchangeRate: any;
1005
+ poolTokenPrice: any;
1006
+ poolTokenSupply: any;
1007
+ totalDebt: any;
1008
+ baseCollateral: any;
1009
+ };
1010
+ reserveInfo: {
1011
+ baseTotalAmount: any;
1012
+ baseReservedAmount: any;
1013
+ quoteTotalAmount: any;
1014
+ quoteReservedAmount: any;
1015
+ };
1016
+ fundingInfo: {
1017
+ nextFundingRate: any;
1018
+ lastFundingFeeTracker: any;
1019
+ nextEpochTime: any;
1020
+ };
1021
+ ioTracker: {
1022
+ tracker: any;
1023
+ longSize: any;
1024
+ shortSize: any;
1025
+ poolEntryPrice: any;
1026
+ };
1027
+ liquidityInfo: {
1028
+ windowCaps: any;
1029
+ openInterest: any;
1030
+ };
1031
+ }>;
1032
+ getUserGenesisShare: (chainId: ChainId, tokenAddress: string, account: string) => Promise<any>;
1033
+ addTpSl: (params: AddTpSLParams) => Promise<any>;
1034
+ cancelTpSl: (params: CancelTpSLParams) => Promise<any>;
1035
+ reprime: (chainId: ChainId, poolId: string, marketId: string) => Promise<any>;
1036
+ getPoolDetail: (chainId: ChainId, poolId: string) => Promise<MarketPool | undefined>;
1037
+ getOpenOrders: (chainId: ChainId, address: string) => Promise<PoolOpenOrder[]>;
1038
+ };
1039
+
1064
1040
  declare const approve: (chainId: ChainId, _account: string, tokenAddress: string, approveAddress: string, amount: bigint) => Promise<void>;
1065
1041
 
1066
1042
  declare const getAllowanceApproved: (chainId: ChainId, account: string, tokenAddress: string, approveAddress: string, approveAmount: bigint) => Promise<boolean>;
@@ -2637,4 +2613,4 @@ declare function normalizeSigner(signerLike: SignerLike): ISigner;
2637
2613
 
2638
2614
  declare const SDK_VERSION: string;
2639
2615
 
2640
- 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, AppealStatus, 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, 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, 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, index$3 as pool, index$1 as quote, setConfigManagerForViem };
2616
+ 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 };
package/dist/index.d.ts CHANGED
@@ -71,58 +71,6 @@ interface CancelTpSLParams {
71
71
  orderId: string;
72
72
  }
73
73
 
74
- declare const createPool: ({ chainId, baseToken, marketId }: CreatePoolRequest) => Promise<any>;
75
-
76
- declare const getMarketPoolId: ({ chainId, baseToken, marketId, }: CreatePoolRequest) => Promise<any>;
77
- declare const getMarketPools: (chainId: ChainId) => Promise<any>;
78
- declare const getPoolInfo$1: (chainId: ChainId, poolId: string, marketPrice?: bigint) => Promise<{
79
- quotePool: {
80
- poolToken: any;
81
- exchangeRate: any;
82
- poolTokenPrice: any;
83
- poolTokenSupply: any;
84
- totalDebt: any;
85
- baseCollateral: any;
86
- };
87
- basePool: {
88
- poolToken: any;
89
- exchangeRate: any;
90
- poolTokenPrice: any;
91
- poolTokenSupply: any;
92
- totalDebt: any;
93
- baseCollateral: any;
94
- };
95
- reserveInfo: {
96
- baseTotalAmount: any;
97
- baseReservedAmount: any;
98
- quoteTotalAmount: any;
99
- quoteReservedAmount: any;
100
- };
101
- fundingInfo: {
102
- nextFundingRate: any;
103
- lastFundingFeeTracker: any;
104
- nextEpochTime: any;
105
- };
106
- ioTracker: {
107
- tracker: any;
108
- longSize: any;
109
- shortSize: any;
110
- poolEntryPrice: any;
111
- };
112
- liquidityInfo: {
113
- windowCaps: any;
114
- openInterest: any;
115
- };
116
- }>;
117
-
118
- declare const getUserGenesisShare: (chainId: ChainId, tokenAddress: string, account: string) => Promise<any>;
119
-
120
- declare const addTpSl: (params: AddTpSLParams) => Promise<any>;
121
-
122
- declare const cancelTpSl: (params: CancelTpSLParams) => Promise<any>;
123
-
124
- declare const reprime: (chainId: ChainId, poolId: string, marketId: string) => Promise<any>;
125
-
126
74
  /**
127
75
  * Trading related types and enums
128
76
  */
@@ -912,29 +860,6 @@ interface GetMarketDetailParams {
912
860
  declare const getMarketDetail: ({ ...params }: GetMarketDetailParams) => Promise<ApiResponse<MarketDetailResponse>>;
913
861
  declare const getMarketList: () => Promise<ApiResponse<MarketInfo[]>>;
914
862
 
915
- declare const getPoolInfo: (chainId: ChainId, poolId: string) => Promise<MarketPool | undefined>;
916
-
917
- declare const getOpenOrders: (chainId: ChainId, address: string) => Promise<PoolOpenOrder[]>;
918
-
919
- type index$3_AddTpSLParams = AddTpSLParams;
920
- type index$3_CancelTpSLParams = CancelTpSLParams;
921
- type index$3_CreatePoolRequest = CreatePoolRequest;
922
- type index$3_PoolType = PoolType;
923
- declare const index$3_PoolType: typeof PoolType;
924
- type index$3_TpSLParams = TpSLParams;
925
- type index$3_TpSl = TpSl;
926
- declare const index$3_addTpSl: typeof addTpSl;
927
- declare const index$3_cancelTpSl: typeof cancelTpSl;
928
- declare const index$3_createPool: typeof createPool;
929
- declare const index$3_getMarketPoolId: typeof getMarketPoolId;
930
- declare const index$3_getMarketPools: typeof getMarketPools;
931
- declare const index$3_getOpenOrders: typeof getOpenOrders;
932
- declare const index$3_getUserGenesisShare: typeof getUserGenesisShare;
933
- declare const index$3_reprime: typeof reprime;
934
- declare namespace index$3 {
935
- export { type index$3_AddTpSLParams as AddTpSLParams, type index$3_CancelTpSLParams as CancelTpSLParams, type index$3_CreatePoolRequest as CreatePoolRequest, index$3_PoolType as PoolType, type index$3_TpSLParams as TpSLParams, type index$3_TpSl as TpSl, TriggerType$1 as TriggerType, index$3_addTpSl as addTpSl, index$3_cancelTpSl as cancelTpSl, index$3_createPool as createPool, index$3_getMarketPoolId as getMarketPoolId, index$3_getMarketPools as getMarketPools, index$3_getOpenOrders as getOpenOrders, getPoolInfo as getPoolDetail, getPoolInfo$1 as getPoolInfo, index$3_getUserGenesisShare as getUserGenesisShare, index$3_reprime as reprime };
936
- }
937
-
938
863
  type DepositTpSl = Pick<TpSl, 'triggerType' | 'triggerPrice'>;
939
864
  interface Deposit {
940
865
  chainId: ChainId;
@@ -1061,6 +986,57 @@ declare const getPriceData: (chainId: ChainId, poolId: string) => Promise<{
1061
986
  declare const COMMON_PRICE_DECIMALS = 30;
1062
987
  declare const COMMON_LP_AMOUNT_DECIMALS = 18;
1063
988
 
989
+ declare const pool: {
990
+ createPool: ({ chainId, baseToken, marketId }: CreatePoolRequest) => Promise<any>;
991
+ getMarketPoolId: ({ chainId, baseToken, marketId, }: CreatePoolRequest) => Promise<any>;
992
+ getMarketPools: (chainId: ChainId) => Promise<any>;
993
+ getPoolInfo: (chainId: ChainId, poolId: string, marketPrice?: bigint) => Promise<{
994
+ quotePool: {
995
+ poolToken: any;
996
+ exchangeRate: any;
997
+ poolTokenPrice: any;
998
+ poolTokenSupply: any;
999
+ totalDebt: any;
1000
+ baseCollateral: any;
1001
+ };
1002
+ basePool: {
1003
+ poolToken: any;
1004
+ exchangeRate: any;
1005
+ poolTokenPrice: any;
1006
+ poolTokenSupply: any;
1007
+ totalDebt: any;
1008
+ baseCollateral: any;
1009
+ };
1010
+ reserveInfo: {
1011
+ baseTotalAmount: any;
1012
+ baseReservedAmount: any;
1013
+ quoteTotalAmount: any;
1014
+ quoteReservedAmount: any;
1015
+ };
1016
+ fundingInfo: {
1017
+ nextFundingRate: any;
1018
+ lastFundingFeeTracker: any;
1019
+ nextEpochTime: any;
1020
+ };
1021
+ ioTracker: {
1022
+ tracker: any;
1023
+ longSize: any;
1024
+ shortSize: any;
1025
+ poolEntryPrice: any;
1026
+ };
1027
+ liquidityInfo: {
1028
+ windowCaps: any;
1029
+ openInterest: any;
1030
+ };
1031
+ }>;
1032
+ getUserGenesisShare: (chainId: ChainId, tokenAddress: string, account: string) => Promise<any>;
1033
+ addTpSl: (params: AddTpSLParams) => Promise<any>;
1034
+ cancelTpSl: (params: CancelTpSLParams) => Promise<any>;
1035
+ reprime: (chainId: ChainId, poolId: string, marketId: string) => Promise<any>;
1036
+ getPoolDetail: (chainId: ChainId, poolId: string) => Promise<MarketPool | undefined>;
1037
+ getOpenOrders: (chainId: ChainId, address: string) => Promise<PoolOpenOrder[]>;
1038
+ };
1039
+
1064
1040
  declare const approve: (chainId: ChainId, _account: string, tokenAddress: string, approveAddress: string, amount: bigint) => Promise<void>;
1065
1041
 
1066
1042
  declare const getAllowanceApproved: (chainId: ChainId, account: string, tokenAddress: string, approveAddress: string, approveAmount: bigint) => Promise<boolean>;
@@ -2637,4 +2613,4 @@ declare function normalizeSigner(signerLike: SignerLike): ISigner;
2637
2613
 
2638
2614
  declare const SDK_VERSION: string;
2639
2615
 
2640
- 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, AppealStatus, 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, 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, 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, index$3 as pool, index$1 as quote, setConfigManagerForViem };
2616
+ 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 };