@myx-trade/sdk 0.1.245-beta.5 → 0.1.245-beta.7
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +66 -1
- package/dist/index.mjs +59 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3723,4 +3723,4 @@ declare class MyxClient {
|
|
|
3723
3723
|
getAccessToken(): Promise<string | null>;
|
|
3724
3724
|
}
|
|
3725
3725
|
|
|
3726
|
-
export { type AccessTokenRequest, type AccessTokenResponse$1 as AccessTokenResponse, type AccessTokenType, type AddFavoriteParams, type Address, type ApiResponse, 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 GetBaseDetailParams, type GetHistoryOrdersParams, type GetKlineDataParams, type GetMarketDetailParams, type GetPoolLevelConfigParams, type GetTickerDataParams, type HistoryOrderItem, type HttpEnvParams, HttpKlineIntervalEnum, 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, 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 PriceResponse, type PriceType, type RemoveFavoriteParams, 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, 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 };
|
|
3726
|
+
export { type AccessTokenRequest, type AccessTokenResponse$1 as AccessTokenResponse, type AccessTokenType, type AddFavoriteParams, type Address, type ApiResponse, AppealClaimStatusEnum, type AppealDetail, type AppealListItem, type AppealNodeVoteItem, 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 GetBaseDetailParams, type GetHistoryOrdersParams, type GetIsVoteNodeParams, type GetKlineDataParams, type GetMarketDetailParams, type GetPoolLevelConfigParams, type GetTickerDataParams, 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 PriceResponse, type PriceType, type RemoveFavoriteParams, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -3723,4 +3723,4 @@ declare class MyxClient {
|
|
|
3723
3723
|
getAccessToken(): Promise<string | null>;
|
|
3724
3724
|
}
|
|
3725
3725
|
|
|
3726
|
-
export { type AccessTokenRequest, type AccessTokenResponse$1 as AccessTokenResponse, type AccessTokenType, type AddFavoriteParams, type Address, type ApiResponse, 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 GetBaseDetailParams, type GetHistoryOrdersParams, type GetKlineDataParams, type GetMarketDetailParams, type GetPoolLevelConfigParams, type GetTickerDataParams, type HistoryOrderItem, type HttpEnvParams, HttpKlineIntervalEnum, 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, 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 PriceResponse, type PriceType, type RemoveFavoriteParams, 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, 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 };
|
|
3726
|
+
export { type AccessTokenRequest, type AccessTokenResponse$1 as AccessTokenResponse, type AccessTokenType, type AddFavoriteParams, type Address, type ApiResponse, AppealClaimStatusEnum, type AppealDetail, type AppealListItem, type AppealNodeVoteItem, 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 GetBaseDetailParams, type GetHistoryOrdersParams, type GetIsVoteNodeParams, type GetKlineDataParams, type GetMarketDetailParams, type GetPoolLevelConfigParams, type GetTickerDataParams, 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 PriceResponse, type PriceType, type RemoveFavoriteParams, 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 };
|
package/dist/index.js
CHANGED
|
@@ -37,6 +37,10 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
|
|
|
37
37
|
// src/index.ts
|
|
38
38
|
var index_exports = {};
|
|
39
39
|
__export(index_exports, {
|
|
40
|
+
AppealClaimStatusEnum: () => AppealClaimStatusEnum,
|
|
41
|
+
AppealReconsiderationType: () => AppealReconsiderationType,
|
|
42
|
+
AppealStage: () => AppealStage,
|
|
43
|
+
AppealType: () => AppealType,
|
|
40
44
|
COMMON_LP_AMOUNT_DECIMALS: () => COMMON_LP_AMOUNT_DECIMALS,
|
|
41
45
|
COMMON_PRICE_DECIMALS: () => COMMON_PRICE_DECIMALS,
|
|
42
46
|
ChainId: () => ChainId,
|
|
@@ -47,11 +51,13 @@ __export(index_exports, {
|
|
|
47
51
|
ExecTypeEnum: () => ExecTypeEnum,
|
|
48
52
|
ForwarderGetStatus: () => ForwarderGetStatus,
|
|
49
53
|
HttpKlineIntervalEnum: () => HttpKlineIntervalEnum,
|
|
54
|
+
IsVoteNodeEnum: () => IsVoteNodeEnum,
|
|
50
55
|
MarketCapType: () => MarketCapType,
|
|
51
56
|
MarketPoolState: () => MarketPoolState,
|
|
52
57
|
MarketType: () => MarketType,
|
|
53
58
|
MxSDK: () => MxSDK,
|
|
54
59
|
MyxClient: () => MyxClient,
|
|
60
|
+
NodeTypeEnum: () => NodeTypeEnum,
|
|
55
61
|
OperationEnum: () => OperationEnum,
|
|
56
62
|
OperationType: () => OperationType,
|
|
57
63
|
OracleType: () => OracleType,
|
|
@@ -66,6 +72,7 @@ __export(index_exports, {
|
|
|
66
72
|
TradeFlowTypeEnum: () => TradeFlowTypeEnum,
|
|
67
73
|
TriggerType: () => TriggerType2,
|
|
68
74
|
TriggerTypeEnum: () => TriggerTypeEnum,
|
|
75
|
+
VoteTypeEnum: () => VoteTypeEnum,
|
|
69
76
|
approve: () => approve,
|
|
70
77
|
base: () => base_exports,
|
|
71
78
|
bigintAmountSlipperCalculator: () => bigintAmountSlipperCalculator,
|
|
@@ -1845,7 +1852,7 @@ var RotationProvider = class extends import_providers.BaseProvider {
|
|
|
1845
1852
|
// package.json
|
|
1846
1853
|
var package_default = {
|
|
1847
1854
|
name: "@myx-trade/sdk",
|
|
1848
|
-
version: "0.1.245-beta.
|
|
1855
|
+
version: "0.1.245-beta.7",
|
|
1849
1856
|
private: false,
|
|
1850
1857
|
publishConfig: {
|
|
1851
1858
|
access: "public"
|
|
@@ -23443,6 +23450,57 @@ var Referrals = class extends BaseMyxClient {
|
|
|
23443
23450
|
}
|
|
23444
23451
|
};
|
|
23445
23452
|
|
|
23453
|
+
// src/manager/api/appeal-type.ts
|
|
23454
|
+
var AppealType = /* @__PURE__ */ ((AppealType2) => {
|
|
23455
|
+
AppealType2[AppealType2["UnderReview"] = 1] = "UnderReview";
|
|
23456
|
+
AppealType2[AppealType2["InitialVote"] = 2] = "InitialVote";
|
|
23457
|
+
AppealType2[AppealType2["PublicNotice"] = 3] = "PublicNotice";
|
|
23458
|
+
AppealType2[AppealType2["UnderReconsideration"] = 4] = "UnderReconsideration";
|
|
23459
|
+
AppealType2[AppealType2["Won"] = 5] = "Won";
|
|
23460
|
+
AppealType2[AppealType2["Failed"] = 6] = "Failed";
|
|
23461
|
+
AppealType2[AppealType2["PlatformRuling"] = 7] = "PlatformRuling";
|
|
23462
|
+
AppealType2[AppealType2["PlatformRevoked"] = 8] = "PlatformRevoked";
|
|
23463
|
+
return AppealType2;
|
|
23464
|
+
})(AppealType || {});
|
|
23465
|
+
var AppealReconsiderationType = /* @__PURE__ */ ((AppealReconsiderationType2) => {
|
|
23466
|
+
AppealReconsiderationType2[AppealReconsiderationType2["InitialVoting"] = 1] = "InitialVoting";
|
|
23467
|
+
AppealReconsiderationType2[AppealReconsiderationType2["PublicNotice"] = 2] = "PublicNotice";
|
|
23468
|
+
AppealReconsiderationType2[AppealReconsiderationType2["UnderReconsideration"] = 3] = "UnderReconsideration";
|
|
23469
|
+
AppealReconsiderationType2[AppealReconsiderationType2["Won"] = 4] = "Won";
|
|
23470
|
+
AppealReconsiderationType2[AppealReconsiderationType2["Failed"] = 5] = "Failed";
|
|
23471
|
+
AppealReconsiderationType2[AppealReconsiderationType2["PlatformRuling"] = 6] = "PlatformRuling";
|
|
23472
|
+
AppealReconsiderationType2[AppealReconsiderationType2["PlatformRevoked"] = 7] = "PlatformRevoked";
|
|
23473
|
+
AppealReconsiderationType2[AppealReconsiderationType2["ReconsiderationVoting"] = 8] = "ReconsiderationVoting";
|
|
23474
|
+
return AppealReconsiderationType2;
|
|
23475
|
+
})(AppealReconsiderationType || {});
|
|
23476
|
+
var AppealStage = /* @__PURE__ */ ((AppealStage2) => {
|
|
23477
|
+
AppealStage2[AppealStage2["UnderReview"] = 1] = "UnderReview";
|
|
23478
|
+
AppealStage2[AppealStage2["PublicNotice"] = 2] = "PublicNotice";
|
|
23479
|
+
AppealStage2[AppealStage2["UnderReconsideration"] = 3] = "UnderReconsideration";
|
|
23480
|
+
AppealStage2[AppealStage2["Completed"] = 4] = "Completed";
|
|
23481
|
+
return AppealStage2;
|
|
23482
|
+
})(AppealStage || {});
|
|
23483
|
+
var NodeTypeEnum = /* @__PURE__ */ ((NodeTypeEnum2) => {
|
|
23484
|
+
NodeTypeEnum2[NodeTypeEnum2["ElectionNode"] = 0] = "ElectionNode";
|
|
23485
|
+
NodeTypeEnum2[NodeTypeEnum2["OfficialNode"] = 1] = "OfficialNode";
|
|
23486
|
+
return NodeTypeEnum2;
|
|
23487
|
+
})(NodeTypeEnum || {});
|
|
23488
|
+
var VoteTypeEnum = /* @__PURE__ */ ((VoteTypeEnum2) => {
|
|
23489
|
+
VoteTypeEnum2[VoteTypeEnum2["Reject"] = 0] = "Reject";
|
|
23490
|
+
VoteTypeEnum2[VoteTypeEnum2["Support"] = 1] = "Support";
|
|
23491
|
+
return VoteTypeEnum2;
|
|
23492
|
+
})(VoteTypeEnum || {});
|
|
23493
|
+
var AppealClaimStatusEnum = /* @__PURE__ */ ((AppealClaimStatusEnum2) => {
|
|
23494
|
+
AppealClaimStatusEnum2[AppealClaimStatusEnum2["UnClaimed"] = 0] = "UnClaimed";
|
|
23495
|
+
AppealClaimStatusEnum2[AppealClaimStatusEnum2["Claimed"] = 1] = "Claimed";
|
|
23496
|
+
return AppealClaimStatusEnum2;
|
|
23497
|
+
})(AppealClaimStatusEnum || {});
|
|
23498
|
+
var IsVoteNodeEnum = /* @__PURE__ */ ((IsVoteNodeEnum2) => {
|
|
23499
|
+
IsVoteNodeEnum2[IsVoteNodeEnum2["Yes"] = 1] = "Yes";
|
|
23500
|
+
IsVoteNodeEnum2[IsVoteNodeEnum2["No"] = 0] = "No";
|
|
23501
|
+
return IsVoteNodeEnum2;
|
|
23502
|
+
})(IsVoteNodeEnum || {});
|
|
23503
|
+
|
|
23446
23504
|
// src/manager/index.ts
|
|
23447
23505
|
var MyxClient = class {
|
|
23448
23506
|
/**
|
|
@@ -23520,6 +23578,10 @@ var MyxClient = class {
|
|
|
23520
23578
|
};
|
|
23521
23579
|
// Annotate the CommonJS export names for ESM import in node:
|
|
23522
23580
|
0 && (module.exports = {
|
|
23581
|
+
AppealClaimStatusEnum,
|
|
23582
|
+
AppealReconsiderationType,
|
|
23583
|
+
AppealStage,
|
|
23584
|
+
AppealType,
|
|
23523
23585
|
COMMON_LP_AMOUNT_DECIMALS,
|
|
23524
23586
|
COMMON_PRICE_DECIMALS,
|
|
23525
23587
|
ChainId,
|
|
@@ -23530,11 +23592,13 @@ var MyxClient = class {
|
|
|
23530
23592
|
ExecTypeEnum,
|
|
23531
23593
|
ForwarderGetStatus,
|
|
23532
23594
|
HttpKlineIntervalEnum,
|
|
23595
|
+
IsVoteNodeEnum,
|
|
23533
23596
|
MarketCapType,
|
|
23534
23597
|
MarketPoolState,
|
|
23535
23598
|
MarketType,
|
|
23536
23599
|
MxSDK,
|
|
23537
23600
|
MyxClient,
|
|
23601
|
+
NodeTypeEnum,
|
|
23538
23602
|
OperationEnum,
|
|
23539
23603
|
OperationType,
|
|
23540
23604
|
OracleType,
|
|
@@ -23549,6 +23613,7 @@ var MyxClient = class {
|
|
|
23549
23613
|
TradeFlowTypeEnum,
|
|
23550
23614
|
TriggerType,
|
|
23551
23615
|
TriggerTypeEnum,
|
|
23616
|
+
VoteTypeEnum,
|
|
23552
23617
|
approve,
|
|
23553
23618
|
base,
|
|
23554
23619
|
bigintAmountSlipperCalculator,
|
package/dist/index.mjs
CHANGED
|
@@ -1769,7 +1769,7 @@ var RotationProvider = class extends BaseProvider {
|
|
|
1769
1769
|
// package.json
|
|
1770
1770
|
var package_default = {
|
|
1771
1771
|
name: "@myx-trade/sdk",
|
|
1772
|
-
version: "0.1.245-beta.
|
|
1772
|
+
version: "0.1.245-beta.7",
|
|
1773
1773
|
private: false,
|
|
1774
1774
|
publishConfig: {
|
|
1775
1775
|
access: "public"
|
|
@@ -23367,6 +23367,57 @@ var Referrals = class extends BaseMyxClient {
|
|
|
23367
23367
|
}
|
|
23368
23368
|
};
|
|
23369
23369
|
|
|
23370
|
+
// src/manager/api/appeal-type.ts
|
|
23371
|
+
var AppealType = /* @__PURE__ */ ((AppealType2) => {
|
|
23372
|
+
AppealType2[AppealType2["UnderReview"] = 1] = "UnderReview";
|
|
23373
|
+
AppealType2[AppealType2["InitialVote"] = 2] = "InitialVote";
|
|
23374
|
+
AppealType2[AppealType2["PublicNotice"] = 3] = "PublicNotice";
|
|
23375
|
+
AppealType2[AppealType2["UnderReconsideration"] = 4] = "UnderReconsideration";
|
|
23376
|
+
AppealType2[AppealType2["Won"] = 5] = "Won";
|
|
23377
|
+
AppealType2[AppealType2["Failed"] = 6] = "Failed";
|
|
23378
|
+
AppealType2[AppealType2["PlatformRuling"] = 7] = "PlatformRuling";
|
|
23379
|
+
AppealType2[AppealType2["PlatformRevoked"] = 8] = "PlatformRevoked";
|
|
23380
|
+
return AppealType2;
|
|
23381
|
+
})(AppealType || {});
|
|
23382
|
+
var AppealReconsiderationType = /* @__PURE__ */ ((AppealReconsiderationType2) => {
|
|
23383
|
+
AppealReconsiderationType2[AppealReconsiderationType2["InitialVoting"] = 1] = "InitialVoting";
|
|
23384
|
+
AppealReconsiderationType2[AppealReconsiderationType2["PublicNotice"] = 2] = "PublicNotice";
|
|
23385
|
+
AppealReconsiderationType2[AppealReconsiderationType2["UnderReconsideration"] = 3] = "UnderReconsideration";
|
|
23386
|
+
AppealReconsiderationType2[AppealReconsiderationType2["Won"] = 4] = "Won";
|
|
23387
|
+
AppealReconsiderationType2[AppealReconsiderationType2["Failed"] = 5] = "Failed";
|
|
23388
|
+
AppealReconsiderationType2[AppealReconsiderationType2["PlatformRuling"] = 6] = "PlatformRuling";
|
|
23389
|
+
AppealReconsiderationType2[AppealReconsiderationType2["PlatformRevoked"] = 7] = "PlatformRevoked";
|
|
23390
|
+
AppealReconsiderationType2[AppealReconsiderationType2["ReconsiderationVoting"] = 8] = "ReconsiderationVoting";
|
|
23391
|
+
return AppealReconsiderationType2;
|
|
23392
|
+
})(AppealReconsiderationType || {});
|
|
23393
|
+
var AppealStage = /* @__PURE__ */ ((AppealStage2) => {
|
|
23394
|
+
AppealStage2[AppealStage2["UnderReview"] = 1] = "UnderReview";
|
|
23395
|
+
AppealStage2[AppealStage2["PublicNotice"] = 2] = "PublicNotice";
|
|
23396
|
+
AppealStage2[AppealStage2["UnderReconsideration"] = 3] = "UnderReconsideration";
|
|
23397
|
+
AppealStage2[AppealStage2["Completed"] = 4] = "Completed";
|
|
23398
|
+
return AppealStage2;
|
|
23399
|
+
})(AppealStage || {});
|
|
23400
|
+
var NodeTypeEnum = /* @__PURE__ */ ((NodeTypeEnum2) => {
|
|
23401
|
+
NodeTypeEnum2[NodeTypeEnum2["ElectionNode"] = 0] = "ElectionNode";
|
|
23402
|
+
NodeTypeEnum2[NodeTypeEnum2["OfficialNode"] = 1] = "OfficialNode";
|
|
23403
|
+
return NodeTypeEnum2;
|
|
23404
|
+
})(NodeTypeEnum || {});
|
|
23405
|
+
var VoteTypeEnum = /* @__PURE__ */ ((VoteTypeEnum2) => {
|
|
23406
|
+
VoteTypeEnum2[VoteTypeEnum2["Reject"] = 0] = "Reject";
|
|
23407
|
+
VoteTypeEnum2[VoteTypeEnum2["Support"] = 1] = "Support";
|
|
23408
|
+
return VoteTypeEnum2;
|
|
23409
|
+
})(VoteTypeEnum || {});
|
|
23410
|
+
var AppealClaimStatusEnum = /* @__PURE__ */ ((AppealClaimStatusEnum2) => {
|
|
23411
|
+
AppealClaimStatusEnum2[AppealClaimStatusEnum2["UnClaimed"] = 0] = "UnClaimed";
|
|
23412
|
+
AppealClaimStatusEnum2[AppealClaimStatusEnum2["Claimed"] = 1] = "Claimed";
|
|
23413
|
+
return AppealClaimStatusEnum2;
|
|
23414
|
+
})(AppealClaimStatusEnum || {});
|
|
23415
|
+
var IsVoteNodeEnum = /* @__PURE__ */ ((IsVoteNodeEnum2) => {
|
|
23416
|
+
IsVoteNodeEnum2[IsVoteNodeEnum2["Yes"] = 1] = "Yes";
|
|
23417
|
+
IsVoteNodeEnum2[IsVoteNodeEnum2["No"] = 0] = "No";
|
|
23418
|
+
return IsVoteNodeEnum2;
|
|
23419
|
+
})(IsVoteNodeEnum || {});
|
|
23420
|
+
|
|
23370
23421
|
// src/manager/index.ts
|
|
23371
23422
|
var MyxClient = class {
|
|
23372
23423
|
/**
|
|
@@ -23443,6 +23494,10 @@ var MyxClient = class {
|
|
|
23443
23494
|
}
|
|
23444
23495
|
};
|
|
23445
23496
|
export {
|
|
23497
|
+
AppealClaimStatusEnum,
|
|
23498
|
+
AppealReconsiderationType,
|
|
23499
|
+
AppealStage,
|
|
23500
|
+
AppealType,
|
|
23446
23501
|
COMMON_LP_AMOUNT_DECIMALS,
|
|
23447
23502
|
COMMON_PRICE_DECIMALS,
|
|
23448
23503
|
ChainId,
|
|
@@ -23453,11 +23508,13 @@ export {
|
|
|
23453
23508
|
ExecTypeEnum,
|
|
23454
23509
|
ForwarderGetStatus,
|
|
23455
23510
|
HttpKlineIntervalEnum,
|
|
23511
|
+
IsVoteNodeEnum,
|
|
23456
23512
|
MarketCapType,
|
|
23457
23513
|
MarketPoolState,
|
|
23458
23514
|
MarketType,
|
|
23459
23515
|
MxSDK,
|
|
23460
23516
|
MyxClient,
|
|
23517
|
+
NodeTypeEnum,
|
|
23461
23518
|
OperationEnum,
|
|
23462
23519
|
OperationType,
|
|
23463
23520
|
OracleType,
|
|
@@ -23472,6 +23529,7 @@ export {
|
|
|
23472
23529
|
TradeFlowTypeEnum,
|
|
23473
23530
|
TriggerType2 as TriggerType,
|
|
23474
23531
|
TriggerTypeEnum,
|
|
23532
|
+
VoteTypeEnum,
|
|
23475
23533
|
approve,
|
|
23476
23534
|
base_exports as base,
|
|
23477
23535
|
bigintAmountSlipperCalculator,
|