@metamask-previews/perps-controller 2.0.0-preview-10a8a74 → 2.0.0-preview-bfb4d9f5a

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.
@@ -3,61 +3,6 @@
3
3
  * Do not edit manually.
4
4
  */
5
5
  import type { PerpsController } from "./PerpsController.mjs";
6
- /**
7
- * Read cached market data for the currently active provider (or aggregated).
8
- * Returns null when no valid cache exists or when cache has expired.
9
- *
10
- * @returns The cached market data array, or null if no valid cache.
11
- */
12
- export type PerpsControllerGetCachedMarketDataForActiveProviderAction = {
13
- type: `PerpsController:getCachedMarketDataForActiveProvider`;
14
- handler: PerpsController['getCachedMarketDataForActiveProvider'];
15
- };
16
- /**
17
- * Read cached user data for the currently active provider (or aggregated).
18
- * Returns null when no valid cache exists, cache has expired, or address
19
- * does not match the currently selected EVM account.
20
- *
21
- * @returns The cached user data, or null if no valid cache.
22
- */
23
- export type PerpsControllerGetCachedUserDataForActiveProviderAction = {
24
- type: `PerpsController:getCachedUserDataForActiveProvider`;
25
- handler: PerpsController['getCachedUserDataForActiveProvider'];
26
- };
27
- /**
28
- * Initialize the PerpsController providers
29
- * Must be called before using any other methods
30
- * Prevents double initialization with promise caching
31
- *
32
- * @returns A promise that resolves when the operation completes.
33
- */
34
- export type PerpsControllerInitAction = {
35
- type: `PerpsController:init`;
36
- handler: PerpsController['init'];
37
- };
38
- /**
39
- * Get the currently active provider.
40
- * In aggregated mode, returns AggregatedPerpsProvider which routes to underlying providers.
41
- * In single provider mode, returns HyperLiquidProvider directly.
42
- *
43
- * @returns The active provider (aggregated wrapper or direct provider based on mode)
44
- * @throws Error if provider is not initialized or reinitializing
45
- */
46
- export type PerpsControllerGetActiveProviderAction = {
47
- type: `PerpsController:getActiveProvider`;
48
- handler: PerpsController['getActiveProvider'];
49
- };
50
- /**
51
- * Get the currently active provider, returning null if not available
52
- * Use this method when the caller can gracefully handle a missing provider
53
- * (e.g., UI components during initialization or reconnection)
54
- *
55
- * @returns The active provider, or null if not initialized/reinitializing
56
- */
57
- export type PerpsControllerGetActiveProviderOrNullAction = {
58
- type: `PerpsController:getActiveProviderOrNull`;
59
- handler: PerpsController['getActiveProviderOrNull'];
60
- };
61
6
  /**
62
7
  * Place a new order
63
8
  * Thin delegation to TradingService
@@ -123,119 +68,6 @@ export type PerpsControllerClosePositionsAction = {
123
68
  type: `PerpsController:closePositions`;
124
69
  handler: PerpsController['closePositions'];
125
70
  };
126
- /**
127
- * Update TP/SL for an existing position
128
- *
129
- * @param params - The operation parameters.
130
- * @returns The order result from the TP/SL update.
131
- */
132
- export type PerpsControllerUpdatePositionTPSLAction = {
133
- type: `PerpsController:updatePositionTPSL`;
134
- handler: PerpsController['updatePositionTPSL'];
135
- };
136
- /**
137
- * Update margin for an existing position (add or remove)
138
- *
139
- * @param params - The operation parameters.
140
- * @returns The margin update result.
141
- */
142
- export type PerpsControllerUpdateMarginAction = {
143
- type: `PerpsController:updateMargin`;
144
- handler: PerpsController['updateMargin'];
145
- };
146
- /**
147
- * Flip position (reverse direction while keeping size and leverage)
148
- *
149
- * @param params - The operation parameters.
150
- * @returns The order result from the position flip.
151
- */
152
- export type PerpsControllerFlipPositionAction = {
153
- type: `PerpsController:flipPosition`;
154
- handler: PerpsController['flipPosition'];
155
- };
156
- /**
157
- * Simplified deposit method that prepares transaction for confirmation screen
158
- * No complex state tracking - just sets a loading flag
159
- *
160
- * @param params - Parameters for the deposit flow
161
- * @param params.amount - Optional deposit amount
162
- * @param params.placeOrder - If true, uses addTransaction instead of submit to avoid navigation
163
- * @returns An object containing a promise that resolves to the transaction hash.
164
- */
165
- export type PerpsControllerDepositWithConfirmationAction = {
166
- type: `PerpsController:depositWithConfirmation`;
167
- handler: PerpsController['depositWithConfirmation'];
168
- };
169
- /**
170
- * Same as depositWithConfirmation - prepares transaction for confirmation screen.
171
- *
172
- * @returns A promise that resolves to the string result.
173
- */
174
- export type PerpsControllerDepositWithOrderAction = {
175
- type: `PerpsController:depositWithOrder`;
176
- handler: PerpsController['depositWithOrder'];
177
- };
178
- /**
179
- * Clear the last deposit result after it has been shown to the user
180
- */
181
- export type PerpsControllerClearDepositResultAction = {
182
- type: `PerpsController:clearDepositResult`;
183
- handler: PerpsController['clearDepositResult'];
184
- };
185
- export type PerpsControllerClearWithdrawResultAction = {
186
- type: `PerpsController:clearWithdrawResult`;
187
- handler: PerpsController['clearWithdrawResult'];
188
- };
189
- /**
190
- * Update withdrawal request status when it completes, or remove it on failure.
191
- * This is called when a withdrawal is matched with a completed withdrawal from the API.
192
- * When status is `failed`, the request is removed from the queue (not retained).
193
- *
194
- * @param withdrawalId - The withdrawal transaction ID.
195
- * @param status - The current status.
196
- * @param txHash - The transaction hash.
197
- */
198
- export type PerpsControllerUpdateWithdrawalStatusAction = {
199
- type: `PerpsController:updateWithdrawalStatus`;
200
- handler: PerpsController['updateWithdrawalStatus'];
201
- };
202
- /**
203
- * Complete a specific withdrawal detected via transaction history polling (FIFO queue).
204
- * Called when a completed withdrawal appears in the transaction history matching a pending request.
205
- *
206
- * Uses FIFO matching: oldest pending withdrawal is matched with first completed withdrawal
207
- * in history that happened after its submission time.
208
- *
209
- * @param withdrawalRequestId - The ID of the pending withdrawal request to mark as complete.
210
- * @param completedWithdrawal - The completed withdrawal data from the history API.
211
- * @param completedWithdrawal.txHash - The on-chain transaction hash.
212
- * @param completedWithdrawal.amount - The withdrawal amount.
213
- * @param completedWithdrawal.timestamp - The completion timestamp from the history API.
214
- * @param completedWithdrawal.asset - The asset symbol (e.g. USDC).
215
- */
216
- export type PerpsControllerCompleteWithdrawalFromHistoryAction = {
217
- type: `PerpsController:completeWithdrawalFromHistory`;
218
- handler: PerpsController['completeWithdrawalFromHistory'];
219
- };
220
- /**
221
- * Update withdrawal progress (persistent across navigation)
222
- *
223
- * @param progress - The progress indicator.
224
- * @param activeWithdrawalId - The active withdrawal ID.
225
- */
226
- export type PerpsControllerUpdateWithdrawalProgressAction = {
227
- type: `PerpsController:updateWithdrawalProgress`;
228
- handler: PerpsController['updateWithdrawalProgress'];
229
- };
230
- /**
231
- * Get current withdrawal progress
232
- *
233
- * @returns The withdrawal progress, last update timestamp, and active withdrawal ID.
234
- */
235
- export type PerpsControllerGetWithdrawalProgressAction = {
236
- type: `PerpsController:getWithdrawalProgress`;
237
- handler: PerpsController['getWithdrawalProgress'];
238
- };
239
71
  /**
240
72
  * Withdraw funds from trading account
241
73
  *
@@ -353,132 +185,6 @@ export type PerpsControllerGetMarketsAction = {
353
185
  type: `PerpsController:getMarkets`;
354
186
  handler: PerpsController['getMarkets'];
355
187
  };
356
- /**
357
- * Get market data with prices (includes price, volume, 24h change)
358
- *
359
- * For standalone mode, bypasses getActiveProvider() to allow market data queries
360
- * without full perps initialization (e.g., for background preloading on app start)
361
- *
362
- * @param params - The operation parameters.
363
- * @param params.standalone - Whether to use standalone mode.
364
- * @returns A promise that resolves to the market data.
365
- */
366
- export type PerpsControllerGetMarketDataWithPricesAction = {
367
- type: `PerpsController:getMarketDataWithPrices`;
368
- handler: PerpsController['getMarketDataWithPrices'];
369
- };
370
- /**
371
- * Start background market data preloading.
372
- * Fetches market data immediately and refreshes every 5 minutes.
373
- * Watches for isTestnet and hip3ConfigVersion changes to re-preload.
374
- */
375
- export type PerpsControllerStartMarketDataPreloadAction = {
376
- type: `PerpsController:startMarketDataPreload`;
377
- handler: PerpsController['startMarketDataPreload'];
378
- };
379
- /**
380
- * Stop background market data preloading.
381
- */
382
- export type PerpsControllerStopMarketDataPreloadAction = {
383
- type: `PerpsController:stopMarketDataPreload`;
384
- handler: PerpsController['stopMarketDataPreload'];
385
- };
386
- /**
387
- * Get list of available HIP-3 builder-deployed DEXs
388
- *
389
- * @param params - Optional parameters for filtering
390
- * @returns Array of DEX names
391
- */
392
- export type PerpsControllerGetAvailableDexsAction = {
393
- type: `PerpsController:getAvailableDexs`;
394
- handler: PerpsController['getAvailableDexs'];
395
- };
396
- /**
397
- * Fetch historical candle data
398
- * Thin delegation to MarketDataService
399
- *
400
- * @param options - The configuration options.
401
- * @param options.symbol - The trading pair symbol.
402
- * @param options.interval - The candle interval period.
403
- * @param options.limit - Maximum number of items to fetch.
404
- * @param options.endTime - End timestamp in milliseconds.
405
- * @returns The historical candle data for the requested symbol and interval.
406
- */
407
- export type PerpsControllerFetchHistoricalCandlesAction = {
408
- type: `PerpsController:fetchHistoricalCandles`;
409
- handler: PerpsController['fetchHistoricalCandles'];
410
- };
411
- /**
412
- * Calculate liquidation price for a position
413
- * Uses provider-specific formulas based on protocol rules
414
- *
415
- * @param params - The operation parameters.
416
- * @returns A promise that resolves to the string result.
417
- */
418
- export type PerpsControllerCalculateLiquidationPriceAction = {
419
- type: `PerpsController:calculateLiquidationPrice`;
420
- handler: PerpsController['calculateLiquidationPrice'];
421
- };
422
- /**
423
- * Calculate maintenance margin for a specific asset
424
- * Returns a percentage (e.g., 0.0125 for 1.25%)
425
- *
426
- * @param params - The operation parameters.
427
- * @returns A promise that resolves to the numeric result.
428
- */
429
- export type PerpsControllerCalculateMaintenanceMarginAction = {
430
- type: `PerpsController:calculateMaintenanceMargin`;
431
- handler: PerpsController['calculateMaintenanceMargin'];
432
- };
433
- /**
434
- * Get maximum leverage allowed for an asset
435
- *
436
- * @param asset - The asset identifier.
437
- * @returns A promise that resolves to the numeric result.
438
- */
439
- export type PerpsControllerGetMaxLeverageAction = {
440
- type: `PerpsController:getMaxLeverage`;
441
- handler: PerpsController['getMaxLeverage'];
442
- };
443
- /**
444
- * Validate order parameters according to protocol-specific rules
445
- *
446
- * @param params - The operation parameters.
447
- * @returns True if the condition is met.
448
- */
449
- export type PerpsControllerValidateOrderAction = {
450
- type: `PerpsController:validateOrder`;
451
- handler: PerpsController['validateOrder'];
452
- };
453
- /**
454
- * Validate close position parameters according to protocol-specific rules
455
- *
456
- * @param params - The operation parameters.
457
- * @returns A promise that resolves to the result.
458
- */
459
- export type PerpsControllerValidateClosePositionAction = {
460
- type: `PerpsController:validateClosePosition`;
461
- handler: PerpsController['validateClosePosition'];
462
- };
463
- /**
464
- * Validate withdrawal parameters according to protocol-specific rules
465
- *
466
- * @param params - The operation parameters.
467
- * @returns True if the condition is met.
468
- */
469
- export type PerpsControllerValidateWithdrawalAction = {
470
- type: `PerpsController:validateWithdrawal`;
471
- handler: PerpsController['validateWithdrawal'];
472
- };
473
- /**
474
- * Get supported withdrawal routes - returns complete asset and routing information
475
- *
476
- * @returns Array of supported asset routes for withdrawals.
477
- */
478
- export type PerpsControllerGetWithdrawalRoutesAction = {
479
- type: `PerpsController:getWithdrawalRoutes`;
480
- handler: PerpsController['getWithdrawalRoutes'];
481
- };
482
188
  /**
483
189
  * Toggle between testnet and mainnet
484
190
  *
@@ -488,149 +194,6 @@ export type PerpsControllerToggleTestnetAction = {
488
194
  type: `PerpsController:toggleTestnet`;
489
195
  handler: PerpsController['toggleTestnet'];
490
196
  };
491
- /**
492
- * Switch to a different provider
493
- * Uses a full reinit approach: disconnect() → update state → init()
494
- * This ensures complete state reset including WebSocket connections and caches.
495
- *
496
- * @param providerId - The provider identifier.
497
- * @returns The switch result with success status and active provider.
498
- */
499
- export type PerpsControllerSwitchProviderAction = {
500
- type: `PerpsController:switchProvider`;
501
- handler: PerpsController['switchProvider'];
502
- };
503
- /**
504
- * Get current network (mainnet/testnet)
505
- *
506
- * @returns Either 'mainnet' or 'testnet' based on the current configuration.
507
- */
508
- export type PerpsControllerGetCurrentNetworkAction = {
509
- type: `PerpsController:getCurrentNetwork`;
510
- handler: PerpsController['getCurrentNetwork'];
511
- };
512
- /**
513
- * Get the current WebSocket connection state from the active provider.
514
- * Used by the UI to monitor connection health and show notifications.
515
- *
516
- * @returns The current WebSocket connection state, or DISCONNECTED if not supported
517
- */
518
- export type PerpsControllerGetWebSocketConnectionStateAction = {
519
- type: `PerpsController:getWebSocketConnectionState`;
520
- handler: PerpsController['getWebSocketConnectionState'];
521
- };
522
- /**
523
- * Subscribe to WebSocket connection state changes from the active provider.
524
- * The listener will be called immediately with the current state and whenever the state changes.
525
- *
526
- * @param listener - Callback function that receives the new connection state and reconnection attempt
527
- * @returns Unsubscribe function to remove the listener, or no-op if not supported
528
- */
529
- export type PerpsControllerSubscribeToConnectionStateAction = {
530
- type: `PerpsController:subscribeToConnectionState`;
531
- handler: PerpsController['subscribeToConnectionState'];
532
- };
533
- /**
534
- * Manually trigger a WebSocket reconnection attempt.
535
- * Used by the UI retry button when connection is lost.
536
- */
537
- export type PerpsControllerReconnectAction = {
538
- type: `PerpsController:reconnect`;
539
- handler: PerpsController['reconnect'];
540
- };
541
- /**
542
- * Subscribe to live price updates
543
- *
544
- * @param params - The operation parameters.
545
- * @returns A cleanup function to remove the subscription.
546
- */
547
- export type PerpsControllerSubscribeToPricesAction = {
548
- type: `PerpsController:subscribeToPrices`;
549
- handler: PerpsController['subscribeToPrices'];
550
- };
551
- /**
552
- * Subscribe to live position updates
553
- *
554
- * @param params - The operation parameters.
555
- * @returns A cleanup function to remove the subscription.
556
- */
557
- export type PerpsControllerSubscribeToPositionsAction = {
558
- type: `PerpsController:subscribeToPositions`;
559
- handler: PerpsController['subscribeToPositions'];
560
- };
561
- /**
562
- * Subscribe to live order fill updates
563
- *
564
- * @param params - The operation parameters.
565
- * @returns A cleanup function to remove the subscription.
566
- */
567
- export type PerpsControllerSubscribeToOrderFillsAction = {
568
- type: `PerpsController:subscribeToOrderFills`;
569
- handler: PerpsController['subscribeToOrderFills'];
570
- };
571
- /**
572
- * Subscribe to live order updates
573
- *
574
- * @param params - The operation parameters.
575
- * @returns A cleanup function to remove the subscription.
576
- */
577
- export type PerpsControllerSubscribeToOrdersAction = {
578
- type: `PerpsController:subscribeToOrders`;
579
- handler: PerpsController['subscribeToOrders'];
580
- };
581
- /**
582
- * Subscribe to live account updates.
583
- * Updates controller state (Redux) when new account data arrives so consumers
584
- * like usePerpsBalanceTokenFilter (PayWithModal) see the latest balance.
585
- *
586
- * @param params - The operation parameters.
587
- * @returns A cleanup function to remove the subscription.
588
- */
589
- export type PerpsControllerSubscribeToAccountAction = {
590
- type: `PerpsController:subscribeToAccount`;
591
- handler: PerpsController['subscribeToAccount'];
592
- };
593
- /**
594
- * Subscribe to full order book updates with multiple depth levels
595
- * Creates a dedicated L2Book subscription for real-time order book data
596
- *
597
- * @param params - The operation parameters.
598
- * @returns A cleanup function to remove the subscription.
599
- */
600
- export type PerpsControllerSubscribeToOrderBookAction = {
601
- type: `PerpsController:subscribeToOrderBook`;
602
- handler: PerpsController['subscribeToOrderBook'];
603
- };
604
- /**
605
- * Subscribe to live candle updates
606
- *
607
- * @param params - The operation parameters.
608
- * @returns A cleanup function to remove the subscription.
609
- */
610
- export type PerpsControllerSubscribeToCandlesAction = {
611
- type: `PerpsController:subscribeToCandles`;
612
- handler: PerpsController['subscribeToCandles'];
613
- };
614
- /**
615
- * Subscribe to open interest cap updates
616
- * Zero additional network overhead - data comes from existing webData3 subscription
617
- *
618
- * @param params - The operation parameters.
619
- * @returns A cleanup function to remove the subscription.
620
- */
621
- export type PerpsControllerSubscribeToOICapsAction = {
622
- type: `PerpsController:subscribeToOICaps`;
623
- handler: PerpsController['subscribeToOICaps'];
624
- };
625
- /**
626
- * Configure live data throttling
627
- *
628
- * @param config - The configuration object.
629
- */
630
- export type PerpsControllerSetLiveDataConfigAction = {
631
- type: `PerpsController:setLiveDataConfig`;
632
- handler: PerpsController['setLiveDataConfig'];
633
- };
634
197
  /**
635
198
  * Calculate trading fees for the active provider
636
199
  * Each provider implements its own fee structure
@@ -673,25 +236,6 @@ export type PerpsControllerRefreshEligibilityAction = {
673
236
  type: `PerpsController:refreshEligibility`;
674
237
  handler: PerpsController['refreshEligibility'];
675
238
  };
676
- /**
677
- * Get block explorer URL for an address or just the base URL
678
- *
679
- * @param address - Optional address to append to the base URL
680
- * @returns Block explorer URL
681
- */
682
- export type PerpsControllerGetBlockExplorerUrlAction = {
683
- type: `PerpsController:getBlockExplorerUrl`;
684
- handler: PerpsController['getBlockExplorerUrl'];
685
- };
686
- /**
687
- * Check if user is first-time for the current network
688
- *
689
- * @returns True if the condition is met.
690
- */
691
- export type PerpsControllerIsFirstTimeUserOnCurrentNetworkAction = {
692
- type: `PerpsController:isFirstTimeUserOnCurrentNetwork`;
693
- handler: PerpsController['isFirstTimeUserOnCurrentNetwork'];
694
- };
695
239
  /**
696
240
  * Mark that the user has completed the tutorial/onboarding
697
241
  * This prevents the tutorial from showing again
@@ -839,46 +383,8 @@ export type PerpsControllerSaveOrderBookGroupingAction = {
839
383
  type: `PerpsController:saveOrderBookGrouping`;
840
384
  handler: PerpsController['saveOrderBookGrouping'];
841
385
  };
842
- /**
843
- * Toggle watchlist status for a market
844
- * Watchlist markets are stored per network (testnet/mainnet)
845
- *
846
- * @param symbol - The trading pair symbol.
847
- */
848
- export type PerpsControllerToggleWatchlistMarketAction = {
849
- type: `PerpsController:toggleWatchlistMarket`;
850
- handler: PerpsController['toggleWatchlistMarket'];
851
- };
852
- /**
853
- * Check if a market is in the watchlist on the current network
854
- *
855
- * @param symbol - The trading pair symbol.
856
- * @returns True if the condition is met.
857
- */
858
- export type PerpsControllerIsWatchlistMarketAction = {
859
- type: `PerpsController:isWatchlistMarket`;
860
- handler: PerpsController['isWatchlistMarket'];
861
- };
862
- /**
863
- * Get all watchlist markets for the current network
864
- *
865
- * @returns The resulting string value.
866
- */
867
- export type PerpsControllerGetWatchlistMarketsAction = {
868
- type: `PerpsController:getWatchlistMarkets`;
869
- handler: PerpsController['getWatchlistMarkets'];
870
- };
871
- /**
872
- * Check if the controller is currently reinitializing
873
- *
874
- * @returns true if providers are being reinitialized
875
- */
876
- export type PerpsControllerIsCurrentlyReinitializingAction = {
877
- type: `PerpsController:isCurrentlyReinitializing`;
878
- handler: PerpsController['isCurrentlyReinitializing'];
879
- };
880
386
  /**
881
387
  * Union of all PerpsController action types.
882
388
  */
883
- export type PerpsControllerMethodActions = PerpsControllerGetCachedMarketDataForActiveProviderAction | PerpsControllerGetCachedUserDataForActiveProviderAction | PerpsControllerInitAction | PerpsControllerGetActiveProviderAction | PerpsControllerGetActiveProviderOrNullAction | PerpsControllerPlaceOrderAction | PerpsControllerEditOrderAction | PerpsControllerCancelOrderAction | PerpsControllerCancelOrdersAction | PerpsControllerClosePositionAction | PerpsControllerClosePositionsAction | PerpsControllerUpdatePositionTPSLAction | PerpsControllerUpdateMarginAction | PerpsControllerFlipPositionAction | PerpsControllerDepositWithConfirmationAction | PerpsControllerDepositWithOrderAction | PerpsControllerClearDepositResultAction | PerpsControllerClearWithdrawResultAction | PerpsControllerUpdateWithdrawalStatusAction | PerpsControllerCompleteWithdrawalFromHistoryAction | PerpsControllerUpdateWithdrawalProgressAction | PerpsControllerGetWithdrawalProgressAction | PerpsControllerWithdrawAction | PerpsControllerGetPositionsAction | PerpsControllerGetOrderFillsAction | PerpsControllerGetOrdersAction | PerpsControllerGetOpenOrdersAction | PerpsControllerGetFundingAction | PerpsControllerGetAccountStateAction | PerpsControllerGetHistoricalPortfolioAction | PerpsControllerGetMarketsAction | PerpsControllerGetMarketDataWithPricesAction | PerpsControllerStartMarketDataPreloadAction | PerpsControllerStopMarketDataPreloadAction | PerpsControllerGetAvailableDexsAction | PerpsControllerFetchHistoricalCandlesAction | PerpsControllerCalculateLiquidationPriceAction | PerpsControllerCalculateMaintenanceMarginAction | PerpsControllerGetMaxLeverageAction | PerpsControllerValidateOrderAction | PerpsControllerValidateClosePositionAction | PerpsControllerValidateWithdrawalAction | PerpsControllerGetWithdrawalRoutesAction | PerpsControllerToggleTestnetAction | PerpsControllerSwitchProviderAction | PerpsControllerGetCurrentNetworkAction | PerpsControllerGetWebSocketConnectionStateAction | PerpsControllerSubscribeToConnectionStateAction | PerpsControllerReconnectAction | PerpsControllerSubscribeToPricesAction | PerpsControllerSubscribeToPositionsAction | PerpsControllerSubscribeToOrderFillsAction | PerpsControllerSubscribeToOrdersAction | PerpsControllerSubscribeToAccountAction | PerpsControllerSubscribeToOrderBookAction | PerpsControllerSubscribeToCandlesAction | PerpsControllerSubscribeToOICapsAction | PerpsControllerSetLiveDataConfigAction | PerpsControllerCalculateFeesAction | PerpsControllerDisconnectAction | PerpsControllerStartEligibilityMonitoringAction | PerpsControllerStopEligibilityMonitoringAction | PerpsControllerRefreshEligibilityAction | PerpsControllerGetBlockExplorerUrlAction | PerpsControllerIsFirstTimeUserOnCurrentNetworkAction | PerpsControllerMarkTutorialCompletedAction | PerpsControllerMarkFirstOrderCompletedAction | PerpsControllerResetFirstTimeUserStateAction | PerpsControllerClearPendingTransactionRequestsAction | PerpsControllerGetTradeConfigurationAction | PerpsControllerSaveTradeConfigurationAction | PerpsControllerSavePendingTradeConfigurationAction | PerpsControllerGetPendingTradeConfigurationAction | PerpsControllerClearPendingTradeConfigurationAction | PerpsControllerGetMarketFilterPreferencesAction | PerpsControllerSaveMarketFilterPreferencesAction | PerpsControllerSetSelectedPaymentTokenAction | PerpsControllerResetSelectedPaymentTokenAction | PerpsControllerGetOrderBookGroupingAction | PerpsControllerSaveOrderBookGroupingAction | PerpsControllerToggleWatchlistMarketAction | PerpsControllerIsWatchlistMarketAction | PerpsControllerGetWatchlistMarketsAction | PerpsControllerIsCurrentlyReinitializingAction;
389
+ export type PerpsControllerMethodActions = PerpsControllerPlaceOrderAction | PerpsControllerEditOrderAction | PerpsControllerCancelOrderAction | PerpsControllerCancelOrdersAction | PerpsControllerClosePositionAction | PerpsControllerClosePositionsAction | PerpsControllerWithdrawAction | PerpsControllerGetPositionsAction | PerpsControllerGetOrderFillsAction | PerpsControllerGetOrdersAction | PerpsControllerGetOpenOrdersAction | PerpsControllerGetFundingAction | PerpsControllerGetAccountStateAction | PerpsControllerGetHistoricalPortfolioAction | PerpsControllerGetMarketsAction | PerpsControllerToggleTestnetAction | PerpsControllerCalculateFeesAction | PerpsControllerDisconnectAction | PerpsControllerStartEligibilityMonitoringAction | PerpsControllerStopEligibilityMonitoringAction | PerpsControllerRefreshEligibilityAction | PerpsControllerMarkTutorialCompletedAction | PerpsControllerMarkFirstOrderCompletedAction | PerpsControllerResetFirstTimeUserStateAction | PerpsControllerClearPendingTransactionRequestsAction | PerpsControllerGetTradeConfigurationAction | PerpsControllerSaveTradeConfigurationAction | PerpsControllerSavePendingTradeConfigurationAction | PerpsControllerGetPendingTradeConfigurationAction | PerpsControllerClearPendingTradeConfigurationAction | PerpsControllerGetMarketFilterPreferencesAction | PerpsControllerSaveMarketFilterPreferencesAction | PerpsControllerSetSelectedPaymentTokenAction | PerpsControllerResetSelectedPaymentTokenAction | PerpsControllerGetOrderBookGroupingAction | PerpsControllerSaveOrderBookGroupingAction;
884
390
  //# sourceMappingURL=PerpsController-method-action-types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PerpsController-method-action-types.d.mts","sourceRoot":"","sources":["../src/PerpsController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,8BAA0B;AAEzD;;;;;GAKG;AACH,MAAM,MAAM,yDAAyD,GAAG;IACtE,IAAI,EAAE,sDAAsD,CAAC;IAC7D,OAAO,EAAE,eAAe,CAAC,sCAAsC,CAAC,CAAC;CAClE,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,uDAAuD,GAAG;IACpE,IAAI,EAAE,oDAAoD,CAAC;IAC3D,OAAO,EAAE,eAAe,CAAC,oCAAoC,CAAC,CAAC;CAChE,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,sBAAsB,CAAC;IAC7B,OAAO,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,sCAAsC,GAAG;IACnD,IAAI,EAAE,mCAAmC,CAAC;IAC1C,OAAO,EAAE,eAAe,CAAC,mBAAmB,CAAC,CAAC;CAC/C,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,4CAA4C,GAAG;IACzD,IAAI,EAAE,yCAAyC,CAAC;IAChD,OAAO,EAAE,eAAe,CAAC,yBAAyB,CAAC,CAAC;CACr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GAC/B,+CAA+C,GAC/C,8CAA8C,GAC9C,uCAAuC,GACvC,wCAAwC,GACxC,oDAAoD,GACpD,0CAA0C,GAC1C,4CAA4C,GAC5C,4CAA4C,GAC5C,oDAAoD,GACpD,0CAA0C,GAC1C,2CAA2C,GAC3C,kDAAkD,GAClD,iDAAiD,GACjD,mDAAmD,GACnD,+CAA+C,GAC/C,gDAAgD,GAChD,4CAA4C,GAC5C,8CAA8C,GAC9C,yCAAyC,GACzC,0CAA0C,GAC1C,0CAA0C,GAC1C,sCAAsC,GACtC,wCAAwC,GACxC,8CAA8C,CAAC"}
1
+ {"version":3,"file":"PerpsController-method-action-types.d.mts","sourceRoot":"","sources":["../src/PerpsController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,8BAA0B;AAEzD;;;;;;GAMG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C,IAAI,EAAE,4BAA4B,CAAC;IACnC,OAAO,EAAE,eAAe,CAAC,YAAY,CAAC,CAAC;CACxC,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C,IAAI,EAAE,2BAA2B,CAAC;IAClC,OAAO,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;CACvC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,gCAAgC,GAAG;IAC7C,IAAI,EAAE,6BAA6B,CAAC;IACpC,OAAO,EAAE,eAAe,CAAC,aAAa,CAAC,CAAC;CACzC,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C,IAAI,EAAE,8BAA8B,CAAC;IACrC,OAAO,EAAE,eAAe,CAAC,cAAc,CAAC,CAAC;CAC1C,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,kCAAkC,GAAG;IAC/C,IAAI,EAAE,+BAA+B,CAAC;IACtC,OAAO,EAAE,eAAe,CAAC,eAAe,CAAC,CAAC;CAC3C,C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