@gmx-io/sdk 2.2.0 → 2.3.1
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/build/cjs/src/abis/TransitStation.js +2222 -0
- package/build/cjs/src/abis/index.js +2 -0
- package/build/cjs/src/clients/v2/index.js +54 -27
- package/build/cjs/src/codegen/prebuilt/hashedKinkModelMarketRatesKeys.json +32 -0
- package/build/cjs/src/codegen/prebuilt/hashedMarketConfigKeys.json +272 -0
- package/build/cjs/src/codegen/prebuilt/hashedMarketValuesKeys.json +60 -0
- package/build/cjs/src/configs/markets.js +28 -0
- package/build/cjs/src/configs/tokens.js +9 -0
- package/build/cjs/src/test/mock.js +32 -4
- package/build/cjs/src/utils/markets/utils.js +45 -1
- package/build/cjs/src/utils/paxos/__tests__/api.spec.js +128 -0
- package/build/cjs/src/utils/paxos/api.js +129 -0
- package/build/cjs/src/utils/paxos/types.js +2 -0
- package/build/cjs/src/utils/trade/__tests__/increaseMarginCheck.spec.js +14 -35
- package/build/cjs/src/utils/trade/__tests__/twapIncreaseMarginCheck.spec.js +368 -0
- package/build/cjs/src/utils/trade/increaseMarginCheck.js +27 -13
- package/build/cjs/src/utils/trade/twapIncreaseMarginCheck.js +180 -0
- package/build/cjs/src/utils/twap/index.js +13 -4
- package/build/cjs/src/utils/usdgBoostApr/api.js +7 -0
- package/build/cjs/src/utils/usdgBoostApr/types.js +2 -0
- package/build/cjs/src/utils/whitelists/api.js +9 -0
- package/build/cjs/src/utils/whitelists/types.js +2 -0
- package/build/esm/src/abis/TransitStation.js +2220 -0
- package/build/esm/src/abis/index.js +2 -0
- package/build/esm/src/clients/v2/index.js +27 -0
- package/build/esm/src/codegen/prebuilt/hashedKinkModelMarketRatesKeys.json +32 -0
- package/build/esm/src/codegen/prebuilt/hashedMarketConfigKeys.json +272 -0
- package/build/esm/src/codegen/prebuilt/hashedMarketValuesKeys.json +60 -0
- package/build/esm/src/configs/markets.js +28 -0
- package/build/esm/src/configs/tokens.js +9 -0
- package/build/esm/src/test/mock.js +27 -0
- package/build/esm/src/utils/markets/utils.js +44 -1
- package/build/esm/src/utils/paxos/__tests__/api.spec.js +126 -0
- package/build/esm/src/utils/paxos/api.js +120 -0
- package/build/esm/src/utils/paxos/types.js +1 -0
- package/build/esm/src/utils/trade/__tests__/increaseMarginCheck.spec.js +15 -36
- package/build/esm/src/utils/trade/__tests__/twapIncreaseMarginCheck.spec.js +366 -0
- package/build/esm/src/utils/trade/increaseMarginCheck.js +24 -11
- package/build/esm/src/utils/trade/twapIncreaseMarginCheck.js +172 -0
- package/build/esm/src/utils/twap/index.js +10 -3
- package/build/esm/src/utils/usdgBoostApr/api.js +3 -0
- package/build/esm/src/utils/usdgBoostApr/types.js +1 -0
- package/build/esm/src/utils/whitelists/api.js +5 -0
- package/build/esm/src/utils/whitelists/types.js +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/types/src/abis/TransitStation.d.ts +1710 -0
- package/build/types/src/abis/index.d.ts +1709 -0
- package/build/types/src/clients/v2/index.d.ts +20 -0
- package/build/types/src/codegen/prebuilt/index.d.ts +364 -0
- package/build/types/src/test/mock.d.ts +5 -0
- package/build/types/src/utils/markets/utils.d.ts +3 -0
- package/build/types/src/utils/paxos/__tests__/api.spec.d.ts +1 -0
- package/build/types/src/utils/paxos/api.d.ts +24 -0
- package/build/types/src/utils/paxos/types.d.ts +139 -0
- package/build/types/src/utils/trade/__tests__/twapIncreaseMarginCheck.spec.d.ts +1 -0
- package/build/types/src/utils/trade/increaseMarginCheck.d.ts +15 -7
- package/build/types/src/utils/trade/twapIncreaseMarginCheck.d.ts +50 -0
- package/build/types/src/utils/trade/types.d.ts +2 -0
- package/build/types/src/utils/twap/index.d.ts +2 -0
- package/build/types/src/utils/usdgBoostApr/api.d.ts +5 -0
- package/build/types/src/utils/usdgBoostApr/types.d.ts +19 -0
- package/build/types/src/utils/whitelists/api.d.ts +7 -0
- package/build/types/src/utils/whitelists/types.d.ts +6 -0
- package/package.json +10 -1
|
@@ -9,6 +9,7 @@ import { GetTradingCapacityParams, MarketTickerWithCapacity, MarketWithTiers, Tr
|
|
|
9
9
|
import { buildCrossChainWithdrawBridgeOutParams, type BridgeOutParams, type BuildTxnResult, type SameChainDepositRequest, type SameChainWithdrawRequest } from "../../utils/multichain";
|
|
10
10
|
import { isPrepareOrderError, parsePrepareOrderError } from "../../utils/orderTransactions/api";
|
|
11
11
|
import type { PrepareOrderError, PrepareOrderErrorCode, PrepareOrderFieldValidationErrors, PrepareOrderRequest, PrepareOrderResponse, OrderValidationWarning, SubmitOrderRequest, SubmitOrderResponse, PrepareEditOrderRequest, PrepareCancelOrderRequest, PrepareCollateralRequest, OrderStatusRequest, OrderStatusResponse } from "../../utils/orderTransactions/api";
|
|
12
|
+
import type { TransitAuthorizationParams, TransitAuthorizationResponse, TransitFeeTierResponse, TransitOrder, TransitOrdersParams, TransitOrdersResponse, TransitQuote, TransitQuoteParams, TransitRoute, TransitRoutesParams } from "../../utils/paxos/types";
|
|
12
13
|
import { PerformanceAnnualized, PerformanceParams, PerformanceSnapshots } from "../../utils/performance/types";
|
|
13
14
|
import type { OhlcvParams } from "../../utils/prices/types";
|
|
14
15
|
import { MarketRates, RatesParams } from "../../utils/rates/types";
|
|
@@ -17,6 +18,8 @@ import { StakingPowerResponse } from "../../utils/staking/types";
|
|
|
17
18
|
import type { SubaccountStatusRequest, SubaccountStatusResponse, SubaccountApprovalPrepareRequest, SubaccountApprovalPrepareResponse } from "../../utils/subaccount/api";
|
|
18
19
|
import type { SdkSubaccountApproval, SdkSubaccountStatus } from "../../utils/subaccount/types";
|
|
19
20
|
import type { FetchTradesParams, SearchTradesParams, TradesListResponse } from "../../utils/trades/types";
|
|
21
|
+
import type { UsdgBoostAprResponse } from "../../utils/usdgBoostApr/types";
|
|
22
|
+
import type { AccountWhitelists } from "../../utils/whitelists/types";
|
|
20
23
|
import { GmPoolsYieldPnlParams, GmPoolsYieldPnlResponse, GmUserEarningsParams, GmUserEarningsResponse } from "../../utils/yield/types";
|
|
21
24
|
export type { ApyEntry, ApyParams, ApyResponse } from "../../utils/apy/types";
|
|
22
25
|
export type { GmPoolYieldPnlComponents, GmPoolYieldPnlEntry, GmPoolYieldPnlWindow, GmPoolsYieldPnlParams, GmPoolsYieldPnlResponse, GmUserEarningEntry, GmUserEarningsParams, GmUserEarningsResponse, GmUserEarningsWindow, } from "../../utils/yield/types";
|
|
@@ -30,6 +33,9 @@ export { fetchApiProtocolStatsSources, fetchApiProtocolStatsSummary, fetchApiPro
|
|
|
30
33
|
export type { ProtocolStatsCompleteness, ProtocolStatsFilterParams, ProtocolStatsMeta, ProtocolStatsMetricSet, ProtocolStatsNetwork, ProtocolStatsSourceHealth, ProtocolStatsSourceStatus, ProtocolStatsSummaryResponse, ProtocolStatsTimeseriesGroupBy, ProtocolStatsTimeseriesMetric, ProtocolStatsTimeseriesParams, ProtocolStatsTimeseriesResponse, ProtocolStatsVersion, } from "../../utils/stats/types";
|
|
31
34
|
export type { FetchJitLiquidityInfoParams, GlvShiftParam, JitLiquidityApiVersion, JitLiquidityData, JitLiquidityInfo, JitLiquidityMap, } from "../../utils/jitLiquidity/types";
|
|
32
35
|
export type { StakingPowerResponse } from "../../utils/staking/types";
|
|
36
|
+
export type { UsdgBoostAprResponse, UsdgGlvBoostApr, UsdgPoolBoostApr } from "../../utils/usdgBoostApr/types";
|
|
37
|
+
export type { AccountWhitelists } from "../../utils/whitelists/types";
|
|
38
|
+
export type { TransitAuthorizationMethod, TransitAuthorizationParams, TransitAuthorizationResponse, TransitFeeTier, TransitFeeTierResponse, TransitOrder, TransitOrderExecution, TransitOrderStatus, TransitOrdersParams, TransitOrdersResponse, TransitPermitData, TransitQuote, TransitQuoteParams, TransitQuoteTransaction, TransitResponseFormat, TransitRoute, TransitRoutesParams, TransitTokenMetadata, } from "../../utils/paxos/types";
|
|
33
39
|
export type { ApiTradeAction, FetchTradesParams, MarketDirectionFilter, OrderEventCombination, SearchTradesParams, TradeDirection, TradeEventName, TradesListResponse, } from "../../utils/trades/types";
|
|
34
40
|
export type { PrepareOrderError, PrepareOrderErrorCode, PrepareOrderFieldValidationErrors, PrepareOrderRequest, PrepareOrderResponse, OrderValidationWarning, SubmitOrderRequest, SubmitOrderResponse, PrepareEditOrderRequest, PrepareCancelOrderRequest, PrepareCollateralRequest, OrderStatusRequest, OrderStatusResponse, };
|
|
35
41
|
export { isPrepareOrderError, parsePrepareOrderError };
|
|
@@ -94,6 +100,20 @@ export declare class GmxApiSdk {
|
|
|
94
100
|
fetchStakingPower(params: {
|
|
95
101
|
address: string;
|
|
96
102
|
}): Promise<StakingPowerResponse>;
|
|
103
|
+
fetchTransitRoutes(params?: TransitRoutesParams): Promise<TransitRoute[]>;
|
|
104
|
+
fetchTransitFeeTier(params: {
|
|
105
|
+
userAddress: string;
|
|
106
|
+
}): Promise<TransitFeeTierResponse>;
|
|
107
|
+
fetchTransitAuthorization(params: TransitAuthorizationParams): Promise<TransitAuthorizationResponse>;
|
|
108
|
+
fetchTransitQuote(params: TransitQuoteParams): Promise<TransitQuote>;
|
|
109
|
+
fetchTransitOrder(params: {
|
|
110
|
+
orderId: string;
|
|
111
|
+
}): Promise<TransitOrder>;
|
|
112
|
+
fetchTransitOrders(params: TransitOrdersParams): Promise<TransitOrdersResponse>;
|
|
113
|
+
fetchWhitelists(params: {
|
|
114
|
+
address: string;
|
|
115
|
+
}): Promise<AccountWhitelists>;
|
|
116
|
+
fetchUsdgBoostApr(): Promise<UsdgBoostAprResponse>;
|
|
97
117
|
fetchWalletBalances(params: {
|
|
98
118
|
address: string;
|
|
99
119
|
}): Promise<WalletBalance[]>;
|
|
@@ -1892,6 +1892,66 @@ export declare const HASHED_MARKET_VALUES_KEYS: {
|
|
|
1892
1892
|
shortInterestInTokensUsingLongToken: string;
|
|
1893
1893
|
shortInterestInTokensUsingShortToken: string;
|
|
1894
1894
|
};
|
|
1895
|
+
"0xe57B97F2f83F39E74Ec83f3e039FD370884784fF": {
|
|
1896
|
+
longPoolAmount: string;
|
|
1897
|
+
shortPoolAmount: string;
|
|
1898
|
+
positionImpactPoolAmount: string;
|
|
1899
|
+
swapImpactPoolAmountLong: string;
|
|
1900
|
+
swapImpactPoolAmountShort: string;
|
|
1901
|
+
longInterestUsingLongToken: string;
|
|
1902
|
+
longInterestUsingShortToken: string;
|
|
1903
|
+
shortInterestUsingLongToken: string;
|
|
1904
|
+
shortInterestUsingShortToken: string;
|
|
1905
|
+
longInterestInTokensUsingLongToken: string;
|
|
1906
|
+
longInterestInTokensUsingShortToken: string;
|
|
1907
|
+
shortInterestInTokensUsingLongToken: string;
|
|
1908
|
+
shortInterestInTokensUsingShortToken: string;
|
|
1909
|
+
};
|
|
1910
|
+
"0x6f095F58e9Eb2c583A1828202712c03962491d7e": {
|
|
1911
|
+
longPoolAmount: string;
|
|
1912
|
+
shortPoolAmount: string;
|
|
1913
|
+
positionImpactPoolAmount: string;
|
|
1914
|
+
swapImpactPoolAmountLong: string;
|
|
1915
|
+
swapImpactPoolAmountShort: string;
|
|
1916
|
+
longInterestUsingLongToken: string;
|
|
1917
|
+
longInterestUsingShortToken: string;
|
|
1918
|
+
shortInterestUsingLongToken: string;
|
|
1919
|
+
shortInterestUsingShortToken: string;
|
|
1920
|
+
longInterestInTokensUsingLongToken: string;
|
|
1921
|
+
longInterestInTokensUsingShortToken: string;
|
|
1922
|
+
shortInterestInTokensUsingLongToken: string;
|
|
1923
|
+
shortInterestInTokensUsingShortToken: string;
|
|
1924
|
+
};
|
|
1925
|
+
"0xfF63B0f938772e2b4fFD1A1b340Afe49616c95f2": {
|
|
1926
|
+
longPoolAmount: string;
|
|
1927
|
+
shortPoolAmount: string;
|
|
1928
|
+
positionImpactPoolAmount: string;
|
|
1929
|
+
swapImpactPoolAmountLong: string;
|
|
1930
|
+
swapImpactPoolAmountShort: string;
|
|
1931
|
+
longInterestUsingLongToken: string;
|
|
1932
|
+
longInterestUsingShortToken: string;
|
|
1933
|
+
shortInterestUsingLongToken: string;
|
|
1934
|
+
shortInterestUsingShortToken: string;
|
|
1935
|
+
longInterestInTokensUsingLongToken: string;
|
|
1936
|
+
longInterestInTokensUsingShortToken: string;
|
|
1937
|
+
shortInterestInTokensUsingLongToken: string;
|
|
1938
|
+
shortInterestInTokensUsingShortToken: string;
|
|
1939
|
+
};
|
|
1940
|
+
"0x408E8e83d4b8Ac4BDefFDF896B49268A5FE5Ef44": {
|
|
1941
|
+
longPoolAmount: string;
|
|
1942
|
+
shortPoolAmount: string;
|
|
1943
|
+
positionImpactPoolAmount: string;
|
|
1944
|
+
swapImpactPoolAmountLong: string;
|
|
1945
|
+
swapImpactPoolAmountShort: string;
|
|
1946
|
+
longInterestUsingLongToken: string;
|
|
1947
|
+
longInterestUsingShortToken: string;
|
|
1948
|
+
shortInterestUsingLongToken: string;
|
|
1949
|
+
shortInterestUsingShortToken: string;
|
|
1950
|
+
longInterestInTokensUsingLongToken: string;
|
|
1951
|
+
longInterestInTokensUsingShortToken: string;
|
|
1952
|
+
shortInterestInTokensUsingLongToken: string;
|
|
1953
|
+
shortInterestInTokensUsingShortToken: string;
|
|
1954
|
+
};
|
|
1895
1955
|
};
|
|
1896
1956
|
"43113": {
|
|
1897
1957
|
"0xD996ff47A1F763E1e55415BC4437c59292D1F415": {
|
|
@@ -11177,6 +11237,278 @@ export declare const HASHED_MARKET_CONFIG_KEYS: {
|
|
|
11177
11237
|
virtualLongTokenId: string;
|
|
11178
11238
|
virtualShortTokenId: string;
|
|
11179
11239
|
};
|
|
11240
|
+
"0xe57B97F2f83F39E74Ec83f3e039FD370884784fF": {
|
|
11241
|
+
isDisabled: string;
|
|
11242
|
+
maxLongPoolAmount: string;
|
|
11243
|
+
maxShortPoolAmount: string;
|
|
11244
|
+
maxLongPoolUsdForDeposit: string;
|
|
11245
|
+
maxShortPoolUsdForDeposit: string;
|
|
11246
|
+
reserveFactorLong: string;
|
|
11247
|
+
reserveFactorShort: string;
|
|
11248
|
+
openInterestReserveFactorLong: string;
|
|
11249
|
+
openInterestReserveFactorShort: string;
|
|
11250
|
+
maxOpenInterestLong: string;
|
|
11251
|
+
maxOpenInterestShort: string;
|
|
11252
|
+
maxCollateralSumLongTokenLong: string;
|
|
11253
|
+
maxCollateralSumLongTokenShort: string;
|
|
11254
|
+
maxCollateralSumShortTokenLong: string;
|
|
11255
|
+
maxCollateralSumShortTokenShort: string;
|
|
11256
|
+
minPositionImpactPoolAmount: string;
|
|
11257
|
+
positionImpactPoolDistributionRate: string;
|
|
11258
|
+
borrowingFactorLong: string;
|
|
11259
|
+
borrowingFactorShort: string;
|
|
11260
|
+
borrowingExponentFactorLong: string;
|
|
11261
|
+
borrowingExponentFactorShort: string;
|
|
11262
|
+
fundingFactor: string;
|
|
11263
|
+
fundingExponentFactor: string;
|
|
11264
|
+
fundingIncreaseFactorPerSecond: string;
|
|
11265
|
+
minFundingIncreaseRatePerSecond: string;
|
|
11266
|
+
fundingDecreaseFactorPerSecond: string;
|
|
11267
|
+
thresholdForStableFunding: string;
|
|
11268
|
+
thresholdForDecreaseFunding: string;
|
|
11269
|
+
minFundingFactorPerSecondLong: string;
|
|
11270
|
+
minFundingFactorPerSecondShort: string;
|
|
11271
|
+
maxFundingFactorPerSecondLong: string;
|
|
11272
|
+
maxFundingFactorPerSecondShort: string;
|
|
11273
|
+
maxPnlFactorForTradersLong: string;
|
|
11274
|
+
maxPnlFactorForTradersShort: string;
|
|
11275
|
+
maxPnlFactorForDepositsLong: string;
|
|
11276
|
+
maxPnlFactorForDepositsShort: string;
|
|
11277
|
+
maxPnlFactorForWithdrawalsLong: string;
|
|
11278
|
+
maxPnlFactorForWithdrawalsShort: string;
|
|
11279
|
+
positionFeeFactorForBalanceWasImproved: string;
|
|
11280
|
+
positionFeeFactorForBalanceWasNotImproved: string;
|
|
11281
|
+
positionImpactFactorPositive: string;
|
|
11282
|
+
positionImpactFactorNegative: string;
|
|
11283
|
+
maxPositionImpactFactorPositive: string;
|
|
11284
|
+
maxPositionImpactFactorNegative: string;
|
|
11285
|
+
maxPositionImpactFactorForLiquidations: string;
|
|
11286
|
+
maxLendableImpactFactor: string;
|
|
11287
|
+
maxLendableImpactFactorForWithdrawals: string;
|
|
11288
|
+
maxLendableImpactUsd: string;
|
|
11289
|
+
lentPositionImpactPoolAmount: string;
|
|
11290
|
+
minCollateralFactor: string;
|
|
11291
|
+
minCollateralFactorForLiquidation: string;
|
|
11292
|
+
minCollateralFactorForOpenInterestLong: string;
|
|
11293
|
+
minCollateralFactorForOpenInterestShort: string;
|
|
11294
|
+
positionImpactExponentFactorPositive: string;
|
|
11295
|
+
positionImpactExponentFactorNegative: string;
|
|
11296
|
+
swapFeeFactorForBalanceWasImproved: string;
|
|
11297
|
+
swapFeeFactorForBalanceWasNotImproved: string;
|
|
11298
|
+
atomicSwapFeeFactor: string;
|
|
11299
|
+
swapImpactFactorPositive: string;
|
|
11300
|
+
swapImpactFactorNegative: string;
|
|
11301
|
+
swapImpactExponentFactor: string;
|
|
11302
|
+
withdrawalFeeFactorBalanceWasImproved: string;
|
|
11303
|
+
withdrawalFeeFactorBalanceWasNotImproved: string;
|
|
11304
|
+
virtualMarketId: string;
|
|
11305
|
+
virtualLongTokenId: string;
|
|
11306
|
+
virtualShortTokenId: string;
|
|
11307
|
+
};
|
|
11308
|
+
"0x6f095F58e9Eb2c583A1828202712c03962491d7e": {
|
|
11309
|
+
isDisabled: string;
|
|
11310
|
+
maxLongPoolAmount: string;
|
|
11311
|
+
maxShortPoolAmount: string;
|
|
11312
|
+
maxLongPoolUsdForDeposit: string;
|
|
11313
|
+
maxShortPoolUsdForDeposit: string;
|
|
11314
|
+
reserveFactorLong: string;
|
|
11315
|
+
reserveFactorShort: string;
|
|
11316
|
+
openInterestReserveFactorLong: string;
|
|
11317
|
+
openInterestReserveFactorShort: string;
|
|
11318
|
+
maxOpenInterestLong: string;
|
|
11319
|
+
maxOpenInterestShort: string;
|
|
11320
|
+
maxCollateralSumLongTokenLong: string;
|
|
11321
|
+
maxCollateralSumLongTokenShort: string;
|
|
11322
|
+
maxCollateralSumShortTokenLong: string;
|
|
11323
|
+
maxCollateralSumShortTokenShort: string;
|
|
11324
|
+
minPositionImpactPoolAmount: string;
|
|
11325
|
+
positionImpactPoolDistributionRate: string;
|
|
11326
|
+
borrowingFactorLong: string;
|
|
11327
|
+
borrowingFactorShort: string;
|
|
11328
|
+
borrowingExponentFactorLong: string;
|
|
11329
|
+
borrowingExponentFactorShort: string;
|
|
11330
|
+
fundingFactor: string;
|
|
11331
|
+
fundingExponentFactor: string;
|
|
11332
|
+
fundingIncreaseFactorPerSecond: string;
|
|
11333
|
+
minFundingIncreaseRatePerSecond: string;
|
|
11334
|
+
fundingDecreaseFactorPerSecond: string;
|
|
11335
|
+
thresholdForStableFunding: string;
|
|
11336
|
+
thresholdForDecreaseFunding: string;
|
|
11337
|
+
minFundingFactorPerSecondLong: string;
|
|
11338
|
+
minFundingFactorPerSecondShort: string;
|
|
11339
|
+
maxFundingFactorPerSecondLong: string;
|
|
11340
|
+
maxFundingFactorPerSecondShort: string;
|
|
11341
|
+
maxPnlFactorForTradersLong: string;
|
|
11342
|
+
maxPnlFactorForTradersShort: string;
|
|
11343
|
+
maxPnlFactorForDepositsLong: string;
|
|
11344
|
+
maxPnlFactorForDepositsShort: string;
|
|
11345
|
+
maxPnlFactorForWithdrawalsLong: string;
|
|
11346
|
+
maxPnlFactorForWithdrawalsShort: string;
|
|
11347
|
+
positionFeeFactorForBalanceWasImproved: string;
|
|
11348
|
+
positionFeeFactorForBalanceWasNotImproved: string;
|
|
11349
|
+
positionImpactFactorPositive: string;
|
|
11350
|
+
positionImpactFactorNegative: string;
|
|
11351
|
+
maxPositionImpactFactorPositive: string;
|
|
11352
|
+
maxPositionImpactFactorNegative: string;
|
|
11353
|
+
maxPositionImpactFactorForLiquidations: string;
|
|
11354
|
+
maxLendableImpactFactor: string;
|
|
11355
|
+
maxLendableImpactFactorForWithdrawals: string;
|
|
11356
|
+
maxLendableImpactUsd: string;
|
|
11357
|
+
lentPositionImpactPoolAmount: string;
|
|
11358
|
+
minCollateralFactor: string;
|
|
11359
|
+
minCollateralFactorForLiquidation: string;
|
|
11360
|
+
minCollateralFactorForOpenInterestLong: string;
|
|
11361
|
+
minCollateralFactorForOpenInterestShort: string;
|
|
11362
|
+
positionImpactExponentFactorPositive: string;
|
|
11363
|
+
positionImpactExponentFactorNegative: string;
|
|
11364
|
+
swapFeeFactorForBalanceWasImproved: string;
|
|
11365
|
+
swapFeeFactorForBalanceWasNotImproved: string;
|
|
11366
|
+
atomicSwapFeeFactor: string;
|
|
11367
|
+
swapImpactFactorPositive: string;
|
|
11368
|
+
swapImpactFactorNegative: string;
|
|
11369
|
+
swapImpactExponentFactor: string;
|
|
11370
|
+
withdrawalFeeFactorBalanceWasImproved: string;
|
|
11371
|
+
withdrawalFeeFactorBalanceWasNotImproved: string;
|
|
11372
|
+
virtualMarketId: string;
|
|
11373
|
+
virtualLongTokenId: string;
|
|
11374
|
+
virtualShortTokenId: string;
|
|
11375
|
+
};
|
|
11376
|
+
"0xfF63B0f938772e2b4fFD1A1b340Afe49616c95f2": {
|
|
11377
|
+
isDisabled: string;
|
|
11378
|
+
maxLongPoolAmount: string;
|
|
11379
|
+
maxShortPoolAmount: string;
|
|
11380
|
+
maxLongPoolUsdForDeposit: string;
|
|
11381
|
+
maxShortPoolUsdForDeposit: string;
|
|
11382
|
+
reserveFactorLong: string;
|
|
11383
|
+
reserveFactorShort: string;
|
|
11384
|
+
openInterestReserveFactorLong: string;
|
|
11385
|
+
openInterestReserveFactorShort: string;
|
|
11386
|
+
maxOpenInterestLong: string;
|
|
11387
|
+
maxOpenInterestShort: string;
|
|
11388
|
+
maxCollateralSumLongTokenLong: string;
|
|
11389
|
+
maxCollateralSumLongTokenShort: string;
|
|
11390
|
+
maxCollateralSumShortTokenLong: string;
|
|
11391
|
+
maxCollateralSumShortTokenShort: string;
|
|
11392
|
+
minPositionImpactPoolAmount: string;
|
|
11393
|
+
positionImpactPoolDistributionRate: string;
|
|
11394
|
+
borrowingFactorLong: string;
|
|
11395
|
+
borrowingFactorShort: string;
|
|
11396
|
+
borrowingExponentFactorLong: string;
|
|
11397
|
+
borrowingExponentFactorShort: string;
|
|
11398
|
+
fundingFactor: string;
|
|
11399
|
+
fundingExponentFactor: string;
|
|
11400
|
+
fundingIncreaseFactorPerSecond: string;
|
|
11401
|
+
minFundingIncreaseRatePerSecond: string;
|
|
11402
|
+
fundingDecreaseFactorPerSecond: string;
|
|
11403
|
+
thresholdForStableFunding: string;
|
|
11404
|
+
thresholdForDecreaseFunding: string;
|
|
11405
|
+
minFundingFactorPerSecondLong: string;
|
|
11406
|
+
minFundingFactorPerSecondShort: string;
|
|
11407
|
+
maxFundingFactorPerSecondLong: string;
|
|
11408
|
+
maxFundingFactorPerSecondShort: string;
|
|
11409
|
+
maxPnlFactorForTradersLong: string;
|
|
11410
|
+
maxPnlFactorForTradersShort: string;
|
|
11411
|
+
maxPnlFactorForDepositsLong: string;
|
|
11412
|
+
maxPnlFactorForDepositsShort: string;
|
|
11413
|
+
maxPnlFactorForWithdrawalsLong: string;
|
|
11414
|
+
maxPnlFactorForWithdrawalsShort: string;
|
|
11415
|
+
positionFeeFactorForBalanceWasImproved: string;
|
|
11416
|
+
positionFeeFactorForBalanceWasNotImproved: string;
|
|
11417
|
+
positionImpactFactorPositive: string;
|
|
11418
|
+
positionImpactFactorNegative: string;
|
|
11419
|
+
maxPositionImpactFactorPositive: string;
|
|
11420
|
+
maxPositionImpactFactorNegative: string;
|
|
11421
|
+
maxPositionImpactFactorForLiquidations: string;
|
|
11422
|
+
maxLendableImpactFactor: string;
|
|
11423
|
+
maxLendableImpactFactorForWithdrawals: string;
|
|
11424
|
+
maxLendableImpactUsd: string;
|
|
11425
|
+
lentPositionImpactPoolAmount: string;
|
|
11426
|
+
minCollateralFactor: string;
|
|
11427
|
+
minCollateralFactorForLiquidation: string;
|
|
11428
|
+
minCollateralFactorForOpenInterestLong: string;
|
|
11429
|
+
minCollateralFactorForOpenInterestShort: string;
|
|
11430
|
+
positionImpactExponentFactorPositive: string;
|
|
11431
|
+
positionImpactExponentFactorNegative: string;
|
|
11432
|
+
swapFeeFactorForBalanceWasImproved: string;
|
|
11433
|
+
swapFeeFactorForBalanceWasNotImproved: string;
|
|
11434
|
+
atomicSwapFeeFactor: string;
|
|
11435
|
+
swapImpactFactorPositive: string;
|
|
11436
|
+
swapImpactFactorNegative: string;
|
|
11437
|
+
swapImpactExponentFactor: string;
|
|
11438
|
+
withdrawalFeeFactorBalanceWasImproved: string;
|
|
11439
|
+
withdrawalFeeFactorBalanceWasNotImproved: string;
|
|
11440
|
+
virtualMarketId: string;
|
|
11441
|
+
virtualLongTokenId: string;
|
|
11442
|
+
virtualShortTokenId: string;
|
|
11443
|
+
};
|
|
11444
|
+
"0x408E8e83d4b8Ac4BDefFDF896B49268A5FE5Ef44": {
|
|
11445
|
+
isDisabled: string;
|
|
11446
|
+
maxLongPoolAmount: string;
|
|
11447
|
+
maxShortPoolAmount: string;
|
|
11448
|
+
maxLongPoolUsdForDeposit: string;
|
|
11449
|
+
maxShortPoolUsdForDeposit: string;
|
|
11450
|
+
reserveFactorLong: string;
|
|
11451
|
+
reserveFactorShort: string;
|
|
11452
|
+
openInterestReserveFactorLong: string;
|
|
11453
|
+
openInterestReserveFactorShort: string;
|
|
11454
|
+
maxOpenInterestLong: string;
|
|
11455
|
+
maxOpenInterestShort: string;
|
|
11456
|
+
maxCollateralSumLongTokenLong: string;
|
|
11457
|
+
maxCollateralSumLongTokenShort: string;
|
|
11458
|
+
maxCollateralSumShortTokenLong: string;
|
|
11459
|
+
maxCollateralSumShortTokenShort: string;
|
|
11460
|
+
minPositionImpactPoolAmount: string;
|
|
11461
|
+
positionImpactPoolDistributionRate: string;
|
|
11462
|
+
borrowingFactorLong: string;
|
|
11463
|
+
borrowingFactorShort: string;
|
|
11464
|
+
borrowingExponentFactorLong: string;
|
|
11465
|
+
borrowingExponentFactorShort: string;
|
|
11466
|
+
fundingFactor: string;
|
|
11467
|
+
fundingExponentFactor: string;
|
|
11468
|
+
fundingIncreaseFactorPerSecond: string;
|
|
11469
|
+
minFundingIncreaseRatePerSecond: string;
|
|
11470
|
+
fundingDecreaseFactorPerSecond: string;
|
|
11471
|
+
thresholdForStableFunding: string;
|
|
11472
|
+
thresholdForDecreaseFunding: string;
|
|
11473
|
+
minFundingFactorPerSecondLong: string;
|
|
11474
|
+
minFundingFactorPerSecondShort: string;
|
|
11475
|
+
maxFundingFactorPerSecondLong: string;
|
|
11476
|
+
maxFundingFactorPerSecondShort: string;
|
|
11477
|
+
maxPnlFactorForTradersLong: string;
|
|
11478
|
+
maxPnlFactorForTradersShort: string;
|
|
11479
|
+
maxPnlFactorForDepositsLong: string;
|
|
11480
|
+
maxPnlFactorForDepositsShort: string;
|
|
11481
|
+
maxPnlFactorForWithdrawalsLong: string;
|
|
11482
|
+
maxPnlFactorForWithdrawalsShort: string;
|
|
11483
|
+
positionFeeFactorForBalanceWasImproved: string;
|
|
11484
|
+
positionFeeFactorForBalanceWasNotImproved: string;
|
|
11485
|
+
positionImpactFactorPositive: string;
|
|
11486
|
+
positionImpactFactorNegative: string;
|
|
11487
|
+
maxPositionImpactFactorPositive: string;
|
|
11488
|
+
maxPositionImpactFactorNegative: string;
|
|
11489
|
+
maxPositionImpactFactorForLiquidations: string;
|
|
11490
|
+
maxLendableImpactFactor: string;
|
|
11491
|
+
maxLendableImpactFactorForWithdrawals: string;
|
|
11492
|
+
maxLendableImpactUsd: string;
|
|
11493
|
+
lentPositionImpactPoolAmount: string;
|
|
11494
|
+
minCollateralFactor: string;
|
|
11495
|
+
minCollateralFactorForLiquidation: string;
|
|
11496
|
+
minCollateralFactorForOpenInterestLong: string;
|
|
11497
|
+
minCollateralFactorForOpenInterestShort: string;
|
|
11498
|
+
positionImpactExponentFactorPositive: string;
|
|
11499
|
+
positionImpactExponentFactorNegative: string;
|
|
11500
|
+
swapFeeFactorForBalanceWasImproved: string;
|
|
11501
|
+
swapFeeFactorForBalanceWasNotImproved: string;
|
|
11502
|
+
atomicSwapFeeFactor: string;
|
|
11503
|
+
swapImpactFactorPositive: string;
|
|
11504
|
+
swapImpactFactorNegative: string;
|
|
11505
|
+
swapImpactExponentFactor: string;
|
|
11506
|
+
withdrawalFeeFactorBalanceWasImproved: string;
|
|
11507
|
+
withdrawalFeeFactorBalanceWasNotImproved: string;
|
|
11508
|
+
virtualMarketId: string;
|
|
11509
|
+
virtualLongTokenId: string;
|
|
11510
|
+
virtualShortTokenId: string;
|
|
11511
|
+
};
|
|
11180
11512
|
};
|
|
11181
11513
|
"43113": {
|
|
11182
11514
|
"0xD996ff47A1F763E1e55415BC4437c59292D1F415": {
|
|
@@ -15393,6 +15725,38 @@ export declare const HASHED_KINK_MODEL_MARKET_RATES_KEYS: {
|
|
|
15393
15725
|
aboveOptimalUsageBorrowingFactorLong: string;
|
|
15394
15726
|
aboveOptimalUsageBorrowingFactorShort: string;
|
|
15395
15727
|
};
|
|
15728
|
+
"0xe57B97F2f83F39E74Ec83f3e039FD370884784fF": {
|
|
15729
|
+
optimalUsageFactorLong: string;
|
|
15730
|
+
optimalUsageFactorShort: string;
|
|
15731
|
+
baseBorrowingFactorLong: string;
|
|
15732
|
+
baseBorrowingFactorShort: string;
|
|
15733
|
+
aboveOptimalUsageBorrowingFactorLong: string;
|
|
15734
|
+
aboveOptimalUsageBorrowingFactorShort: string;
|
|
15735
|
+
};
|
|
15736
|
+
"0x6f095F58e9Eb2c583A1828202712c03962491d7e": {
|
|
15737
|
+
optimalUsageFactorLong: string;
|
|
15738
|
+
optimalUsageFactorShort: string;
|
|
15739
|
+
baseBorrowingFactorLong: string;
|
|
15740
|
+
baseBorrowingFactorShort: string;
|
|
15741
|
+
aboveOptimalUsageBorrowingFactorLong: string;
|
|
15742
|
+
aboveOptimalUsageBorrowingFactorShort: string;
|
|
15743
|
+
};
|
|
15744
|
+
"0xfF63B0f938772e2b4fFD1A1b340Afe49616c95f2": {
|
|
15745
|
+
optimalUsageFactorLong: string;
|
|
15746
|
+
optimalUsageFactorShort: string;
|
|
15747
|
+
baseBorrowingFactorLong: string;
|
|
15748
|
+
baseBorrowingFactorShort: string;
|
|
15749
|
+
aboveOptimalUsageBorrowingFactorLong: string;
|
|
15750
|
+
aboveOptimalUsageBorrowingFactorShort: string;
|
|
15751
|
+
};
|
|
15752
|
+
"0x408E8e83d4b8Ac4BDefFDF896B49268A5FE5Ef44": {
|
|
15753
|
+
optimalUsageFactorLong: string;
|
|
15754
|
+
optimalUsageFactorShort: string;
|
|
15755
|
+
baseBorrowingFactorLong: string;
|
|
15756
|
+
baseBorrowingFactorShort: string;
|
|
15757
|
+
aboveOptimalUsageBorrowingFactorLong: string;
|
|
15758
|
+
aboveOptimalUsageBorrowingFactorShort: string;
|
|
15759
|
+
};
|
|
15396
15760
|
};
|
|
15397
15761
|
"43113": {
|
|
15398
15762
|
"0xD996ff47A1F763E1e55415BC4437c59292D1F415": {
|
|
@@ -10,6 +10,11 @@ export declare function mockTokensData(overrides?: {
|
|
|
10
10
|
* @param marketKeys - array of market keys in the following format: indexToken-longToken-shortToken
|
|
11
11
|
*/
|
|
12
12
|
export { mockMarketsData, mockMarketsInfoData } from "../utils/markets/__tests__/mockMarkets";
|
|
13
|
+
/**
|
|
14
|
+
* A BTC market with a 1% min collateral factor (100x) and 0.5% for liquidation.
|
|
15
|
+
* Fees, price impact and open interest are off unless overridden.
|
|
16
|
+
*/
|
|
17
|
+
export declare function mockMarginCheckMarketInfo(tokensData: TokensData, overrides?: Record<string, bigint | boolean>): import("../utils/markets").MarketInfo;
|
|
13
18
|
export declare function mockExternalSwap({ inToken, outToken, amountIn, amountOut, priceIn, priceOut, feesUsd, // $5 default fee
|
|
14
19
|
data, to, receiver, }: {
|
|
15
20
|
inToken: Token;
|
|
@@ -2,6 +2,7 @@ import type { ContractsChainId } from "../../configs/chains";
|
|
|
2
2
|
import { type MarketConfig as ConfigMarketConfig } from "../../configs/markets";
|
|
3
3
|
import type { DayPriceCandle } from "../24h/types";
|
|
4
4
|
import type { Token, TokenPrices, TokensData } from "../tokens/types";
|
|
5
|
+
import type { SwapStats } from "../trade/types";
|
|
5
6
|
import type { ClaimableFundingData, ContractMarketPrices, Market, MarketConfig, MarketInfo, MarketsData, MarketsInfoData, MarketTicker, MarketValues, MarketWithTiers, RawMarketConfig, RawMarketInfo, RawMarketsInfoData, RawMarketValues } from "./types";
|
|
6
7
|
export declare function getMarketFullName(p: {
|
|
7
8
|
longToken: Token;
|
|
@@ -84,6 +85,8 @@ export declare function getMarketInfoWithOpenInterestDelta({ marketInfo, collate
|
|
|
84
85
|
sizeDeltaUsd: bigint;
|
|
85
86
|
sizeDeltaInTokens: bigint;
|
|
86
87
|
}): MarketInfo;
|
|
88
|
+
/** The market a swap step leaves: the pools and the swap impact pools move as in `SwapUtils._swap`. */
|
|
89
|
+
export declare function getMarketInfoWithSwapDelta(marketInfo: MarketInfo, swapStep: SwapStats): MarketInfo;
|
|
87
90
|
export declare function getOpenInterestForBalance(marketInfo: MarketInfo, isLong: boolean): bigint;
|
|
88
91
|
export declare function getPriceForPnl(prices: TokenPrices, isLong: boolean, maximize: boolean): bigint;
|
|
89
92
|
export declare function getIsMarketAvailableForExpressSwaps(marketInfo: MarketInfo): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IHttp } from "../http/types";
|
|
2
|
+
import type { TransitAuthorizationParams, TransitAuthorizationResponse, TransitFeeTierResponse, TransitOrder, TransitOrdersParams, TransitOrdersResponse, TransitQuote, TransitQuoteParams, TransitRoute, TransitRoutesParams } from "./types";
|
|
3
|
+
export declare function fetchApiTransitRoutes(ctx: {
|
|
4
|
+
api: IHttp;
|
|
5
|
+
}, params?: TransitRoutesParams): Promise<TransitRoute[]>;
|
|
6
|
+
export declare function fetchApiTransitFeeTier(ctx: {
|
|
7
|
+
api: IHttp;
|
|
8
|
+
}, params: {
|
|
9
|
+
userAddress: string;
|
|
10
|
+
}): Promise<TransitFeeTierResponse>;
|
|
11
|
+
export declare function fetchApiTransitAuthorization(ctx: {
|
|
12
|
+
api: IHttp;
|
|
13
|
+
}, params: TransitAuthorizationParams): Promise<TransitAuthorizationResponse>;
|
|
14
|
+
export declare function fetchApiTransitQuote(ctx: {
|
|
15
|
+
api: IHttp;
|
|
16
|
+
}, params: TransitQuoteParams): Promise<TransitQuote>;
|
|
17
|
+
export declare function fetchApiTransitOrder(ctx: {
|
|
18
|
+
api: IHttp;
|
|
19
|
+
}, params: {
|
|
20
|
+
orderId: string;
|
|
21
|
+
}): Promise<TransitOrder>;
|
|
22
|
+
export declare function fetchApiTransitOrders(ctx: {
|
|
23
|
+
api: IHttp;
|
|
24
|
+
}, params: TransitOrdersParams): Promise<TransitOrdersResponse>;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
export type TransitFeeTier = "zeroFee" | "standardFee";
|
|
2
|
+
export type TransitResponseFormat = "encoded" | "full" | "structured";
|
|
3
|
+
export type TransitOrderStatus = "PENDING_BRIDGE" | "PROCESSING" | "PROCESSED" | "REMOVED";
|
|
4
|
+
export type TransitFeeTierResponse = {
|
|
5
|
+
feeTier: TransitFeeTier;
|
|
6
|
+
zeroFeeCapacity: bigint;
|
|
7
|
+
};
|
|
8
|
+
export type TransitTokenMetadata = {
|
|
9
|
+
chain_id: string;
|
|
10
|
+
address: string;
|
|
11
|
+
name: string;
|
|
12
|
+
symbol: string;
|
|
13
|
+
decimals: string;
|
|
14
|
+
token_standard: string;
|
|
15
|
+
};
|
|
16
|
+
export type TransitRoute = {
|
|
17
|
+
sourceChainId: number;
|
|
18
|
+
destinationChainId: number;
|
|
19
|
+
destinationChainEID: number;
|
|
20
|
+
offerAsset: string;
|
|
21
|
+
wantAsset: string;
|
|
22
|
+
minOrderSize: bigint;
|
|
23
|
+
tokenMetadataMap: Record<string, TransitTokenMetadata>;
|
|
24
|
+
};
|
|
25
|
+
export type TransitRoutesParams = {
|
|
26
|
+
filter?: string;
|
|
27
|
+
feeTier?: TransitFeeTier;
|
|
28
|
+
};
|
|
29
|
+
export type TransitPermitData = {
|
|
30
|
+
domain: {
|
|
31
|
+
name: string;
|
|
32
|
+
version: string;
|
|
33
|
+
chainId: number;
|
|
34
|
+
verifyingContract: string;
|
|
35
|
+
};
|
|
36
|
+
types: Record<string, {
|
|
37
|
+
name: string;
|
|
38
|
+
type: string;
|
|
39
|
+
}[]>;
|
|
40
|
+
value: {
|
|
41
|
+
owner: string;
|
|
42
|
+
spender: string;
|
|
43
|
+
value: string;
|
|
44
|
+
nonce: string;
|
|
45
|
+
deadline: string;
|
|
46
|
+
};
|
|
47
|
+
deadline: string;
|
|
48
|
+
};
|
|
49
|
+
export type TransitAuthorizationMethod = {
|
|
50
|
+
type: "eip2612_permit";
|
|
51
|
+
description: string;
|
|
52
|
+
permitData: TransitPermitData;
|
|
53
|
+
} | {
|
|
54
|
+
type: "erc20_approve";
|
|
55
|
+
description: string;
|
|
56
|
+
transaction: {
|
|
57
|
+
encoded: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
export type TransitAuthorizationParams = {
|
|
61
|
+
userAddress: string;
|
|
62
|
+
tokenAddress: string;
|
|
63
|
+
spenderAddress: string;
|
|
64
|
+
amount: bigint;
|
|
65
|
+
chainId: number;
|
|
66
|
+
};
|
|
67
|
+
export type TransitAuthorizationResponse = {
|
|
68
|
+
spenderAddress: string;
|
|
69
|
+
alreadyApproved: boolean;
|
|
70
|
+
methods: TransitAuthorizationMethod[];
|
|
71
|
+
};
|
|
72
|
+
export type TransitQuoteParams = {
|
|
73
|
+
userAddress: string;
|
|
74
|
+
offerAsset: string;
|
|
75
|
+
wantAsset: string;
|
|
76
|
+
offerAmount: bigint;
|
|
77
|
+
sourceChainId: number;
|
|
78
|
+
destinationChainId: number;
|
|
79
|
+
permitSignature?: string;
|
|
80
|
+
permitDeadline?: number;
|
|
81
|
+
responseFormat?: TransitResponseFormat;
|
|
82
|
+
feeTier?: TransitFeeTier;
|
|
83
|
+
};
|
|
84
|
+
export type TransitQuoteTransaction = {
|
|
85
|
+
to: string;
|
|
86
|
+
data?: string;
|
|
87
|
+
value: bigint;
|
|
88
|
+
abi?: unknown[];
|
|
89
|
+
functionName?: "submitOrder" | "submitOrderWithPermit";
|
|
90
|
+
args?: unknown[];
|
|
91
|
+
};
|
|
92
|
+
export type TransitQuote = {
|
|
93
|
+
transaction: TransitQuoteTransaction;
|
|
94
|
+
amountOut: bigint;
|
|
95
|
+
protocolFee: bigint;
|
|
96
|
+
fillCostFee: bigint;
|
|
97
|
+
conversionRateFee: bigint;
|
|
98
|
+
conversionRateHundredthsBps: number;
|
|
99
|
+
integratorFee: bigint;
|
|
100
|
+
totalFees: bigint;
|
|
101
|
+
estimatedLatencyMs: number | undefined;
|
|
102
|
+
};
|
|
103
|
+
export type TransitOrderExecution = {
|
|
104
|
+
id: string;
|
|
105
|
+
amount: bigint;
|
|
106
|
+
remaining: bigint;
|
|
107
|
+
timestamp: number;
|
|
108
|
+
txHash: string;
|
|
109
|
+
chainId: number;
|
|
110
|
+
};
|
|
111
|
+
export type TransitOrder = {
|
|
112
|
+
id: string;
|
|
113
|
+
offerAsset: string;
|
|
114
|
+
wantAsset: string;
|
|
115
|
+
amountDue: bigint;
|
|
116
|
+
remainingAmountDue: bigint;
|
|
117
|
+
offerAmount: bigint;
|
|
118
|
+
receiver: string;
|
|
119
|
+
distributorCode: string;
|
|
120
|
+
destinationChainId: number;
|
|
121
|
+
sourceChainId: number;
|
|
122
|
+
receiveTime: number;
|
|
123
|
+
status: TransitOrderStatus;
|
|
124
|
+
user: string;
|
|
125
|
+
createdAt: string;
|
|
126
|
+
updatedAt: string;
|
|
127
|
+
tokenMetadata: Record<string, TransitTokenMetadata>;
|
|
128
|
+
orderExecuteds: TransitOrderExecution[];
|
|
129
|
+
};
|
|
130
|
+
export type TransitOrdersParams = {
|
|
131
|
+
userAddress: string;
|
|
132
|
+
pageSize?: number;
|
|
133
|
+
pageToken?: string;
|
|
134
|
+
filter?: string;
|
|
135
|
+
};
|
|
136
|
+
export type TransitOrdersResponse = {
|
|
137
|
+
orders: TransitOrder[];
|
|
138
|
+
nextPageToken: string | undefined;
|
|
139
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|