@metamask/bridge-controller 46.0.0 → 47.1.0

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.
Files changed (58) hide show
  1. package/CHANGELOG.md +29 -1
  2. package/dist/bridge-controller.cjs +20 -18
  3. package/dist/bridge-controller.cjs.map +1 -1
  4. package/dist/bridge-controller.d.cts +3 -1
  5. package/dist/bridge-controller.d.cts.map +1 -1
  6. package/dist/bridge-controller.d.mts +3 -1
  7. package/dist/bridge-controller.d.mts.map +1 -1
  8. package/dist/bridge-controller.mjs +20 -18
  9. package/dist/bridge-controller.mjs.map +1 -1
  10. package/dist/constants/bridge.cjs.map +1 -1
  11. package/dist/constants/bridge.d.cts +2 -8
  12. package/dist/constants/bridge.d.cts.map +1 -1
  13. package/dist/constants/bridge.d.mts +2 -8
  14. package/dist/constants/bridge.d.mts.map +1 -1
  15. package/dist/constants/bridge.mjs.map +1 -1
  16. package/dist/selectors.d.cts +188 -0
  17. package/dist/selectors.d.cts.map +1 -1
  18. package/dist/selectors.d.mts +188 -0
  19. package/dist/selectors.d.mts.map +1 -1
  20. package/dist/types.cjs.map +1 -1
  21. package/dist/types.d.cts +2 -2
  22. package/dist/types.d.cts.map +1 -1
  23. package/dist/types.d.mts +2 -2
  24. package/dist/types.d.mts.map +1 -1
  25. package/dist/types.mjs.map +1 -1
  26. package/dist/utils/feature-flags.d.cts +4 -0
  27. package/dist/utils/feature-flags.d.cts.map +1 -1
  28. package/dist/utils/feature-flags.d.mts +4 -0
  29. package/dist/utils/feature-flags.d.mts.map +1 -1
  30. package/dist/utils/metrics/constants.cjs +0 -1
  31. package/dist/utils/metrics/constants.cjs.map +1 -1
  32. package/dist/utils/metrics/constants.d.cts +0 -1
  33. package/dist/utils/metrics/constants.d.cts.map +1 -1
  34. package/dist/utils/metrics/constants.d.mts +0 -1
  35. package/dist/utils/metrics/constants.d.mts.map +1 -1
  36. package/dist/utils/metrics/constants.mjs +0 -1
  37. package/dist/utils/metrics/constants.mjs.map +1 -1
  38. package/dist/utils/metrics/properties.cjs.map +1 -1
  39. package/dist/utils/metrics/properties.d.cts +1 -1
  40. package/dist/utils/metrics/properties.d.cts.map +1 -1
  41. package/dist/utils/metrics/properties.d.mts +1 -1
  42. package/dist/utils/metrics/properties.d.mts.map +1 -1
  43. package/dist/utils/metrics/properties.mjs.map +1 -1
  44. package/dist/utils/metrics/types.cjs.map +1 -1
  45. package/dist/utils/metrics/types.d.cts +1 -3
  46. package/dist/utils/metrics/types.d.cts.map +1 -1
  47. package/dist/utils/metrics/types.d.mts +1 -3
  48. package/dist/utils/metrics/types.d.mts.map +1 -1
  49. package/dist/utils/metrics/types.mjs.map +1 -1
  50. package/dist/utils/validators.cjs +18 -0
  51. package/dist/utils/validators.cjs.map +1 -1
  52. package/dist/utils/validators.d.cts +47 -0
  53. package/dist/utils/validators.d.cts.map +1 -1
  54. package/dist/utils/validators.d.mts +47 -0
  55. package/dist/utils/validators.d.mts.map +1 -1
  56. package/dist/utils/validators.mjs +18 -0
  57. package/dist/utils/validators.mjs.map +1 -1
  58. package/package.json +4 -4
@@ -60,6 +60,10 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
60
60
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
61
61
  isGaslessSwapEnabled?: boolean | undefined;
62
62
  noFeeAssets?: string[] | undefined;
63
+ defaultPairs?: {
64
+ standard: Record<string, string>;
65
+ other: Record<string, string>;
66
+ } | undefined;
63
67
  }>;
64
68
  refreshRate: number;
65
69
  minimumVersion: string;
@@ -73,6 +77,10 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
73
77
  bridgeIds?: string[] | undefined;
74
78
  noFee?: boolean | undefined;
75
79
  } | undefined> | undefined;
80
+ bip44DefaultPairs?: Record<string, {
81
+ standard: Record<string, string>;
82
+ other: Record<string, string>;
83
+ } | undefined> | undefined;
76
84
  }) & {
77
85
  clearCache: () => void;
78
86
  resultsCount: () => number;
@@ -90,6 +98,10 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
90
98
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
91
99
  isGaslessSwapEnabled?: boolean | undefined;
92
100
  noFeeAssets?: string[] | undefined;
101
+ defaultPairs?: {
102
+ standard: Record<string, string>;
103
+ other: Record<string, string>;
104
+ } | undefined;
93
105
  }>;
94
106
  refreshRate: number;
95
107
  minimumVersion: string;
@@ -103,6 +115,10 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
103
115
  bridgeIds?: string[] | undefined;
104
116
  noFee?: boolean | undefined;
105
117
  } | undefined> | undefined;
118
+ bip44DefaultPairs?: Record<string, {
119
+ standard: Record<string, string>;
120
+ other: Record<string, string>;
121
+ } | undefined> | undefined;
106
122
  };
107
123
  memoizedResultFunc: ((resultFuncArgs_0: any) => {
108
124
  support: boolean;
@@ -116,6 +132,10 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
116
132
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
117
133
  isGaslessSwapEnabled?: boolean | undefined;
118
134
  noFeeAssets?: string[] | undefined;
135
+ defaultPairs?: {
136
+ standard: Record<string, string>;
137
+ other: Record<string, string>;
138
+ } | undefined;
119
139
  }>;
120
140
  refreshRate: number;
121
141
  minimumVersion: string;
@@ -129,6 +149,10 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
129
149
  bridgeIds?: string[] | undefined;
130
150
  noFee?: boolean | undefined;
131
151
  } | undefined> | undefined;
152
+ bip44DefaultPairs?: Record<string, {
153
+ standard: Record<string, string>;
154
+ other: Record<string, string>;
155
+ } | undefined> | undefined;
132
156
  }) & {
133
157
  clearCache: () => void;
134
158
  resultsCount: () => number;
@@ -146,6 +170,10 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
146
170
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
147
171
  isGaslessSwapEnabled?: boolean | undefined;
148
172
  noFeeAssets?: string[] | undefined;
173
+ defaultPairs?: {
174
+ standard: Record<string, string>;
175
+ other: Record<string, string>;
176
+ } | undefined;
149
177
  }>;
150
178
  refreshRate: number;
151
179
  minimumVersion: string;
@@ -159,6 +187,10 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
159
187
  bridgeIds?: string[] | undefined;
160
188
  noFee?: boolean | undefined;
161
189
  } | undefined> | undefined;
190
+ bip44DefaultPairs?: Record<string, {
191
+ standard: Record<string, string>;
192
+ other: Record<string, string>;
193
+ } | undefined> | undefined;
162
194
  };
163
195
  dependencies: [(state: RemoteFeatureFlagControllerState) => unknown];
164
196
  recomputations: () => number;
@@ -222,6 +254,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
222
254
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
223
255
  isGaslessSwapEnabled?: boolean | undefined;
224
256
  noFeeAssets?: string[] | undefined;
257
+ defaultPairs?: {
258
+ standard: Record<string, string>;
259
+ other: Record<string, string>;
260
+ } | undefined;
225
261
  }>;
226
262
  refreshRate: number;
227
263
  minimumVersion: string;
@@ -235,6 +271,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
235
271
  bridgeIds?: string[] | undefined;
236
272
  noFee?: boolean | undefined;
237
273
  } | undefined> | undefined;
274
+ bip44DefaultPairs?: Record<string, {
275
+ standard: Record<string, string>;
276
+ other: Record<string, string>;
277
+ } | undefined> | undefined;
238
278
  }, resultFuncArgs_1: boolean | undefined, resultFuncArgs_2: number) => boolean;
239
279
  memoizedResultFunc: ((resultFuncArgs_0: {
240
280
  support: boolean;
@@ -248,6 +288,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
248
288
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
249
289
  isGaslessSwapEnabled?: boolean | undefined;
250
290
  noFeeAssets?: string[] | undefined;
291
+ defaultPairs?: {
292
+ standard: Record<string, string>;
293
+ other: Record<string, string>;
294
+ } | undefined;
251
295
  }>;
252
296
  refreshRate: number;
253
297
  minimumVersion: string;
@@ -261,6 +305,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
261
305
  bridgeIds?: string[] | undefined;
262
306
  noFee?: boolean | undefined;
263
307
  } | undefined> | undefined;
308
+ bip44DefaultPairs?: Record<string, {
309
+ standard: Record<string, string>;
310
+ other: Record<string, string>;
311
+ } | undefined> | undefined;
264
312
  }, resultFuncArgs_1: boolean | undefined, resultFuncArgs_2: number) => boolean) & {
265
313
  clearCache: () => void;
266
314
  resultsCount: () => number;
@@ -279,6 +327,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
279
327
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
280
328
  isGaslessSwapEnabled?: boolean | undefined;
281
329
  noFeeAssets?: string[] | undefined;
330
+ defaultPairs?: {
331
+ standard: Record<string, string>;
332
+ other: Record<string, string>;
333
+ } | undefined;
282
334
  }>;
283
335
  refreshRate: number;
284
336
  minimumVersion: string;
@@ -292,6 +344,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
292
344
  bridgeIds?: string[] | undefined;
293
345
  noFee?: boolean | undefined;
294
346
  } | undefined> | undefined;
347
+ bip44DefaultPairs?: Record<string, {
348
+ standard: Record<string, string>;
349
+ other: Record<string, string>;
350
+ } | undefined> | undefined;
295
351
  }) & {
296
352
  clearCache: () => void;
297
353
  resultsCount: () => number;
@@ -309,6 +365,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
309
365
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
310
366
  isGaslessSwapEnabled?: boolean | undefined;
311
367
  noFeeAssets?: string[] | undefined;
368
+ defaultPairs?: {
369
+ standard: Record<string, string>;
370
+ other: Record<string, string>;
371
+ } | undefined;
312
372
  }>;
313
373
  refreshRate: number;
314
374
  minimumVersion: string;
@@ -322,6 +382,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
322
382
  bridgeIds?: string[] | undefined;
323
383
  noFee?: boolean | undefined;
324
384
  } | undefined> | undefined;
385
+ bip44DefaultPairs?: Record<string, {
386
+ standard: Record<string, string>;
387
+ other: Record<string, string>;
388
+ } | undefined> | undefined;
325
389
  };
326
390
  memoizedResultFunc: ((resultFuncArgs_0: any) => {
327
391
  support: boolean;
@@ -335,6 +399,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
335
399
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
336
400
  isGaslessSwapEnabled?: boolean | undefined;
337
401
  noFeeAssets?: string[] | undefined;
402
+ defaultPairs?: {
403
+ standard: Record<string, string>;
404
+ other: Record<string, string>;
405
+ } | undefined;
338
406
  }>;
339
407
  refreshRate: number;
340
408
  minimumVersion: string;
@@ -348,6 +416,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
348
416
  bridgeIds?: string[] | undefined;
349
417
  noFee?: boolean | undefined;
350
418
  } | undefined> | undefined;
419
+ bip44DefaultPairs?: Record<string, {
420
+ standard: Record<string, string>;
421
+ other: Record<string, string>;
422
+ } | undefined> | undefined;
351
423
  }) & {
352
424
  clearCache: () => void;
353
425
  resultsCount: () => number;
@@ -365,6 +437,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
365
437
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
366
438
  isGaslessSwapEnabled?: boolean | undefined;
367
439
  noFeeAssets?: string[] | undefined;
440
+ defaultPairs?: {
441
+ standard: Record<string, string>;
442
+ other: Record<string, string>;
443
+ } | undefined;
368
444
  }>;
369
445
  refreshRate: number;
370
446
  minimumVersion: string;
@@ -378,6 +454,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
378
454
  bridgeIds?: string[] | undefined;
379
455
  noFee?: boolean | undefined;
380
456
  } | undefined> | undefined;
457
+ bip44DefaultPairs?: Record<string, {
458
+ standard: Record<string, string>;
459
+ other: Record<string, string>;
460
+ } | undefined> | undefined;
381
461
  };
382
462
  dependencies: [(state: RemoteFeatureFlagControllerState) => unknown];
383
463
  recomputations: () => number;
@@ -416,6 +496,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
416
496
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
417
497
  isGaslessSwapEnabled?: boolean | undefined;
418
498
  noFeeAssets?: string[] | undefined;
499
+ defaultPairs?: {
500
+ standard: Record<string, string>;
501
+ other: Record<string, string>;
502
+ } | undefined;
419
503
  }>;
420
504
  refreshRate: number;
421
505
  minimumVersion: string;
@@ -429,6 +513,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
429
513
  bridgeIds?: string[] | undefined;
430
514
  noFee?: boolean | undefined;
431
515
  } | undefined> | undefined;
516
+ bip44DefaultPairs?: Record<string, {
517
+ standard: Record<string, string>;
518
+ other: Record<string, string>;
519
+ } | undefined> | undefined;
432
520
  }, resultFuncArgs_1: string | number | undefined) => number;
433
521
  memoizedResultFunc: ((resultFuncArgs_0: {
434
522
  support: boolean;
@@ -442,6 +530,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
442
530
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
443
531
  isGaslessSwapEnabled?: boolean | undefined;
444
532
  noFeeAssets?: string[] | undefined;
533
+ defaultPairs?: {
534
+ standard: Record<string, string>;
535
+ other: Record<string, string>;
536
+ } | undefined;
445
537
  }>;
446
538
  refreshRate: number;
447
539
  minimumVersion: string;
@@ -455,6 +547,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
455
547
  bridgeIds?: string[] | undefined;
456
548
  noFee?: boolean | undefined;
457
549
  } | undefined> | undefined;
550
+ bip44DefaultPairs?: Record<string, {
551
+ standard: Record<string, string>;
552
+ other: Record<string, string>;
553
+ } | undefined> | undefined;
458
554
  }, resultFuncArgs_1: string | number | undefined) => number) & {
459
555
  clearCache: () => void;
460
556
  resultsCount: () => number;
@@ -473,6 +569,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
473
569
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
474
570
  isGaslessSwapEnabled?: boolean | undefined;
475
571
  noFeeAssets?: string[] | undefined;
572
+ defaultPairs?: {
573
+ standard: Record<string, string>;
574
+ other: Record<string, string>;
575
+ } | undefined;
476
576
  }>;
477
577
  refreshRate: number;
478
578
  minimumVersion: string;
@@ -486,6 +586,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
486
586
  bridgeIds?: string[] | undefined;
487
587
  noFee?: boolean | undefined;
488
588
  } | undefined> | undefined;
589
+ bip44DefaultPairs?: Record<string, {
590
+ standard: Record<string, string>;
591
+ other: Record<string, string>;
592
+ } | undefined> | undefined;
489
593
  }) & {
490
594
  clearCache: () => void;
491
595
  resultsCount: () => number;
@@ -503,6 +607,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
503
607
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
504
608
  isGaslessSwapEnabled?: boolean | undefined;
505
609
  noFeeAssets?: string[] | undefined;
610
+ defaultPairs?: {
611
+ standard: Record<string, string>;
612
+ other: Record<string, string>;
613
+ } | undefined;
506
614
  }>;
507
615
  refreshRate: number;
508
616
  minimumVersion: string;
@@ -516,6 +624,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
516
624
  bridgeIds?: string[] | undefined;
517
625
  noFee?: boolean | undefined;
518
626
  } | undefined> | undefined;
627
+ bip44DefaultPairs?: Record<string, {
628
+ standard: Record<string, string>;
629
+ other: Record<string, string>;
630
+ } | undefined> | undefined;
519
631
  };
520
632
  memoizedResultFunc: ((resultFuncArgs_0: any) => {
521
633
  support: boolean;
@@ -529,6 +641,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
529
641
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
530
642
  isGaslessSwapEnabled?: boolean | undefined;
531
643
  noFeeAssets?: string[] | undefined;
644
+ defaultPairs?: {
645
+ standard: Record<string, string>;
646
+ other: Record<string, string>;
647
+ } | undefined;
532
648
  }>;
533
649
  refreshRate: number;
534
650
  minimumVersion: string;
@@ -542,6 +658,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
542
658
  bridgeIds?: string[] | undefined;
543
659
  noFee?: boolean | undefined;
544
660
  } | undefined> | undefined;
661
+ bip44DefaultPairs?: Record<string, {
662
+ standard: Record<string, string>;
663
+ other: Record<string, string>;
664
+ } | undefined> | undefined;
545
665
  }) & {
546
666
  clearCache: () => void;
547
667
  resultsCount: () => number;
@@ -559,6 +679,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
559
679
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
560
680
  isGaslessSwapEnabled?: boolean | undefined;
561
681
  noFeeAssets?: string[] | undefined;
682
+ defaultPairs?: {
683
+ standard: Record<string, string>;
684
+ other: Record<string, string>;
685
+ } | undefined;
562
686
  }>;
563
687
  refreshRate: number;
564
688
  minimumVersion: string;
@@ -572,6 +696,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
572
696
  bridgeIds?: string[] | undefined;
573
697
  noFee?: boolean | undefined;
574
698
  } | undefined> | undefined;
699
+ bip44DefaultPairs?: Record<string, {
700
+ standard: Record<string, string>;
701
+ other: Record<string, string>;
702
+ } | undefined> | undefined;
575
703
  };
576
704
  dependencies: [(state: RemoteFeatureFlagControllerState) => unknown];
577
705
  recomputations: () => number;
@@ -15478,6 +15606,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15478
15606
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15479
15607
  isGaslessSwapEnabled?: boolean | undefined;
15480
15608
  noFeeAssets?: string[] | undefined;
15609
+ defaultPairs?: {
15610
+ standard: Record<string, string>;
15611
+ other: Record<string, string>;
15612
+ } | undefined;
15481
15613
  }>;
15482
15614
  refreshRate: number;
15483
15615
  minimumVersion: string;
@@ -15491,6 +15623,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15491
15623
  bridgeIds?: string[] | undefined;
15492
15624
  noFee?: boolean | undefined;
15493
15625
  } | undefined> | undefined;
15626
+ bip44DefaultPairs?: Record<string, {
15627
+ standard: Record<string, string>;
15628
+ other: Record<string, string>;
15629
+ } | undefined> | undefined;
15494
15630
  }, resultFuncArgs_1: boolean | undefined, resultFuncArgs_2: number) => boolean;
15495
15631
  memoizedResultFunc: ((resultFuncArgs_0: {
15496
15632
  support: boolean;
@@ -15504,6 +15640,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15504
15640
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15505
15641
  isGaslessSwapEnabled?: boolean | undefined;
15506
15642
  noFeeAssets?: string[] | undefined;
15643
+ defaultPairs?: {
15644
+ standard: Record<string, string>;
15645
+ other: Record<string, string>;
15646
+ } | undefined;
15507
15647
  }>;
15508
15648
  refreshRate: number;
15509
15649
  minimumVersion: string;
@@ -15517,6 +15657,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15517
15657
  bridgeIds?: string[] | undefined;
15518
15658
  noFee?: boolean | undefined;
15519
15659
  } | undefined> | undefined;
15660
+ bip44DefaultPairs?: Record<string, {
15661
+ standard: Record<string, string>;
15662
+ other: Record<string, string>;
15663
+ } | undefined> | undefined;
15520
15664
  }, resultFuncArgs_1: boolean | undefined, resultFuncArgs_2: number) => boolean) & {
15521
15665
  clearCache: () => void;
15522
15666
  resultsCount: () => number;
@@ -15535,6 +15679,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15535
15679
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15536
15680
  isGaslessSwapEnabled?: boolean | undefined;
15537
15681
  noFeeAssets?: string[] | undefined;
15682
+ defaultPairs?: {
15683
+ standard: Record<string, string>;
15684
+ other: Record<string, string>;
15685
+ } | undefined;
15538
15686
  }>;
15539
15687
  refreshRate: number;
15540
15688
  minimumVersion: string;
@@ -15548,6 +15696,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15548
15696
  bridgeIds?: string[] | undefined;
15549
15697
  noFee?: boolean | undefined;
15550
15698
  } | undefined> | undefined;
15699
+ bip44DefaultPairs?: Record<string, {
15700
+ standard: Record<string, string>;
15701
+ other: Record<string, string>;
15702
+ } | undefined> | undefined;
15551
15703
  }) & {
15552
15704
  clearCache: () => void;
15553
15705
  resultsCount: () => number;
@@ -15565,6 +15717,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15565
15717
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15566
15718
  isGaslessSwapEnabled?: boolean | undefined;
15567
15719
  noFeeAssets?: string[] | undefined;
15720
+ defaultPairs?: {
15721
+ standard: Record<string, string>;
15722
+ other: Record<string, string>;
15723
+ } | undefined;
15568
15724
  }>;
15569
15725
  refreshRate: number;
15570
15726
  minimumVersion: string;
@@ -15578,6 +15734,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15578
15734
  bridgeIds?: string[] | undefined;
15579
15735
  noFee?: boolean | undefined;
15580
15736
  } | undefined> | undefined;
15737
+ bip44DefaultPairs?: Record<string, {
15738
+ standard: Record<string, string>;
15739
+ other: Record<string, string>;
15740
+ } | undefined> | undefined;
15581
15741
  };
15582
15742
  memoizedResultFunc: ((resultFuncArgs_0: any) => {
15583
15743
  support: boolean;
@@ -15591,6 +15751,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15591
15751
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15592
15752
  isGaslessSwapEnabled?: boolean | undefined;
15593
15753
  noFeeAssets?: string[] | undefined;
15754
+ defaultPairs?: {
15755
+ standard: Record<string, string>;
15756
+ other: Record<string, string>;
15757
+ } | undefined;
15594
15758
  }>;
15595
15759
  refreshRate: number;
15596
15760
  minimumVersion: string;
@@ -15604,6 +15768,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15604
15768
  bridgeIds?: string[] | undefined;
15605
15769
  noFee?: boolean | undefined;
15606
15770
  } | undefined> | undefined;
15771
+ bip44DefaultPairs?: Record<string, {
15772
+ standard: Record<string, string>;
15773
+ other: Record<string, string>;
15774
+ } | undefined> | undefined;
15607
15775
  }) & {
15608
15776
  clearCache: () => void;
15609
15777
  resultsCount: () => number;
@@ -15621,6 +15789,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15621
15789
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15622
15790
  isGaslessSwapEnabled?: boolean | undefined;
15623
15791
  noFeeAssets?: string[] | undefined;
15792
+ defaultPairs?: {
15793
+ standard: Record<string, string>;
15794
+ other: Record<string, string>;
15795
+ } | undefined;
15624
15796
  }>;
15625
15797
  refreshRate: number;
15626
15798
  minimumVersion: string;
@@ -15634,6 +15806,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15634
15806
  bridgeIds?: string[] | undefined;
15635
15807
  noFee?: boolean | undefined;
15636
15808
  } | undefined> | undefined;
15809
+ bip44DefaultPairs?: Record<string, {
15810
+ standard: Record<string, string>;
15811
+ other: Record<string, string>;
15812
+ } | undefined> | undefined;
15637
15813
  };
15638
15814
  dependencies: [(state: RemoteFeatureFlagControllerState) => unknown];
15639
15815
  recomputations: () => number;
@@ -15680,6 +15856,10 @@ export declare const selectDefaultSlippagePercentage: ((state: BridgeControllerS
15680
15856
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15681
15857
  isGaslessSwapEnabled?: boolean | undefined;
15682
15858
  noFeeAssets?: string[] | undefined;
15859
+ defaultPairs?: {
15860
+ standard: Record<string, string>;
15861
+ other: Record<string, string>;
15862
+ } | undefined;
15683
15863
  }>, resultFuncArgs_1: string | undefined, resultFuncArgs_2: string | undefined, resultFuncArgs_3: `${string}:${string}` | undefined, resultFuncArgs_4: `${string}:${string}` | undefined) => 2 | 0.5 | undefined;
15684
15864
  memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
15685
15865
  isActiveSrc: boolean;
@@ -15691,6 +15871,10 @@ export declare const selectDefaultSlippagePercentage: ((state: BridgeControllerS
15691
15871
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15692
15872
  isGaslessSwapEnabled?: boolean | undefined;
15693
15873
  noFeeAssets?: string[] | undefined;
15874
+ defaultPairs?: {
15875
+ standard: Record<string, string>;
15876
+ other: Record<string, string>;
15877
+ } | undefined;
15694
15878
  }>, resultFuncArgs_1: string | undefined, resultFuncArgs_2: string | undefined, resultFuncArgs_3: `${string}:${string}` | undefined, resultFuncArgs_4: `${string}:${string}` | undefined) => 2 | 0.5 | undefined) & {
15695
15879
  clearCache: () => void;
15696
15880
  resultsCount: () => number;
@@ -15707,6 +15891,10 @@ export declare const selectDefaultSlippagePercentage: ((state: BridgeControllerS
15707
15891
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15708
15892
  isGaslessSwapEnabled?: boolean | undefined;
15709
15893
  noFeeAssets?: string[] | undefined;
15894
+ defaultPairs?: {
15895
+ standard: Record<string, string>;
15896
+ other: Record<string, string>;
15897
+ } | undefined;
15710
15898
  }>, (_: BridgeAppState, slippageParams: Parameters<typeof getDefaultSlippagePercentage>[0]) => string | undefined, (_: BridgeAppState, slippageParams: Parameters<typeof getDefaultSlippagePercentage>[0]) => string | undefined, (_: BridgeAppState, slippageParams: Parameters<typeof getDefaultSlippagePercentage>[0]) => `${string}:${string}` | undefined, (_: BridgeAppState, slippageParams: Parameters<typeof getDefaultSlippagePercentage>[0]) => `${string}:${string}` | undefined];
15711
15899
  recomputations: () => number;
15712
15900
  resetRecomputations: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.d.mts","sourceRoot":"","sources":["../src/selectors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EACjB,oCAAoC,EACpC,yBAAy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ACP,8CAAa,CAAA;IACb,oCAAQ,CAAA;IACR,6CAAa,CAAA;IACb,2CAAY,CAAA;IACZ,wCAAW,CAAA;IACX,iDAAgB,CAAA;IAChB,mDAAiB,CAAA;IACjB,2CAAa,CAAA;IACb,wDAAyB,CAAA;IACzB,gDAAoB,CAAA;AACtB,CAAC,EAZW,OAAO,uBAAP,OAAO,QAYlB;AAID,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,uDAAO,CAAA;IACP,uDAAO,CAAA;IACP,mDAAK,CAAA;AACP,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AACD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,6DAAyC,CAAA;IACzC,0EAAsD,CAAA;AACxD,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B;AACD,IAAY,sBAOX;AAPD,WAAY,sBAAsB;IAChC,8EAAoD,CAAA;IACpD,oDAA0B,CAAA;IAC1B,gFAAsD,CAAA;IACtD,iFAAuD,CAAA;IACvD,0EAAgD,CAAA;IAChD,sDAA4B,CAAA;AAC9B,CAAC,EAPW,sBAAsB,sCAAtB,sBAAsB,QAOjC","sourcesContent":["import type { AccountsControllerGetSelectedMultichainAccountAction } from '@metamask/accounts-controller';\nimport type {\n GetCurrencyRateState,\n MultichainAssetsRatesControllerGetStateAction,\n TokenRatesControllerGetStateAction,\n} from '@metamask/assets-controllers';\nimport type {\n ControllerStateChangeEvent,\n RestrictedMessenger,\n} from '@metamask/base-controller';\nimport type {\n NetworkControllerFindNetworkClientIdByChainIdAction,\n NetworkControllerGetStateAction,\n NetworkControllerGetNetworkClientByIdAction,\n} from '@metamask/network-controller';\nimport type { RemoteFeatureFlagControllerGetStateAction } from '@metamask/remote-feature-flag-controller';\nimport type { HandleSnapRequest } from '@metamask/snaps-controllers';\nimport type { Infer } from '@metamask/superstruct';\nimport type {\n CaipAccountId,\n CaipAssetId,\n CaipAssetType,\n CaipChainId,\n Hex,\n} from '@metamask/utils';\n\nimport type { BridgeController } from './bridge-controller';\nimport type { BRIDGE_CONTROLLER_NAME } from './constants/bridge';\nimport type {\n BridgeAssetSchema,\n ChainConfigurationSchema,\n FeeDataSchema,\n PlatformConfigSchema,\n ProtocolSchema,\n QuoteResponseSchema,\n QuoteSchema,\n StepSchema,\n TxDataSchema,\n} from './utils/validators';\n\n/**\n * Additional options accepted by the extension's fetchWithCache function\n */\ntype FetchWithCacheOptions = {\n cacheOptions?: {\n cacheRefreshTime: number;\n };\n functionName?: string;\n};\n\nexport type FetchFunction = (\n input: RequestInfo | URL,\n init?: RequestInit & FetchWithCacheOptions,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n) => Promise<any>;\n\n/**\n * The types of assets that a user can send\n */\nexport enum AssetType {\n /** The native asset for the current network, such as ETH */\n native = 'NATIVE',\n /** An ERC20 token */\n token = 'TOKEN',\n /** An ERC721 or ERC1155 token. */\n NFT = 'NFT',\n /**\n * A transaction interacting with a contract that isn't a token method\n * interaction will be marked as dealing with an unknown asset type.\n */\n unknown = 'UNKNOWN',\n}\n\nexport type ChainConfiguration = Infer<typeof ChainConfigurationSchema>;\n\nexport type L1GasFees = {\n l1GasFeesInHexWei?: string; // l1 fees for approval and trade in hex wei, appended by BridgeController.#appendL1GasFees\n};\n\nexport type NonEvmFees = {\n nonEvmFeesInNative?: string; // Non-EVM chain fees in native units (SOL for Solana, BTC for Bitcoin)\n};\n\n/**\n * The types of values for the token amount and its values when converted to the user's selected currency and USD\n */\nexport type TokenAmountValues = {\n /**\n * The amount of the token\n *\n * @example \"1000000000000000000\"\n */\n amount: string;\n /**\n * The amount of the token in the user's selected currency\n *\n * @example \"4.55\"\n */\n valueInCurrency: string | null;\n /**\n * The amount of the token in USD\n *\n * @example \"1.234\"\n */\n usd: string | null;\n};\n\n/**\n * Asset exchange rate values for a given chain and address\n */\nexport type ExchangeRate = { exchangeRate?: string; usdExchangeRate?: string };\n\n/**\n * Values derived from the quote response\n */\nexport type QuoteMetadata = {\n /**\n * If gas is included, this is the value of the src or dest token that was used to pay for the gas\n */\n includedTxFees?: TokenAmountValues | null;\n /**\n * The gas fee for the bridge transaction.\n * effective is the gas fee that is shown to the user. If this value is not\n * included in the trade, the calculation falls back to the gasLimit (total)\n * total is the gas fee that is spent by the user, including refunds.\n * max is the max gas fee that will be used by the transaction.\n */\n gasFee: Record<'effective' | 'total' | 'max', TokenAmountValues>;\n totalNetworkFee: TokenAmountValues; // estimatedGasFees + relayerFees\n totalMaxNetworkFee: TokenAmountValues; // maxGasFees + relayerFees\n /**\n * The amount that the user will receive (destTokenAmount)\n */\n toTokenAmount: TokenAmountValues;\n /**\n * The minimum amount that the user will receive (minDestTokenAmount)\n */\n minToTokenAmount: TokenAmountValues;\n /**\n * If gas is included: toTokenAmount\n * Otherwise: toTokenAmount - totalNetworkFee\n */\n adjustedReturn: Omit<TokenAmountValues, 'amount'>;\n /**\n * The amount that the user will send, including fees\n * srcTokenAmount + metabridgeFee + txFee\n */\n sentAmount: TokenAmountValues;\n swapRate: string; // destTokenAmount / sentAmount\n cost: Omit<TokenAmountValues, 'amount'>; // sentAmount - adjustedReturn\n};\n\n/**\n * Sort order set by the user\n */\nexport enum SortOrder {\n COST_ASC = 'cost_ascending',\n ETA_ASC = 'time_descending',\n}\n\n/**\n * This is the interface for the asset object returned by the bridge-api\n * This type is used in the QuoteResponse and in the fetchBridgeTokens response\n */\nexport type BridgeAsset = Infer<typeof BridgeAssetSchema>;\n\n/**\n * This is the interface for the token object used in the extension client\n * In addition to the {@link BridgeAsset} fields, it includes balance information\n */\nexport type BridgeToken = {\n address: string;\n symbol: string;\n image: string;\n decimals: number;\n chainId: number | Hex | ChainId | CaipChainId;\n balance: string; // raw balance\n // TODO deprecate this field and use balance instead\n string: string | undefined; // normalized balance as a stringified number\n tokenFiatAmount?: number | null;\n occurrences?: number;\n};\n\ntype DecimalChainId = string;\nexport type GasMultiplierByChainId = Record<DecimalChainId, number>;\n\nexport type FeatureFlagResponse = Infer<typeof PlatformConfigSchema>;\n\n// TODO move definition to validators.ts\n/**\n * This is the interface for the quote request sent to the bridge-api\n * and should only be used by the fetchBridgeQuotes utility function\n * Components and redux stores should use the {@link GenericQuoteRequest} type\n */\nexport type QuoteRequest<\n ChainIdType = ChainId | number,\n TokenAddressType = string,\n WalletAddressType = string,\n> = {\n walletAddress: WalletAddressType;\n destWalletAddress?: WalletAddressType;\n srcChainId: ChainIdType;\n destChainId: ChainIdType;\n srcTokenAddress: TokenAddressType;\n destTokenAddress: TokenAddressType;\n /**\n * This is the amount sent, in atomic amount\n */\n srcTokenAmount: string;\n slippage?: number;\n aggIds?: string[];\n bridgeIds?: string[];\n insufficientBal?: boolean;\n resetApproval?: boolean;\n refuel?: boolean;\n /**\n * Whether the response should include gasless swap quotes\n * This should be true if the user has opted in to STX on the client\n * and the current network has STX support\n */\n gasIncluded: boolean;\n /**\n * Whether to request quotes that use EIP-7702 delegated gasless execution\n */\n gasIncluded7702: boolean;\n noFee?: boolean;\n};\n\nexport enum StatusTypes {\n UNKNOWN = 'UNKNOWN',\n FAILED = 'FAILED',\n PENDING = 'PENDING',\n COMPLETE = 'COMPLETE',\n}\n\n/**\n * These are types that components pass in. Since data is a mix of types when coming from the redux store, we need to use a generic type that can cover all the types.\n * Payloads with this type are transformed into QuoteRequest by fetchBridgeQuotes right before fetching quotes\n */\nexport type GenericQuoteRequest = QuoteRequest<\n Hex | CaipChainId | string | number, // chainIds\n Hex | CaipAssetId | string, // assetIds/addresses\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-arguments\n Hex | CaipAccountId | string // accountIds/addresses\n>;\n\nexport type Protocol = Infer<typeof ProtocolSchema>;\n\nexport type Step = Infer<typeof StepSchema>;\n\nexport type RefuelData = Step;\n\nexport type FeeData = Infer<typeof FeeDataSchema>;\n\nexport type Quote = Infer<typeof QuoteSchema>;\n\nexport type TxData = Infer<typeof TxDataSchema>;\n/**\n * This is the type for the quote response from the bridge-api\n * TxDataType can be overriden to be a string when the quote is non-evm\n */\nexport type QuoteResponse<TxDataType = TxData> = Infer<\n typeof QuoteResponseSchema\n> & {\n trade: TxDataType;\n approval?: TxData;\n};\n\nexport enum ChainId {\n ETH = 1,\n OPTIMISM = 10,\n BSC = 56,\n POLYGON = 137,\n ZKSYNC = 324,\n BASE = 8453,\n ARBITRUM = 42161,\n AVALANCHE = 43114,\n LINEA = 59144,\n SOLANA = 1151111081099710,\n BTC = 20000000000001,\n}\n\nexport type FeatureFlagsPlatformConfig = Infer<typeof PlatformConfigSchema>;\n\nexport enum RequestStatus {\n LOADING,\n FETCHED,\n ERROR,\n}\nexport enum BridgeUserAction {\n SELECT_DEST_NETWORK = 'selectDestNetwork',\n UPDATE_QUOTE_PARAMS = 'updateBridgeQuoteRequestParams',\n}\nexport enum BridgeBackgroundAction {\n SET_CHAIN_INTERVAL_LENGTH = 'setChainIntervalLength',\n RESET_STATE = 'resetState',\n GET_BRIDGE_ERC20_ALLOWANCE = 'getBridgeERC20Allowance',\n TRACK_METAMETRICS_EVENT = 'trackUnifiedSwapBridgeEvent',\n STOP_POLLING_FOR_QUOTES = 'stopPollingForQuotes',\n FETCH_QUOTES = 'fetchQuotes',\n}\n\nexport type BridgeControllerState = {\n quoteRequest: Partial<GenericQuoteRequest>;\n quotes: (QuoteResponse & L1GasFees & NonEvmFees)[];\n quotesInitialLoadTime: number | null;\n quotesLastFetched: number | null;\n quotesLoadingStatus: RequestStatus | null;\n quoteFetchError: string | null;\n quotesRefreshCount: number;\n /**\n * Asset exchange rates for EVM and multichain assets that are not indexed by the assets controllers\n */\n assetExchangeRates: Record<CaipAssetType, ExchangeRate>;\n /**\n * When the src token is SOL, this needs to be subtracted from their balance to determine\n * the max amount that can be sent.\n */\n minimumBalanceForRentExemptionInLamports: string | null;\n};\n\nexport type BridgeControllerAction<\n FunctionName extends keyof BridgeController,\n> = {\n type: `${typeof BRIDGE_CONTROLLER_NAME}:${FunctionName}`;\n handler: BridgeController[FunctionName];\n};\n\n// Maps to BridgeController function names\nexport type BridgeControllerActions =\n | BridgeControllerAction<BridgeBackgroundAction.SET_CHAIN_INTERVAL_LENGTH>\n | BridgeControllerAction<BridgeBackgroundAction.RESET_STATE>\n | BridgeControllerAction<BridgeBackgroundAction.GET_BRIDGE_ERC20_ALLOWANCE>\n | BridgeControllerAction<BridgeBackgroundAction.TRACK_METAMETRICS_EVENT>\n | BridgeControllerAction<BridgeBackgroundAction.STOP_POLLING_FOR_QUOTES>\n | BridgeControllerAction<BridgeBackgroundAction.FETCH_QUOTES>\n | BridgeControllerAction<BridgeUserAction.UPDATE_QUOTE_PARAMS>;\n\nexport type BridgeControllerEvents = ControllerStateChangeEvent<\n typeof BRIDGE_CONTROLLER_NAME,\n BridgeControllerState\n>;\n\nexport type AllowedActions =\n | AccountsControllerGetSelectedMultichainAccountAction\n | GetCurrencyRateState\n | TokenRatesControllerGetStateAction\n | MultichainAssetsRatesControllerGetStateAction\n | HandleSnapRequest\n | NetworkControllerFindNetworkClientIdByChainIdAction\n | NetworkControllerGetStateAction\n | NetworkControllerGetNetworkClientByIdAction\n | RemoteFeatureFlagControllerGetStateAction;\nexport type AllowedEvents = never;\n\n/**\n * The messenger for the BridgeController.\n */\nexport type BridgeControllerMessenger = RestrictedMessenger<\n typeof BRIDGE_CONTROLLER_NAME,\n BridgeControllerActions | AllowedActions,\n BridgeControllerEvents | AllowedEvents,\n AllowedActions['type'],\n AllowedEvents['type']\n>;\n"]}
1
+ {"version":3,"file":"types.cjs","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAwDA;;GAEG;AACH,IAAY,SAYX;AAZD,WAAY,SAAS;IACnB,4DAA4D;IAC5D,8BAAiB,CAAA;IACjB,qBAAqB;IACrB,4BAAe,CAAA;IACf,kCAAkC;IAClC,wBAAW,CAAA;IACX;;;OAGG;IACH,gCAAmB,CAAA;AACrB,CAAC,EAZW,SAAS,yBAAT,SAAS,QAYpB;AAiFD;;GAEG;AACH,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wCAA2B,CAAA;IAC3B,wCAA2B,CAAA;AAC7B,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAsED,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;IACnB,oCAAqB,CAAA;AACvB,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAmCD,IAAY,OAYX;AAZD,WAAY,OAAO;IACjB,mCAAO,CAAA;IACP,8CAAa,CAAA;IACb,oCAAQ,CAAA;IACR,6CAAa,CAAA;IACb,2CAAY,CAAA;IACZ,wCAAW,CAAA;IACX,iDAAgB,CAAA;IAChB,mDAAiB,CAAA;IACjB,2CAAa,CAAA;IACb,wDAAyB,CAAA;IACzB,gDAAoB,CAAA;AACtB,CAAC,EAZW,OAAO,uBAAP,OAAO,QAYlB;AAID,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,uDAAO,CAAA;IACP,uDAAO,CAAA;IACP,mDAAK,CAAA;AACP,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AACD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,6DAAyC,CAAA;IACzC,0EAAsD,CAAA;AACxD,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B;AACD,IAAY,sBAOX;AAPD,WAAY,sBAAsB;IAChC,8EAAoD,CAAA;IACpD,oDAA0B,CAAA;IAC1B,gFAAsD,CAAA;IACtD,iFAAuD,CAAA;IACvD,0EAAgD,CAAA;IAChD,sDAA4B,CAAA;AAC9B,CAAC,EAPW,sBAAsB,sCAAtB,sBAAsB,QAOjC","sourcesContent":["import type { AccountsControllerGetAccountByAddressAction } from '@metamask/accounts-controller';\nimport type {\n GetCurrencyRateState,\n MultichainAssetsRatesControllerGetStateAction,\n TokenRatesControllerGetStateAction,\n} from '@metamask/assets-controllers';\nimport type {\n ControllerStateChangeEvent,\n RestrictedMessenger,\n} from '@metamask/base-controller';\nimport type {\n NetworkControllerFindNetworkClientIdByChainIdAction,\n NetworkControllerGetStateAction,\n NetworkControllerGetNetworkClientByIdAction,\n} from '@metamask/network-controller';\nimport type { RemoteFeatureFlagControllerGetStateAction } from '@metamask/remote-feature-flag-controller';\nimport type { HandleSnapRequest } from '@metamask/snaps-controllers';\nimport type { Infer } from '@metamask/superstruct';\nimport type {\n CaipAccountId,\n CaipAssetId,\n CaipAssetType,\n CaipChainId,\n Hex,\n} from '@metamask/utils';\n\nimport type { BridgeController } from './bridge-controller';\nimport type { BRIDGE_CONTROLLER_NAME } from './constants/bridge';\nimport type {\n BridgeAssetSchema,\n ChainConfigurationSchema,\n FeeDataSchema,\n PlatformConfigSchema,\n ProtocolSchema,\n QuoteResponseSchema,\n QuoteSchema,\n StepSchema,\n TxDataSchema,\n} from './utils/validators';\n\n/**\n * Additional options accepted by the extension's fetchWithCache function\n */\ntype FetchWithCacheOptions = {\n cacheOptions?: {\n cacheRefreshTime: number;\n };\n functionName?: string;\n};\n\nexport type FetchFunction = (\n input: RequestInfo | URL,\n init?: RequestInit & FetchWithCacheOptions,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n) => Promise<any>;\n\n/**\n * The types of assets that a user can send\n */\nexport enum AssetType {\n /** The native asset for the current network, such as ETH */\n native = 'NATIVE',\n /** An ERC20 token */\n token = 'TOKEN',\n /** An ERC721 or ERC1155 token. */\n NFT = 'NFT',\n /**\n * A transaction interacting with a contract that isn't a token method\n * interaction will be marked as dealing with an unknown asset type.\n */\n unknown = 'UNKNOWN',\n}\n\nexport type ChainConfiguration = Infer<typeof ChainConfigurationSchema>;\n\nexport type L1GasFees = {\n l1GasFeesInHexWei?: string; // l1 fees for approval and trade in hex wei, appended by BridgeController.#appendL1GasFees\n};\n\nexport type NonEvmFees = {\n nonEvmFeesInNative?: string; // Non-EVM chain fees in native units (SOL for Solana, BTC for Bitcoin)\n};\n\n/**\n * The types of values for the token amount and its values when converted to the user's selected currency and USD\n */\nexport type TokenAmountValues = {\n /**\n * The amount of the token\n *\n * @example \"1000000000000000000\"\n */\n amount: string;\n /**\n * The amount of the token in the user's selected currency\n *\n * @example \"4.55\"\n */\n valueInCurrency: string | null;\n /**\n * The amount of the token in USD\n *\n * @example \"1.234\"\n */\n usd: string | null;\n};\n\n/**\n * Asset exchange rate values for a given chain and address\n */\nexport type ExchangeRate = { exchangeRate?: string; usdExchangeRate?: string };\n\n/**\n * Values derived from the quote response\n */\nexport type QuoteMetadata = {\n /**\n * If gas is included, this is the value of the src or dest token that was used to pay for the gas\n */\n includedTxFees?: TokenAmountValues | null;\n /**\n * The gas fee for the bridge transaction.\n * effective is the gas fee that is shown to the user. If this value is not\n * included in the trade, the calculation falls back to the gasLimit (total)\n * total is the gas fee that is spent by the user, including refunds.\n * max is the max gas fee that will be used by the transaction.\n */\n gasFee: Record<'effective' | 'total' | 'max', TokenAmountValues>;\n totalNetworkFee: TokenAmountValues; // estimatedGasFees + relayerFees\n totalMaxNetworkFee: TokenAmountValues; // maxGasFees + relayerFees\n /**\n * The amount that the user will receive (destTokenAmount)\n */\n toTokenAmount: TokenAmountValues;\n /**\n * The minimum amount that the user will receive (minDestTokenAmount)\n */\n minToTokenAmount: TokenAmountValues;\n /**\n * If gas is included: toTokenAmount\n * Otherwise: toTokenAmount - totalNetworkFee\n */\n adjustedReturn: Omit<TokenAmountValues, 'amount'>;\n /**\n * The amount that the user will send, including fees\n * srcTokenAmount + metabridgeFee + txFee\n */\n sentAmount: TokenAmountValues;\n swapRate: string; // destTokenAmount / sentAmount\n cost: Omit<TokenAmountValues, 'amount'>; // sentAmount - adjustedReturn\n};\n\n/**\n * Sort order set by the user\n */\nexport enum SortOrder {\n COST_ASC = 'cost_ascending',\n ETA_ASC = 'time_descending',\n}\n\n/**\n * This is the interface for the asset object returned by the bridge-api\n * This type is used in the QuoteResponse and in the fetchBridgeTokens response\n */\nexport type BridgeAsset = Infer<typeof BridgeAssetSchema>;\n\n/**\n * This is the interface for the token object used in the extension client\n * In addition to the {@link BridgeAsset} fields, it includes balance information\n */\nexport type BridgeToken = {\n address: string;\n symbol: string;\n image: string;\n decimals: number;\n chainId: number | Hex | ChainId | CaipChainId;\n balance: string; // raw balance\n // TODO deprecate this field and use balance instead\n string: string | undefined; // normalized balance as a stringified number\n tokenFiatAmount?: number | null;\n occurrences?: number;\n};\n\ntype DecimalChainId = string;\nexport type GasMultiplierByChainId = Record<DecimalChainId, number>;\n\nexport type FeatureFlagResponse = Infer<typeof PlatformConfigSchema>;\n\n// TODO move definition to validators.ts\n/**\n * This is the interface for the quote request sent to the bridge-api\n * and should only be used by the fetchBridgeQuotes utility function\n * Components and redux stores should use the {@link GenericQuoteRequest} type\n */\nexport type QuoteRequest<\n ChainIdType = ChainId | number,\n TokenAddressType = string,\n WalletAddressType = string,\n> = {\n walletAddress: WalletAddressType;\n destWalletAddress?: WalletAddressType;\n srcChainId: ChainIdType;\n destChainId: ChainIdType;\n srcTokenAddress: TokenAddressType;\n destTokenAddress: TokenAddressType;\n /**\n * This is the amount sent, in atomic amount\n */\n srcTokenAmount: string;\n slippage?: number;\n aggIds?: string[];\n bridgeIds?: string[];\n insufficientBal?: boolean;\n resetApproval?: boolean;\n refuel?: boolean;\n /**\n * Whether the response should include gasless swap quotes\n * This should be true if the user has opted in to STX on the client\n * and the current network has STX support\n */\n gasIncluded: boolean;\n /**\n * Whether to request quotes that use EIP-7702 delegated gasless execution\n */\n gasIncluded7702: boolean;\n noFee?: boolean;\n};\n\nexport enum StatusTypes {\n UNKNOWN = 'UNKNOWN',\n FAILED = 'FAILED',\n PENDING = 'PENDING',\n COMPLETE = 'COMPLETE',\n}\n\n/**\n * These are types that components pass in. Since data is a mix of types when coming from the redux store, we need to use a generic type that can cover all the types.\n * Payloads with this type are transformed into QuoteRequest by fetchBridgeQuotes right before fetching quotes\n */\nexport type GenericQuoteRequest = QuoteRequest<\n Hex | CaipChainId | string | number, // chainIds\n Hex | CaipAssetId | string, // assetIds/addresses\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-arguments\n Hex | CaipAccountId | string // accountIds/addresses\n>;\n\nexport type Protocol = Infer<typeof ProtocolSchema>;\n\nexport type Step = Infer<typeof StepSchema>;\n\nexport type RefuelData = Step;\n\nexport type FeeData = Infer<typeof FeeDataSchema>;\n\nexport type Quote = Infer<typeof QuoteSchema>;\n\nexport type TxData = Infer<typeof TxDataSchema>;\n/**\n * This is the type for the quote response from the bridge-api\n * TxDataType can be overriden to be a string when the quote is non-evm\n */\nexport type QuoteResponse<TxDataType = TxData> = Infer<\n typeof QuoteResponseSchema\n> & {\n trade: TxDataType;\n approval?: TxData;\n};\n\nexport enum ChainId {\n ETH = 1,\n OPTIMISM = 10,\n BSC = 56,\n POLYGON = 137,\n ZKSYNC = 324,\n BASE = 8453,\n ARBITRUM = 42161,\n AVALANCHE = 43114,\n LINEA = 59144,\n SOLANA = 1151111081099710,\n BTC = 20000000000001,\n}\n\nexport type FeatureFlagsPlatformConfig = Infer<typeof PlatformConfigSchema>;\n\nexport enum RequestStatus {\n LOADING,\n FETCHED,\n ERROR,\n}\nexport enum BridgeUserAction {\n SELECT_DEST_NETWORK = 'selectDestNetwork',\n UPDATE_QUOTE_PARAMS = 'updateBridgeQuoteRequestParams',\n}\nexport enum BridgeBackgroundAction {\n SET_CHAIN_INTERVAL_LENGTH = 'setChainIntervalLength',\n RESET_STATE = 'resetState',\n GET_BRIDGE_ERC20_ALLOWANCE = 'getBridgeERC20Allowance',\n TRACK_METAMETRICS_EVENT = 'trackUnifiedSwapBridgeEvent',\n STOP_POLLING_FOR_QUOTES = 'stopPollingForQuotes',\n FETCH_QUOTES = 'fetchQuotes',\n}\n\nexport type BridgeControllerState = {\n quoteRequest: Partial<GenericQuoteRequest>;\n quotes: (QuoteResponse & L1GasFees & NonEvmFees)[];\n quotesInitialLoadTime: number | null;\n quotesLastFetched: number | null;\n quotesLoadingStatus: RequestStatus | null;\n quoteFetchError: string | null;\n quotesRefreshCount: number;\n /**\n * Asset exchange rates for EVM and multichain assets that are not indexed by the assets controllers\n */\n assetExchangeRates: Record<CaipAssetType, ExchangeRate>;\n /**\n * When the src token is SOL, this needs to be subtracted from their balance to determine\n * the max amount that can be sent.\n */\n minimumBalanceForRentExemptionInLamports: string | null;\n};\n\nexport type BridgeControllerAction<\n FunctionName extends keyof BridgeController,\n> = {\n type: `${typeof BRIDGE_CONTROLLER_NAME}:${FunctionName}`;\n handler: BridgeController[FunctionName];\n};\n\n// Maps to BridgeController function names\nexport type BridgeControllerActions =\n | BridgeControllerAction<BridgeBackgroundAction.SET_CHAIN_INTERVAL_LENGTH>\n | BridgeControllerAction<BridgeBackgroundAction.RESET_STATE>\n | BridgeControllerAction<BridgeBackgroundAction.GET_BRIDGE_ERC20_ALLOWANCE>\n | BridgeControllerAction<BridgeBackgroundAction.TRACK_METAMETRICS_EVENT>\n | BridgeControllerAction<BridgeBackgroundAction.STOP_POLLING_FOR_QUOTES>\n | BridgeControllerAction<BridgeBackgroundAction.FETCH_QUOTES>\n | BridgeControllerAction<BridgeUserAction.UPDATE_QUOTE_PARAMS>;\n\nexport type BridgeControllerEvents = ControllerStateChangeEvent<\n typeof BRIDGE_CONTROLLER_NAME,\n BridgeControllerState\n>;\n\nexport type AllowedActions =\n | AccountsControllerGetAccountByAddressAction\n | GetCurrencyRateState\n | TokenRatesControllerGetStateAction\n | MultichainAssetsRatesControllerGetStateAction\n | HandleSnapRequest\n | NetworkControllerFindNetworkClientIdByChainIdAction\n | NetworkControllerGetStateAction\n | NetworkControllerGetNetworkClientByIdAction\n | RemoteFeatureFlagControllerGetStateAction;\nexport type AllowedEvents = never;\n\n/**\n * The messenger for the BridgeController.\n */\nexport type BridgeControllerMessenger = RestrictedMessenger<\n typeof BRIDGE_CONTROLLER_NAME,\n BridgeControllerActions | AllowedActions,\n BridgeControllerEvents | AllowedEvents,\n AllowedActions['type'],\n AllowedEvents['type']\n>;\n"]}