@metamask-previews/perps-controller 17.4.0-preview-fb486948f → 17.4.0-preview-4f1bba2bd
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/CHANGELOG.md +60 -0
- package/dist/PerpsController-method-action-types.d.ts +10 -3
- package/dist/PerpsController-method-action-types.d.ts.map +1 -1
- package/dist/PerpsController-method-action-types.js.map +1 -1
- package/dist/PerpsController.d.ts +10 -3
- package/dist/PerpsController.d.ts.map +1 -1
- package/dist/PerpsController.js +62 -8
- package/dist/PerpsController.js.map +1 -1
- package/dist/constants/perpsConfig.d.ts +55 -0
- package/dist/constants/perpsConfig.d.ts.map +1 -1
- package/dist/constants/perpsConfig.js +55 -0
- package/dist/constants/perpsConfig.js.map +1 -1
- package/dist/providers/AggregatedPerpsProvider.d.ts +19 -0
- package/dist/providers/AggregatedPerpsProvider.d.ts.map +1 -1
- package/dist/providers/AggregatedPerpsProvider.js +21 -0
- package/dist/providers/AggregatedPerpsProvider.js.map +1 -1
- package/dist/providers/HyperLiquidProvider.d.ts +7 -0
- package/dist/providers/HyperLiquidProvider.d.ts.map +1 -1
- package/dist/providers/HyperLiquidProvider.js +133 -34
- package/dist/providers/HyperLiquidProvider.js.map +1 -1
- package/dist/providers/LighterProvider.d.ts.map +1 -1
- package/dist/providers/LighterProvider.js +2 -0
- package/dist/providers/LighterProvider.js.map +1 -1
- package/dist/services/MarketDataService.d.ts.map +1 -1
- package/dist/services/MarketDataService.js +16 -4
- package/dist/services/MarketDataService.js.map +1 -1
- package/dist/services/RewardsIntegrationService.d.ts +47 -2
- package/dist/services/RewardsIntegrationService.d.ts.map +1 -1
- package/dist/services/RewardsIntegrationService.js +400 -19
- package/dist/services/RewardsIntegrationService.js.map +1 -1
- package/dist/services/ServiceContext.d.ts +9 -1
- package/dist/services/ServiceContext.d.ts.map +1 -1
- package/dist/services/ServiceContext.js.map +1 -1
- package/dist/services/TradingService.d.ts.map +1 -1
- package/dist/services/TradingService.js +291 -18
- package/dist/services/TradingService.js.map +1 -1
- package/dist/types/index.d.ts +57 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/messenger.d.ts +17 -1
- package/dist/types/messenger.d.ts.map +1 -1
- package/dist/types/messenger.js.map +1 -1
- package/dist/utils/hyperLiquidAdapter.d.ts +7 -0
- package/dist/utils/hyperLiquidAdapter.d.ts.map +1 -1
- package/dist/utils/hyperLiquidAdapter.js +1 -1
- package/dist/utils/hyperLiquidAdapter.js.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/subscriptionFeeWaiver.d.ts +201 -0
- package/dist/utils/subscriptionFeeWaiver.d.ts.map +1 -0
- package/dist/utils/subscriptionFeeWaiver.js +334 -0
- package/dist/utils/subscriptionFeeWaiver.js.map +1 -0
- package/package.json +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,66 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Add optional `subscriptionWaiverKind` (`'full' | 'partial'`) and `subscriptionCoveredNotionalUsd` fields to `PerpsFeeResolution`, reporting how much of an order the subscription allowance covered. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
13
|
+
- Add the `perpsSubscriptionFeeWaiverEnabled` remote feature flag, which disables the subscription fee source on its own without affecting rewards or the default builder fee. An absent or malformed flag reads as enabled. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
14
|
+
- Export the subscription fee-waiver helpers from the `utils` barrel, including `hasFeeReductionAppliedFlag` and `isSubscriptionProgramCloid` for decoding a marked client order ID, and add an exact `./utils` subpath export so the barrel is importable as `@metamask/perps-controller/utils`. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
15
|
+
- Add an optional `chargesMetamaskBuilderFee` field to `FeeCalculationResult`, which reports whether a placement can carry a MetaMask builder fee at all. A `metamaskFeeRate` of `0` is otherwise ambiguous between a venue or order type that has no builder field and a fully waived fee. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
16
|
+
- Add an optional `registerTradingAddress` hook to the injected `subscription` dependency, for registering the current HyperLiquid trading address (CAIP-10) against the subscription profile. The injected hook remains a fallback for clients that do not provide `SubscriptionController:registerAddress`. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- **BREAKING:** `PerpsControllerAllowedActions` now includes `SubscriptionController:getBenefits` and the structural `SubscriptionController:registerAddress` action, so benefits hydration can run over the action `@metamask/subscription-controller` already exposes. Its micro-USD allowances are converted to USD at the boundary. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
21
|
+
- This is a type break for every client, including clients that do not register the action. `Messenger` requires each child action to exist in the parent action union, so a strict parent messenger type must include both action types before it will build; the registration handler accepts a CAIP-10 string and returns `Promise<void>`. Runtime behavior is unchanged for those clients — an unregistered action falls back to the injected `subscription` dependency — but the build does not pass without the type. Coordinate the Mobile and Extension messenger updates with this release.
|
|
22
|
+
- **BREAKING:** `PerpsController.calculateFees` now quotes the subscription fee waiver as a blended rate derived from the order notional, so `feeRate`, `feeAmount`, `metamaskFeeRate`, and `metamaskFeeAmount` can differ from previous releases when a subscription waiver applies. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
23
|
+
- Pass the order notional (USD) as `FeeCalculationParams.amount`. It is now required for quote/submit parity, and omitting it changes the quote rather than preserving the previous one: a waiver whose remaining allowance is bounded is withheld entirely from a quote with no notional, so the preview reports the next-lowest source while a submit that can derive a notional still applies the waiver. A waiver with no reported allowance bound is unaffected.
|
|
24
|
+
- Quoted rates are also repriced when rewards win, not only under a subscription waiver, and are quantized to the venue's tenths of a basis point so a quote equals the charged rate.
|
|
25
|
+
- Resolve the subscription fee waiver as `0` bips when the remaining allowance covers the order notional and `MaxFee × (1 − remaining / orderNotional)` otherwise, and let that rate compete in the lowest-fee comparison — a partial waiver can now lose to a VIP or season discount. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
26
|
+
- Mark the order's client order ID with the subscription program marker and a `fee_reduction_applied` flag on every placement, replace, TP/SL, batch-close, modify, and chase path when the subscription source wins and actually reduced the fee. Any other fee source leaves the client order ID untouched, as does a subscription waiver whose remaining allowance is too small to change the charged fee. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
27
|
+
- A client order ID supplied by the caller through `OrderParams.clientOrderId` is never rewritten, so such orders are submitted exactly as requested and are not attributed to the subscription program. Only client order IDs this package generates carry the marking, and that provenance is tracked explicitly rather than inferred from the ID's leading bytes — a caller-supplied ID beginning with a reserved marker is still preserved.
|
|
28
|
+
- Scale-ladder client order IDs keep their own group marker and rung index, so group recovery and cancel-by-client-order-ID are unaffected. A ladder's reserved flag byte is set when the waiver applies, but `hasFeeReductionAppliedFlag` does not report it — see the Fixed entry below. Scale fills and fills on caller-supplied client order IDs therefore receive the discount without a decodable marker; attributing them needs a correlation other than the client order ID.
|
|
29
|
+
- The subscription program marker is the registered id `0x0100`, zero-extended into the 4-byte marker field.
|
|
30
|
+
- Register the current HyperLiquid trading address with the subscription profile during `calculateFees`, and re-register it after the selected account changes. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
31
|
+
- The CAIP-10 identifier names HyperLiquid's own chain (`eip155:999`, or `eip155:998` on testnet), not the wallet's currently selected network, so it matches the chain a fill decoded off the HyperLiquid fan-out reports.
|
|
32
|
+
|
|
33
|
+
### Deprecated
|
|
34
|
+
|
|
35
|
+
- Deprecate `PerpsController.approveSubscriptionBuilderFee`, `PerpsProvider.approveSubscriptionBuilderFee`, and the dedicated subscription builder address configuration. Subscription attribution now rides on the order's client order ID rather than a separate approved builder, so the controller method is a no-op that always resolves `true` — nothing needs approving, and a `false` would read as a setup failure to a caller that branches on it. The provider-side approval machinery is retained but unreachable from order construction. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
36
|
+
|
|
37
|
+
### Fixed
|
|
38
|
+
|
|
39
|
+
- Report `source: 'subscription'` only when the waiver survives the venue's fee quantization. The builder fee is submitted in integer tenths of a basis point, so a blend a fraction below the default rounds to the same charge; such an order was labelled as subscription-sourced with a `0` bips discount while paying full price, disagreeing with the client order ID, which already withheld its marking in that case. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
40
|
+
- Leave a fee tie to the source that already holds it, rather than claiming it for the subscription waiver. A blend that merely matched the winning rate — a 5-bip blend against a 5-bip VIP discount, or a full waiver against a rewards rate already at `0` — was reported as `source: 'subscription'`, which marks the client order ID and spends the remaining allowance without making the order any cheaper. The waiver now has to be strictly cheaper at venue precision to win. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
41
|
+
- Reprice a quote whose `metamaskFeeRate` reads `0` because a concurrent fully waived submit left that rate in provider state. An ordinary preview racing such a submit inherited the other order's waiver and quoted no MetaMask fee; the provider's own builder-fee policy now distinguishes that from a placement that genuinely carries no fee. Repricing a `0` rate is opt-in: a provider that does not report `chargesMetamaskBuilderFee` keeps its own rate, so a `PerpsProvider` implementation written before that field existed cannot gain a MetaMask fee it does not charge. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
42
|
+
- Reject client order IDs that match the subscription program marker and length but contain non-hex characters from `isSubscriptionProgramCloid`, which no longer treats such a value as a marked ID. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
43
|
+
- Trust the `fee_reduction_applied` flag only on a client order ID carrying the subscription program marker. The flag byte occupies a position that held random entropy in Scale-ladder client order IDs placed before this release, so reading it on any other client order ID reports roughly half of those historical ladders as fee-waived. As a result `hasFeeReductionAppliedFlag` returns `false` for a marked Scale rung, which keeps its own group marker; Scale attribution needs a correlation other than the client order ID. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
44
|
+
- Mark the client order ID of every chase replacement when the chase was placed under a subscription waiver. The marking read the live fee resolution, which the trading service clears as soon as the initial placement returns, so a replacement paid the discounted fee the session captured while shipping an unmarked ID. The decision is now captured with the session's builder fee, for the same reason. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
45
|
+
- Withhold the subscription waiver when the allowance is bounded and the order notional cannot be determined. Such an order previously resolved as a full waiver, charging nothing on an order of unknown size and over-consuming the allowance. An unbounded allowance is unaffected. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
46
|
+
- Price a batch close from the positions of the provider that submits it. The notional previously summed every aggregated provider's positions, while the batch routes to one, which could inflate the notional and shrink the waiver. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
47
|
+
- Honor `closeAll` ahead of `symbols` when pricing a batch close, matching the provider's own selection precedence. A `closeAll` request that also carried a symbol list was priced from the filtered subset while the batch closed every position, so the waiver was granted against a smaller notional than the order submitted. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
48
|
+
- Price a partial TP/SL update from the trigger size it submits rather than the whole position. `takeProfitSize` and `stopLossSize` are honored by the provider, so a partial trigger on a large position was priced against the full position notional and blended a fee on an order the remaining allowance covered outright. The larger of the two sizes prices the action, since both triggers are submitted under one builder context. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
49
|
+
- Price each TP/SL trigger from its own price and absolute size, using the full position size when a trigger size is omitted. If any included trigger cannot be priced, withhold a bounded waiver for the batch. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
50
|
+
- Discard a trading-address registration whose profile was invalidated while it was in flight. The completion previously cached the address regardless, so a new profile reusing that address skipped its own registration and left its fills unattributable. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
51
|
+
- Preserve a cached benefits snapshot when a registered `SubscriptionController:getBenefits` handler rejects or throws synchronously and no injected `subscription` dependency exists to fall back to. The rejection was previously swallowed and stored as a successful "no subscription" result, erasing a waiver the user was still entitled to. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
52
|
+
- Drop a cached subscription waiver when `SubscriptionController:getBenefits` reports the profile is not subscribed. That rejection is a definitive answer rather than a failed read — the controller clears its own benefits state on the same path — so preserving the cached snapshot kept granting the waiver for the rest of the staleness window after entitlement ended. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
53
|
+
- Stop marking the client order ID of an order edit. HyperLiquid's `modify` action carries no builder field, so no MetaMask fee is charged on it, and marking reported a fee reduction on an order that paid nothing. The replacement inherits the resting order's own attribution. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
54
|
+
- Price a trigger placement (stop or take-profit) from its trigger price. Such an order carries no limit price, so its notional could not be derived and a bounded waiver was withheld from an order the provider prices later. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
55
|
+
- Price a Scale ladder from the midpoint of `scaleMinPrice` and `scaleMaxPrice`. A Scale placement states no single price, so its notional could not be derived and a bounded waiver was withheld at submit after a preview that quoted one. A stated `usdAmount` still takes precedence. Chase and TWAP placements state no price at all and remain priced from `usdAmount` or the quoted market price. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
56
|
+
- Read the subscription metadata attached to a fee preview from the same resolution as the quoted rates. They were two separate reads, so a cache invalidation or feature-flag change between them could return metadata describing a waiver the rates did not reflect. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
57
|
+
- Require positive evidence of a perps benefit before granting the waiver. `products.perps` is always present on the benefits response, so its existence proved nothing: a profile eligible for other products but carrying no perps builder fee, allowance or cap was granted an unbounded full waiver. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
58
|
+
- Reject a malformed client order ID in `hasFeeReductionAppliedFlag` and `readSubscriptionCloidFlags`. Only length and prefix were validated, so a flag byte such as `1z` parsed as `1` and reported the order as fee-reduced. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
59
|
+
- Leave quoted fee amounts untouched when the supplied order notional is zero or negative. Such a value is not an order size and previously produced negative `feeAmount` and `metamaskFeeAmount` figures. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
60
|
+
- Distinguish an unregistered benefits action from a handler that throws on its first call. The latter was treated as the former and cached as a successful "no subscription" result. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
61
|
+
- Reprice a fee preview to the undiscounted builder fee when the default source wins, rather than returning the provider's own rate. The provider's rate reflects the discount the last submit pushed into it, so a concurrent order could leak its discount into an unrelated quote. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
62
|
+
- Price a take-profit/stop-loss update from the position read back through the routed provider when the caller supplies neither a position snapshot nor tracking data. Both are optional, and a bounded waiver is withheld without a notional, so a valid update silently lost the waiver. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
63
|
+
- Price a close from the position the write can actually reach. A close read positions across every active provider and matched on symbol alone, so in aggregated mode a batch close summed positions it could not close, and a routed single close could price another provider's position for the same symbol. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
64
|
+
- Quantize the previewed MetaMask builder fee to the venue's tenths of a basis point, matching what submit charges. A blended rate of 6.667 bips was previously quoted as 6.667 and charged as 6.6. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
65
|
+
- Hydrate subscription benefits for a client that registers `SubscriptionController:getBenefits` without also injecting the optional `subscription` dependency. Both the eligibility read and the benefits refresh previously required the injected dependency, so a client adopting only the controller action always resolved as having no subscription source and never received a waiver. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
66
|
+
- Price a position close from the loaded position when the close parameters do not carry a notional. A full close commonly passes only a symbol, which previously resolved as an unbounded waiver rather than blending against the position's value; a partial close is now priced from the position's value per unit. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
67
|
+
- Resolve the subscription fee waiver against the order notional on the submit path, not just in previews. Order placement, order edits, position closes, batch closes, take-profit/stop-loss updates, and position flips previously resolved the waiver with no notional, so a bounded allowance always resolved as a full waiver — an order was quoted a blended rate and then charged nothing, over-consuming the allowance and marking its client order ID as fully waived. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
68
|
+
- Register the newly selected trading address immediately on an account switch. Clearing the session's registrations alone only re-registered on the next fee preview, so an order submitted straight after a switch went unattributed. ([#10294](https://github.com/MetaMask/core/pull/10294))
|
|
69
|
+
|
|
10
70
|
## [17.4.0]
|
|
11
71
|
|
|
12
72
|
### Added
|
|
@@ -831,10 +831,17 @@ export type PerpsControllerCalculateFeesAction = {
|
|
|
831
831
|
};
|
|
832
832
|
/**
|
|
833
833
|
* Approve the dedicated subscription builder outside order submission.
|
|
834
|
-
* Until this succeeds, subscription waivers fall back to the ordinary
|
|
835
|
-
* builder at the standard fee.
|
|
836
834
|
*
|
|
837
|
-
* @
|
|
835
|
+
* @deprecated ADR 0064 replaced the dedicated subscription builder with cloid
|
|
836
|
+
* marking on the standard builder, so there is nothing left to approve. Kept
|
|
837
|
+
* as a no-op so clients still calling it keep building while they migrate;
|
|
838
|
+
* remove it once cloid marking is verified in shadow mode.
|
|
839
|
+
*
|
|
840
|
+
* Resolves `true`, not `false`. The method answers "is the subscription
|
|
841
|
+
* builder ready?", and the honest answer is now "nothing needs approving" —
|
|
842
|
+
* a `false` would read as a setup failure to a caller that branches on it and
|
|
843
|
+
* could block a waiver that is already fully in effect.
|
|
844
|
+
* @returns Always `true`; no approval is required.
|
|
838
845
|
*/
|
|
839
846
|
export type PerpsControllerApproveSubscriptionBuilderFeeAction = {
|
|
840
847
|
type: `PerpsController:approveSubscriptionBuilderFee`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PerpsController-method-action-types.d.ts","sourceRoot":"","sources":["../src/PerpsController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;;;;;;;;GASG;AACH,MAAM,MAAM,yDAAyD,GAAG;IACtE,IAAI,EAAE,sDAAsD,CAAC;IAC7D,OAAO,EAAE,eAAe,CAAC,sCAAsC,CAAC,CAAC;CAClE,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,MAAM,uDAAuD,GAAG;IACpE,IAAI,EAAE,oDAAoD,CAAC;I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tC,yCAAyC,GACzC,0CAA0C,GAC1C,0CAA0C,GAC1C,sCAAsC,GACtC,uCAAuC,GACvC,yCAAyC,GACzC,uCAAuC,GACvC,sCAAsC,GACtC,sCAAsC,GACtC,kCAAkC,GAClC,kDAAkD,GAClD,mDAAmD,GACnD,+BAA+B,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,mCAAmC,GACnC,mCAAmC,GACnC,4CAA4C,GAC5C,4CAA4C,GAC5C,yCAAyC,GACzC,yCAAyC,GACzC,0CAA0C,GAC1C,0CAA0C,GAC1C,4CAA4C,GAC5C,4CAA4C,GAC5C,iCAAiC,GACjC,4CAA4C,GAC5C,8CAA8C,GAC9C,yCAAyC,GACzC,0CAA0C,GAC1C,0CAA0C,GAC1C,sCAAsC,GACtC,wCAAwC,GACxC,uCAAuC,GACvC,6CAA6C,GAC7C,8CAA8C,CAAC"}
|
|
1
|
+
{"version":3,"file":"PerpsController-method-action-types.d.ts","sourceRoot":"","sources":["../src/PerpsController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;;;;;;;;GASG;AACH,MAAM,MAAM,yDAAyD,GAAG;IACtE,IAAI,EAAE,sDAAsD,CAAC;IAC7D,OAAO,EAAE,eAAe,CAAC,sCAAsC,CAAC,CAAC;CAClE,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,MAAM,uDAAuD,GAAG;IACpE,IAAI,EAAE,oDAAoD,CAAC;IAC3D,OAAO,EAAE,eAAe,CAAC,oCAAoC,CAAC,CAAC;CAChE,CAAC;AAEF;;;;;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CAAuC,GACvC,yCAAyC,GACzC,uCAAuC,GACvC,sCAAsC,GACtC,sCAAsC,GACtC,kCAAkC,GAClC,kDAAkD,GAClD,mDAAmD,GACnD,+BAA+B,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,mCAAmC,GACnC,mCAAmC,GACnC,4CAA4C,GAC5C,4CAA4C,GAC5C,yCAAyC,GACzC,yCAAyC,GACzC,0CAA0C,GAC1C,0CAA0C,GAC1C,4CAA4C,GAC5C,4CAA4C,GAC5C,iCAAiC,GACjC,4CAA4C,GAC5C,8CAA8C,GAC9C,yCAAyC,GACzC,0CAA0C,GAC1C,0CAA0C,GAC1C,sCAAsC,GACtC,wCAAwC,GACxC,uCAAuC,GACvC,6CAA6C,GAC7C,8CAA8C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PerpsController-method-action-types.js","sourceRoot":"","sources":["../src/PerpsController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { PerpsController } from './PerpsController.js';\n\n/**\n * Read cached market data for the currently active provider (or aggregated).\n * Returns null when no valid cache exists or when cache has expired.\n *\n * @param options - Optional settings.\n * @param options.skipTTL - When true, bypass the 5-minute TTL check.\n * Used during initial render so disk-hydrated structural data (with\n * placeholder prices) is returned regardless of age.\n * @returns The cached market data array, or null if no valid cache.\n */\nexport type PerpsControllerGetCachedMarketDataForActiveProviderAction = {\n type: `PerpsController:getCachedMarketDataForActiveProvider`;\n handler: PerpsController['getCachedMarketDataForActiveProvider'];\n};\n\n/**\n * Read cached user data for the currently active provider (or aggregated).\n * Returns null when no valid cache exists, cache has expired, or address\n * does not match the currently selected EVM account.\n *\n * @param options - Optional settings.\n * @param options.skipTTL - When true, bypass the 60s staleness check.\n * Used during initial render so disk-hydrated user data (positions/orders)\n * is returned regardless of age, avoiding a skeleton flash.\n * @returns The cached user data, or null if no valid cache.\n */\nexport type PerpsControllerGetCachedUserDataForActiveProviderAction = {\n type: `PerpsController:getCachedUserDataForActiveProvider`;\n handler: PerpsController['getCachedUserDataForActiveProvider'];\n};\n\n/**\n * Fetch, validate, and atomically cache a complete user-data snapshot.\n * This remains callable after mount so consumers can seed their live channel\n * from one coherent positions/orders/account result.\n *\n * @returns The accepted user-data snapshot.\n */\nexport type PerpsControllerGetUserDataSnapshotAction = {\n type: `PerpsController:getUserDataSnapshot`;\n handler: PerpsController['getUserDataSnapshot'];\n};\n\n/**\n * Initialize the PerpsController providers\n * Must be called before using any other methods\n * Prevents double initialization with promise caching\n *\n * @returns A promise that resolves when the operation completes.\n */\nexport type PerpsControllerInitAction = {\n type: `PerpsController:init`;\n handler: PerpsController['init'];\n};\n\n/**\n * Get the currently active provider.\n * In aggregated mode, returns AggregatedPerpsProvider which routes to underlying providers.\n * In single provider mode, returns HyperLiquidProvider directly.\n *\n * @returns The active provider (aggregated wrapper or direct provider based on mode)\n * @throws Error if provider is not initialized or reinitializing\n */\nexport type PerpsControllerGetActiveProviderAction = {\n type: `PerpsController:getActiveProvider`;\n handler: PerpsController['getActiveProvider'];\n};\n\n/**\n * Get the currently active provider, returning null if not available\n * Use this method when the caller can gracefully handle a missing provider\n * (e.g., UI components during initialization or reconnection)\n *\n * @returns The active provider, or null if not initialized/reinitializing\n */\nexport type PerpsControllerGetActiveProviderOrNullAction = {\n type: `PerpsController:getActiveProviderOrNull`;\n handler: PerpsController['getActiveProviderOrNull'];\n};\n\n/**\n * Get strategy capabilities through the active provider route used by order\n * placement. The query waits for in-flight initialization and reports an\n * explicit unavailable status when no provider route can answer reliably.\n *\n * @param params - Market and optional provider route.\n * @returns Provider-owned order capabilities.\n */\nexport type PerpsControllerGetOrderCapabilitiesAction = {\n type: `PerpsController:getOrderCapabilities`;\n handler: PerpsController['getOrderCapabilities'];\n};\n\n/**\n * Build a Scale price ladder using the active provider's venue rules.\n *\n * @param params - Market, ladder bounds, count, and optional explicit route.\n * @returns Provider-normalized prices or a typed unavailable result.\n * @throws When the provider cannot normalize the requested ladder.\n */\nexport type PerpsControllerGetScalePriceLadderAction = {\n type: `PerpsController:getScalePriceLadder`;\n handler: PerpsController['getScalePriceLadder'];\n};\n\n/**\n * Place a new order\n * Thin delegation to TradingService\n *\n * @param params - The operation parameters.\n * @returns The order result with order ID and status.\n */\nexport type PerpsControllerPlaceOrderAction = {\n type: `PerpsController:placeOrder`;\n handler: PerpsController['placeOrder'];\n};\n\n/**\n * Edit an existing order\n * Thin delegation to TradingService\n *\n * @param params - The operation parameters.\n * @returns The updated order result with order ID and status.\n */\nexport type PerpsControllerEditOrderAction = {\n type: `PerpsController:editOrder`;\n handler: PerpsController['editOrder'];\n};\n\n/**\n * Cancel an existing order\n *\n * @param params - The operation parameters.\n * @returns The cancellation result with status.\n */\nexport type PerpsControllerCancelOrderAction = {\n type: `PerpsController:cancelOrder`;\n handler: PerpsController['cancelOrder'];\n};\n\n/**\n * Read venue-backed TWAP lifecycle records through the active provider.\n * Providers without native TWAP history return an empty list.\n *\n * @returns Current and terminal TWAP schedules with slice fills.\n */\nexport type PerpsControllerGetTwapOrdersAction = {\n type: `PerpsController:getTwapOrders`;\n handler: PerpsController['getTwapOrders'];\n};\n\n/**\n * Read the active provider's retained Chase lifecycle snapshots.\n * Providers without an emulated Chase implementation return an empty list.\n *\n * @returns Current Chase session snapshots.\n */\nexport type PerpsControllerGetChaseOrdersAction = {\n type: `PerpsController:getChaseOrders`;\n handler: PerpsController['getChaseOrders'];\n};\n\n/**\n * Stop Chase repricing for app backgrounding without cancelling the current\n * resting children.\n *\n * @returns Chase snapshots after suspension.\n * @throws If an aggregated provider cannot suspend every active venue. Other\n * providers may already be suspended; callers can retry to reconcile them.\n */\nexport type PerpsControllerSuspendChaseOrdersAction = {\n type: `PerpsController:suspendChaseOrders`;\n handler: PerpsController['suspendChaseOrders'];\n};\n\n/**\n * Cancel multiple orders in parallel\n * Batch version of cancelOrder() that cancels multiple orders simultaneously\n *\n * @param params - The operation parameters.\n * @returns The batch cancellation results for each order.\n */\nexport type PerpsControllerCancelOrdersAction = {\n type: `PerpsController:cancelOrders`;\n handler: PerpsController['cancelOrders'];\n};\n\n/**\n * Close a position (partial or full)\n * Thin delegation to TradingService\n *\n * @param params - The operation parameters.\n * @returns The order result from the close position request.\n */\nexport type PerpsControllerClosePositionAction = {\n type: `PerpsController:closePosition`;\n handler: PerpsController['closePosition'];\n};\n\n/**\n * Close multiple positions in parallel\n * Batch version of closePosition() that closes multiple positions simultaneously\n *\n * @param params - The operation parameters.\n * @returns The batch close results for each position.\n */\nexport type PerpsControllerClosePositionsAction = {\n type: `PerpsController:closePositions`;\n handler: PerpsController['closePositions'];\n};\n\n/**\n * Update TP/SL for an existing position\n *\n * @param params - The operation parameters.\n * @returns The order result from the TP/SL update.\n */\nexport type PerpsControllerUpdatePositionTPSLAction = {\n type: `PerpsController:updatePositionTPSL`;\n handler: PerpsController['updatePositionTPSL'];\n};\n\n/**\n * Update margin for an existing position (add or remove)\n *\n * @param params - The operation parameters.\n * @returns The margin update result.\n */\nexport type PerpsControllerUpdateMarginAction = {\n type: `PerpsController:updateMargin`;\n handler: PerpsController['updateMargin'];\n};\n\n/**\n * Flip position (reverse direction while keeping size and leverage)\n *\n * @param params - The operation parameters.\n * @returns The order result from the position flip.\n */\nexport type PerpsControllerFlipPositionAction = {\n type: `PerpsController:flipPosition`;\n handler: PerpsController['flipPosition'];\n};\n\n/**\n * Simplified deposit method that prepares transaction for confirmation screen\n * No complex state tracking - just sets a loading flag\n *\n * @param params - Parameters for the deposit flow\n * @param params.amount - Optional deposit amount\n * @param params.placeOrder - If true, uses addTransaction instead of submit to avoid navigation\n * @returns An object containing a promise that resolves to the transaction hash.\n */\nexport type PerpsControllerDepositWithConfirmationAction = {\n type: `PerpsController:depositWithConfirmation`;\n handler: PerpsController['depositWithConfirmation'];\n};\n\n/**\n * Same as depositWithConfirmation - prepares transaction for confirmation screen.\n *\n * @returns A promise that resolves to the string result.\n */\nexport type PerpsControllerDepositWithOrderAction = {\n type: `PerpsController:depositWithOrder`;\n handler: PerpsController['depositWithOrder'];\n};\n\n/**\n * Clear the last deposit result after it has been shown to the user\n */\nexport type PerpsControllerClearDepositResultAction = {\n type: `PerpsController:clearDepositResult`;\n handler: PerpsController['clearDepositResult'];\n};\n\nexport type PerpsControllerClearWithdrawResultAction = {\n type: `PerpsController:clearWithdrawResult`;\n handler: PerpsController['clearWithdrawResult'];\n};\n\n/**\n * Update withdrawal request status when it completes, or remove it on failure.\n * This is called when a withdrawal is matched with a completed withdrawal from the API.\n * When status is `failed`, the request is removed from the queue (not retained).\n *\n * @param withdrawalId - The withdrawal transaction ID.\n * @param status - The current status.\n * @param txHash - The transaction hash.\n */\nexport type PerpsControllerUpdateWithdrawalStatusAction = {\n type: `PerpsController:updateWithdrawalStatus`;\n handler: PerpsController['updateWithdrawalStatus'];\n};\n\n/**\n * Complete a specific withdrawal detected via transaction history polling (FIFO queue).\n * Called when a completed withdrawal appears in the transaction history matching a pending request.\n *\n * Uses FIFO matching: oldest pending withdrawal is matched with first completed withdrawal\n * in history that happened after its submission time.\n *\n * @param withdrawalRequestId - The ID of the pending withdrawal request to mark as complete.\n * @param completedWithdrawal - The completed withdrawal data from the history API.\n * @param completedWithdrawal.txHash - The on-chain transaction hash.\n * @param completedWithdrawal.amount - The withdrawal amount.\n * @param completedWithdrawal.timestamp - The completion timestamp from the history API.\n * @param completedWithdrawal.asset - The asset symbol (e.g. USDC).\n */\nexport type PerpsControllerCompleteWithdrawalFromHistoryAction = {\n type: `PerpsController:completeWithdrawalFromHistory`;\n handler: PerpsController['completeWithdrawalFromHistory'];\n};\n\n/**\n * Update withdrawal progress (persistent across navigation)\n *\n * @param progress - The progress indicator.\n * @param activeWithdrawalId - The active withdrawal ID.\n */\nexport type PerpsControllerUpdateWithdrawalProgressAction = {\n type: `PerpsController:updateWithdrawalProgress`;\n handler: PerpsController['updateWithdrawalProgress'];\n};\n\n/**\n * Get current withdrawal progress\n *\n * @returns The withdrawal progress, last update timestamp, and active withdrawal ID.\n */\nexport type PerpsControllerGetWithdrawalProgressAction = {\n type: `PerpsController:getWithdrawalProgress`;\n handler: PerpsController['getWithdrawalProgress'];\n};\n\n/**\n * Withdraw funds from trading account\n *\n * The withdrawal process varies by provider and may involve:\n * - Direct on-chain transfers\n * - Bridge operations\n * - Multi-step validation processes\n *\n * Check the specific provider documentation for detailed withdrawal flows.\n *\n * @param params Withdrawal parameters\n * @returns WithdrawResult with withdrawal ID and tracking info\n */\nexport type PerpsControllerWithdrawAction = {\n type: `PerpsController:withdraw`;\n handler: PerpsController['withdraw'];\n};\n\n/**\n * Get current positions\n * Thin delegation to MarketDataService\n *\n * For standalone mode, bypasses getActiveProvider() to allow position queries\n * without full perps initialization (e.g., for showing positions on token details page)\n *\n * @param params - The operation parameters.\n * @returns Array of open positions for the active provider.\n */\nexport type PerpsControllerGetPositionsAction = {\n type: `PerpsController:getPositions`;\n handler: PerpsController['getPositions'];\n};\n\n/**\n * Get historical user fills (trade executions)\n * Thin delegation to MarketDataService\n *\n * @param params - The operation parameters.\n * @param options - Optional call modifiers.\n * @param options.forceRefresh - Bypass the request-coalesce cache\n * end-to-end (user-initiated refresh).\n * @returns Array of historical trade executions (fills).\n */\nexport type PerpsControllerGetOrderFillsAction = {\n type: `PerpsController:getOrderFills`;\n handler: PerpsController['getOrderFills'];\n};\n\n/**\n * List TP/SL protection changes the active provider parked for\n * explicit manual re-establishment. Providers without durable\n * settlement state return an empty list.\n *\n * @returns Pending manual-recovery entries.\n */\nexport type PerpsControllerGetPendingManualRecoveriesAction = {\n type: `PerpsController:getPendingManualRecoveries`;\n handler: PerpsController['getPendingManualRecoveries'];\n};\n\n/**\n * READ-ONLY list of the active provider's recovered-dispatch outcomes\n * (previously ambiguous submissions later resolved). Providers without\n * durable dispatch state return an empty list.\n *\n * @returns Pending recovered-dispatch outcomes.\n */\nexport type PerpsControllerGetRecoveredDispatchesAction = {\n type: `PerpsController:getRecoveredDispatches`;\n handler: PerpsController['getRecoveredDispatches'];\n};\n\n/**\n * Acknowledge ONE recovered-dispatch outcome by its stable id, after\n * refreshing venue state. Throws when the active provider has no\n * durable dispatch state or the id no longer matches.\n *\n * @param recoveryId - Stable id from {@link getRecoveredDispatches}.\n * @returns Resolves when the outcome is acknowledged.\n */\nexport type PerpsControllerAcknowledgeRecoveredDispatchAction = {\n type: `PerpsController:acknowledgeRecoveredDispatch`;\n handler: PerpsController['acknowledgeRecoveredDispatch'];\n};\n\n/**\n * Get historical user orders (order lifecycle)\n * Thin delegation to MarketDataService\n *\n * @param params - The operation parameters.\n * @param options - Optional call modifiers.\n * @param options.forceRefresh - Bypass the request-coalesce cache\n * end-to-end (user-initiated refresh).\n * @returns Array of historical orders.\n */\nexport type PerpsControllerGetOrdersAction = {\n type: `PerpsController:getOrders`;\n handler: PerpsController['getOrders'];\n};\n\n/**\n * Get currently open orders (real-time status)\n * Thin delegation to MarketDataService\n *\n * For standalone mode, bypasses getActiveProvider() to allow open order queries\n * without full perps initialization (e.g., for background preloading)\n *\n * @param params - The operation parameters.\n * @returns A promise that resolves to the result.\n */\nexport type PerpsControllerGetOpenOrdersAction = {\n type: `PerpsController:getOpenOrders`;\n handler: PerpsController['getOpenOrders'];\n};\n\n/**\n * Get historical user funding history (funding payments)\n * Thin delegation to MarketDataService\n *\n * @param params - The operation parameters.\n * @param options - Optional call modifiers.\n * @param options.forceRefresh - Bypass the request-coalesce cache\n * end-to-end (user-initiated refresh).\n * @returns Array of historical funding payments.\n */\nexport type PerpsControllerGetFundingAction = {\n type: `PerpsController:getFunding`;\n handler: PerpsController['getFunding'];\n};\n\n/**\n * Get account state (balances, etc.)\n * Thin delegation to MarketDataService\n *\n * For standalone mode, bypasses getActiveProvider() to allow account state queries\n * without full perps initialization (e.g., for checking if user has perps funds)\n *\n * @param params - The operation parameters.\n * @returns A promise that resolves to the result.\n */\nexport type PerpsControllerGetAccountStateAction = {\n type: `PerpsController:getAccountState`;\n handler: PerpsController['getAccountState'];\n};\n\n/**\n * Get historical portfolio data\n * Thin delegation to MarketDataService\n *\n * @param params - The operation parameters.\n * @returns The historical portfolio data points.\n */\nexport type PerpsControllerGetHistoricalPortfolioAction = {\n type: `PerpsController:getHistoricalPortfolio`;\n handler: PerpsController['getHistoricalPortfolio'];\n};\n\n/**\n * Get available markets with optional filtering\n * Thin delegation to MarketDataService\n *\n * For standalone mode, bypasses getActiveProvider() to allow market discovery\n * without full perps initialization (e.g., for discovery banners on spot screens)\n *\n * @param params - The operation parameters.\n * @returns Array of available markets matching the filter criteria.\n */\nexport type PerpsControllerGetMarketsAction = {\n type: `PerpsController:getMarkets`;\n handler: PerpsController['getMarkets'];\n};\n\n/**\n * Get market data with prices (includes price, volume, 24h change).\n * Optionally filter by category, sort, and limit the results.\n *\n * For standalone mode, bypasses getActiveProvider() to allow market data queries\n * without full perps initialization (e.g., for background preloading on app start)\n *\n * @param params - The operation parameters.\n * @param params.standalone - Whether to use standalone mode.\n * @param params.categories - Filter to markets matching any of these categories.\n * @param params.sortBy - Sort results by this field.\n * @param params.direction - Sort direction (default: desc).\n * @param params.limit - Maximum number of results to return.\n * @returns A promise that resolves to the market data.\n */\nexport type PerpsControllerGetMarketDataWithPricesAction = {\n type: `PerpsController:getMarketDataWithPrices`;\n handler: PerpsController['getMarketDataWithPrices'];\n};\n\n/**\n * Start background market data preloading.\n * Fetches market data immediately and refreshes every 5 minutes.\n * Watches for isTestnet and hip3ConfigVersion changes to re-preload.\n */\nexport type PerpsControllerStartMarketDataPreloadAction = {\n type: `PerpsController:startMarketDataPreload`;\n handler: PerpsController['startMarketDataPreload'];\n};\n\n/**\n * Stop background market data preloading.\n */\nexport type PerpsControllerStopMarketDataPreloadAction = {\n type: `PerpsController:stopMarketDataPreload`;\n handler: PerpsController['stopMarketDataPreload'];\n};\n\n/**\n * Get list of available HIP-3 builder-deployed DEXs\n *\n * @param params - Optional parameters for filtering\n * @returns Array of DEX names\n */\nexport type PerpsControllerGetAvailableDexsAction = {\n type: `PerpsController:getAvailableDexs`;\n handler: PerpsController['getAvailableDexs'];\n};\n\n/**\n * Fetch historical candle data\n * Thin delegation to MarketDataService\n *\n * @param options - The configuration options.\n * @param options.symbol - The trading pair symbol.\n * @param options.interval - The candle interval period.\n * @param options.limit - Maximum number of items to fetch.\n * @param options.endTime - End timestamp in milliseconds.\n * @returns The historical candle data for the requested symbol and interval.\n */\nexport type PerpsControllerFetchHistoricalCandlesAction = {\n type: `PerpsController:fetchHistoricalCandles`;\n handler: PerpsController['fetchHistoricalCandles'];\n};\n\n/**\n * Calculate liquidation price for a position\n * Uses provider-specific formulas based on protocol rules\n *\n * @param params - The operation parameters.\n * @returns A promise that resolves to the string result.\n */\nexport type PerpsControllerCalculateLiquidationPriceAction = {\n type: `PerpsController:calculateLiquidationPrice`;\n handler: PerpsController['calculateLiquidationPrice'];\n};\n\n/**\n * Project the isolated position that would remain after a proposed order.\n * Margin and liquidation availability are independent: a missing liquidation\n * does not hide a valid margin projection. Cross-margin returns unsupported.\n *\n * @param params - Live position plus the proposed order.\n * @returns Discriminated preview of the resulting position.\n */\nexport type PerpsControllerPreviewPositionModifyAction = {\n type: `PerpsController:previewPositionModify`;\n handler: PerpsController['previewPositionModify'];\n};\n\n/**\n * Calculate maintenance margin for a specific asset\n * Returns a percentage (e.g., 0.0125 for 1.25%)\n *\n * @param params - The operation parameters.\n * @returns A promise that resolves to the numeric result.\n */\nexport type PerpsControllerCalculateMaintenanceMarginAction = {\n type: `PerpsController:calculateMaintenanceMargin`;\n handler: PerpsController['calculateMaintenanceMargin'];\n};\n\n/**\n * Get maximum leverage allowed for an asset\n *\n * @param asset - The asset identifier.\n * @param providerId - Optional provider route for aggregated markets.\n * @returns A promise that resolves to the numeric result.\n */\nexport type PerpsControllerGetMaxLeverageAction = {\n type: `PerpsController:getMaxLeverage`;\n handler: PerpsController['getMaxLeverage'];\n};\n\n/**\n * Validate order parameters according to protocol-specific rules\n *\n * @param params - The operation parameters.\n * @returns True if the condition is met.\n */\nexport type PerpsControllerValidateOrderAction = {\n type: `PerpsController:validateOrder`;\n handler: PerpsController['validateOrder'];\n};\n\n/**\n * Validate close position parameters according to protocol-specific rules\n *\n * @param params - The operation parameters.\n * @returns A promise that resolves to the result.\n */\nexport type PerpsControllerValidateClosePositionAction = {\n type: `PerpsController:validateClosePosition`;\n handler: PerpsController['validateClosePosition'];\n};\n\n/**\n * Validate withdrawal parameters according to protocol-specific rules\n *\n * @param params - The operation parameters.\n * @returns True if the condition is met.\n */\nexport type PerpsControllerValidateWithdrawalAction = {\n type: `PerpsController:validateWithdrawal`;\n handler: PerpsController['validateWithdrawal'];\n};\n\n/**\n * Get supported withdrawal routes - returns complete asset and routing information\n *\n * @returns Array of supported asset routes for withdrawals.\n */\nexport type PerpsControllerGetWithdrawalRoutesAction = {\n type: `PerpsController:getWithdrawalRoutes`;\n handler: PerpsController['getWithdrawalRoutes'];\n};\n\n/**\n * Set the transient UTM / discovery attribution context.\n * Replaces any previously set context. Held in-memory only — not persisted.\n *\n * @param context - The attribution context (UTM fields) to store.\n */\nexport type PerpsControllerSetAttributionContextAction = {\n type: `PerpsController:setAttributionContext`;\n handler: PerpsController['setAttributionContext'];\n};\n\n/**\n * Get a copy of the current attribution context.\n *\n * @returns A shallow copy of the stored attribution context.\n */\nexport type PerpsControllerGetAttributionContextAction = {\n type: `PerpsController:getAttributionContext`;\n handler: PerpsController['getAttributionContext'];\n};\n\n/**\n * Clear the stored attribution context.\n */\nexport type PerpsControllerClearAttributionContextAction = {\n type: `PerpsController:clearAttributionContext`;\n handler: PerpsController['clearAttributionContext'];\n};\n\n/**\n * Toggle between testnet and mainnet\n *\n * @returns The toggle result with success status and current network mode.\n */\nexport type PerpsControllerToggleTestnetAction = {\n type: `PerpsController:toggleTestnet`;\n handler: PerpsController['toggleTestnet'];\n};\n\n/**\n * Switch to a different provider\n * Uses a full reinit approach: disconnect() → update state → init()\n * This ensures complete state reset including WebSocket connections and caches.\n *\n * @param providerId - The provider identifier.\n * @returns The switch result with success status and active provider.\n */\nexport type PerpsControllerSwitchProviderAction = {\n type: `PerpsController:switchProvider`;\n handler: PerpsController['switchProvider'];\n};\n\n/**\n * Get current network (mainnet/testnet)\n *\n * @returns Either 'mainnet' or 'testnet' based on the current configuration.\n */\nexport type PerpsControllerGetCurrentNetworkAction = {\n type: `PerpsController:getCurrentNetwork`;\n handler: PerpsController['getCurrentNetwork'];\n};\n\n/**\n * Get the ordered list of all market categories for HIP-3 markets.\n * Returns a stable, explicitly ordered array so the UI can render\n * category filter tabs without deriving order from config insertion.\n *\n * @returns Ordered array of {@link MarketTypeFilter} values. Does not include the 'all' or 'new' sentinels — those are separate UI controls.\n */\nexport type PerpsControllerGetMarketCategoriesAction = {\n type: `PerpsController:getMarketCategories`;\n handler: PerpsController['getMarketCategories'];\n};\n\n/**\n * Get the current WebSocket connection state from the active provider.\n * Used by the UI to monitor connection health and show notifications.\n *\n * @returns The current WebSocket connection state, or DISCONNECTED if not supported\n */\nexport type PerpsControllerGetWebSocketConnectionStateAction = {\n type: `PerpsController:getWebSocketConnectionState`;\n handler: PerpsController['getWebSocketConnectionState'];\n};\n\n/**\n * Subscribe to WebSocket connection state changes from the active provider.\n * The listener will be called immediately with the current state and whenever the state changes.\n *\n * @param listener - Callback function that receives the new connection state and reconnection attempt\n * @returns Unsubscribe function to remove the listener, or no-op if not supported\n */\nexport type PerpsControllerSubscribeToConnectionStateAction = {\n type: `PerpsController:subscribeToConnectionState`;\n handler: PerpsController['subscribeToConnectionState'];\n};\n\n/**\n * Manually trigger a WebSocket reconnection attempt.\n * Used by the UI retry button when connection is lost.\n */\nexport type PerpsControllerReconnectAction = {\n type: `PerpsController:reconnect`;\n handler: PerpsController['reconnect'];\n};\n\n/**\n * Subscribe to live price updates\n *\n * @param params - The operation parameters.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToPricesAction = {\n type: `PerpsController:subscribeToPrices`;\n handler: PerpsController['subscribeToPrices'];\n};\n\n/**\n * Subscribe to live position updates\n *\n * @param params - The operation parameters.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToPositionsAction = {\n type: `PerpsController:subscribeToPositions`;\n handler: PerpsController['subscribeToPositions'];\n};\n\n/**\n * Subscribe to live order fill updates\n *\n * @param params - The operation parameters.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToOrderFillsAction = {\n type: `PerpsController:subscribeToOrderFills`;\n handler: PerpsController['subscribeToOrderFills'];\n};\n\n/**\n * Stream TWAP lifecycle updates through the active provider.\n *\n * Providers without a native TWAP push channel do not implement this; the\n * returned no-op cleanup lets a client fall back to polling `getTwapOrders`\n * without branching on provider identity.\n *\n * @param params - Subscription parameters including callback and account ID.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToTwapOrdersAction = {\n type: `PerpsController:subscribeToTwapOrders`;\n handler: PerpsController['subscribeToTwapOrders'];\n};\n\n/**\n * Subscribe to live order updates\n *\n * @param params - The operation parameters.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToOrdersAction = {\n type: `PerpsController:subscribeToOrders`;\n handler: PerpsController['subscribeToOrders'];\n};\n\n/**\n * Subscribe to live account updates.\n * Updates controller state (Redux) when new account data arrives so consumers\n * like usePerpsBalanceTokenFilter (PayWithModal) see the latest balance.\n *\n * @param params - The operation parameters.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToAccountAction = {\n type: `PerpsController:subscribeToAccount`;\n handler: PerpsController['subscribeToAccount'];\n};\n\n/**\n * Subscribe to full order book updates with multiple depth levels\n * Creates a dedicated L2Book subscription for real-time order book data\n *\n * @param params - The operation parameters.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToOrderBookAction = {\n type: `PerpsController:subscribeToOrderBook`;\n handler: PerpsController['subscribeToOrderBook'];\n};\n\n/**\n * Subscribe to live candle updates\n *\n * @param params - The operation parameters.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToCandlesAction = {\n type: `PerpsController:subscribeToCandles`;\n handler: PerpsController['subscribeToCandles'];\n};\n\n/**\n * Subscribe to open interest cap updates\n * Zero additional network overhead - data comes from existing webData3 subscription\n *\n * @param params - The operation parameters.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToOICapsAction = {\n type: `PerpsController:subscribeToOICaps`;\n handler: PerpsController['subscribeToOICaps'];\n};\n\n/**\n * Configure live data throttling\n *\n * @param config - The configuration object.\n */\nexport type PerpsControllerSetLiveDataConfigAction = {\n type: `PerpsController:setLiveDataConfig`;\n handler: PerpsController['setLiveDataConfig'];\n};\n\n/**\n * Calculate trading fees through the active provider route.\n * Each provider owns its fee policy. An explicit provider route overrides\n * the active/default provider used by placement.\n *\n * @param params - The operation parameters.\n * @returns The fee calculation result for the trade.\n */\nexport type PerpsControllerCalculateFeesAction = {\n type: `PerpsController:calculateFees`;\n handler: PerpsController['calculateFees'];\n};\n\n/**\n * Approve the dedicated subscription builder outside order submission.\n * Until this succeeds, subscription waivers fall back to the ordinary\n * builder at the standard fee.\n *\n * @returns Whether the subscription builder is approved.\n */\nexport type PerpsControllerApproveSubscriptionBuilderFeeAction = {\n type: `PerpsController:approveSubscriptionBuilderFee`;\n handler: PerpsController['approveSubscriptionBuilderFee'];\n};\n\n/**\n * Drop the cached subscription benefits snapshot.\n *\n * Call this when the identity behind the benefits changes — sign-out, or a\n * profile switch. The snapshot carries no profile identity of its own, so\n * without this it keeps answering for the previous profile until the next\n * successful refresh. The next fee resolution reports the waiver as\n * unavailable, so it is withheld until preview or lifecycle hydration.\n */\nexport type PerpsControllerInvalidateSubscriptionBenefitsAction = {\n type: `PerpsController:invalidateSubscriptionBenefits`;\n handler: PerpsController['invalidateSubscriptionBenefits'];\n};\n\n/**\n * Disconnect provider and cleanup subscriptions\n * Call this when navigating away from Perps screens to prevent battery drain\n */\nexport type PerpsControllerDisconnectAction = {\n type: `PerpsController:disconnect`;\n handler: PerpsController['disconnect'];\n};\n\n/**\n * Resume eligibility monitoring after onboarding completes.\n * Clears the deferred flag and triggers an immediate eligibility check\n * using the current remote feature flag state.\n */\nexport type PerpsControllerStartEligibilityMonitoringAction = {\n type: `PerpsController:startEligibilityMonitoring`;\n handler: PerpsController['startEligibilityMonitoring'];\n};\n\n/**\n * Stops geo-blocking eligibility monitoring.\n * Call this when the user disables basic functionality (e.g. useExternalServices becomes false).\n * Prevents geolocation calls until startEligibilityMonitoring() is called again.\n * Safe to call multiple times.\n */\nexport type PerpsControllerStopEligibilityMonitoringAction = {\n type: `PerpsController:stopEligibilityMonitoring`;\n handler: PerpsController['stopEligibilityMonitoring'];\n};\n\nexport type PerpsControllerRefreshEligibilityAction = {\n type: `PerpsController:refreshEligibility`;\n handler: PerpsController['refreshEligibility'];\n};\n\n/**\n * Get block explorer URL for an address or just the base URL\n *\n * @param address - Optional address to append to the base URL\n * @returns Block explorer URL\n */\nexport type PerpsControllerGetBlockExplorerUrlAction = {\n type: `PerpsController:getBlockExplorerUrl`;\n handler: PerpsController['getBlockExplorerUrl'];\n};\n\n/**\n * Check if user is first-time for the current network\n *\n * @returns True if the condition is met.\n */\nexport type PerpsControllerIsFirstTimeUserOnCurrentNetworkAction = {\n type: `PerpsController:isFirstTimeUserOnCurrentNetwork`;\n handler: PerpsController['isFirstTimeUserOnCurrentNetwork'];\n};\n\n/**\n * Mark that the user has completed the tutorial/onboarding\n * This prevents the tutorial from showing again\n */\nexport type PerpsControllerMarkTutorialCompletedAction = {\n type: `PerpsController:markTutorialCompleted`;\n handler: PerpsController['markTutorialCompleted'];\n};\n\nexport type PerpsControllerMarkFirstOrderCompletedAction = {\n type: `PerpsController:markFirstOrderCompleted`;\n handler: PerpsController['markFirstOrderCompleted'];\n};\n\n/**\n * Reset first-time user state for both networks\n * This is useful for testing the tutorial flow\n * Called by Reset Account feature in settings\n */\nexport type PerpsControllerResetFirstTimeUserStateAction = {\n type: `PerpsController:resetFirstTimeUserState`;\n handler: PerpsController['resetFirstTimeUserState'];\n};\n\n/**\n * Clear pending/bridging withdrawal and deposit requests\n * This is useful when users want to clear stuck pending indicators\n * Called by Reset Account feature in settings\n */\nexport type PerpsControllerClearPendingTransactionRequestsAction = {\n type: `PerpsController:clearPendingTransactionRequests`;\n handler: PerpsController['clearPendingTransactionRequests'];\n};\n\n/**\n * Get saved trade configuration for a market\n *\n * @param symbol - The trading pair symbol.\n * @returns The resulting string value.\n */\nexport type PerpsControllerGetTradeConfigurationAction = {\n type: `PerpsController:getTradeConfiguration`;\n handler: PerpsController['getTradeConfiguration'];\n};\n\n/**\n * Save trade configuration for a market\n *\n * @param symbol - Market symbol\n * @param leverage - Leverage value\n */\nexport type PerpsControllerSaveTradeConfigurationAction = {\n type: `PerpsController:saveTradeConfiguration`;\n handler: PerpsController['saveTradeConfiguration'];\n};\n\n/**\n * Save pending trade configuration for a market\n * This is a temporary configuration that expires after 30 seconds.\n *\n * @param symbol - Market symbol\n * @param config - Pending trade configuration (includes optional selected payment token from Pay row)\n * @param config.amount - The amount value.\n * @param config.leverage - The leverage multiplier.\n * @param config.takeProfitPrice - The take profit price.\n * @param config.stopLossPrice - The stop loss price.\n * @param config.limitPrice - The limit price.\n * @param config.orderType - The order type.\n * @param config.reduceOnly - Whether the order may only reduce a position.\n * @param config.direction - Long or short.\n * @param config.selectedPaymentToken - The selected payment token.\n */\nexport type PerpsControllerSavePendingTradeConfigurationAction = {\n type: `PerpsController:savePendingTradeConfiguration`;\n handler: PerpsController['savePendingTradeConfiguration'];\n};\n\n/**\n * Get pending trade configuration for a market\n * Returns undefined if config doesn't exist or has expired.\n *\n * @param symbol - Market symbol\n * @returns Pending trade configuration or undefined\n */\nexport type PerpsControllerGetPendingTradeConfigurationAction = {\n type: `PerpsController:getPendingTradeConfiguration`;\n handler: PerpsController['getPendingTradeConfiguration'];\n};\n\n/**\n * Clear pending trade configuration for a market\n *\n * @param symbol - Market symbol\n */\nexport type PerpsControllerClearPendingTradeConfigurationAction = {\n type: `PerpsController:clearPendingTradeConfiguration`;\n handler: PerpsController['clearPendingTradeConfiguration'];\n};\n\n/**\n * Get saved market filter preferences\n * Handles backward compatibility with legacy string format\n *\n * @returns The saved sort option ID and direction.\n */\nexport type PerpsControllerGetMarketFilterPreferencesAction = {\n type: `PerpsController:getMarketFilterPreferences`;\n handler: PerpsController['getMarketFilterPreferences'];\n};\n\n/**\n * Save market filter preferences\n *\n * @param optionId - Sort/filter option ID\n * @param direction - Sort direction ('asc' or 'desc')\n */\nexport type PerpsControllerSaveMarketFilterPreferencesAction = {\n type: `PerpsController:saveMarketFilterPreferences`;\n handler: PerpsController['saveMarketFilterPreferences'];\n};\n\n/**\n * Get the user's max slippage tolerance in basis points.\n *\n * @returns The configured max slippage bps, or undefined if never set (callers should default to 300 bps / 3%).\n */\nexport type PerpsControllerGetMaxSlippageAction = {\n type: `PerpsController:getMaxSlippage`;\n handler: PerpsController['getMaxSlippage'];\n};\n\n/**\n * Set the user's max slippage tolerance in basis points.\n *\n * @param bps - Max slippage in basis points (e.g. 300 = 3%). Clamped to 10–1000, snapped to step of 10.\n */\nexport type PerpsControllerSetMaxSlippageAction = {\n type: `PerpsController:setMaxSlippage`;\n handler: PerpsController['setMaxSlippage'];\n};\n\n/**\n * Get market-agnostic Pro order-book display preferences.\n *\n * @returns The current order-book display preferences.\n */\nexport type PerpsControllerGetOrderBookPreferencesAction = {\n type: `PerpsController:getOrderBookPreferences`;\n handler: PerpsController['getOrderBookPreferences'];\n};\n\n/**\n * Update market-agnostic Pro order-book display preferences.\n *\n * @param patch - Partial order-book preferences to update.\n */\nexport type PerpsControllerSetOrderBookPreferencesAction = {\n type: `PerpsController:setOrderBookPreferences`;\n handler: PerpsController['setOrderBookPreferences'];\n};\n\n/**\n * Get the selected order type shared by every market.\n *\n * @returns The selected order type.\n */\nexport type PerpsControllerGetSelectedOrderTypeAction = {\n type: `PerpsController:getSelectedOrderType`;\n handler: PerpsController['getSelectedOrderType'];\n};\n\n/**\n * Set the selected order type shared by every market.\n *\n * @param orderType - The selected order type.\n */\nexport type PerpsControllerSetSelectedOrderTypeAction = {\n type: `PerpsController:setSelectedOrderType`;\n handler: PerpsController['setSelectedOrderType'];\n};\n\n/**\n * Get the number of candles shown in Lite and Pro chart viewports.\n *\n * @returns The visible candle count.\n */\nexport type PerpsControllerGetVisibleCandleCountAction = {\n type: `PerpsController:getVisibleCandleCount`;\n handler: PerpsController['getVisibleCandleCount'];\n};\n\n/**\n * Set the number of candles shown in Lite and Pro chart viewports.\n *\n * @param count - Requested visible candle count.\n */\nexport type PerpsControllerSetVisibleCandleCountAction = {\n type: `PerpsController:setVisibleCandleCount`;\n handler: PerpsController['setVisibleCandleCount'];\n};\n\n/**\n * Get the user's pro-mode layout preferences (network-independent).\n *\n * @returns The current pro-mode layout preferences.\n */\nexport type PerpsControllerGetProLayoutPreferencesAction = {\n type: `PerpsController:getProLayoutPreferences`;\n handler: PerpsController['getProLayoutPreferences'];\n};\n\n/**\n * Update the user's pro-mode layout preferences.\n *\n * Patch-style setter: only the provided fields are updated, the rest are\n * preserved. This keeps the signature stable as new layout fields are added.\n *\n * @param patch - Partial set of pro-mode layout preferences to update.\n */\nexport type PerpsControllerSetProLayoutPreferencesAction = {\n type: `PerpsController:setProLayoutPreferences`;\n handler: PerpsController['setProLayoutPreferences'];\n};\n\n/**\n * Set the Perps interface mode (lite/pro).\n *\n * @param mode - The mode to switch to.\n */\nexport type PerpsControllerSetPerpsModeAction = {\n type: `PerpsController:setPerpsMode`;\n handler: PerpsController['setPerpsMode'];\n};\n\n/**\n * Set the selected payment token for the Perps order/deposit flow.\n * Pass null or a token with description PERPS_CONSTANTS.PerpsBalanceTokenDescription to select Perps balance.\n * Only required fields (address, chainId) are stored in state; description and symbol are optional.\n *\n * @param token - The token identifier.\n */\nexport type PerpsControllerSetSelectedPaymentTokenAction = {\n type: `PerpsController:setSelectedPaymentToken`;\n handler: PerpsController['setSelectedPaymentToken'];\n};\n\n/**\n * Reset the selected payment token to Perps balance (null).\n * Call when leaving the Perps order view so the next visit defaults to Perps balance.\n */\nexport type PerpsControllerResetSelectedPaymentTokenAction = {\n type: `PerpsController:resetSelectedPaymentToken`;\n handler: PerpsController['resetSelectedPaymentToken'];\n};\n\n/**\n * Get saved order book grouping for a market\n *\n * @param symbol - Market symbol\n * @returns The saved grouping value or undefined if not set\n */\nexport type PerpsControllerGetOrderBookGroupingAction = {\n type: `PerpsController:getOrderBookGrouping`;\n handler: PerpsController['getOrderBookGrouping'];\n};\n\n/**\n * Save order book grouping for a market\n *\n * @param symbol - Market symbol\n * @param grouping - Price grouping value\n */\nexport type PerpsControllerSaveOrderBookGroupingAction = {\n type: `PerpsController:saveOrderBookGrouping`;\n handler: PerpsController['saveOrderBookGrouping'];\n};\n\n/**\n * Toggle watchlist status for a market.\n *\n * Updates local state immediately (optimistic UI) and then syncs the new\n * watchlist to AuthenticatedUserStorageService. If the remote write fails,\n * the local state is reverted so it stays consistent with AUS.\n *\n * When the user is unauthenticated, or the active provider is not yet\n * supported by the AUS schema, the controller continues operating with\n * local-persisted state only — no error is surfaced to the caller.\n *\n * Watchlist markets are stored per network (testnet/mainnet).\n *\n * @param symbol - The trading pair symbol.\n */\nexport type PerpsControllerToggleWatchlistMarketAction = {\n type: `PerpsController:toggleWatchlistMarket`;\n handler: PerpsController['toggleWatchlistMarket'];\n};\n\n/**\n * Check if a market is in the watchlist on the current network\n *\n * @param symbol - The trading pair symbol.\n * @returns True if the condition is met.\n */\nexport type PerpsControllerIsWatchlistMarketAction = {\n type: `PerpsController:isWatchlistMarket`;\n handler: PerpsController['isWatchlistMarket'];\n};\n\n/**\n * Get all watchlist markets for the current network\n *\n * @returns The resulting string value.\n */\nexport type PerpsControllerGetWatchlistMarketsAction = {\n type: `PerpsController:getWatchlistMarkets`;\n handler: PerpsController['getWatchlistMarkets'];\n};\n\n/**\n * Record that the user viewed a market.\n *\n * The symbol is prepended to the per-network recently-viewed list (newest-first).\n * Any existing entry for the same symbol is removed first so there are no\n * duplicates. The list is then capped at PERPS_CONSTANTS.RecentlyViewedMarketsLimit.\n *\n * @param symbol - The trading pair symbol (e.g. 'BTC', 'ETH', 'xyz:TSLA').\n */\nexport type PerpsControllerRecordMarketViewedAction = {\n type: `PerpsController:recordMarketViewed`;\n handler: PerpsController['recordMarketViewed'];\n};\n\n/**\n * Get recently viewed markets for the current network.\n *\n * Returns up to PERPS_CONSTANTS.RecentlyViewedMarketsLimit symbols, ordered\n * newest-first, filtered to entries within the last\n * PERPS_CONSTANTS.RecentlyViewedMarketsTtlMs (24 hours). Returns an empty\n * array when no qualifying entries exist.\n *\n * @returns Ordered array of market symbols.\n */\nexport type PerpsControllerGetRecentlyViewedMarketsAction = {\n type: `PerpsController:getRecentlyViewedMarkets`;\n handler: PerpsController['getRecentlyViewedMarkets'];\n};\n\n/**\n * Check if the controller is currently reinitializing\n *\n * @returns true if providers are being reinitialized\n */\nexport type PerpsControllerIsCurrentlyReinitializingAction = {\n type: `PerpsController:isCurrentlyReinitializing`;\n handler: PerpsController['isCurrentlyReinitializing'];\n};\n\n/**\n * Union of all PerpsController action types.\n */\nexport type PerpsControllerMethodActions =\n | PerpsControllerGetCachedMarketDataForActiveProviderAction\n | PerpsControllerGetCachedUserDataForActiveProviderAction\n | PerpsControllerGetUserDataSnapshotAction\n | PerpsControllerInitAction\n | PerpsControllerGetActiveProviderAction\n | PerpsControllerGetActiveProviderOrNullAction\n | PerpsControllerGetOrderCapabilitiesAction\n | PerpsControllerGetScalePriceLadderAction\n | PerpsControllerPlaceOrderAction\n | PerpsControllerEditOrderAction\n | PerpsControllerCancelOrderAction\n | PerpsControllerGetTwapOrdersAction\n | PerpsControllerGetChaseOrdersAction\n | PerpsControllerSuspendChaseOrdersAction\n | PerpsControllerCancelOrdersAction\n | PerpsControllerClosePositionAction\n | PerpsControllerClosePositionsAction\n | PerpsControllerUpdatePositionTPSLAction\n | PerpsControllerUpdateMarginAction\n | PerpsControllerFlipPositionAction\n | PerpsControllerDepositWithConfirmationAction\n | PerpsControllerDepositWithOrderAction\n | PerpsControllerClearDepositResultAction\n | PerpsControllerClearWithdrawResultAction\n | PerpsControllerUpdateWithdrawalStatusAction\n | PerpsControllerCompleteWithdrawalFromHistoryAction\n | PerpsControllerUpdateWithdrawalProgressAction\n | PerpsControllerGetWithdrawalProgressAction\n | PerpsControllerWithdrawAction\n | PerpsControllerGetPositionsAction\n | PerpsControllerGetOrderFillsAction\n | PerpsControllerGetPendingManualRecoveriesAction\n | PerpsControllerGetRecoveredDispatchesAction\n | PerpsControllerAcknowledgeRecoveredDispatchAction\n | PerpsControllerGetOrdersAction\n | PerpsControllerGetOpenOrdersAction\n | PerpsControllerGetFundingAction\n | PerpsControllerGetAccountStateAction\n | PerpsControllerGetHistoricalPortfolioAction\n | PerpsControllerGetMarketsAction\n | PerpsControllerGetMarketDataWithPricesAction\n | PerpsControllerStartMarketDataPreloadAction\n | PerpsControllerStopMarketDataPreloadAction\n | PerpsControllerGetAvailableDexsAction\n | PerpsControllerFetchHistoricalCandlesAction\n | PerpsControllerCalculateLiquidationPriceAction\n | PerpsControllerPreviewPositionModifyAction\n | PerpsControllerCalculateMaintenanceMarginAction\n | PerpsControllerGetMaxLeverageAction\n | PerpsControllerValidateOrderAction\n | PerpsControllerValidateClosePositionAction\n | PerpsControllerValidateWithdrawalAction\n | PerpsControllerGetWithdrawalRoutesAction\n | PerpsControllerSetAttributionContextAction\n | PerpsControllerGetAttributionContextAction\n | PerpsControllerClearAttributionContextAction\n | PerpsControllerToggleTestnetAction\n | PerpsControllerSwitchProviderAction\n | PerpsControllerGetCurrentNetworkAction\n | PerpsControllerGetMarketCategoriesAction\n | PerpsControllerGetWebSocketConnectionStateAction\n | PerpsControllerSubscribeToConnectionStateAction\n | PerpsControllerReconnectAction\n | PerpsControllerSubscribeToPricesAction\n | PerpsControllerSubscribeToPositionsAction\n | PerpsControllerSubscribeToOrderFillsAction\n | PerpsControllerSubscribeToTwapOrdersAction\n | PerpsControllerSubscribeToOrdersAction\n | PerpsControllerSubscribeToAccountAction\n | PerpsControllerSubscribeToOrderBookAction\n | PerpsControllerSubscribeToCandlesAction\n | PerpsControllerSubscribeToOICapsAction\n | PerpsControllerSetLiveDataConfigAction\n | PerpsControllerCalculateFeesAction\n | PerpsControllerApproveSubscriptionBuilderFeeAction\n | PerpsControllerInvalidateSubscriptionBenefitsAction\n | PerpsControllerDisconnectAction\n | PerpsControllerStartEligibilityMonitoringAction\n | PerpsControllerStopEligibilityMonitoringAction\n | PerpsControllerRefreshEligibilityAction\n | PerpsControllerGetBlockExplorerUrlAction\n | PerpsControllerIsFirstTimeUserOnCurrentNetworkAction\n | PerpsControllerMarkTutorialCompletedAction\n | PerpsControllerMarkFirstOrderCompletedAction\n | PerpsControllerResetFirstTimeUserStateAction\n | PerpsControllerClearPendingTransactionRequestsAction\n | PerpsControllerGetTradeConfigurationAction\n | PerpsControllerSaveTradeConfigurationAction\n | PerpsControllerSavePendingTradeConfigurationAction\n | PerpsControllerGetPendingTradeConfigurationAction\n | PerpsControllerClearPendingTradeConfigurationAction\n | PerpsControllerGetMarketFilterPreferencesAction\n | PerpsControllerSaveMarketFilterPreferencesAction\n | PerpsControllerGetMaxSlippageAction\n | PerpsControllerSetMaxSlippageAction\n | PerpsControllerGetOrderBookPreferencesAction\n | PerpsControllerSetOrderBookPreferencesAction\n | PerpsControllerGetSelectedOrderTypeAction\n | PerpsControllerSetSelectedOrderTypeAction\n | PerpsControllerGetVisibleCandleCountAction\n | PerpsControllerSetVisibleCandleCountAction\n | PerpsControllerGetProLayoutPreferencesAction\n | PerpsControllerSetProLayoutPreferencesAction\n | PerpsControllerSetPerpsModeAction\n | PerpsControllerSetSelectedPaymentTokenAction\n | PerpsControllerResetSelectedPaymentTokenAction\n | PerpsControllerGetOrderBookGroupingAction\n | PerpsControllerSaveOrderBookGroupingAction\n | PerpsControllerToggleWatchlistMarketAction\n | PerpsControllerIsWatchlistMarketAction\n | PerpsControllerGetWatchlistMarketsAction\n | PerpsControllerRecordMarketViewedAction\n | PerpsControllerGetRecentlyViewedMarketsAction\n | PerpsControllerIsCurrentlyReinitializingAction;\n"]}
|
|
1
|
+
{"version":3,"file":"PerpsController-method-action-types.js","sourceRoot":"","sources":["../src/PerpsController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { PerpsController } from './PerpsController.js';\n\n/**\n * Read cached market data for the currently active provider (or aggregated).\n * Returns null when no valid cache exists or when cache has expired.\n *\n * @param options - Optional settings.\n * @param options.skipTTL - When true, bypass the 5-minute TTL check.\n * Used during initial render so disk-hydrated structural data (with\n * placeholder prices) is returned regardless of age.\n * @returns The cached market data array, or null if no valid cache.\n */\nexport type PerpsControllerGetCachedMarketDataForActiveProviderAction = {\n type: `PerpsController:getCachedMarketDataForActiveProvider`;\n handler: PerpsController['getCachedMarketDataForActiveProvider'];\n};\n\n/**\n * Read cached user data for the currently active provider (or aggregated).\n * Returns null when no valid cache exists, cache has expired, or address\n * does not match the currently selected EVM account.\n *\n * @param options - Optional settings.\n * @param options.skipTTL - When true, bypass the 60s staleness check.\n * Used during initial render so disk-hydrated user data (positions/orders)\n * is returned regardless of age, avoiding a skeleton flash.\n * @returns The cached user data, or null if no valid cache.\n */\nexport type PerpsControllerGetCachedUserDataForActiveProviderAction = {\n type: `PerpsController:getCachedUserDataForActiveProvider`;\n handler: PerpsController['getCachedUserDataForActiveProvider'];\n};\n\n/**\n * Fetch, validate, and atomically cache a complete user-data snapshot.\n * This remains callable after mount so consumers can seed their live channel\n * from one coherent positions/orders/account result.\n *\n * @returns The accepted user-data snapshot.\n */\nexport type PerpsControllerGetUserDataSnapshotAction = {\n type: `PerpsController:getUserDataSnapshot`;\n handler: PerpsController['getUserDataSnapshot'];\n};\n\n/**\n * Initialize the PerpsController providers\n * Must be called before using any other methods\n * Prevents double initialization with promise caching\n *\n * @returns A promise that resolves when the operation completes.\n */\nexport type PerpsControllerInitAction = {\n type: `PerpsController:init`;\n handler: PerpsController['init'];\n};\n\n/**\n * Get the currently active provider.\n * In aggregated mode, returns AggregatedPerpsProvider which routes to underlying providers.\n * In single provider mode, returns HyperLiquidProvider directly.\n *\n * @returns The active provider (aggregated wrapper or direct provider based on mode)\n * @throws Error if provider is not initialized or reinitializing\n */\nexport type PerpsControllerGetActiveProviderAction = {\n type: `PerpsController:getActiveProvider`;\n handler: PerpsController['getActiveProvider'];\n};\n\n/**\n * Get the currently active provider, returning null if not available\n * Use this method when the caller can gracefully handle a missing provider\n * (e.g., UI components during initialization or reconnection)\n *\n * @returns The active provider, or null if not initialized/reinitializing\n */\nexport type PerpsControllerGetActiveProviderOrNullAction = {\n type: `PerpsController:getActiveProviderOrNull`;\n handler: PerpsController['getActiveProviderOrNull'];\n};\n\n/**\n * Get strategy capabilities through the active provider route used by order\n * placement. The query waits for in-flight initialization and reports an\n * explicit unavailable status when no provider route can answer reliably.\n *\n * @param params - Market and optional provider route.\n * @returns Provider-owned order capabilities.\n */\nexport type PerpsControllerGetOrderCapabilitiesAction = {\n type: `PerpsController:getOrderCapabilities`;\n handler: PerpsController['getOrderCapabilities'];\n};\n\n/**\n * Build a Scale price ladder using the active provider's venue rules.\n *\n * @param params - Market, ladder bounds, count, and optional explicit route.\n * @returns Provider-normalized prices or a typed unavailable result.\n * @throws When the provider cannot normalize the requested ladder.\n */\nexport type PerpsControllerGetScalePriceLadderAction = {\n type: `PerpsController:getScalePriceLadder`;\n handler: PerpsController['getScalePriceLadder'];\n};\n\n/**\n * Place a new order\n * Thin delegation to TradingService\n *\n * @param params - The operation parameters.\n * @returns The order result with order ID and status.\n */\nexport type PerpsControllerPlaceOrderAction = {\n type: `PerpsController:placeOrder`;\n handler: PerpsController['placeOrder'];\n};\n\n/**\n * Edit an existing order\n * Thin delegation to TradingService\n *\n * @param params - The operation parameters.\n * @returns The updated order result with order ID and status.\n */\nexport type PerpsControllerEditOrderAction = {\n type: `PerpsController:editOrder`;\n handler: PerpsController['editOrder'];\n};\n\n/**\n * Cancel an existing order\n *\n * @param params - The operation parameters.\n * @returns The cancellation result with status.\n */\nexport type PerpsControllerCancelOrderAction = {\n type: `PerpsController:cancelOrder`;\n handler: PerpsController['cancelOrder'];\n};\n\n/**\n * Read venue-backed TWAP lifecycle records through the active provider.\n * Providers without native TWAP history return an empty list.\n *\n * @returns Current and terminal TWAP schedules with slice fills.\n */\nexport type PerpsControllerGetTwapOrdersAction = {\n type: `PerpsController:getTwapOrders`;\n handler: PerpsController['getTwapOrders'];\n};\n\n/**\n * Read the active provider's retained Chase lifecycle snapshots.\n * Providers without an emulated Chase implementation return an empty list.\n *\n * @returns Current Chase session snapshots.\n */\nexport type PerpsControllerGetChaseOrdersAction = {\n type: `PerpsController:getChaseOrders`;\n handler: PerpsController['getChaseOrders'];\n};\n\n/**\n * Stop Chase repricing for app backgrounding without cancelling the current\n * resting children.\n *\n * @returns Chase snapshots after suspension.\n * @throws If an aggregated provider cannot suspend every active venue. Other\n * providers may already be suspended; callers can retry to reconcile them.\n */\nexport type PerpsControllerSuspendChaseOrdersAction = {\n type: `PerpsController:suspendChaseOrders`;\n handler: PerpsController['suspendChaseOrders'];\n};\n\n/**\n * Cancel multiple orders in parallel\n * Batch version of cancelOrder() that cancels multiple orders simultaneously\n *\n * @param params - The operation parameters.\n * @returns The batch cancellation results for each order.\n */\nexport type PerpsControllerCancelOrdersAction = {\n type: `PerpsController:cancelOrders`;\n handler: PerpsController['cancelOrders'];\n};\n\n/**\n * Close a position (partial or full)\n * Thin delegation to TradingService\n *\n * @param params - The operation parameters.\n * @returns The order result from the close position request.\n */\nexport type PerpsControllerClosePositionAction = {\n type: `PerpsController:closePosition`;\n handler: PerpsController['closePosition'];\n};\n\n/**\n * Close multiple positions in parallel\n * Batch version of closePosition() that closes multiple positions simultaneously\n *\n * @param params - The operation parameters.\n * @returns The batch close results for each position.\n */\nexport type PerpsControllerClosePositionsAction = {\n type: `PerpsController:closePositions`;\n handler: PerpsController['closePositions'];\n};\n\n/**\n * Update TP/SL for an existing position\n *\n * @param params - The operation parameters.\n * @returns The order result from the TP/SL update.\n */\nexport type PerpsControllerUpdatePositionTPSLAction = {\n type: `PerpsController:updatePositionTPSL`;\n handler: PerpsController['updatePositionTPSL'];\n};\n\n/**\n * Update margin for an existing position (add or remove)\n *\n * @param params - The operation parameters.\n * @returns The margin update result.\n */\nexport type PerpsControllerUpdateMarginAction = {\n type: `PerpsController:updateMargin`;\n handler: PerpsController['updateMargin'];\n};\n\n/**\n * Flip position (reverse direction while keeping size and leverage)\n *\n * @param params - The operation parameters.\n * @returns The order result from the position flip.\n */\nexport type PerpsControllerFlipPositionAction = {\n type: `PerpsController:flipPosition`;\n handler: PerpsController['flipPosition'];\n};\n\n/**\n * Simplified deposit method that prepares transaction for confirmation screen\n * No complex state tracking - just sets a loading flag\n *\n * @param params - Parameters for the deposit flow\n * @param params.amount - Optional deposit amount\n * @param params.placeOrder - If true, uses addTransaction instead of submit to avoid navigation\n * @returns An object containing a promise that resolves to the transaction hash.\n */\nexport type PerpsControllerDepositWithConfirmationAction = {\n type: `PerpsController:depositWithConfirmation`;\n handler: PerpsController['depositWithConfirmation'];\n};\n\n/**\n * Same as depositWithConfirmation - prepares transaction for confirmation screen.\n *\n * @returns A promise that resolves to the string result.\n */\nexport type PerpsControllerDepositWithOrderAction = {\n type: `PerpsController:depositWithOrder`;\n handler: PerpsController['depositWithOrder'];\n};\n\n/**\n * Clear the last deposit result after it has been shown to the user\n */\nexport type PerpsControllerClearDepositResultAction = {\n type: `PerpsController:clearDepositResult`;\n handler: PerpsController['clearDepositResult'];\n};\n\nexport type PerpsControllerClearWithdrawResultAction = {\n type: `PerpsController:clearWithdrawResult`;\n handler: PerpsController['clearWithdrawResult'];\n};\n\n/**\n * Update withdrawal request status when it completes, or remove it on failure.\n * This is called when a withdrawal is matched with a completed withdrawal from the API.\n * When status is `failed`, the request is removed from the queue (not retained).\n *\n * @param withdrawalId - The withdrawal transaction ID.\n * @param status - The current status.\n * @param txHash - The transaction hash.\n */\nexport type PerpsControllerUpdateWithdrawalStatusAction = {\n type: `PerpsController:updateWithdrawalStatus`;\n handler: PerpsController['updateWithdrawalStatus'];\n};\n\n/**\n * Complete a specific withdrawal detected via transaction history polling (FIFO queue).\n * Called when a completed withdrawal appears in the transaction history matching a pending request.\n *\n * Uses FIFO matching: oldest pending withdrawal is matched with first completed withdrawal\n * in history that happened after its submission time.\n *\n * @param withdrawalRequestId - The ID of the pending withdrawal request to mark as complete.\n * @param completedWithdrawal - The completed withdrawal data from the history API.\n * @param completedWithdrawal.txHash - The on-chain transaction hash.\n * @param completedWithdrawal.amount - The withdrawal amount.\n * @param completedWithdrawal.timestamp - The completion timestamp from the history API.\n * @param completedWithdrawal.asset - The asset symbol (e.g. USDC).\n */\nexport type PerpsControllerCompleteWithdrawalFromHistoryAction = {\n type: `PerpsController:completeWithdrawalFromHistory`;\n handler: PerpsController['completeWithdrawalFromHistory'];\n};\n\n/**\n * Update withdrawal progress (persistent across navigation)\n *\n * @param progress - The progress indicator.\n * @param activeWithdrawalId - The active withdrawal ID.\n */\nexport type PerpsControllerUpdateWithdrawalProgressAction = {\n type: `PerpsController:updateWithdrawalProgress`;\n handler: PerpsController['updateWithdrawalProgress'];\n};\n\n/**\n * Get current withdrawal progress\n *\n * @returns The withdrawal progress, last update timestamp, and active withdrawal ID.\n */\nexport type PerpsControllerGetWithdrawalProgressAction = {\n type: `PerpsController:getWithdrawalProgress`;\n handler: PerpsController['getWithdrawalProgress'];\n};\n\n/**\n * Withdraw funds from trading account\n *\n * The withdrawal process varies by provider and may involve:\n * - Direct on-chain transfers\n * - Bridge operations\n * - Multi-step validation processes\n *\n * Check the specific provider documentation for detailed withdrawal flows.\n *\n * @param params Withdrawal parameters\n * @returns WithdrawResult with withdrawal ID and tracking info\n */\nexport type PerpsControllerWithdrawAction = {\n type: `PerpsController:withdraw`;\n handler: PerpsController['withdraw'];\n};\n\n/**\n * Get current positions\n * Thin delegation to MarketDataService\n *\n * For standalone mode, bypasses getActiveProvider() to allow position queries\n * without full perps initialization (e.g., for showing positions on token details page)\n *\n * @param params - The operation parameters.\n * @returns Array of open positions for the active provider.\n */\nexport type PerpsControllerGetPositionsAction = {\n type: `PerpsController:getPositions`;\n handler: PerpsController['getPositions'];\n};\n\n/**\n * Get historical user fills (trade executions)\n * Thin delegation to MarketDataService\n *\n * @param params - The operation parameters.\n * @param options - Optional call modifiers.\n * @param options.forceRefresh - Bypass the request-coalesce cache\n * end-to-end (user-initiated refresh).\n * @returns Array of historical trade executions (fills).\n */\nexport type PerpsControllerGetOrderFillsAction = {\n type: `PerpsController:getOrderFills`;\n handler: PerpsController['getOrderFills'];\n};\n\n/**\n * List TP/SL protection changes the active provider parked for\n * explicit manual re-establishment. Providers without durable\n * settlement state return an empty list.\n *\n * @returns Pending manual-recovery entries.\n */\nexport type PerpsControllerGetPendingManualRecoveriesAction = {\n type: `PerpsController:getPendingManualRecoveries`;\n handler: PerpsController['getPendingManualRecoveries'];\n};\n\n/**\n * READ-ONLY list of the active provider's recovered-dispatch outcomes\n * (previously ambiguous submissions later resolved). Providers without\n * durable dispatch state return an empty list.\n *\n * @returns Pending recovered-dispatch outcomes.\n */\nexport type PerpsControllerGetRecoveredDispatchesAction = {\n type: `PerpsController:getRecoveredDispatches`;\n handler: PerpsController['getRecoveredDispatches'];\n};\n\n/**\n * Acknowledge ONE recovered-dispatch outcome by its stable id, after\n * refreshing venue state. Throws when the active provider has no\n * durable dispatch state or the id no longer matches.\n *\n * @param recoveryId - Stable id from {@link getRecoveredDispatches}.\n * @returns Resolves when the outcome is acknowledged.\n */\nexport type PerpsControllerAcknowledgeRecoveredDispatchAction = {\n type: `PerpsController:acknowledgeRecoveredDispatch`;\n handler: PerpsController['acknowledgeRecoveredDispatch'];\n};\n\n/**\n * Get historical user orders (order lifecycle)\n * Thin delegation to MarketDataService\n *\n * @param params - The operation parameters.\n * @param options - Optional call modifiers.\n * @param options.forceRefresh - Bypass the request-coalesce cache\n * end-to-end (user-initiated refresh).\n * @returns Array of historical orders.\n */\nexport type PerpsControllerGetOrdersAction = {\n type: `PerpsController:getOrders`;\n handler: PerpsController['getOrders'];\n};\n\n/**\n * Get currently open orders (real-time status)\n * Thin delegation to MarketDataService\n *\n * For standalone mode, bypasses getActiveProvider() to allow open order queries\n * without full perps initialization (e.g., for background preloading)\n *\n * @param params - The operation parameters.\n * @returns A promise that resolves to the result.\n */\nexport type PerpsControllerGetOpenOrdersAction = {\n type: `PerpsController:getOpenOrders`;\n handler: PerpsController['getOpenOrders'];\n};\n\n/**\n * Get historical user funding history (funding payments)\n * Thin delegation to MarketDataService\n *\n * @param params - The operation parameters.\n * @param options - Optional call modifiers.\n * @param options.forceRefresh - Bypass the request-coalesce cache\n * end-to-end (user-initiated refresh).\n * @returns Array of historical funding payments.\n */\nexport type PerpsControllerGetFundingAction = {\n type: `PerpsController:getFunding`;\n handler: PerpsController['getFunding'];\n};\n\n/**\n * Get account state (balances, etc.)\n * Thin delegation to MarketDataService\n *\n * For standalone mode, bypasses getActiveProvider() to allow account state queries\n * without full perps initialization (e.g., for checking if user has perps funds)\n *\n * @param params - The operation parameters.\n * @returns A promise that resolves to the result.\n */\nexport type PerpsControllerGetAccountStateAction = {\n type: `PerpsController:getAccountState`;\n handler: PerpsController['getAccountState'];\n};\n\n/**\n * Get historical portfolio data\n * Thin delegation to MarketDataService\n *\n * @param params - The operation parameters.\n * @returns The historical portfolio data points.\n */\nexport type PerpsControllerGetHistoricalPortfolioAction = {\n type: `PerpsController:getHistoricalPortfolio`;\n handler: PerpsController['getHistoricalPortfolio'];\n};\n\n/**\n * Get available markets with optional filtering\n * Thin delegation to MarketDataService\n *\n * For standalone mode, bypasses getActiveProvider() to allow market discovery\n * without full perps initialization (e.g., for discovery banners on spot screens)\n *\n * @param params - The operation parameters.\n * @returns Array of available markets matching the filter criteria.\n */\nexport type PerpsControllerGetMarketsAction = {\n type: `PerpsController:getMarkets`;\n handler: PerpsController['getMarkets'];\n};\n\n/**\n * Get market data with prices (includes price, volume, 24h change).\n * Optionally filter by category, sort, and limit the results.\n *\n * For standalone mode, bypasses getActiveProvider() to allow market data queries\n * without full perps initialization (e.g., for background preloading on app start)\n *\n * @param params - The operation parameters.\n * @param params.standalone - Whether to use standalone mode.\n * @param params.categories - Filter to markets matching any of these categories.\n * @param params.sortBy - Sort results by this field.\n * @param params.direction - Sort direction (default: desc).\n * @param params.limit - Maximum number of results to return.\n * @returns A promise that resolves to the market data.\n */\nexport type PerpsControllerGetMarketDataWithPricesAction = {\n type: `PerpsController:getMarketDataWithPrices`;\n handler: PerpsController['getMarketDataWithPrices'];\n};\n\n/**\n * Start background market data preloading.\n * Fetches market data immediately and refreshes every 5 minutes.\n * Watches for isTestnet and hip3ConfigVersion changes to re-preload.\n */\nexport type PerpsControllerStartMarketDataPreloadAction = {\n type: `PerpsController:startMarketDataPreload`;\n handler: PerpsController['startMarketDataPreload'];\n};\n\n/**\n * Stop background market data preloading.\n */\nexport type PerpsControllerStopMarketDataPreloadAction = {\n type: `PerpsController:stopMarketDataPreload`;\n handler: PerpsController['stopMarketDataPreload'];\n};\n\n/**\n * Get list of available HIP-3 builder-deployed DEXs\n *\n * @param params - Optional parameters for filtering\n * @returns Array of DEX names\n */\nexport type PerpsControllerGetAvailableDexsAction = {\n type: `PerpsController:getAvailableDexs`;\n handler: PerpsController['getAvailableDexs'];\n};\n\n/**\n * Fetch historical candle data\n * Thin delegation to MarketDataService\n *\n * @param options - The configuration options.\n * @param options.symbol - The trading pair symbol.\n * @param options.interval - The candle interval period.\n * @param options.limit - Maximum number of items to fetch.\n * @param options.endTime - End timestamp in milliseconds.\n * @returns The historical candle data for the requested symbol and interval.\n */\nexport type PerpsControllerFetchHistoricalCandlesAction = {\n type: `PerpsController:fetchHistoricalCandles`;\n handler: PerpsController['fetchHistoricalCandles'];\n};\n\n/**\n * Calculate liquidation price for a position\n * Uses provider-specific formulas based on protocol rules\n *\n * @param params - The operation parameters.\n * @returns A promise that resolves to the string result.\n */\nexport type PerpsControllerCalculateLiquidationPriceAction = {\n type: `PerpsController:calculateLiquidationPrice`;\n handler: PerpsController['calculateLiquidationPrice'];\n};\n\n/**\n * Project the isolated position that would remain after a proposed order.\n * Margin and liquidation availability are independent: a missing liquidation\n * does not hide a valid margin projection. Cross-margin returns unsupported.\n *\n * @param params - Live position plus the proposed order.\n * @returns Discriminated preview of the resulting position.\n */\nexport type PerpsControllerPreviewPositionModifyAction = {\n type: `PerpsController:previewPositionModify`;\n handler: PerpsController['previewPositionModify'];\n};\n\n/**\n * Calculate maintenance margin for a specific asset\n * Returns a percentage (e.g., 0.0125 for 1.25%)\n *\n * @param params - The operation parameters.\n * @returns A promise that resolves to the numeric result.\n */\nexport type PerpsControllerCalculateMaintenanceMarginAction = {\n type: `PerpsController:calculateMaintenanceMargin`;\n handler: PerpsController['calculateMaintenanceMargin'];\n};\n\n/**\n * Get maximum leverage allowed for an asset\n *\n * @param asset - The asset identifier.\n * @param providerId - Optional provider route for aggregated markets.\n * @returns A promise that resolves to the numeric result.\n */\nexport type PerpsControllerGetMaxLeverageAction = {\n type: `PerpsController:getMaxLeverage`;\n handler: PerpsController['getMaxLeverage'];\n};\n\n/**\n * Validate order parameters according to protocol-specific rules\n *\n * @param params - The operation parameters.\n * @returns True if the condition is met.\n */\nexport type PerpsControllerValidateOrderAction = {\n type: `PerpsController:validateOrder`;\n handler: PerpsController['validateOrder'];\n};\n\n/**\n * Validate close position parameters according to protocol-specific rules\n *\n * @param params - The operation parameters.\n * @returns A promise that resolves to the result.\n */\nexport type PerpsControllerValidateClosePositionAction = {\n type: `PerpsController:validateClosePosition`;\n handler: PerpsController['validateClosePosition'];\n};\n\n/**\n * Validate withdrawal parameters according to protocol-specific rules\n *\n * @param params - The operation parameters.\n * @returns True if the condition is met.\n */\nexport type PerpsControllerValidateWithdrawalAction = {\n type: `PerpsController:validateWithdrawal`;\n handler: PerpsController['validateWithdrawal'];\n};\n\n/**\n * Get supported withdrawal routes - returns complete asset and routing information\n *\n * @returns Array of supported asset routes for withdrawals.\n */\nexport type PerpsControllerGetWithdrawalRoutesAction = {\n type: `PerpsController:getWithdrawalRoutes`;\n handler: PerpsController['getWithdrawalRoutes'];\n};\n\n/**\n * Set the transient UTM / discovery attribution context.\n * Replaces any previously set context. Held in-memory only — not persisted.\n *\n * @param context - The attribution context (UTM fields) to store.\n */\nexport type PerpsControllerSetAttributionContextAction = {\n type: `PerpsController:setAttributionContext`;\n handler: PerpsController['setAttributionContext'];\n};\n\n/**\n * Get a copy of the current attribution context.\n *\n * @returns A shallow copy of the stored attribution context.\n */\nexport type PerpsControllerGetAttributionContextAction = {\n type: `PerpsController:getAttributionContext`;\n handler: PerpsController['getAttributionContext'];\n};\n\n/**\n * Clear the stored attribution context.\n */\nexport type PerpsControllerClearAttributionContextAction = {\n type: `PerpsController:clearAttributionContext`;\n handler: PerpsController['clearAttributionContext'];\n};\n\n/**\n * Toggle between testnet and mainnet\n *\n * @returns The toggle result with success status and current network mode.\n */\nexport type PerpsControllerToggleTestnetAction = {\n type: `PerpsController:toggleTestnet`;\n handler: PerpsController['toggleTestnet'];\n};\n\n/**\n * Switch to a different provider\n * Uses a full reinit approach: disconnect() → update state → init()\n * This ensures complete state reset including WebSocket connections and caches.\n *\n * @param providerId - The provider identifier.\n * @returns The switch result with success status and active provider.\n */\nexport type PerpsControllerSwitchProviderAction = {\n type: `PerpsController:switchProvider`;\n handler: PerpsController['switchProvider'];\n};\n\n/**\n * Get current network (mainnet/testnet)\n *\n * @returns Either 'mainnet' or 'testnet' based on the current configuration.\n */\nexport type PerpsControllerGetCurrentNetworkAction = {\n type: `PerpsController:getCurrentNetwork`;\n handler: PerpsController['getCurrentNetwork'];\n};\n\n/**\n * Get the ordered list of all market categories for HIP-3 markets.\n * Returns a stable, explicitly ordered array so the UI can render\n * category filter tabs without deriving order from config insertion.\n *\n * @returns Ordered array of {@link MarketTypeFilter} values. Does not include the 'all' or 'new' sentinels — those are separate UI controls.\n */\nexport type PerpsControllerGetMarketCategoriesAction = {\n type: `PerpsController:getMarketCategories`;\n handler: PerpsController['getMarketCategories'];\n};\n\n/**\n * Get the current WebSocket connection state from the active provider.\n * Used by the UI to monitor connection health and show notifications.\n *\n * @returns The current WebSocket connection state, or DISCONNECTED if not supported\n */\nexport type PerpsControllerGetWebSocketConnectionStateAction = {\n type: `PerpsController:getWebSocketConnectionState`;\n handler: PerpsController['getWebSocketConnectionState'];\n};\n\n/**\n * Subscribe to WebSocket connection state changes from the active provider.\n * The listener will be called immediately with the current state and whenever the state changes.\n *\n * @param listener - Callback function that receives the new connection state and reconnection attempt\n * @returns Unsubscribe function to remove the listener, or no-op if not supported\n */\nexport type PerpsControllerSubscribeToConnectionStateAction = {\n type: `PerpsController:subscribeToConnectionState`;\n handler: PerpsController['subscribeToConnectionState'];\n};\n\n/**\n * Manually trigger a WebSocket reconnection attempt.\n * Used by the UI retry button when connection is lost.\n */\nexport type PerpsControllerReconnectAction = {\n type: `PerpsController:reconnect`;\n handler: PerpsController['reconnect'];\n};\n\n/**\n * Subscribe to live price updates\n *\n * @param params - The operation parameters.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToPricesAction = {\n type: `PerpsController:subscribeToPrices`;\n handler: PerpsController['subscribeToPrices'];\n};\n\n/**\n * Subscribe to live position updates\n *\n * @param params - The operation parameters.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToPositionsAction = {\n type: `PerpsController:subscribeToPositions`;\n handler: PerpsController['subscribeToPositions'];\n};\n\n/**\n * Subscribe to live order fill updates\n *\n * @param params - The operation parameters.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToOrderFillsAction = {\n type: `PerpsController:subscribeToOrderFills`;\n handler: PerpsController['subscribeToOrderFills'];\n};\n\n/**\n * Stream TWAP lifecycle updates through the active provider.\n *\n * Providers without a native TWAP push channel do not implement this; the\n * returned no-op cleanup lets a client fall back to polling `getTwapOrders`\n * without branching on provider identity.\n *\n * @param params - Subscription parameters including callback and account ID.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToTwapOrdersAction = {\n type: `PerpsController:subscribeToTwapOrders`;\n handler: PerpsController['subscribeToTwapOrders'];\n};\n\n/**\n * Subscribe to live order updates\n *\n * @param params - The operation parameters.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToOrdersAction = {\n type: `PerpsController:subscribeToOrders`;\n handler: PerpsController['subscribeToOrders'];\n};\n\n/**\n * Subscribe to live account updates.\n * Updates controller state (Redux) when new account data arrives so consumers\n * like usePerpsBalanceTokenFilter (PayWithModal) see the latest balance.\n *\n * @param params - The operation parameters.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToAccountAction = {\n type: `PerpsController:subscribeToAccount`;\n handler: PerpsController['subscribeToAccount'];\n};\n\n/**\n * Subscribe to full order book updates with multiple depth levels\n * Creates a dedicated L2Book subscription for real-time order book data\n *\n * @param params - The operation parameters.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToOrderBookAction = {\n type: `PerpsController:subscribeToOrderBook`;\n handler: PerpsController['subscribeToOrderBook'];\n};\n\n/**\n * Subscribe to live candle updates\n *\n * @param params - The operation parameters.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToCandlesAction = {\n type: `PerpsController:subscribeToCandles`;\n handler: PerpsController['subscribeToCandles'];\n};\n\n/**\n * Subscribe to open interest cap updates\n * Zero additional network overhead - data comes from existing webData3 subscription\n *\n * @param params - The operation parameters.\n * @returns A cleanup function to remove the subscription.\n */\nexport type PerpsControllerSubscribeToOICapsAction = {\n type: `PerpsController:subscribeToOICaps`;\n handler: PerpsController['subscribeToOICaps'];\n};\n\n/**\n * Configure live data throttling\n *\n * @param config - The configuration object.\n */\nexport type PerpsControllerSetLiveDataConfigAction = {\n type: `PerpsController:setLiveDataConfig`;\n handler: PerpsController['setLiveDataConfig'];\n};\n\n/**\n * Calculate trading fees through the active provider route.\n * Each provider owns its fee policy. An explicit provider route overrides\n * the active/default provider used by placement.\n *\n * @param params - The operation parameters.\n * @returns The fee calculation result for the trade.\n */\nexport type PerpsControllerCalculateFeesAction = {\n type: `PerpsController:calculateFees`;\n handler: PerpsController['calculateFees'];\n};\n\n/**\n * Approve the dedicated subscription builder outside order submission.\n *\n * @deprecated ADR 0064 replaced the dedicated subscription builder with cloid\n * marking on the standard builder, so there is nothing left to approve. Kept\n * as a no-op so clients still calling it keep building while they migrate;\n * remove it once cloid marking is verified in shadow mode.\n *\n * Resolves `true`, not `false`. The method answers \"is the subscription\n * builder ready?\", and the honest answer is now \"nothing needs approving\" —\n * a `false` would read as a setup failure to a caller that branches on it and\n * could block a waiver that is already fully in effect.\n * @returns Always `true`; no approval is required.\n */\nexport type PerpsControllerApproveSubscriptionBuilderFeeAction = {\n type: `PerpsController:approveSubscriptionBuilderFee`;\n handler: PerpsController['approveSubscriptionBuilderFee'];\n};\n\n/**\n * Drop the cached subscription benefits snapshot.\n *\n * Call this when the identity behind the benefits changes — sign-out, or a\n * profile switch. The snapshot carries no profile identity of its own, so\n * without this it keeps answering for the previous profile until the next\n * successful refresh. The next fee resolution reports the waiver as\n * unavailable, so it is withheld until preview or lifecycle hydration.\n */\nexport type PerpsControllerInvalidateSubscriptionBenefitsAction = {\n type: `PerpsController:invalidateSubscriptionBenefits`;\n handler: PerpsController['invalidateSubscriptionBenefits'];\n};\n\n/**\n * Disconnect provider and cleanup subscriptions\n * Call this when navigating away from Perps screens to prevent battery drain\n */\nexport type PerpsControllerDisconnectAction = {\n type: `PerpsController:disconnect`;\n handler: PerpsController['disconnect'];\n};\n\n/**\n * Resume eligibility monitoring after onboarding completes.\n * Clears the deferred flag and triggers an immediate eligibility check\n * using the current remote feature flag state.\n */\nexport type PerpsControllerStartEligibilityMonitoringAction = {\n type: `PerpsController:startEligibilityMonitoring`;\n handler: PerpsController['startEligibilityMonitoring'];\n};\n\n/**\n * Stops geo-blocking eligibility monitoring.\n * Call this when the user disables basic functionality (e.g. useExternalServices becomes false).\n * Prevents geolocation calls until startEligibilityMonitoring() is called again.\n * Safe to call multiple times.\n */\nexport type PerpsControllerStopEligibilityMonitoringAction = {\n type: `PerpsController:stopEligibilityMonitoring`;\n handler: PerpsController['stopEligibilityMonitoring'];\n};\n\nexport type PerpsControllerRefreshEligibilityAction = {\n type: `PerpsController:refreshEligibility`;\n handler: PerpsController['refreshEligibility'];\n};\n\n/**\n * Get block explorer URL for an address or just the base URL\n *\n * @param address - Optional address to append to the base URL\n * @returns Block explorer URL\n */\nexport type PerpsControllerGetBlockExplorerUrlAction = {\n type: `PerpsController:getBlockExplorerUrl`;\n handler: PerpsController['getBlockExplorerUrl'];\n};\n\n/**\n * Check if user is first-time for the current network\n *\n * @returns True if the condition is met.\n */\nexport type PerpsControllerIsFirstTimeUserOnCurrentNetworkAction = {\n type: `PerpsController:isFirstTimeUserOnCurrentNetwork`;\n handler: PerpsController['isFirstTimeUserOnCurrentNetwork'];\n};\n\n/**\n * Mark that the user has completed the tutorial/onboarding\n * This prevents the tutorial from showing again\n */\nexport type PerpsControllerMarkTutorialCompletedAction = {\n type: `PerpsController:markTutorialCompleted`;\n handler: PerpsController['markTutorialCompleted'];\n};\n\nexport type PerpsControllerMarkFirstOrderCompletedAction = {\n type: `PerpsController:markFirstOrderCompleted`;\n handler: PerpsController['markFirstOrderCompleted'];\n};\n\n/**\n * Reset first-time user state for both networks\n * This is useful for testing the tutorial flow\n * Called by Reset Account feature in settings\n */\nexport type PerpsControllerResetFirstTimeUserStateAction = {\n type: `PerpsController:resetFirstTimeUserState`;\n handler: PerpsController['resetFirstTimeUserState'];\n};\n\n/**\n * Clear pending/bridging withdrawal and deposit requests\n * This is useful when users want to clear stuck pending indicators\n * Called by Reset Account feature in settings\n */\nexport type PerpsControllerClearPendingTransactionRequestsAction = {\n type: `PerpsController:clearPendingTransactionRequests`;\n handler: PerpsController['clearPendingTransactionRequests'];\n};\n\n/**\n * Get saved trade configuration for a market\n *\n * @param symbol - The trading pair symbol.\n * @returns The resulting string value.\n */\nexport type PerpsControllerGetTradeConfigurationAction = {\n type: `PerpsController:getTradeConfiguration`;\n handler: PerpsController['getTradeConfiguration'];\n};\n\n/**\n * Save trade configuration for a market\n *\n * @param symbol - Market symbol\n * @param leverage - Leverage value\n */\nexport type PerpsControllerSaveTradeConfigurationAction = {\n type: `PerpsController:saveTradeConfiguration`;\n handler: PerpsController['saveTradeConfiguration'];\n};\n\n/**\n * Save pending trade configuration for a market\n * This is a temporary configuration that expires after 30 seconds.\n *\n * @param symbol - Market symbol\n * @param config - Pending trade configuration (includes optional selected payment token from Pay row)\n * @param config.amount - The amount value.\n * @param config.leverage - The leverage multiplier.\n * @param config.takeProfitPrice - The take profit price.\n * @param config.stopLossPrice - The stop loss price.\n * @param config.limitPrice - The limit price.\n * @param config.orderType - The order type.\n * @param config.reduceOnly - Whether the order may only reduce a position.\n * @param config.direction - Long or short.\n * @param config.selectedPaymentToken - The selected payment token.\n */\nexport type PerpsControllerSavePendingTradeConfigurationAction = {\n type: `PerpsController:savePendingTradeConfiguration`;\n handler: PerpsController['savePendingTradeConfiguration'];\n};\n\n/**\n * Get pending trade configuration for a market\n * Returns undefined if config doesn't exist or has expired.\n *\n * @param symbol - Market symbol\n * @returns Pending trade configuration or undefined\n */\nexport type PerpsControllerGetPendingTradeConfigurationAction = {\n type: `PerpsController:getPendingTradeConfiguration`;\n handler: PerpsController['getPendingTradeConfiguration'];\n};\n\n/**\n * Clear pending trade configuration for a market\n *\n * @param symbol - Market symbol\n */\nexport type PerpsControllerClearPendingTradeConfigurationAction = {\n type: `PerpsController:clearPendingTradeConfiguration`;\n handler: PerpsController['clearPendingTradeConfiguration'];\n};\n\n/**\n * Get saved market filter preferences\n * Handles backward compatibility with legacy string format\n *\n * @returns The saved sort option ID and direction.\n */\nexport type PerpsControllerGetMarketFilterPreferencesAction = {\n type: `PerpsController:getMarketFilterPreferences`;\n handler: PerpsController['getMarketFilterPreferences'];\n};\n\n/**\n * Save market filter preferences\n *\n * @param optionId - Sort/filter option ID\n * @param direction - Sort direction ('asc' or 'desc')\n */\nexport type PerpsControllerSaveMarketFilterPreferencesAction = {\n type: `PerpsController:saveMarketFilterPreferences`;\n handler: PerpsController['saveMarketFilterPreferences'];\n};\n\n/**\n * Get the user's max slippage tolerance in basis points.\n *\n * @returns The configured max slippage bps, or undefined if never set (callers should default to 300 bps / 3%).\n */\nexport type PerpsControllerGetMaxSlippageAction = {\n type: `PerpsController:getMaxSlippage`;\n handler: PerpsController['getMaxSlippage'];\n};\n\n/**\n * Set the user's max slippage tolerance in basis points.\n *\n * @param bps - Max slippage in basis points (e.g. 300 = 3%). Clamped to 10–1000, snapped to step of 10.\n */\nexport type PerpsControllerSetMaxSlippageAction = {\n type: `PerpsController:setMaxSlippage`;\n handler: PerpsController['setMaxSlippage'];\n};\n\n/**\n * Get market-agnostic Pro order-book display preferences.\n *\n * @returns The current order-book display preferences.\n */\nexport type PerpsControllerGetOrderBookPreferencesAction = {\n type: `PerpsController:getOrderBookPreferences`;\n handler: PerpsController['getOrderBookPreferences'];\n};\n\n/**\n * Update market-agnostic Pro order-book display preferences.\n *\n * @param patch - Partial order-book preferences to update.\n */\nexport type PerpsControllerSetOrderBookPreferencesAction = {\n type: `PerpsController:setOrderBookPreferences`;\n handler: PerpsController['setOrderBookPreferences'];\n};\n\n/**\n * Get the selected order type shared by every market.\n *\n * @returns The selected order type.\n */\nexport type PerpsControllerGetSelectedOrderTypeAction = {\n type: `PerpsController:getSelectedOrderType`;\n handler: PerpsController['getSelectedOrderType'];\n};\n\n/**\n * Set the selected order type shared by every market.\n *\n * @param orderType - The selected order type.\n */\nexport type PerpsControllerSetSelectedOrderTypeAction = {\n type: `PerpsController:setSelectedOrderType`;\n handler: PerpsController['setSelectedOrderType'];\n};\n\n/**\n * Get the number of candles shown in Lite and Pro chart viewports.\n *\n * @returns The visible candle count.\n */\nexport type PerpsControllerGetVisibleCandleCountAction = {\n type: `PerpsController:getVisibleCandleCount`;\n handler: PerpsController['getVisibleCandleCount'];\n};\n\n/**\n * Set the number of candles shown in Lite and Pro chart viewports.\n *\n * @param count - Requested visible candle count.\n */\nexport type PerpsControllerSetVisibleCandleCountAction = {\n type: `PerpsController:setVisibleCandleCount`;\n handler: PerpsController['setVisibleCandleCount'];\n};\n\n/**\n * Get the user's pro-mode layout preferences (network-independent).\n *\n * @returns The current pro-mode layout preferences.\n */\nexport type PerpsControllerGetProLayoutPreferencesAction = {\n type: `PerpsController:getProLayoutPreferences`;\n handler: PerpsController['getProLayoutPreferences'];\n};\n\n/**\n * Update the user's pro-mode layout preferences.\n *\n * Patch-style setter: only the provided fields are updated, the rest are\n * preserved. This keeps the signature stable as new layout fields are added.\n *\n * @param patch - Partial set of pro-mode layout preferences to update.\n */\nexport type PerpsControllerSetProLayoutPreferencesAction = {\n type: `PerpsController:setProLayoutPreferences`;\n handler: PerpsController['setProLayoutPreferences'];\n};\n\n/**\n * Set the Perps interface mode (lite/pro).\n *\n * @param mode - The mode to switch to.\n */\nexport type PerpsControllerSetPerpsModeAction = {\n type: `PerpsController:setPerpsMode`;\n handler: PerpsController['setPerpsMode'];\n};\n\n/**\n * Set the selected payment token for the Perps order/deposit flow.\n * Pass null or a token with description PERPS_CONSTANTS.PerpsBalanceTokenDescription to select Perps balance.\n * Only required fields (address, chainId) are stored in state; description and symbol are optional.\n *\n * @param token - The token identifier.\n */\nexport type PerpsControllerSetSelectedPaymentTokenAction = {\n type: `PerpsController:setSelectedPaymentToken`;\n handler: PerpsController['setSelectedPaymentToken'];\n};\n\n/**\n * Reset the selected payment token to Perps balance (null).\n * Call when leaving the Perps order view so the next visit defaults to Perps balance.\n */\nexport type PerpsControllerResetSelectedPaymentTokenAction = {\n type: `PerpsController:resetSelectedPaymentToken`;\n handler: PerpsController['resetSelectedPaymentToken'];\n};\n\n/**\n * Get saved order book grouping for a market\n *\n * @param symbol - Market symbol\n * @returns The saved grouping value or undefined if not set\n */\nexport type PerpsControllerGetOrderBookGroupingAction = {\n type: `PerpsController:getOrderBookGrouping`;\n handler: PerpsController['getOrderBookGrouping'];\n};\n\n/**\n * Save order book grouping for a market\n *\n * @param symbol - Market symbol\n * @param grouping - Price grouping value\n */\nexport type PerpsControllerSaveOrderBookGroupingAction = {\n type: `PerpsController:saveOrderBookGrouping`;\n handler: PerpsController['saveOrderBookGrouping'];\n};\n\n/**\n * Toggle watchlist status for a market.\n *\n * Updates local state immediately (optimistic UI) and then syncs the new\n * watchlist to AuthenticatedUserStorageService. If the remote write fails,\n * the local state is reverted so it stays consistent with AUS.\n *\n * When the user is unauthenticated, or the active provider is not yet\n * supported by the AUS schema, the controller continues operating with\n * local-persisted state only — no error is surfaced to the caller.\n *\n * Watchlist markets are stored per network (testnet/mainnet).\n *\n * @param symbol - The trading pair symbol.\n */\nexport type PerpsControllerToggleWatchlistMarketAction = {\n type: `PerpsController:toggleWatchlistMarket`;\n handler: PerpsController['toggleWatchlistMarket'];\n};\n\n/**\n * Check if a market is in the watchlist on the current network\n *\n * @param symbol - The trading pair symbol.\n * @returns True if the condition is met.\n */\nexport type PerpsControllerIsWatchlistMarketAction = {\n type: `PerpsController:isWatchlistMarket`;\n handler: PerpsController['isWatchlistMarket'];\n};\n\n/**\n * Get all watchlist markets for the current network\n *\n * @returns The resulting string value.\n */\nexport type PerpsControllerGetWatchlistMarketsAction = {\n type: `PerpsController:getWatchlistMarkets`;\n handler: PerpsController['getWatchlistMarkets'];\n};\n\n/**\n * Record that the user viewed a market.\n *\n * The symbol is prepended to the per-network recently-viewed list (newest-first).\n * Any existing entry for the same symbol is removed first so there are no\n * duplicates. The list is then capped at PERPS_CONSTANTS.RecentlyViewedMarketsLimit.\n *\n * @param symbol - The trading pair symbol (e.g. 'BTC', 'ETH', 'xyz:TSLA').\n */\nexport type PerpsControllerRecordMarketViewedAction = {\n type: `PerpsController:recordMarketViewed`;\n handler: PerpsController['recordMarketViewed'];\n};\n\n/**\n * Get recently viewed markets for the current network.\n *\n * Returns up to PERPS_CONSTANTS.RecentlyViewedMarketsLimit symbols, ordered\n * newest-first, filtered to entries within the last\n * PERPS_CONSTANTS.RecentlyViewedMarketsTtlMs (24 hours). Returns an empty\n * array when no qualifying entries exist.\n *\n * @returns Ordered array of market symbols.\n */\nexport type PerpsControllerGetRecentlyViewedMarketsAction = {\n type: `PerpsController:getRecentlyViewedMarkets`;\n handler: PerpsController['getRecentlyViewedMarkets'];\n};\n\n/**\n * Check if the controller is currently reinitializing\n *\n * @returns true if providers are being reinitialized\n */\nexport type PerpsControllerIsCurrentlyReinitializingAction = {\n type: `PerpsController:isCurrentlyReinitializing`;\n handler: PerpsController['isCurrentlyReinitializing'];\n};\n\n/**\n * Union of all PerpsController action types.\n */\nexport type PerpsControllerMethodActions =\n | PerpsControllerGetCachedMarketDataForActiveProviderAction\n | PerpsControllerGetCachedUserDataForActiveProviderAction\n | PerpsControllerGetUserDataSnapshotAction\n | PerpsControllerInitAction\n | PerpsControllerGetActiveProviderAction\n | PerpsControllerGetActiveProviderOrNullAction\n | PerpsControllerGetOrderCapabilitiesAction\n | PerpsControllerGetScalePriceLadderAction\n | PerpsControllerPlaceOrderAction\n | PerpsControllerEditOrderAction\n | PerpsControllerCancelOrderAction\n | PerpsControllerGetTwapOrdersAction\n | PerpsControllerGetChaseOrdersAction\n | PerpsControllerSuspendChaseOrdersAction\n | PerpsControllerCancelOrdersAction\n | PerpsControllerClosePositionAction\n | PerpsControllerClosePositionsAction\n | PerpsControllerUpdatePositionTPSLAction\n | PerpsControllerUpdateMarginAction\n | PerpsControllerFlipPositionAction\n | PerpsControllerDepositWithConfirmationAction\n | PerpsControllerDepositWithOrderAction\n | PerpsControllerClearDepositResultAction\n | PerpsControllerClearWithdrawResultAction\n | PerpsControllerUpdateWithdrawalStatusAction\n | PerpsControllerCompleteWithdrawalFromHistoryAction\n | PerpsControllerUpdateWithdrawalProgressAction\n | PerpsControllerGetWithdrawalProgressAction\n | PerpsControllerWithdrawAction\n | PerpsControllerGetPositionsAction\n | PerpsControllerGetOrderFillsAction\n | PerpsControllerGetPendingManualRecoveriesAction\n | PerpsControllerGetRecoveredDispatchesAction\n | PerpsControllerAcknowledgeRecoveredDispatchAction\n | PerpsControllerGetOrdersAction\n | PerpsControllerGetOpenOrdersAction\n | PerpsControllerGetFundingAction\n | PerpsControllerGetAccountStateAction\n | PerpsControllerGetHistoricalPortfolioAction\n | PerpsControllerGetMarketsAction\n | PerpsControllerGetMarketDataWithPricesAction\n | PerpsControllerStartMarketDataPreloadAction\n | PerpsControllerStopMarketDataPreloadAction\n | PerpsControllerGetAvailableDexsAction\n | PerpsControllerFetchHistoricalCandlesAction\n | PerpsControllerCalculateLiquidationPriceAction\n | PerpsControllerPreviewPositionModifyAction\n | PerpsControllerCalculateMaintenanceMarginAction\n | PerpsControllerGetMaxLeverageAction\n | PerpsControllerValidateOrderAction\n | PerpsControllerValidateClosePositionAction\n | PerpsControllerValidateWithdrawalAction\n | PerpsControllerGetWithdrawalRoutesAction\n | PerpsControllerSetAttributionContextAction\n | PerpsControllerGetAttributionContextAction\n | PerpsControllerClearAttributionContextAction\n | PerpsControllerToggleTestnetAction\n | PerpsControllerSwitchProviderAction\n | PerpsControllerGetCurrentNetworkAction\n | PerpsControllerGetMarketCategoriesAction\n | PerpsControllerGetWebSocketConnectionStateAction\n | PerpsControllerSubscribeToConnectionStateAction\n | PerpsControllerReconnectAction\n | PerpsControllerSubscribeToPricesAction\n | PerpsControllerSubscribeToPositionsAction\n | PerpsControllerSubscribeToOrderFillsAction\n | PerpsControllerSubscribeToTwapOrdersAction\n | PerpsControllerSubscribeToOrdersAction\n | PerpsControllerSubscribeToAccountAction\n | PerpsControllerSubscribeToOrderBookAction\n | PerpsControllerSubscribeToCandlesAction\n | PerpsControllerSubscribeToOICapsAction\n | PerpsControllerSetLiveDataConfigAction\n | PerpsControllerCalculateFeesAction\n | PerpsControllerApproveSubscriptionBuilderFeeAction\n | PerpsControllerInvalidateSubscriptionBenefitsAction\n | PerpsControllerDisconnectAction\n | PerpsControllerStartEligibilityMonitoringAction\n | PerpsControllerStopEligibilityMonitoringAction\n | PerpsControllerRefreshEligibilityAction\n | PerpsControllerGetBlockExplorerUrlAction\n | PerpsControllerIsFirstTimeUserOnCurrentNetworkAction\n | PerpsControllerMarkTutorialCompletedAction\n | PerpsControllerMarkFirstOrderCompletedAction\n | PerpsControllerResetFirstTimeUserStateAction\n | PerpsControllerClearPendingTransactionRequestsAction\n | PerpsControllerGetTradeConfigurationAction\n | PerpsControllerSaveTradeConfigurationAction\n | PerpsControllerSavePendingTradeConfigurationAction\n | PerpsControllerGetPendingTradeConfigurationAction\n | PerpsControllerClearPendingTradeConfigurationAction\n | PerpsControllerGetMarketFilterPreferencesAction\n | PerpsControllerSaveMarketFilterPreferencesAction\n | PerpsControllerGetMaxSlippageAction\n | PerpsControllerSetMaxSlippageAction\n | PerpsControllerGetOrderBookPreferencesAction\n | PerpsControllerSetOrderBookPreferencesAction\n | PerpsControllerGetSelectedOrderTypeAction\n | PerpsControllerSetSelectedOrderTypeAction\n | PerpsControllerGetVisibleCandleCountAction\n | PerpsControllerSetVisibleCandleCountAction\n | PerpsControllerGetProLayoutPreferencesAction\n | PerpsControllerSetProLayoutPreferencesAction\n | PerpsControllerSetPerpsModeAction\n | PerpsControllerSetSelectedPaymentTokenAction\n | PerpsControllerResetSelectedPaymentTokenAction\n | PerpsControllerGetOrderBookGroupingAction\n | PerpsControllerSaveOrderBookGroupingAction\n | PerpsControllerToggleWatchlistMarketAction\n | PerpsControllerIsWatchlistMarketAction\n | PerpsControllerGetWatchlistMarketsAction\n | PerpsControllerRecordMarketViewedAction\n | PerpsControllerGetRecentlyViewedMarketsAction\n | PerpsControllerIsCurrentlyReinitializingAction;\n"]}
|
|
@@ -970,10 +970,17 @@ export declare class PerpsController extends BaseController<'PerpsController', P
|
|
|
970
970
|
calculateFees(params: FeeCalculationParams): Promise<FeeCalculationResult>;
|
|
971
971
|
/**
|
|
972
972
|
* Approve the dedicated subscription builder outside order submission.
|
|
973
|
-
* Until this succeeds, subscription waivers fall back to the ordinary
|
|
974
|
-
* builder at the standard fee.
|
|
975
973
|
*
|
|
976
|
-
* @
|
|
974
|
+
* @deprecated ADR 0064 replaced the dedicated subscription builder with cloid
|
|
975
|
+
* marking on the standard builder, so there is nothing left to approve. Kept
|
|
976
|
+
* as a no-op so clients still calling it keep building while they migrate;
|
|
977
|
+
* remove it once cloid marking is verified in shadow mode.
|
|
978
|
+
*
|
|
979
|
+
* Resolves `true`, not `false`. The method answers "is the subscription
|
|
980
|
+
* builder ready?", and the honest answer is now "nothing needs approving" —
|
|
981
|
+
* a `false` would read as a setup failure to a caller that branches on it and
|
|
982
|
+
* could block a waiver that is already fully in effect.
|
|
983
|
+
* @returns Always `true`; no approval is required.
|
|
977
984
|
*/
|
|
978
985
|
approveSubscriptionBuilderFee(): Promise<boolean>;
|
|
979
986
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PerpsController.d.ts","sourceRoot":"","sources":["../src/PerpsController.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,2BAA2B,EAC3B,0BAA0B,EAE3B,MAAM,2BAA2B,CAAC;AAGnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EACL,YAAY,EAEb,MAAM,4BAA4B,CAAC;AAYpC,OAAO,KAAK,EACV,YAAY,EACZ,oBAAoB,EACpB,oBAAoB,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