@metamask/bridge-controller 42.0.0 → 43.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 (56) hide show
  1. package/CHANGELOG.md +32 -1
  2. package/dist/bridge-controller.cjs +18 -0
  3. package/dist/bridge-controller.cjs.map +1 -1
  4. package/dist/bridge-controller.d.cts.map +1 -1
  5. package/dist/bridge-controller.d.mts.map +1 -1
  6. package/dist/bridge-controller.mjs +18 -0
  7. package/dist/bridge-controller.mjs.map +1 -1
  8. package/dist/constants/bridge.cjs +1 -2
  9. package/dist/constants/bridge.cjs.map +1 -1
  10. package/dist/constants/bridge.d.cts +0 -1
  11. package/dist/constants/bridge.d.cts.map +1 -1
  12. package/dist/constants/bridge.d.mts +0 -1
  13. package/dist/constants/bridge.d.mts.map +1 -1
  14. package/dist/constants/bridge.mjs +0 -1
  15. package/dist/constants/bridge.mjs.map +1 -1
  16. package/dist/index.cjs +5 -3
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.d.cts +3 -2
  19. package/dist/index.d.cts.map +1 -1
  20. package/dist/index.d.mts +3 -2
  21. package/dist/index.d.mts.map +1 -1
  22. package/dist/index.mjs +3 -2
  23. package/dist/index.mjs.map +1 -1
  24. package/dist/selectors.cjs +20 -1
  25. package/dist/selectors.cjs.map +1 -1
  26. package/dist/selectors.d.cts +175 -0
  27. package/dist/selectors.d.cts.map +1 -1
  28. package/dist/selectors.d.mts +175 -0
  29. package/dist/selectors.d.mts.map +1 -1
  30. package/dist/selectors.mjs +19 -0
  31. package/dist/selectors.mjs.map +1 -1
  32. package/dist/utils/metrics/properties.cjs +6 -0
  33. package/dist/utils/metrics/properties.cjs.map +1 -1
  34. package/dist/utils/metrics/properties.d.cts +6 -0
  35. package/dist/utils/metrics/properties.d.cts.map +1 -1
  36. package/dist/utils/metrics/properties.d.mts +6 -0
  37. package/dist/utils/metrics/properties.d.mts.map +1 -1
  38. package/dist/utils/metrics/properties.mjs +6 -0
  39. package/dist/utils/metrics/properties.mjs.map +1 -1
  40. package/dist/utils/slippage.cjs +49 -0
  41. package/dist/utils/slippage.cjs.map +1 -0
  42. package/dist/utils/slippage.d.cts +23 -0
  43. package/dist/utils/slippage.d.cts.map +1 -0
  44. package/dist/utils/slippage.d.mts +23 -0
  45. package/dist/utils/slippage.d.mts.map +1 -0
  46. package/dist/utils/slippage.mjs +45 -0
  47. package/dist/utils/slippage.mjs.map +1 -0
  48. package/dist/utils/validators.cjs +3 -0
  49. package/dist/utils/validators.cjs.map +1 -1
  50. package/dist/utils/validators.d.cts +18 -0
  51. package/dist/utils/validators.d.cts.map +1 -1
  52. package/dist/utils/validators.d.mts +18 -0
  53. package/dist/utils/validators.d.mts.map +1 -1
  54. package/dist/utils/validators.mjs +3 -0
  55. package/dist/utils/validators.mjs.map +1 -1
  56. package/package.json +9 -9
@@ -2,6 +2,7 @@ import type { CurrencyRateState, MultichainAssetsRatesControllerState, TokenRate
2
2
  import type { GasFeeEstimates } from "@metamask/gas-fee-controller";
3
3
  import type { BridgeControllerState, ExchangeRate, GenericQuoteRequest, QuoteMetadata, QuoteResponse } from "./types.mjs";
4
4
  import { SortOrder } from "./types.mjs";
5
+ import { getDefaultSlippagePercentage } from "./utils/slippage.mjs";
5
6
  /**
6
7
  * The controller states that provide exchange rates
7
8
  */
@@ -54,8 +55,10 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
54
55
  isActiveDest: boolean;
55
56
  refreshRate?: number | undefined;
56
57
  topAssets?: string[] | undefined;
58
+ stablecoins?: string[] | undefined;
57
59
  isUnifiedUIEnabled?: boolean | undefined;
58
60
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
61
+ isGaslessSwapEnabled?: boolean | undefined;
59
62
  }>;
60
63
  refreshRate: number;
61
64
  minimumVersion: string;
@@ -81,8 +84,10 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
81
84
  isActiveDest: boolean;
82
85
  refreshRate?: number | undefined;
83
86
  topAssets?: string[] | undefined;
87
+ stablecoins?: string[] | undefined;
84
88
  isUnifiedUIEnabled?: boolean | undefined;
85
89
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
90
+ isGaslessSwapEnabled?: boolean | undefined;
86
91
  }>;
87
92
  refreshRate: number;
88
93
  minimumVersion: string;
@@ -104,8 +109,10 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
104
109
  isActiveDest: boolean;
105
110
  refreshRate?: number | undefined;
106
111
  topAssets?: string[] | undefined;
112
+ stablecoins?: string[] | undefined;
107
113
  isUnifiedUIEnabled?: boolean | undefined;
108
114
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
115
+ isGaslessSwapEnabled?: boolean | undefined;
109
116
  }>;
110
117
  refreshRate: number;
111
118
  minimumVersion: string;
@@ -131,8 +138,10 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
131
138
  isActiveDest: boolean;
132
139
  refreshRate?: number | undefined;
133
140
  topAssets?: string[] | undefined;
141
+ stablecoins?: string[] | undefined;
134
142
  isUnifiedUIEnabled?: boolean | undefined;
135
143
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
144
+ isGaslessSwapEnabled?: boolean | undefined;
136
145
  }>;
137
146
  refreshRate: number;
138
147
  minimumVersion: string;
@@ -204,8 +213,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
204
213
  isActiveDest: boolean;
205
214
  refreshRate?: number | undefined;
206
215
  topAssets?: string[] | undefined;
216
+ stablecoins?: string[] | undefined;
207
217
  isUnifiedUIEnabled?: boolean | undefined;
208
218
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
219
+ isGaslessSwapEnabled?: boolean | undefined;
209
220
  }>;
210
221
  refreshRate: number;
211
222
  minimumVersion: string;
@@ -227,8 +238,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
227
238
  isActiveDest: boolean;
228
239
  refreshRate?: number | undefined;
229
240
  topAssets?: string[] | undefined;
241
+ stablecoins?: string[] | undefined;
230
242
  isUnifiedUIEnabled?: boolean | undefined;
231
243
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
244
+ isGaslessSwapEnabled?: boolean | undefined;
232
245
  }>;
233
246
  refreshRate: number;
234
247
  minimumVersion: string;
@@ -255,8 +268,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
255
268
  isActiveDest: boolean;
256
269
  refreshRate?: number | undefined;
257
270
  topAssets?: string[] | undefined;
271
+ stablecoins?: string[] | undefined;
258
272
  isUnifiedUIEnabled?: boolean | undefined;
259
273
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
274
+ isGaslessSwapEnabled?: boolean | undefined;
260
275
  }>;
261
276
  refreshRate: number;
262
277
  minimumVersion: string;
@@ -282,8 +297,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
282
297
  isActiveDest: boolean;
283
298
  refreshRate?: number | undefined;
284
299
  topAssets?: string[] | undefined;
300
+ stablecoins?: string[] | undefined;
285
301
  isUnifiedUIEnabled?: boolean | undefined;
286
302
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
303
+ isGaslessSwapEnabled?: boolean | undefined;
287
304
  }>;
288
305
  refreshRate: number;
289
306
  minimumVersion: string;
@@ -305,8 +322,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
305
322
  isActiveDest: boolean;
306
323
  refreshRate?: number | undefined;
307
324
  topAssets?: string[] | undefined;
325
+ stablecoins?: string[] | undefined;
308
326
  isUnifiedUIEnabled?: boolean | undefined;
309
327
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
328
+ isGaslessSwapEnabled?: boolean | undefined;
310
329
  }>;
311
330
  refreshRate: number;
312
331
  minimumVersion: string;
@@ -332,8 +351,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
332
351
  isActiveDest: boolean;
333
352
  refreshRate?: number | undefined;
334
353
  topAssets?: string[] | undefined;
354
+ stablecoins?: string[] | undefined;
335
355
  isUnifiedUIEnabled?: boolean | undefined;
336
356
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
357
+ isGaslessSwapEnabled?: boolean | undefined;
337
358
  }>;
338
359
  refreshRate: number;
339
360
  minimumVersion: string;
@@ -380,8 +401,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
380
401
  isActiveDest: boolean;
381
402
  refreshRate?: number | undefined;
382
403
  topAssets?: string[] | undefined;
404
+ stablecoins?: string[] | undefined;
383
405
  isUnifiedUIEnabled?: boolean | undefined;
384
406
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
407
+ isGaslessSwapEnabled?: boolean | undefined;
385
408
  }>;
386
409
  refreshRate: number;
387
410
  minimumVersion: string;
@@ -403,8 +426,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
403
426
  isActiveDest: boolean;
404
427
  refreshRate?: number | undefined;
405
428
  topAssets?: string[] | undefined;
429
+ stablecoins?: string[] | undefined;
406
430
  isUnifiedUIEnabled?: boolean | undefined;
407
431
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
432
+ isGaslessSwapEnabled?: boolean | undefined;
408
433
  }>;
409
434
  refreshRate: number;
410
435
  minimumVersion: string;
@@ -431,8 +456,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
431
456
  isActiveDest: boolean;
432
457
  refreshRate?: number | undefined;
433
458
  topAssets?: string[] | undefined;
459
+ stablecoins?: string[] | undefined;
434
460
  isUnifiedUIEnabled?: boolean | undefined;
435
461
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
462
+ isGaslessSwapEnabled?: boolean | undefined;
436
463
  }>;
437
464
  refreshRate: number;
438
465
  minimumVersion: string;
@@ -458,8 +485,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
458
485
  isActiveDest: boolean;
459
486
  refreshRate?: number | undefined;
460
487
  topAssets?: string[] | undefined;
488
+ stablecoins?: string[] | undefined;
461
489
  isUnifiedUIEnabled?: boolean | undefined;
462
490
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
491
+ isGaslessSwapEnabled?: boolean | undefined;
463
492
  }>;
464
493
  refreshRate: number;
465
494
  minimumVersion: string;
@@ -481,8 +510,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
481
510
  isActiveDest: boolean;
482
511
  refreshRate?: number | undefined;
483
512
  topAssets?: string[] | undefined;
513
+ stablecoins?: string[] | undefined;
484
514
  isUnifiedUIEnabled?: boolean | undefined;
485
515
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
516
+ isGaslessSwapEnabled?: boolean | undefined;
486
517
  }>;
487
518
  refreshRate: number;
488
519
  minimumVersion: string;
@@ -508,8 +539,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
508
539
  isActiveDest: boolean;
509
540
  refreshRate?: number | undefined;
510
541
  topAssets?: string[] | undefined;
542
+ stablecoins?: string[] | undefined;
511
543
  isUnifiedUIEnabled?: boolean | undefined;
512
544
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
545
+ isGaslessSwapEnabled?: boolean | undefined;
513
546
  }>;
514
547
  refreshRate: number;
515
548
  minimumVersion: string;
@@ -704,6 +737,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
704
737
  totalFromAmountUsd?: string | undefined;
705
738
  totalToAmountUsd?: string | undefined;
706
739
  priceImpact?: string | undefined;
740
+ totalFeeAmountUsd?: string | undefined;
707
741
  } | undefined;
708
742
  };
709
743
  estimatedProcessingTimeInSeconds: number;
@@ -876,6 +910,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
876
910
  totalFromAmountUsd?: string | undefined;
877
911
  totalToAmountUsd?: string | undefined;
878
912
  priceImpact?: string | undefined;
913
+ totalFeeAmountUsd?: string | undefined;
879
914
  } | undefined;
880
915
  };
881
916
  estimatedProcessingTimeInSeconds: number;
@@ -1048,6 +1083,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
1048
1083
  totalFromAmountUsd?: string | undefined;
1049
1084
  totalToAmountUsd?: string | undefined;
1050
1085
  priceImpact?: string | undefined;
1086
+ totalFeeAmountUsd?: string | undefined;
1051
1087
  } | undefined;
1052
1088
  };
1053
1089
  estimatedProcessingTimeInSeconds: number;
@@ -1231,6 +1267,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
1231
1267
  totalFromAmountUsd?: string | undefined;
1232
1268
  totalToAmountUsd?: string | undefined;
1233
1269
  priceImpact?: string | undefined;
1270
+ totalFeeAmountUsd?: string | undefined;
1234
1271
  } | undefined;
1235
1272
  };
1236
1273
  estimatedProcessingTimeInSeconds: number;
@@ -1402,6 +1439,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
1402
1439
  totalFromAmountUsd?: string | undefined;
1403
1440
  totalToAmountUsd?: string | undefined;
1404
1441
  priceImpact?: string | undefined;
1442
+ totalFeeAmountUsd?: string | undefined;
1405
1443
  } | undefined;
1406
1444
  };
1407
1445
  estimatedProcessingTimeInSeconds: number;
@@ -1573,6 +1611,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
1573
1611
  totalFromAmountUsd?: string | undefined;
1574
1612
  totalToAmountUsd?: string | undefined;
1575
1613
  priceImpact?: string | undefined;
1614
+ totalFeeAmountUsd?: string | undefined;
1576
1615
  } | undefined;
1577
1616
  };
1578
1617
  estimatedProcessingTimeInSeconds: number;
@@ -1745,6 +1784,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
1745
1784
  totalFromAmountUsd?: string | undefined;
1746
1785
  totalToAmountUsd?: string | undefined;
1747
1786
  priceImpact?: string | undefined;
1787
+ totalFeeAmountUsd?: string | undefined;
1748
1788
  } | undefined;
1749
1789
  };
1750
1790
  estimatedProcessingTimeInSeconds: number;
@@ -1917,6 +1957,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
1917
1957
  totalFromAmountUsd?: string | undefined;
1918
1958
  totalToAmountUsd?: string | undefined;
1919
1959
  priceImpact?: string | undefined;
1960
+ totalFeeAmountUsd?: string | undefined;
1920
1961
  } | undefined;
1921
1962
  };
1922
1963
  estimatedProcessingTimeInSeconds: number;
@@ -2089,6 +2130,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
2089
2130
  totalFromAmountUsd?: string | undefined;
2090
2131
  totalToAmountUsd?: string | undefined;
2091
2132
  priceImpact?: string | undefined;
2133
+ totalFeeAmountUsd?: string | undefined;
2092
2134
  } | undefined;
2093
2135
  };
2094
2136
  estimatedProcessingTimeInSeconds: number;
@@ -2268,6 +2310,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
2268
2310
  totalFromAmountUsd?: string | undefined;
2269
2311
  totalToAmountUsd?: string | undefined;
2270
2312
  priceImpact?: string | undefined;
2313
+ totalFeeAmountUsd?: string | undefined;
2271
2314
  } | undefined;
2272
2315
  };
2273
2316
  estimatedProcessingTimeInSeconds: number;
@@ -2439,6 +2482,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
2439
2482
  totalFromAmountUsd?: string | undefined;
2440
2483
  totalToAmountUsd?: string | undefined;
2441
2484
  priceImpact?: string | undefined;
2485
+ totalFeeAmountUsd?: string | undefined;
2442
2486
  } | undefined;
2443
2487
  };
2444
2488
  estimatedProcessingTimeInSeconds: number;
@@ -2610,6 +2654,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
2610
2654
  totalFromAmountUsd?: string | undefined;
2611
2655
  totalToAmountUsd?: string | undefined;
2612
2656
  priceImpact?: string | undefined;
2657
+ totalFeeAmountUsd?: string | undefined;
2613
2658
  } | undefined;
2614
2659
  };
2615
2660
  estimatedProcessingTimeInSeconds: number;
@@ -2782,6 +2827,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
2782
2827
  totalFromAmountUsd?: string | undefined;
2783
2828
  totalToAmountUsd?: string | undefined;
2784
2829
  priceImpact?: string | undefined;
2830
+ totalFeeAmountUsd?: string | undefined;
2785
2831
  } | undefined;
2786
2832
  };
2787
2833
  estimatedProcessingTimeInSeconds: number;
@@ -2954,6 +3000,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
2954
3000
  totalFromAmountUsd?: string | undefined;
2955
3001
  totalToAmountUsd?: string | undefined;
2956
3002
  priceImpact?: string | undefined;
3003
+ totalFeeAmountUsd?: string | undefined;
2957
3004
  } | undefined;
2958
3005
  };
2959
3006
  estimatedProcessingTimeInSeconds: number;
@@ -3126,6 +3173,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
3126
3173
  totalFromAmountUsd?: string | undefined;
3127
3174
  totalToAmountUsd?: string | undefined;
3128
3175
  priceImpact?: string | undefined;
3176
+ totalFeeAmountUsd?: string | undefined;
3129
3177
  } | undefined;
3130
3178
  };
3131
3179
  estimatedProcessingTimeInSeconds: number;
@@ -3310,6 +3358,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
3310
3358
  totalFromAmountUsd?: string | undefined;
3311
3359
  totalToAmountUsd?: string | undefined;
3312
3360
  priceImpact?: string | undefined;
3361
+ totalFeeAmountUsd?: string | undefined;
3313
3362
  } | undefined;
3314
3363
  };
3315
3364
  estimatedProcessingTimeInSeconds: number;
@@ -3482,6 +3531,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
3482
3531
  totalFromAmountUsd?: string | undefined;
3483
3532
  totalToAmountUsd?: string | undefined;
3484
3533
  priceImpact?: string | undefined;
3534
+ totalFeeAmountUsd?: string | undefined;
3485
3535
  } | undefined;
3486
3536
  };
3487
3537
  estimatedProcessingTimeInSeconds: number;
@@ -3654,6 +3704,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
3654
3704
  totalFromAmountUsd?: string | undefined;
3655
3705
  totalToAmountUsd?: string | undefined;
3656
3706
  priceImpact?: string | undefined;
3707
+ totalFeeAmountUsd?: string | undefined;
3657
3708
  } | undefined;
3658
3709
  };
3659
3710
  estimatedProcessingTimeInSeconds: number;
@@ -3837,6 +3888,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
3837
3888
  totalFromAmountUsd?: string | undefined;
3838
3889
  totalToAmountUsd?: string | undefined;
3839
3890
  priceImpact?: string | undefined;
3891
+ totalFeeAmountUsd?: string | undefined;
3840
3892
  } | undefined;
3841
3893
  };
3842
3894
  estimatedProcessingTimeInSeconds: number;
@@ -4053,6 +4105,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
4053
4105
  totalFromAmountUsd?: string | undefined;
4054
4106
  totalToAmountUsd?: string | undefined;
4055
4107
  priceImpact?: string | undefined;
4108
+ totalFeeAmountUsd?: string | undefined;
4056
4109
  } | undefined;
4057
4110
  };
4058
4111
  estimatedProcessingTimeInSeconds: number;
@@ -4215,6 +4268,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
4215
4268
  totalFromAmountUsd?: string | undefined;
4216
4269
  totalToAmountUsd?: string | undefined;
4217
4270
  priceImpact?: string | undefined;
4271
+ totalFeeAmountUsd?: string | undefined;
4218
4272
  } | undefined;
4219
4273
  };
4220
4274
  estimatedProcessingTimeInSeconds: number;
@@ -4427,6 +4481,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
4427
4481
  totalFromAmountUsd?: string | undefined;
4428
4482
  totalToAmountUsd?: string | undefined;
4429
4483
  priceImpact?: string | undefined;
4484
+ totalFeeAmountUsd?: string | undefined;
4430
4485
  } | undefined;
4431
4486
  };
4432
4487
  estimatedProcessingTimeInSeconds: number;
@@ -4589,6 +4644,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
4589
4644
  totalFromAmountUsd?: string | undefined;
4590
4645
  totalToAmountUsd?: string | undefined;
4591
4646
  priceImpact?: string | undefined;
4647
+ totalFeeAmountUsd?: string | undefined;
4592
4648
  } | undefined;
4593
4649
  };
4594
4650
  estimatedProcessingTimeInSeconds: number;
@@ -4765,6 +4821,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
4765
4821
  totalFromAmountUsd?: string | undefined;
4766
4822
  totalToAmountUsd?: string | undefined;
4767
4823
  priceImpact?: string | undefined;
4824
+ totalFeeAmountUsd?: string | undefined;
4768
4825
  } | undefined;
4769
4826
  };
4770
4827
  estimatedProcessingTimeInSeconds: number;
@@ -4981,6 +5038,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
4981
5038
  totalFromAmountUsd?: string | undefined;
4982
5039
  totalToAmountUsd?: string | undefined;
4983
5040
  priceImpact?: string | undefined;
5041
+ totalFeeAmountUsd?: string | undefined;
4984
5042
  } | undefined;
4985
5043
  };
4986
5044
  estimatedProcessingTimeInSeconds: number;
@@ -5148,6 +5206,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
5148
5206
  totalFromAmountUsd?: string | undefined;
5149
5207
  totalToAmountUsd?: string | undefined;
5150
5208
  priceImpact?: string | undefined;
5209
+ totalFeeAmountUsd?: string | undefined;
5151
5210
  } | undefined;
5152
5211
  };
5153
5212
  estimatedProcessingTimeInSeconds: number;
@@ -5363,6 +5422,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
5363
5422
  totalFromAmountUsd?: string | undefined;
5364
5423
  totalToAmountUsd?: string | undefined;
5365
5424
  priceImpact?: string | undefined;
5425
+ totalFeeAmountUsd?: string | undefined;
5366
5426
  } | undefined;
5367
5427
  };
5368
5428
  estimatedProcessingTimeInSeconds: number;
@@ -5526,6 +5586,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
5526
5586
  totalFromAmountUsd?: string | undefined;
5527
5587
  totalToAmountUsd?: string | undefined;
5528
5588
  priceImpact?: string | undefined;
5589
+ totalFeeAmountUsd?: string | undefined;
5529
5590
  } | undefined;
5530
5591
  };
5531
5592
  estimatedProcessingTimeInSeconds: number;
@@ -5741,6 +5802,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
5741
5802
  totalFromAmountUsd?: string | undefined;
5742
5803
  totalToAmountUsd?: string | undefined;
5743
5804
  priceImpact?: string | undefined;
5805
+ totalFeeAmountUsd?: string | undefined;
5744
5806
  } | undefined;
5745
5807
  };
5746
5808
  estimatedProcessingTimeInSeconds: number;
@@ -5948,6 +6010,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
5948
6010
  totalFromAmountUsd?: string | undefined;
5949
6011
  totalToAmountUsd?: string | undefined;
5950
6012
  priceImpact?: string | undefined;
6013
+ totalFeeAmountUsd?: string | undefined;
5951
6014
  } | undefined;
5952
6015
  };
5953
6016
  estimatedProcessingTimeInSeconds: number;
@@ -6111,6 +6174,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
6111
6174
  totalFromAmountUsd?: string | undefined;
6112
6175
  totalToAmountUsd?: string | undefined;
6113
6176
  priceImpact?: string | undefined;
6177
+ totalFeeAmountUsd?: string | undefined;
6114
6178
  } | undefined;
6115
6179
  };
6116
6180
  estimatedProcessingTimeInSeconds: number;
@@ -6414,6 +6478,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
6414
6478
  totalFromAmountUsd?: string | undefined;
6415
6479
  totalToAmountUsd?: string | undefined;
6416
6480
  priceImpact?: string | undefined;
6481
+ totalFeeAmountUsd?: string | undefined;
6417
6482
  } | undefined;
6418
6483
  };
6419
6484
  estimatedProcessingTimeInSeconds: number;
@@ -6590,6 +6655,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
6590
6655
  totalFromAmountUsd?: string | undefined;
6591
6656
  totalToAmountUsd?: string | undefined;
6592
6657
  priceImpact?: string | undefined;
6658
+ totalFeeAmountUsd?: string | undefined;
6593
6659
  } | undefined;
6594
6660
  };
6595
6661
  estimatedProcessingTimeInSeconds: number;
@@ -6761,6 +6827,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
6761
6827
  totalFromAmountUsd?: string | undefined;
6762
6828
  totalToAmountUsd?: string | undefined;
6763
6829
  priceImpact?: string | undefined;
6830
+ totalFeeAmountUsd?: string | undefined;
6764
6831
  } | undefined;
6765
6832
  };
6766
6833
  estimatedProcessingTimeInSeconds: number;
@@ -6933,6 +7000,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
6933
7000
  totalFromAmountUsd?: string | undefined;
6934
7001
  totalToAmountUsd?: string | undefined;
6935
7002
  priceImpact?: string | undefined;
7003
+ totalFeeAmountUsd?: string | undefined;
6936
7004
  } | undefined;
6937
7005
  };
6938
7006
  estimatedProcessingTimeInSeconds: number;
@@ -7104,6 +7172,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
7104
7172
  totalFromAmountUsd?: string | undefined;
7105
7173
  totalToAmountUsd?: string | undefined;
7106
7174
  priceImpact?: string | undefined;
7175
+ totalFeeAmountUsd?: string | undefined;
7107
7176
  } | undefined;
7108
7177
  };
7109
7178
  estimatedProcessingTimeInSeconds: number;
@@ -7280,6 +7349,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
7280
7349
  totalFromAmountUsd?: string | undefined;
7281
7350
  totalToAmountUsd?: string | undefined;
7282
7351
  priceImpact?: string | undefined;
7352
+ totalFeeAmountUsd?: string | undefined;
7283
7353
  } | undefined;
7284
7354
  };
7285
7355
  estimatedProcessingTimeInSeconds: number;
@@ -7456,6 +7526,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
7456
7526
  totalFromAmountUsd?: string | undefined;
7457
7527
  totalToAmountUsd?: string | undefined;
7458
7528
  priceImpact?: string | undefined;
7529
+ totalFeeAmountUsd?: string | undefined;
7459
7530
  } | undefined;
7460
7531
  };
7461
7532
  estimatedProcessingTimeInSeconds: number;
@@ -7672,6 +7743,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
7672
7743
  totalFromAmountUsd?: string | undefined;
7673
7744
  totalToAmountUsd?: string | undefined;
7674
7745
  priceImpact?: string | undefined;
7746
+ totalFeeAmountUsd?: string | undefined;
7675
7747
  } | undefined;
7676
7748
  };
7677
7749
  estimatedProcessingTimeInSeconds: number;
@@ -7834,6 +7906,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
7834
7906
  totalFromAmountUsd?: string | undefined;
7835
7907
  totalToAmountUsd?: string | undefined;
7836
7908
  priceImpact?: string | undefined;
7909
+ totalFeeAmountUsd?: string | undefined;
7837
7910
  } | undefined;
7838
7911
  };
7839
7912
  estimatedProcessingTimeInSeconds: number;
@@ -8046,6 +8119,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
8046
8119
  totalFromAmountUsd?: string | undefined;
8047
8120
  totalToAmountUsd?: string | undefined;
8048
8121
  priceImpact?: string | undefined;
8122
+ totalFeeAmountUsd?: string | undefined;
8049
8123
  } | undefined;
8050
8124
  };
8051
8125
  estimatedProcessingTimeInSeconds: number;
@@ -8208,6 +8282,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
8208
8282
  totalFromAmountUsd?: string | undefined;
8209
8283
  totalToAmountUsd?: string | undefined;
8210
8284
  priceImpact?: string | undefined;
8285
+ totalFeeAmountUsd?: string | undefined;
8211
8286
  } | undefined;
8212
8287
  };
8213
8288
  estimatedProcessingTimeInSeconds: number;
@@ -8384,6 +8459,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
8384
8459
  totalFromAmountUsd?: string | undefined;
8385
8460
  totalToAmountUsd?: string | undefined;
8386
8461
  priceImpact?: string | undefined;
8462
+ totalFeeAmountUsd?: string | undefined;
8387
8463
  } | undefined;
8388
8464
  };
8389
8465
  estimatedProcessingTimeInSeconds: number;
@@ -8600,6 +8676,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
8600
8676
  totalFromAmountUsd?: string | undefined;
8601
8677
  totalToAmountUsd?: string | undefined;
8602
8678
  priceImpact?: string | undefined;
8679
+ totalFeeAmountUsd?: string | undefined;
8603
8680
  } | undefined;
8604
8681
  };
8605
8682
  estimatedProcessingTimeInSeconds: number;
@@ -8767,6 +8844,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
8767
8844
  totalFromAmountUsd?: string | undefined;
8768
8845
  totalToAmountUsd?: string | undefined;
8769
8846
  priceImpact?: string | undefined;
8847
+ totalFeeAmountUsd?: string | undefined;
8770
8848
  } | undefined;
8771
8849
  };
8772
8850
  estimatedProcessingTimeInSeconds: number;
@@ -8982,6 +9060,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
8982
9060
  totalFromAmountUsd?: string | undefined;
8983
9061
  totalToAmountUsd?: string | undefined;
8984
9062
  priceImpact?: string | undefined;
9063
+ totalFeeAmountUsd?: string | undefined;
8985
9064
  } | undefined;
8986
9065
  };
8987
9066
  estimatedProcessingTimeInSeconds: number;
@@ -9145,6 +9224,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
9145
9224
  totalFromAmountUsd?: string | undefined;
9146
9225
  totalToAmountUsd?: string | undefined;
9147
9226
  priceImpact?: string | undefined;
9227
+ totalFeeAmountUsd?: string | undefined;
9148
9228
  } | undefined;
9149
9229
  };
9150
9230
  estimatedProcessingTimeInSeconds: number;
@@ -9360,6 +9440,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
9360
9440
  totalFromAmountUsd?: string | undefined;
9361
9441
  totalToAmountUsd?: string | undefined;
9362
9442
  priceImpact?: string | undefined;
9443
+ totalFeeAmountUsd?: string | undefined;
9363
9444
  } | undefined;
9364
9445
  };
9365
9446
  estimatedProcessingTimeInSeconds: number;
@@ -9567,6 +9648,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
9567
9648
  totalFromAmountUsd?: string | undefined;
9568
9649
  totalToAmountUsd?: string | undefined;
9569
9650
  priceImpact?: string | undefined;
9651
+ totalFeeAmountUsd?: string | undefined;
9570
9652
  } | undefined;
9571
9653
  };
9572
9654
  estimatedProcessingTimeInSeconds: number;
@@ -9730,6 +9812,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
9730
9812
  totalFromAmountUsd?: string | undefined;
9731
9813
  totalToAmountUsd?: string | undefined;
9732
9814
  priceImpact?: string | undefined;
9815
+ totalFeeAmountUsd?: string | undefined;
9733
9816
  } | undefined;
9734
9817
  };
9735
9818
  estimatedProcessingTimeInSeconds: number;
@@ -10041,6 +10124,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
10041
10124
  totalFromAmountUsd?: string | undefined;
10042
10125
  totalToAmountUsd?: string | undefined;
10043
10126
  priceImpact?: string | undefined;
10127
+ totalFeeAmountUsd?: string | undefined;
10044
10128
  } | undefined;
10045
10129
  };
10046
10130
  estimatedProcessingTimeInSeconds: number;
@@ -10217,6 +10301,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
10217
10301
  totalFromAmountUsd?: string | undefined;
10218
10302
  totalToAmountUsd?: string | undefined;
10219
10303
  priceImpact?: string | undefined;
10304
+ totalFeeAmountUsd?: string | undefined;
10220
10305
  } | undefined;
10221
10306
  };
10222
10307
  estimatedProcessingTimeInSeconds: number;
@@ -10388,6 +10473,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
10388
10473
  totalFromAmountUsd?: string | undefined;
10389
10474
  totalToAmountUsd?: string | undefined;
10390
10475
  priceImpact?: string | undefined;
10476
+ totalFeeAmountUsd?: string | undefined;
10391
10477
  } | undefined;
10392
10478
  };
10393
10479
  estimatedProcessingTimeInSeconds: number;
@@ -10559,6 +10645,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
10559
10645
  totalFromAmountUsd?: string | undefined;
10560
10646
  totalToAmountUsd?: string | undefined;
10561
10647
  priceImpact?: string | undefined;
10648
+ totalFeeAmountUsd?: string | undefined;
10562
10649
  } | undefined;
10563
10650
  };
10564
10651
  estimatedProcessingTimeInSeconds: number;
@@ -10731,6 +10818,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
10731
10818
  totalFromAmountUsd?: string | undefined;
10732
10819
  totalToAmountUsd?: string | undefined;
10733
10820
  priceImpact?: string | undefined;
10821
+ totalFeeAmountUsd?: string | undefined;
10734
10822
  } | undefined;
10735
10823
  };
10736
10824
  estimatedProcessingTimeInSeconds: number;
@@ -10902,6 +10990,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
10902
10990
  totalFromAmountUsd?: string | undefined;
10903
10991
  totalToAmountUsd?: string | undefined;
10904
10992
  priceImpact?: string | undefined;
10993
+ totalFeeAmountUsd?: string | undefined;
10905
10994
  } | undefined;
10906
10995
  };
10907
10996
  estimatedProcessingTimeInSeconds: number;
@@ -11073,6 +11162,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
11073
11162
  totalFromAmountUsd?: string | undefined;
11074
11163
  totalToAmountUsd?: string | undefined;
11075
11164
  priceImpact?: string | undefined;
11165
+ totalFeeAmountUsd?: string | undefined;
11076
11166
  } | undefined;
11077
11167
  };
11078
11168
  estimatedProcessingTimeInSeconds: number;
@@ -11249,6 +11339,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
11249
11339
  totalFromAmountUsd?: string | undefined;
11250
11340
  totalToAmountUsd?: string | undefined;
11251
11341
  priceImpact?: string | undefined;
11342
+ totalFeeAmountUsd?: string | undefined;
11252
11343
  } | undefined;
11253
11344
  };
11254
11345
  estimatedProcessingTimeInSeconds: number;
@@ -11425,6 +11516,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
11425
11516
  totalFromAmountUsd?: string | undefined;
11426
11517
  totalToAmountUsd?: string | undefined;
11427
11518
  priceImpact?: string | undefined;
11519
+ totalFeeAmountUsd?: string | undefined;
11428
11520
  } | undefined;
11429
11521
  };
11430
11522
  estimatedProcessingTimeInSeconds: number;
@@ -11601,6 +11693,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
11601
11693
  totalFromAmountUsd?: string | undefined;
11602
11694
  totalToAmountUsd?: string | undefined;
11603
11695
  priceImpact?: string | undefined;
11696
+ totalFeeAmountUsd?: string | undefined;
11604
11697
  } | undefined;
11605
11698
  };
11606
11699
  estimatedProcessingTimeInSeconds: number;
@@ -11772,6 +11865,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
11772
11865
  totalFromAmountUsd?: string | undefined;
11773
11866
  totalToAmountUsd?: string | undefined;
11774
11867
  priceImpact?: string | undefined;
11868
+ totalFeeAmountUsd?: string | undefined;
11775
11869
  } | undefined;
11776
11870
  };
11777
11871
  estimatedProcessingTimeInSeconds: number;
@@ -11944,6 +12038,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
11944
12038
  totalFromAmountUsd?: string | undefined;
11945
12039
  totalToAmountUsd?: string | undefined;
11946
12040
  priceImpact?: string | undefined;
12041
+ totalFeeAmountUsd?: string | undefined;
11947
12042
  } | undefined;
11948
12043
  };
11949
12044
  estimatedProcessingTimeInSeconds: number;
@@ -12115,6 +12210,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
12115
12210
  totalFromAmountUsd?: string | undefined;
12116
12211
  totalToAmountUsd?: string | undefined;
12117
12212
  priceImpact?: string | undefined;
12213
+ totalFeeAmountUsd?: string | undefined;
12118
12214
  } | undefined;
12119
12215
  };
12120
12216
  estimatedProcessingTimeInSeconds: number;
@@ -12291,6 +12387,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
12291
12387
  totalFromAmountUsd?: string | undefined;
12292
12388
  totalToAmountUsd?: string | undefined;
12293
12389
  priceImpact?: string | undefined;
12390
+ totalFeeAmountUsd?: string | undefined;
12294
12391
  } | undefined;
12295
12392
  };
12296
12393
  estimatedProcessingTimeInSeconds: number;
@@ -12467,6 +12564,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
12467
12564
  totalFromAmountUsd?: string | undefined;
12468
12565
  totalToAmountUsd?: string | undefined;
12469
12566
  priceImpact?: string | undefined;
12567
+ totalFeeAmountUsd?: string | undefined;
12470
12568
  } | undefined;
12471
12569
  };
12472
12570
  estimatedProcessingTimeInSeconds: number;
@@ -12683,6 +12781,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
12683
12781
  totalFromAmountUsd?: string | undefined;
12684
12782
  totalToAmountUsd?: string | undefined;
12685
12783
  priceImpact?: string | undefined;
12784
+ totalFeeAmountUsd?: string | undefined;
12686
12785
  } | undefined;
12687
12786
  };
12688
12787
  estimatedProcessingTimeInSeconds: number;
@@ -12845,6 +12944,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
12845
12944
  totalFromAmountUsd?: string | undefined;
12846
12945
  totalToAmountUsd?: string | undefined;
12847
12946
  priceImpact?: string | undefined;
12947
+ totalFeeAmountUsd?: string | undefined;
12848
12948
  } | undefined;
12849
12949
  };
12850
12950
  estimatedProcessingTimeInSeconds: number;
@@ -13057,6 +13157,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
13057
13157
  totalFromAmountUsd?: string | undefined;
13058
13158
  totalToAmountUsd?: string | undefined;
13059
13159
  priceImpact?: string | undefined;
13160
+ totalFeeAmountUsd?: string | undefined;
13060
13161
  } | undefined;
13061
13162
  };
13062
13163
  estimatedProcessingTimeInSeconds: number;
@@ -13219,6 +13320,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
13219
13320
  totalFromAmountUsd?: string | undefined;
13220
13321
  totalToAmountUsd?: string | undefined;
13221
13322
  priceImpact?: string | undefined;
13323
+ totalFeeAmountUsd?: string | undefined;
13222
13324
  } | undefined;
13223
13325
  };
13224
13326
  estimatedProcessingTimeInSeconds: number;
@@ -13395,6 +13497,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
13395
13497
  totalFromAmountUsd?: string | undefined;
13396
13498
  totalToAmountUsd?: string | undefined;
13397
13499
  priceImpact?: string | undefined;
13500
+ totalFeeAmountUsd?: string | undefined;
13398
13501
  } | undefined;
13399
13502
  };
13400
13503
  estimatedProcessingTimeInSeconds: number;
@@ -13611,6 +13714,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
13611
13714
  totalFromAmountUsd?: string | undefined;
13612
13715
  totalToAmountUsd?: string | undefined;
13613
13716
  priceImpact?: string | undefined;
13717
+ totalFeeAmountUsd?: string | undefined;
13614
13718
  } | undefined;
13615
13719
  };
13616
13720
  estimatedProcessingTimeInSeconds: number;
@@ -13778,6 +13882,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
13778
13882
  totalFromAmountUsd?: string | undefined;
13779
13883
  totalToAmountUsd?: string | undefined;
13780
13884
  priceImpact?: string | undefined;
13885
+ totalFeeAmountUsd?: string | undefined;
13781
13886
  } | undefined;
13782
13887
  };
13783
13888
  estimatedProcessingTimeInSeconds: number;
@@ -13993,6 +14098,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
13993
14098
  totalFromAmountUsd?: string | undefined;
13994
14099
  totalToAmountUsd?: string | undefined;
13995
14100
  priceImpact?: string | undefined;
14101
+ totalFeeAmountUsd?: string | undefined;
13996
14102
  } | undefined;
13997
14103
  };
13998
14104
  estimatedProcessingTimeInSeconds: number;
@@ -14156,6 +14262,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
14156
14262
  totalFromAmountUsd?: string | undefined;
14157
14263
  totalToAmountUsd?: string | undefined;
14158
14264
  priceImpact?: string | undefined;
14265
+ totalFeeAmountUsd?: string | undefined;
14159
14266
  } | undefined;
14160
14267
  };
14161
14268
  estimatedProcessingTimeInSeconds: number;
@@ -14371,6 +14478,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
14371
14478
  totalFromAmountUsd?: string | undefined;
14372
14479
  totalToAmountUsd?: string | undefined;
14373
14480
  priceImpact?: string | undefined;
14481
+ totalFeeAmountUsd?: string | undefined;
14374
14482
  } | undefined;
14375
14483
  };
14376
14484
  estimatedProcessingTimeInSeconds: number;
@@ -14578,6 +14686,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
14578
14686
  totalFromAmountUsd?: string | undefined;
14579
14687
  totalToAmountUsd?: string | undefined;
14580
14688
  priceImpact?: string | undefined;
14689
+ totalFeeAmountUsd?: string | undefined;
14581
14690
  } | undefined;
14582
14691
  };
14583
14692
  estimatedProcessingTimeInSeconds: number;
@@ -14741,6 +14850,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
14741
14850
  totalFromAmountUsd?: string | undefined;
14742
14851
  totalToAmountUsd?: string | undefined;
14743
14852
  priceImpact?: string | undefined;
14853
+ totalFeeAmountUsd?: string | undefined;
14744
14854
  } | undefined;
14745
14855
  };
14746
14856
  estimatedProcessingTimeInSeconds: number;
@@ -15048,6 +15158,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15048
15158
  totalFromAmountUsd?: string | undefined;
15049
15159
  totalToAmountUsd?: string | undefined;
15050
15160
  priceImpact?: string | undefined;
15161
+ totalFeeAmountUsd?: string | undefined;
15051
15162
  } | undefined;
15052
15163
  };
15053
15164
  estimatedProcessingTimeInSeconds: number;
@@ -15112,8 +15223,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15112
15223
  isActiveDest: boolean;
15113
15224
  refreshRate?: number | undefined;
15114
15225
  topAssets?: string[] | undefined;
15226
+ stablecoins?: string[] | undefined;
15115
15227
  isUnifiedUIEnabled?: boolean | undefined;
15116
15228
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15229
+ isGaslessSwapEnabled?: boolean | undefined;
15117
15230
  }>;
15118
15231
  refreshRate: number;
15119
15232
  minimumVersion: string;
@@ -15135,8 +15248,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15135
15248
  isActiveDest: boolean;
15136
15249
  refreshRate?: number | undefined;
15137
15250
  topAssets?: string[] | undefined;
15251
+ stablecoins?: string[] | undefined;
15138
15252
  isUnifiedUIEnabled?: boolean | undefined;
15139
15253
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15254
+ isGaslessSwapEnabled?: boolean | undefined;
15140
15255
  }>;
15141
15256
  refreshRate: number;
15142
15257
  minimumVersion: string;
@@ -15163,8 +15278,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15163
15278
  isActiveDest: boolean;
15164
15279
  refreshRate?: number | undefined;
15165
15280
  topAssets?: string[] | undefined;
15281
+ stablecoins?: string[] | undefined;
15166
15282
  isUnifiedUIEnabled?: boolean | undefined;
15167
15283
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15284
+ isGaslessSwapEnabled?: boolean | undefined;
15168
15285
  }>;
15169
15286
  refreshRate: number;
15170
15287
  minimumVersion: string;
@@ -15190,8 +15307,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15190
15307
  isActiveDest: boolean;
15191
15308
  refreshRate?: number | undefined;
15192
15309
  topAssets?: string[] | undefined;
15310
+ stablecoins?: string[] | undefined;
15193
15311
  isUnifiedUIEnabled?: boolean | undefined;
15194
15312
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15313
+ isGaslessSwapEnabled?: boolean | undefined;
15195
15314
  }>;
15196
15315
  refreshRate: number;
15197
15316
  minimumVersion: string;
@@ -15213,8 +15332,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15213
15332
  isActiveDest: boolean;
15214
15333
  refreshRate?: number | undefined;
15215
15334
  topAssets?: string[] | undefined;
15335
+ stablecoins?: string[] | undefined;
15216
15336
  isUnifiedUIEnabled?: boolean | undefined;
15217
15337
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15338
+ isGaslessSwapEnabled?: boolean | undefined;
15218
15339
  }>;
15219
15340
  refreshRate: number;
15220
15341
  minimumVersion: string;
@@ -15240,8 +15361,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15240
15361
  isActiveDest: boolean;
15241
15362
  refreshRate?: number | undefined;
15242
15363
  topAssets?: string[] | undefined;
15364
+ stablecoins?: string[] | undefined;
15243
15365
  isUnifiedUIEnabled?: boolean | undefined;
15244
15366
  isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15367
+ isGaslessSwapEnabled?: boolean | undefined;
15245
15368
  }>;
15246
15369
  refreshRate: number;
15247
15370
  minimumVersion: string;
@@ -15282,5 +15405,57 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15282
15405
  memoize: typeof import("reselect").weakMapMemoize;
15283
15406
  };
15284
15407
  export declare const selectMinimumBalanceForRentExemptionInSOL: (state: BridgeAppState) => string;
15408
+ export declare const selectDefaultSlippagePercentage: ((state: BridgeControllerState & {
15409
+ gasFeeEstimates: GasFeeEstimates;
15410
+ } & MultichainAssetsRatesControllerState & TokenRatesControllerState & CurrencyRateState & Pick<BridgeControllerState, "assetExchangeRates"> & {
15411
+ participateInMetaMetrics: boolean;
15412
+ } & RemoteFeatureFlagControllerState, slippageParams: Partial<Pick<GenericQuoteRequest, "srcChainId" | "destChainId" | "srcTokenAddress" | "destTokenAddress">>) => 2 | 0.5 | undefined) & {
15413
+ clearCache: () => void;
15414
+ resultsCount: () => number;
15415
+ resetResultsCount: () => void;
15416
+ } & {
15417
+ resultFunc: (resultFuncArgs_0: Record<string, {
15418
+ isActiveSrc: boolean;
15419
+ isActiveDest: boolean;
15420
+ refreshRate?: number | undefined;
15421
+ topAssets?: string[] | undefined;
15422
+ stablecoins?: string[] | undefined;
15423
+ isUnifiedUIEnabled?: boolean | undefined;
15424
+ isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15425
+ isGaslessSwapEnabled?: boolean | undefined;
15426
+ }>, resultFuncArgs_1: string | undefined, resultFuncArgs_2: string | undefined, resultFuncArgs_3: `${string}:${string}` | undefined, resultFuncArgs_4: `${string}:${string}` | undefined) => 2 | 0.5 | undefined;
15427
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
15428
+ isActiveSrc: boolean;
15429
+ isActiveDest: boolean;
15430
+ refreshRate?: number | undefined;
15431
+ topAssets?: string[] | undefined;
15432
+ stablecoins?: string[] | undefined;
15433
+ isUnifiedUIEnabled?: boolean | undefined;
15434
+ isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15435
+ isGaslessSwapEnabled?: boolean | undefined;
15436
+ }>, resultFuncArgs_1: string | undefined, resultFuncArgs_2: string | undefined, resultFuncArgs_3: `${string}:${string}` | undefined, resultFuncArgs_4: `${string}:${string}` | undefined) => 2 | 0.5 | undefined) & {
15437
+ clearCache: () => void;
15438
+ resultsCount: () => number;
15439
+ resetResultsCount: () => void;
15440
+ };
15441
+ lastResult: () => 2 | 0.5 | undefined;
15442
+ dependencies: [(state: BridgeAppState) => Record<string, {
15443
+ isActiveSrc: boolean;
15444
+ isActiveDest: boolean;
15445
+ refreshRate?: number | undefined;
15446
+ topAssets?: string[] | undefined;
15447
+ stablecoins?: string[] | undefined;
15448
+ isUnifiedUIEnabled?: boolean | undefined;
15449
+ isSingleSwapBridgeButtonEnabled?: boolean | undefined;
15450
+ isGaslessSwapEnabled?: boolean | undefined;
15451
+ }>, (_: 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];
15452
+ recomputations: () => number;
15453
+ resetRecomputations: () => void;
15454
+ dependencyRecomputations: () => number;
15455
+ resetDependencyRecomputations: () => void;
15456
+ } & {
15457
+ argsMemoize: typeof import("reselect").weakMapMemoize;
15458
+ memoize: typeof import("reselect").weakMapMemoize;
15459
+ };
15285
15460
  export {};
15286
15461
  //# sourceMappingURL=selectors.d.mts.map