@metamask/bridge-controller 49.0.1 → 51.0.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.
- package/CHANGELOG.md +31 -1
- package/dist/bridge-controller.cjs +109 -169
- package/dist/bridge-controller.cjs.map +1 -1
- package/dist/bridge-controller.d.cts +5 -4
- package/dist/bridge-controller.d.cts.map +1 -1
- package/dist/bridge-controller.d.mts +5 -4
- package/dist/bridge-controller.d.mts.map +1 -1
- package/dist/bridge-controller.mjs +113 -173
- package/dist/bridge-controller.mjs.map +1 -1
- package/dist/selectors.d.cts +100 -78
- package/dist/selectors.d.cts.map +1 -1
- package/dist/selectors.d.mts +100 -78
- package/dist/selectors.d.mts.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +21 -10
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.mts +21 -10
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs.map +1 -1
- package/dist/utils/feature-flags.d.cts +1 -0
- package/dist/utils/feature-flags.d.cts.map +1 -1
- package/dist/utils/feature-flags.d.mts +1 -0
- package/dist/utils/feature-flags.d.mts.map +1 -1
- package/dist/utils/fetch.cjs +97 -19
- package/dist/utils/fetch.cjs.map +1 -1
- package/dist/utils/fetch.d.cts +23 -2
- package/dist/utils/fetch.d.cts.map +1 -1
- package/dist/utils/fetch.d.mts +23 -2
- package/dist/utils/fetch.d.mts.map +1 -1
- package/dist/utils/fetch.mjs +95 -18
- package/dist/utils/fetch.mjs.map +1 -1
- package/dist/utils/quote-fees.cjs +120 -0
- package/dist/utils/quote-fees.cjs.map +1 -0
- package/dist/utils/quote-fees.d.cts +18 -0
- package/dist/utils/quote-fees.d.cts.map +1 -0
- package/dist/utils/quote-fees.d.mts +18 -0
- package/dist/utils/quote-fees.d.mts.map +1 -0
- package/dist/utils/quote-fees.mjs +116 -0
- package/dist/utils/quote-fees.mjs.map +1 -0
- package/dist/utils/quote.cjs +12 -1
- package/dist/utils/quote.cjs.map +1 -1
- package/dist/utils/quote.d.cts +2 -0
- package/dist/utils/quote.d.cts.map +1 -1
- package/dist/utils/quote.d.mts +2 -0
- package/dist/utils/quote.d.mts.map +1 -1
- package/dist/utils/quote.mjs +10 -0
- package/dist/utils/quote.mjs.map +1 -1
- package/dist/utils/snaps.cjs +19 -1
- package/dist/utils/snaps.cjs.map +1 -1
- package/dist/utils/snaps.d.cts +9 -0
- package/dist/utils/snaps.d.cts.map +1 -1
- package/dist/utils/snaps.d.mts +9 -0
- package/dist/utils/snaps.d.mts.map +1 -1
- package/dist/utils/snaps.mjs +17 -0
- package/dist/utils/snaps.mjs.map +1 -1
- package/dist/utils/validators.cjs +1 -0
- package/dist/utils/validators.cjs.map +1 -1
- package/dist/utils/validators.d.cts +10 -7
- package/dist/utils/validators.d.cts.map +1 -1
- package/dist/utils/validators.d.mts +10 -7
- package/dist/utils/validators.d.mts.map +1 -1
- package/dist/utils/validators.mjs +1 -0
- package/dist/utils/validators.mjs.map +1 -1
- package/package.json +4 -3
package/dist/selectors.d.cts
CHANGED
|
@@ -81,6 +81,7 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
|
|
|
81
81
|
standard: Record<string, string>;
|
|
82
82
|
other: Record<string, string>;
|
|
83
83
|
} | undefined> | undefined;
|
|
84
|
+
sseEnabled?: boolean | undefined;
|
|
84
85
|
}) & {
|
|
85
86
|
clearCache: () => void;
|
|
86
87
|
resultsCount: () => number;
|
|
@@ -119,6 +120,7 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
|
|
|
119
120
|
standard: Record<string, string>;
|
|
120
121
|
other: Record<string, string>;
|
|
121
122
|
} | undefined> | undefined;
|
|
123
|
+
sseEnabled?: boolean | undefined;
|
|
122
124
|
};
|
|
123
125
|
memoizedResultFunc: ((resultFuncArgs_0: any) => {
|
|
124
126
|
support: boolean;
|
|
@@ -153,6 +155,7 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
|
|
|
153
155
|
standard: Record<string, string>;
|
|
154
156
|
other: Record<string, string>;
|
|
155
157
|
} | undefined> | undefined;
|
|
158
|
+
sseEnabled?: boolean | undefined;
|
|
156
159
|
}) & {
|
|
157
160
|
clearCache: () => void;
|
|
158
161
|
resultsCount: () => number;
|
|
@@ -191,6 +194,7 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
|
|
|
191
194
|
standard: Record<string, string>;
|
|
192
195
|
other: Record<string, string>;
|
|
193
196
|
} | undefined> | undefined;
|
|
197
|
+
sseEnabled?: boolean | undefined;
|
|
194
198
|
};
|
|
195
199
|
dependencies: [(state: RemoteFeatureFlagControllerState) => unknown];
|
|
196
200
|
recomputations: () => number;
|
|
@@ -275,6 +279,7 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
275
279
|
standard: Record<string, string>;
|
|
276
280
|
other: Record<string, string>;
|
|
277
281
|
} | undefined> | undefined;
|
|
282
|
+
sseEnabled?: boolean | undefined;
|
|
278
283
|
}, resultFuncArgs_1: boolean | undefined, resultFuncArgs_2: number) => boolean;
|
|
279
284
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
280
285
|
support: boolean;
|
|
@@ -309,6 +314,7 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
309
314
|
standard: Record<string, string>;
|
|
310
315
|
other: Record<string, string>;
|
|
311
316
|
} | undefined> | undefined;
|
|
317
|
+
sseEnabled?: boolean | undefined;
|
|
312
318
|
}, resultFuncArgs_1: boolean | undefined, resultFuncArgs_2: number) => boolean) & {
|
|
313
319
|
clearCache: () => void;
|
|
314
320
|
resultsCount: () => number;
|
|
@@ -348,6 +354,7 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
348
354
|
standard: Record<string, string>;
|
|
349
355
|
other: Record<string, string>;
|
|
350
356
|
} | undefined> | undefined;
|
|
357
|
+
sseEnabled?: boolean | undefined;
|
|
351
358
|
}) & {
|
|
352
359
|
clearCache: () => void;
|
|
353
360
|
resultsCount: () => number;
|
|
@@ -386,6 +393,7 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
386
393
|
standard: Record<string, string>;
|
|
387
394
|
other: Record<string, string>;
|
|
388
395
|
} | undefined> | undefined;
|
|
396
|
+
sseEnabled?: boolean | undefined;
|
|
389
397
|
};
|
|
390
398
|
memoizedResultFunc: ((resultFuncArgs_0: any) => {
|
|
391
399
|
support: boolean;
|
|
@@ -420,6 +428,7 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
420
428
|
standard: Record<string, string>;
|
|
421
429
|
other: Record<string, string>;
|
|
422
430
|
} | undefined> | undefined;
|
|
431
|
+
sseEnabled?: boolean | undefined;
|
|
423
432
|
}) & {
|
|
424
433
|
clearCache: () => void;
|
|
425
434
|
resultsCount: () => number;
|
|
@@ -458,6 +467,7 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
458
467
|
standard: Record<string, string>;
|
|
459
468
|
other: Record<string, string>;
|
|
460
469
|
} | undefined> | undefined;
|
|
470
|
+
sseEnabled?: boolean | undefined;
|
|
461
471
|
};
|
|
462
472
|
dependencies: [(state: RemoteFeatureFlagControllerState) => unknown];
|
|
463
473
|
recomputations: () => number;
|
|
@@ -517,6 +527,7 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
517
527
|
standard: Record<string, string>;
|
|
518
528
|
other: Record<string, string>;
|
|
519
529
|
} | undefined> | undefined;
|
|
530
|
+
sseEnabled?: boolean | undefined;
|
|
520
531
|
}, resultFuncArgs_1: string | number | undefined) => number;
|
|
521
532
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
522
533
|
support: boolean;
|
|
@@ -551,6 +562,7 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
551
562
|
standard: Record<string, string>;
|
|
552
563
|
other: Record<string, string>;
|
|
553
564
|
} | undefined> | undefined;
|
|
565
|
+
sseEnabled?: boolean | undefined;
|
|
554
566
|
}, resultFuncArgs_1: string | number | undefined) => number) & {
|
|
555
567
|
clearCache: () => void;
|
|
556
568
|
resultsCount: () => number;
|
|
@@ -590,6 +602,7 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
590
602
|
standard: Record<string, string>;
|
|
591
603
|
other: Record<string, string>;
|
|
592
604
|
} | undefined> | undefined;
|
|
605
|
+
sseEnabled?: boolean | undefined;
|
|
593
606
|
}) & {
|
|
594
607
|
clearCache: () => void;
|
|
595
608
|
resultsCount: () => number;
|
|
@@ -628,6 +641,7 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
628
641
|
standard: Record<string, string>;
|
|
629
642
|
other: Record<string, string>;
|
|
630
643
|
} | undefined> | undefined;
|
|
644
|
+
sseEnabled?: boolean | undefined;
|
|
631
645
|
};
|
|
632
646
|
memoizedResultFunc: ((resultFuncArgs_0: any) => {
|
|
633
647
|
support: boolean;
|
|
@@ -662,6 +676,7 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
662
676
|
standard: Record<string, string>;
|
|
663
677
|
other: Record<string, string>;
|
|
664
678
|
} | undefined> | undefined;
|
|
679
|
+
sseEnabled?: boolean | undefined;
|
|
665
680
|
}) & {
|
|
666
681
|
clearCache: () => void;
|
|
667
682
|
resultsCount: () => number;
|
|
@@ -700,6 +715,7 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
700
715
|
standard: Record<string, string>;
|
|
701
716
|
other: Record<string, string>;
|
|
702
717
|
} | undefined> | undefined;
|
|
718
|
+
sseEnabled?: boolean | undefined;
|
|
703
719
|
};
|
|
704
720
|
dependencies: [(state: RemoteFeatureFlagControllerState) => unknown];
|
|
705
721
|
recomputations: () => number;
|
|
@@ -752,6 +768,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
752
768
|
} & RemoteFeatureFlagControllerState, params_0: BridgeQuotesClientParams) => {
|
|
753
769
|
sortedQuotes: ({
|
|
754
770
|
quote: {
|
|
771
|
+
requestId: string;
|
|
755
772
|
srcChainId: number;
|
|
756
773
|
destChainId: number;
|
|
757
774
|
srcAsset: {
|
|
@@ -774,7 +791,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
774
791
|
iconUrl?: string | null | undefined;
|
|
775
792
|
icon?: string | null | undefined;
|
|
776
793
|
};
|
|
777
|
-
requestId: string;
|
|
778
794
|
srcTokenAmount: string;
|
|
779
795
|
destTokenAmount: string;
|
|
780
796
|
minDestTokenAmount: string;
|
|
@@ -929,6 +945,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
929
945
|
} & QuoteMetadata)[];
|
|
930
946
|
recommendedQuote: ({
|
|
931
947
|
quote: {
|
|
948
|
+
requestId: string;
|
|
932
949
|
srcChainId: number;
|
|
933
950
|
destChainId: number;
|
|
934
951
|
srcAsset: {
|
|
@@ -951,7 +968,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
951
968
|
iconUrl?: string | null | undefined;
|
|
952
969
|
icon?: string | null | undefined;
|
|
953
970
|
};
|
|
954
|
-
requestId: string;
|
|
955
971
|
srcTokenAmount: string;
|
|
956
972
|
destTokenAmount: string;
|
|
957
973
|
minDestTokenAmount: string;
|
|
@@ -1106,6 +1122,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
1106
1122
|
} & QuoteMetadata) | null;
|
|
1107
1123
|
activeQuote: ({
|
|
1108
1124
|
quote: {
|
|
1125
|
+
requestId: string;
|
|
1109
1126
|
srcChainId: number;
|
|
1110
1127
|
destChainId: number;
|
|
1111
1128
|
srcAsset: {
|
|
@@ -1128,7 +1145,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
1128
1145
|
iconUrl?: string | null | undefined;
|
|
1129
1146
|
icon?: string | null | undefined;
|
|
1130
1147
|
};
|
|
1131
|
-
requestId: string;
|
|
1132
1148
|
srcTokenAmount: string;
|
|
1133
1149
|
destTokenAmount: string;
|
|
1134
1150
|
minDestTokenAmount: string;
|
|
@@ -1294,6 +1310,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
1294
1310
|
} & {
|
|
1295
1311
|
resultFunc: (resultFuncArgs_0: string | null, resultFuncArgs_1: number, resultFuncArgs_2: ({
|
|
1296
1312
|
quote: {
|
|
1313
|
+
requestId: string;
|
|
1297
1314
|
srcChainId: number;
|
|
1298
1315
|
destChainId: number;
|
|
1299
1316
|
srcAsset: {
|
|
@@ -1316,7 +1333,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
1316
1333
|
iconUrl?: string | null | undefined;
|
|
1317
1334
|
icon?: string | null | undefined;
|
|
1318
1335
|
};
|
|
1319
|
-
requestId: string;
|
|
1320
1336
|
srcTokenAmount: string;
|
|
1321
1337
|
destTokenAmount: string;
|
|
1322
1338
|
minDestTokenAmount: string;
|
|
@@ -1470,6 +1486,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
1470
1486
|
featureId?: import(".").FeatureId | undefined;
|
|
1471
1487
|
} & QuoteMetadata)[], resultFuncArgs_3: ({
|
|
1472
1488
|
quote: {
|
|
1489
|
+
requestId: string;
|
|
1473
1490
|
srcChainId: number;
|
|
1474
1491
|
destChainId: number;
|
|
1475
1492
|
srcAsset: {
|
|
@@ -1492,7 +1509,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
1492
1509
|
iconUrl?: string | null | undefined;
|
|
1493
1510
|
icon?: string | null | undefined;
|
|
1494
1511
|
};
|
|
1495
|
-
requestId: string;
|
|
1496
1512
|
srcTokenAmount: string;
|
|
1497
1513
|
destTokenAmount: string;
|
|
1498
1514
|
minDestTokenAmount: string;
|
|
@@ -1646,6 +1662,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
1646
1662
|
featureId?: import(".").FeatureId | undefined;
|
|
1647
1663
|
} & QuoteMetadata) | null, resultFuncArgs_4: ({
|
|
1648
1664
|
quote: {
|
|
1665
|
+
requestId: string;
|
|
1649
1666
|
srcChainId: number;
|
|
1650
1667
|
destChainId: number;
|
|
1651
1668
|
srcAsset: {
|
|
@@ -1668,7 +1685,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
1668
1685
|
iconUrl?: string | null | undefined;
|
|
1669
1686
|
icon?: string | null | undefined;
|
|
1670
1687
|
};
|
|
1671
|
-
requestId: string;
|
|
1672
1688
|
srcTokenAmount: string;
|
|
1673
1689
|
destTokenAmount: string;
|
|
1674
1690
|
minDestTokenAmount: string;
|
|
@@ -1823,6 +1839,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
1823
1839
|
} & QuoteMetadata) | null, resultFuncArgs_5: number | null, resultFuncArgs_6: boolean, resultFuncArgs_7: number | null, resultFuncArgs_8: boolean) => {
|
|
1824
1840
|
sortedQuotes: ({
|
|
1825
1841
|
quote: {
|
|
1842
|
+
requestId: string;
|
|
1826
1843
|
srcChainId: number;
|
|
1827
1844
|
destChainId: number;
|
|
1828
1845
|
srcAsset: {
|
|
@@ -1845,7 +1862,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
1845
1862
|
iconUrl?: string | null | undefined;
|
|
1846
1863
|
icon?: string | null | undefined;
|
|
1847
1864
|
};
|
|
1848
|
-
requestId: string;
|
|
1849
1865
|
srcTokenAmount: string;
|
|
1850
1866
|
destTokenAmount: string;
|
|
1851
1867
|
minDestTokenAmount: string;
|
|
@@ -2000,6 +2016,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
2000
2016
|
} & QuoteMetadata)[];
|
|
2001
2017
|
recommendedQuote: ({
|
|
2002
2018
|
quote: {
|
|
2019
|
+
requestId: string;
|
|
2003
2020
|
srcChainId: number;
|
|
2004
2021
|
destChainId: number;
|
|
2005
2022
|
srcAsset: {
|
|
@@ -2022,7 +2039,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
2022
2039
|
iconUrl?: string | null | undefined;
|
|
2023
2040
|
icon?: string | null | undefined;
|
|
2024
2041
|
};
|
|
2025
|
-
requestId: string;
|
|
2026
2042
|
srcTokenAmount: string;
|
|
2027
2043
|
destTokenAmount: string;
|
|
2028
2044
|
minDestTokenAmount: string;
|
|
@@ -2177,6 +2193,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
2177
2193
|
} & QuoteMetadata) | null;
|
|
2178
2194
|
activeQuote: ({
|
|
2179
2195
|
quote: {
|
|
2196
|
+
requestId: string;
|
|
2180
2197
|
srcChainId: number;
|
|
2181
2198
|
destChainId: number;
|
|
2182
2199
|
srcAsset: {
|
|
@@ -2199,7 +2216,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
2199
2216
|
iconUrl?: string | null | undefined;
|
|
2200
2217
|
icon?: string | null | undefined;
|
|
2201
2218
|
};
|
|
2202
|
-
requestId: string;
|
|
2203
2219
|
srcTokenAmount: string;
|
|
2204
2220
|
destTokenAmount: string;
|
|
2205
2221
|
minDestTokenAmount: string;
|
|
@@ -2361,6 +2377,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
2361
2377
|
};
|
|
2362
2378
|
memoizedResultFunc: ((resultFuncArgs_0: string | null, resultFuncArgs_1: number, resultFuncArgs_2: ({
|
|
2363
2379
|
quote: {
|
|
2380
|
+
requestId: string;
|
|
2364
2381
|
srcChainId: number;
|
|
2365
2382
|
destChainId: number;
|
|
2366
2383
|
srcAsset: {
|
|
@@ -2383,7 +2400,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
2383
2400
|
iconUrl?: string | null | undefined;
|
|
2384
2401
|
icon?: string | null | undefined;
|
|
2385
2402
|
};
|
|
2386
|
-
requestId: string;
|
|
2387
2403
|
srcTokenAmount: string;
|
|
2388
2404
|
destTokenAmount: string;
|
|
2389
2405
|
minDestTokenAmount: string;
|
|
@@ -2537,6 +2553,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
2537
2553
|
featureId?: import(".").FeatureId | undefined;
|
|
2538
2554
|
} & QuoteMetadata)[], resultFuncArgs_3: ({
|
|
2539
2555
|
quote: {
|
|
2556
|
+
requestId: string;
|
|
2540
2557
|
srcChainId: number;
|
|
2541
2558
|
destChainId: number;
|
|
2542
2559
|
srcAsset: {
|
|
@@ -2559,7 +2576,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
2559
2576
|
iconUrl?: string | null | undefined;
|
|
2560
2577
|
icon?: string | null | undefined;
|
|
2561
2578
|
};
|
|
2562
|
-
requestId: string;
|
|
2563
2579
|
srcTokenAmount: string;
|
|
2564
2580
|
destTokenAmount: string;
|
|
2565
2581
|
minDestTokenAmount: string;
|
|
@@ -2713,6 +2729,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
2713
2729
|
featureId?: import(".").FeatureId | undefined;
|
|
2714
2730
|
} & QuoteMetadata) | null, resultFuncArgs_4: ({
|
|
2715
2731
|
quote: {
|
|
2732
|
+
requestId: string;
|
|
2716
2733
|
srcChainId: number;
|
|
2717
2734
|
destChainId: number;
|
|
2718
2735
|
srcAsset: {
|
|
@@ -2735,7 +2752,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
2735
2752
|
iconUrl?: string | null | undefined;
|
|
2736
2753
|
icon?: string | null | undefined;
|
|
2737
2754
|
};
|
|
2738
|
-
requestId: string;
|
|
2739
2755
|
srcTokenAmount: string;
|
|
2740
2756
|
destTokenAmount: string;
|
|
2741
2757
|
minDestTokenAmount: string;
|
|
@@ -2890,6 +2906,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
2890
2906
|
} & QuoteMetadata) | null, resultFuncArgs_5: number | null, resultFuncArgs_6: boolean, resultFuncArgs_7: number | null, resultFuncArgs_8: boolean) => {
|
|
2891
2907
|
sortedQuotes: ({
|
|
2892
2908
|
quote: {
|
|
2909
|
+
requestId: string;
|
|
2893
2910
|
srcChainId: number;
|
|
2894
2911
|
destChainId: number;
|
|
2895
2912
|
srcAsset: {
|
|
@@ -2912,7 +2929,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
2912
2929
|
iconUrl?: string | null | undefined;
|
|
2913
2930
|
icon?: string | null | undefined;
|
|
2914
2931
|
};
|
|
2915
|
-
requestId: string;
|
|
2916
2932
|
srcTokenAmount: string;
|
|
2917
2933
|
destTokenAmount: string;
|
|
2918
2934
|
minDestTokenAmount: string;
|
|
@@ -3067,6 +3083,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
3067
3083
|
} & QuoteMetadata)[];
|
|
3068
3084
|
recommendedQuote: ({
|
|
3069
3085
|
quote: {
|
|
3086
|
+
requestId: string;
|
|
3070
3087
|
srcChainId: number;
|
|
3071
3088
|
destChainId: number;
|
|
3072
3089
|
srcAsset: {
|
|
@@ -3089,7 +3106,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
3089
3106
|
iconUrl?: string | null | undefined;
|
|
3090
3107
|
icon?: string | null | undefined;
|
|
3091
3108
|
};
|
|
3092
|
-
requestId: string;
|
|
3093
3109
|
srcTokenAmount: string;
|
|
3094
3110
|
destTokenAmount: string;
|
|
3095
3111
|
minDestTokenAmount: string;
|
|
@@ -3244,6 +3260,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
3244
3260
|
} & QuoteMetadata) | null;
|
|
3245
3261
|
activeQuote: ({
|
|
3246
3262
|
quote: {
|
|
3263
|
+
requestId: string;
|
|
3247
3264
|
srcChainId: number;
|
|
3248
3265
|
destChainId: number;
|
|
3249
3266
|
srcAsset: {
|
|
@@ -3266,7 +3283,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
3266
3283
|
iconUrl?: string | null | undefined;
|
|
3267
3284
|
icon?: string | null | undefined;
|
|
3268
3285
|
};
|
|
3269
|
-
requestId: string;
|
|
3270
3286
|
srcTokenAmount: string;
|
|
3271
3287
|
destTokenAmount: string;
|
|
3272
3288
|
minDestTokenAmount: string;
|
|
@@ -3433,6 +3449,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
3433
3449
|
lastResult: () => {
|
|
3434
3450
|
sortedQuotes: ({
|
|
3435
3451
|
quote: {
|
|
3452
|
+
requestId: string;
|
|
3436
3453
|
srcChainId: number;
|
|
3437
3454
|
destChainId: number;
|
|
3438
3455
|
srcAsset: {
|
|
@@ -3455,7 +3472,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
3455
3472
|
iconUrl?: string | null | undefined;
|
|
3456
3473
|
icon?: string | null | undefined;
|
|
3457
3474
|
};
|
|
3458
|
-
requestId: string;
|
|
3459
3475
|
srcTokenAmount: string;
|
|
3460
3476
|
destTokenAmount: string;
|
|
3461
3477
|
minDestTokenAmount: string;
|
|
@@ -3610,6 +3626,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
3610
3626
|
} & QuoteMetadata)[];
|
|
3611
3627
|
recommendedQuote: ({
|
|
3612
3628
|
quote: {
|
|
3629
|
+
requestId: string;
|
|
3613
3630
|
srcChainId: number;
|
|
3614
3631
|
destChainId: number;
|
|
3615
3632
|
srcAsset: {
|
|
@@ -3632,7 +3649,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
3632
3649
|
iconUrl?: string | null | undefined;
|
|
3633
3650
|
icon?: string | null | undefined;
|
|
3634
3651
|
};
|
|
3635
|
-
requestId: string;
|
|
3636
3652
|
srcTokenAmount: string;
|
|
3637
3653
|
destTokenAmount: string;
|
|
3638
3654
|
minDestTokenAmount: string;
|
|
@@ -3787,6 +3803,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
3787
3803
|
} & QuoteMetadata) | null;
|
|
3788
3804
|
activeQuote: ({
|
|
3789
3805
|
quote: {
|
|
3806
|
+
requestId: string;
|
|
3790
3807
|
srcChainId: number;
|
|
3791
3808
|
destChainId: number;
|
|
3792
3809
|
srcAsset: {
|
|
@@ -3809,7 +3826,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
3809
3826
|
iconUrl?: string | null | undefined;
|
|
3810
3827
|
icon?: string | null | undefined;
|
|
3811
3828
|
};
|
|
3812
|
-
requestId: string;
|
|
3813
3829
|
srcTokenAmount: string;
|
|
3814
3830
|
destTokenAmount: string;
|
|
3815
3831
|
minDestTokenAmount: string;
|
|
@@ -3975,6 +3991,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
3975
3991
|
participateInMetaMetrics: boolean;
|
|
3976
3992
|
} & RemoteFeatureFlagControllerState, params_0: BridgeQuotesClientParams) => ({
|
|
3977
3993
|
quote: {
|
|
3994
|
+
requestId: string;
|
|
3978
3995
|
srcChainId: number;
|
|
3979
3996
|
destChainId: number;
|
|
3980
3997
|
srcAsset: {
|
|
@@ -3997,7 +4014,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
3997
4014
|
iconUrl?: string | null | undefined;
|
|
3998
4015
|
icon?: string | null | undefined;
|
|
3999
4016
|
};
|
|
4000
|
-
requestId: string;
|
|
4001
4017
|
srcTokenAmount: string;
|
|
4002
4018
|
destTokenAmount: string;
|
|
4003
4019
|
minDestTokenAmount: string;
|
|
@@ -4196,6 +4212,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
4196
4212
|
usd: string | null;
|
|
4197
4213
|
} | null;
|
|
4198
4214
|
quote: {
|
|
4215
|
+
requestId: string;
|
|
4199
4216
|
srcChainId: number;
|
|
4200
4217
|
destChainId: number;
|
|
4201
4218
|
srcAsset: {
|
|
@@ -4218,7 +4235,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
4218
4235
|
iconUrl?: string | null | undefined;
|
|
4219
4236
|
icon?: string | null | undefined;
|
|
4220
4237
|
};
|
|
4221
|
-
requestId: string;
|
|
4222
4238
|
srcTokenAmount: string;
|
|
4223
4239
|
destTokenAmount: string;
|
|
4224
4240
|
minDestTokenAmount: string;
|
|
@@ -4363,6 +4379,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
4363
4379
|
nonEvmFeesInNative?: string | undefined;
|
|
4364
4380
|
}[], resultFuncArgs_1: SortOrder) => ({
|
|
4365
4381
|
quote: {
|
|
4382
|
+
requestId: string;
|
|
4366
4383
|
srcChainId: number;
|
|
4367
4384
|
destChainId: number;
|
|
4368
4385
|
srcAsset: {
|
|
@@ -4385,7 +4402,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
4385
4402
|
iconUrl?: string | null | undefined;
|
|
4386
4403
|
icon?: string | null | undefined;
|
|
4387
4404
|
};
|
|
4388
|
-
requestId: string;
|
|
4389
4405
|
srcTokenAmount: string;
|
|
4390
4406
|
destTokenAmount: string;
|
|
4391
4407
|
minDestTokenAmount: string;
|
|
@@ -4580,6 +4596,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
4580
4596
|
usd: string | null;
|
|
4581
4597
|
} | null;
|
|
4582
4598
|
quote: {
|
|
4599
|
+
requestId: string;
|
|
4583
4600
|
srcChainId: number;
|
|
4584
4601
|
destChainId: number;
|
|
4585
4602
|
srcAsset: {
|
|
@@ -4602,7 +4619,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
4602
4619
|
iconUrl?: string | null | undefined;
|
|
4603
4620
|
icon?: string | null | undefined;
|
|
4604
4621
|
};
|
|
4605
|
-
requestId: string;
|
|
4606
4622
|
srcTokenAmount: string;
|
|
4607
4623
|
destTokenAmount: string;
|
|
4608
4624
|
minDestTokenAmount: string;
|
|
@@ -4747,6 +4763,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
4747
4763
|
nonEvmFeesInNative?: string | undefined;
|
|
4748
4764
|
}[], resultFuncArgs_1: SortOrder) => ({
|
|
4749
4765
|
quote: {
|
|
4766
|
+
requestId: string;
|
|
4750
4767
|
srcChainId: number;
|
|
4751
4768
|
destChainId: number;
|
|
4752
4769
|
srcAsset: {
|
|
@@ -4769,7 +4786,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
4769
4786
|
iconUrl?: string | null | undefined;
|
|
4770
4787
|
icon?: string | null | undefined;
|
|
4771
4788
|
};
|
|
4772
|
-
requestId: string;
|
|
4773
4789
|
srcTokenAmount: string;
|
|
4774
4790
|
destTokenAmount: string;
|
|
4775
4791
|
minDestTokenAmount: string;
|
|
@@ -4928,6 +4944,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
4928
4944
|
};
|
|
4929
4945
|
lastResult: () => ({
|
|
4930
4946
|
quote: {
|
|
4947
|
+
requestId: string;
|
|
4931
4948
|
srcChainId: number;
|
|
4932
4949
|
destChainId: number;
|
|
4933
4950
|
srcAsset: {
|
|
@@ -4950,7 +4967,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
4950
4967
|
iconUrl?: string | null | undefined;
|
|
4951
4968
|
icon?: string | null | undefined;
|
|
4952
4969
|
};
|
|
4953
|
-
requestId: string;
|
|
4954
4970
|
srcTokenAmount: string;
|
|
4955
4971
|
destTokenAmount: string;
|
|
4956
4972
|
minDestTokenAmount: string;
|
|
@@ -5149,6 +5165,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
5149
5165
|
usd: string | null;
|
|
5150
5166
|
} | null;
|
|
5151
5167
|
quote: {
|
|
5168
|
+
requestId: string;
|
|
5152
5169
|
srcChainId: number;
|
|
5153
5170
|
destChainId: number;
|
|
5154
5171
|
srcAsset: {
|
|
@@ -5171,7 +5188,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
5171
5188
|
iconUrl?: string | null | undefined;
|
|
5172
5189
|
icon?: string | null | undefined;
|
|
5173
5190
|
};
|
|
5174
|
-
requestId: string;
|
|
5175
5191
|
srcTokenAmount: string;
|
|
5176
5192
|
destTokenAmount: string;
|
|
5177
5193
|
minDestTokenAmount: string;
|
|
@@ -5321,6 +5337,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
5321
5337
|
} & {
|
|
5322
5338
|
resultFunc: (resultFuncArgs_0: ({
|
|
5323
5339
|
quote: {
|
|
5340
|
+
requestId: string;
|
|
5324
5341
|
srcChainId: number;
|
|
5325
5342
|
destChainId: number;
|
|
5326
5343
|
srcAsset: {
|
|
@@ -5343,7 +5360,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
5343
5360
|
iconUrl?: string | null | undefined;
|
|
5344
5361
|
icon?: string | null | undefined;
|
|
5345
5362
|
};
|
|
5346
|
-
requestId: string;
|
|
5347
5363
|
srcTokenAmount: string;
|
|
5348
5364
|
destTokenAmount: string;
|
|
5349
5365
|
minDestTokenAmount: string;
|
|
@@ -5541,6 +5557,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
5541
5557
|
usd: string | null;
|
|
5542
5558
|
} | null;
|
|
5543
5559
|
quote: {
|
|
5560
|
+
requestId: string;
|
|
5544
5561
|
srcChainId: number;
|
|
5545
5562
|
destChainId: number;
|
|
5546
5563
|
srcAsset: {
|
|
@@ -5563,7 +5580,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
5563
5580
|
iconUrl?: string | null | undefined;
|
|
5564
5581
|
icon?: string | null | undefined;
|
|
5565
5582
|
};
|
|
5566
|
-
requestId: string;
|
|
5567
5583
|
srcTokenAmount: string;
|
|
5568
5584
|
destTokenAmount: string;
|
|
5569
5585
|
minDestTokenAmount: string;
|
|
@@ -5709,6 +5725,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
5709
5725
|
}[];
|
|
5710
5726
|
memoizedResultFunc: ((resultFuncArgs_0: ({
|
|
5711
5727
|
quote: {
|
|
5728
|
+
requestId: string;
|
|
5712
5729
|
srcChainId: number;
|
|
5713
5730
|
destChainId: number;
|
|
5714
5731
|
srcAsset: {
|
|
@@ -5731,7 +5748,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
5731
5748
|
iconUrl?: string | null | undefined;
|
|
5732
5749
|
icon?: string | null | undefined;
|
|
5733
5750
|
};
|
|
5734
|
-
requestId: string;
|
|
5735
5751
|
srcTokenAmount: string;
|
|
5736
5752
|
destTokenAmount: string;
|
|
5737
5753
|
minDestTokenAmount: string;
|
|
@@ -5929,6 +5945,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
5929
5945
|
usd: string | null;
|
|
5930
5946
|
} | null;
|
|
5931
5947
|
quote: {
|
|
5948
|
+
requestId: string;
|
|
5932
5949
|
srcChainId: number;
|
|
5933
5950
|
destChainId: number;
|
|
5934
5951
|
srcAsset: {
|
|
@@ -5951,7 +5968,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
5951
5968
|
iconUrl?: string | null | undefined;
|
|
5952
5969
|
icon?: string | null | undefined;
|
|
5953
5970
|
};
|
|
5954
|
-
requestId: string;
|
|
5955
5971
|
srcTokenAmount: string;
|
|
5956
5972
|
destTokenAmount: string;
|
|
5957
5973
|
minDestTokenAmount: string;
|
|
@@ -6141,6 +6157,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
6141
6157
|
usd: string | null;
|
|
6142
6158
|
} | null;
|
|
6143
6159
|
quote: {
|
|
6160
|
+
requestId: string;
|
|
6144
6161
|
srcChainId: number;
|
|
6145
6162
|
destChainId: number;
|
|
6146
6163
|
srcAsset: {
|
|
@@ -6163,7 +6180,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
6163
6180
|
iconUrl?: string | null | undefined;
|
|
6164
6181
|
icon?: string | null | undefined;
|
|
6165
6182
|
};
|
|
6166
|
-
requestId: string;
|
|
6167
6183
|
srcTokenAmount: string;
|
|
6168
6184
|
destTokenAmount: string;
|
|
6169
6185
|
minDestTokenAmount: string;
|
|
@@ -6309,6 +6325,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
6309
6325
|
}[];
|
|
6310
6326
|
dependencies: [({ quotes }: BridgeAppState) => ({
|
|
6311
6327
|
quote: {
|
|
6328
|
+
requestId: string;
|
|
6312
6329
|
srcChainId: number;
|
|
6313
6330
|
destChainId: number;
|
|
6314
6331
|
srcAsset: {
|
|
@@ -6331,7 +6348,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
6331
6348
|
iconUrl?: string | null | undefined;
|
|
6332
6349
|
icon?: string | null | undefined;
|
|
6333
6350
|
};
|
|
6334
|
-
requestId: string;
|
|
6335
6351
|
srcTokenAmount: string;
|
|
6336
6352
|
destTokenAmount: string;
|
|
6337
6353
|
minDestTokenAmount: string;
|
|
@@ -6617,6 +6633,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
6617
6633
|
participateInMetaMetrics: boolean;
|
|
6618
6634
|
} & RemoteFeatureFlagControllerState, params_0: BridgeQuotesClientParams) => ({
|
|
6619
6635
|
quote: {
|
|
6636
|
+
requestId: string;
|
|
6620
6637
|
srcChainId: number;
|
|
6621
6638
|
destChainId: number;
|
|
6622
6639
|
srcAsset: {
|
|
@@ -6639,7 +6656,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
6639
6656
|
iconUrl?: string | null | undefined;
|
|
6640
6657
|
icon?: string | null | undefined;
|
|
6641
6658
|
};
|
|
6642
|
-
requestId: string;
|
|
6643
6659
|
srcTokenAmount: string;
|
|
6644
6660
|
destTokenAmount: string;
|
|
6645
6661
|
minDestTokenAmount: string;
|
|
@@ -6798,6 +6814,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
6798
6814
|
} & {
|
|
6799
6815
|
resultFunc: (resultFuncArgs_0: ({
|
|
6800
6816
|
quote: {
|
|
6817
|
+
requestId: string;
|
|
6801
6818
|
srcChainId: number;
|
|
6802
6819
|
destChainId: number;
|
|
6803
6820
|
srcAsset: {
|
|
@@ -6820,7 +6837,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
6820
6837
|
iconUrl?: string | null | undefined;
|
|
6821
6838
|
icon?: string | null | undefined;
|
|
6822
6839
|
};
|
|
6823
|
-
requestId: string;
|
|
6824
6840
|
srcTokenAmount: string;
|
|
6825
6841
|
destTokenAmount: string;
|
|
6826
6842
|
minDestTokenAmount: string;
|
|
@@ -6974,6 +6990,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
6974
6990
|
featureId?: import(".").FeatureId | undefined;
|
|
6975
6991
|
} & QuoteMetadata)[]) => ({
|
|
6976
6992
|
quote: {
|
|
6993
|
+
requestId: string;
|
|
6977
6994
|
srcChainId: number;
|
|
6978
6995
|
destChainId: number;
|
|
6979
6996
|
srcAsset: {
|
|
@@ -6996,7 +7013,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
6996
7013
|
iconUrl?: string | null | undefined;
|
|
6997
7014
|
icon?: string | null | undefined;
|
|
6998
7015
|
};
|
|
6999
|
-
requestId: string;
|
|
7000
7016
|
srcTokenAmount: string;
|
|
7001
7017
|
destTokenAmount: string;
|
|
7002
7018
|
minDestTokenAmount: string;
|
|
@@ -7151,6 +7167,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
7151
7167
|
} & QuoteMetadata) | null;
|
|
7152
7168
|
memoizedResultFunc: ((resultFuncArgs_0: ({
|
|
7153
7169
|
quote: {
|
|
7170
|
+
requestId: string;
|
|
7154
7171
|
srcChainId: number;
|
|
7155
7172
|
destChainId: number;
|
|
7156
7173
|
srcAsset: {
|
|
@@ -7173,7 +7190,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
7173
7190
|
iconUrl?: string | null | undefined;
|
|
7174
7191
|
icon?: string | null | undefined;
|
|
7175
7192
|
};
|
|
7176
|
-
requestId: string;
|
|
7177
7193
|
srcTokenAmount: string;
|
|
7178
7194
|
destTokenAmount: string;
|
|
7179
7195
|
minDestTokenAmount: string;
|
|
@@ -7327,6 +7343,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
7327
7343
|
featureId?: import(".").FeatureId | undefined;
|
|
7328
7344
|
} & QuoteMetadata)[]) => ({
|
|
7329
7345
|
quote: {
|
|
7346
|
+
requestId: string;
|
|
7330
7347
|
srcChainId: number;
|
|
7331
7348
|
destChainId: number;
|
|
7332
7349
|
srcAsset: {
|
|
@@ -7349,7 +7366,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
7349
7366
|
iconUrl?: string | null | undefined;
|
|
7350
7367
|
icon?: string | null | undefined;
|
|
7351
7368
|
};
|
|
7352
|
-
requestId: string;
|
|
7353
7369
|
srcTokenAmount: string;
|
|
7354
7370
|
destTokenAmount: string;
|
|
7355
7371
|
minDestTokenAmount: string;
|
|
@@ -7508,6 +7524,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
7508
7524
|
};
|
|
7509
7525
|
lastResult: () => ({
|
|
7510
7526
|
quote: {
|
|
7527
|
+
requestId: string;
|
|
7511
7528
|
srcChainId: number;
|
|
7512
7529
|
destChainId: number;
|
|
7513
7530
|
srcAsset: {
|
|
@@ -7530,7 +7547,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
7530
7547
|
iconUrl?: string | null | undefined;
|
|
7531
7548
|
icon?: string | null | undefined;
|
|
7532
7549
|
};
|
|
7533
|
-
requestId: string;
|
|
7534
7550
|
srcTokenAmount: string;
|
|
7535
7551
|
destTokenAmount: string;
|
|
7536
7552
|
minDestTokenAmount: string;
|
|
@@ -7689,6 +7705,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
7689
7705
|
participateInMetaMetrics: boolean;
|
|
7690
7706
|
} & RemoteFeatureFlagControllerState, params_0: BridgeQuotesClientParams) => ({
|
|
7691
7707
|
quote: {
|
|
7708
|
+
requestId: string;
|
|
7692
7709
|
srcChainId: number;
|
|
7693
7710
|
destChainId: number;
|
|
7694
7711
|
srcAsset: {
|
|
@@ -7711,7 +7728,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
7711
7728
|
iconUrl?: string | null | undefined;
|
|
7712
7729
|
icon?: string | null | undefined;
|
|
7713
7730
|
};
|
|
7714
|
-
requestId: string;
|
|
7715
7731
|
srcTokenAmount: string;
|
|
7716
7732
|
destTokenAmount: string;
|
|
7717
7733
|
minDestTokenAmount: string;
|
|
@@ -7910,6 +7926,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
7910
7926
|
usd: string | null;
|
|
7911
7927
|
} | null;
|
|
7912
7928
|
quote: {
|
|
7929
|
+
requestId: string;
|
|
7913
7930
|
srcChainId: number;
|
|
7914
7931
|
destChainId: number;
|
|
7915
7932
|
srcAsset: {
|
|
@@ -7932,7 +7949,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
7932
7949
|
iconUrl?: string | null | undefined;
|
|
7933
7950
|
icon?: string | null | undefined;
|
|
7934
7951
|
};
|
|
7935
|
-
requestId: string;
|
|
7936
7952
|
srcTokenAmount: string;
|
|
7937
7953
|
destTokenAmount: string;
|
|
7938
7954
|
minDestTokenAmount: string;
|
|
@@ -8077,6 +8093,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
8077
8093
|
nonEvmFeesInNative?: string | undefined;
|
|
8078
8094
|
}[], resultFuncArgs_1: SortOrder) => ({
|
|
8079
8095
|
quote: {
|
|
8096
|
+
requestId: string;
|
|
8080
8097
|
srcChainId: number;
|
|
8081
8098
|
destChainId: number;
|
|
8082
8099
|
srcAsset: {
|
|
@@ -8099,7 +8116,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
8099
8116
|
iconUrl?: string | null | undefined;
|
|
8100
8117
|
icon?: string | null | undefined;
|
|
8101
8118
|
};
|
|
8102
|
-
requestId: string;
|
|
8103
8119
|
srcTokenAmount: string;
|
|
8104
8120
|
destTokenAmount: string;
|
|
8105
8121
|
minDestTokenAmount: string;
|
|
@@ -8294,6 +8310,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
8294
8310
|
usd: string | null;
|
|
8295
8311
|
} | null;
|
|
8296
8312
|
quote: {
|
|
8313
|
+
requestId: string;
|
|
8297
8314
|
srcChainId: number;
|
|
8298
8315
|
destChainId: number;
|
|
8299
8316
|
srcAsset: {
|
|
@@ -8316,7 +8333,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
8316
8333
|
iconUrl?: string | null | undefined;
|
|
8317
8334
|
icon?: string | null | undefined;
|
|
8318
8335
|
};
|
|
8319
|
-
requestId: string;
|
|
8320
8336
|
srcTokenAmount: string;
|
|
8321
8337
|
destTokenAmount: string;
|
|
8322
8338
|
minDestTokenAmount: string;
|
|
@@ -8461,6 +8477,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
8461
8477
|
nonEvmFeesInNative?: string | undefined;
|
|
8462
8478
|
}[], resultFuncArgs_1: SortOrder) => ({
|
|
8463
8479
|
quote: {
|
|
8480
|
+
requestId: string;
|
|
8464
8481
|
srcChainId: number;
|
|
8465
8482
|
destChainId: number;
|
|
8466
8483
|
srcAsset: {
|
|
@@ -8483,7 +8500,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
8483
8500
|
iconUrl?: string | null | undefined;
|
|
8484
8501
|
icon?: string | null | undefined;
|
|
8485
8502
|
};
|
|
8486
|
-
requestId: string;
|
|
8487
8503
|
srcTokenAmount: string;
|
|
8488
8504
|
destTokenAmount: string;
|
|
8489
8505
|
minDestTokenAmount: string;
|
|
@@ -8642,6 +8658,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
8642
8658
|
};
|
|
8643
8659
|
lastResult: () => ({
|
|
8644
8660
|
quote: {
|
|
8661
|
+
requestId: string;
|
|
8645
8662
|
srcChainId: number;
|
|
8646
8663
|
destChainId: number;
|
|
8647
8664
|
srcAsset: {
|
|
@@ -8664,7 +8681,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
8664
8681
|
iconUrl?: string | null | undefined;
|
|
8665
8682
|
icon?: string | null | undefined;
|
|
8666
8683
|
};
|
|
8667
|
-
requestId: string;
|
|
8668
8684
|
srcTokenAmount: string;
|
|
8669
8685
|
destTokenAmount: string;
|
|
8670
8686
|
minDestTokenAmount: string;
|
|
@@ -8863,6 +8879,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
8863
8879
|
usd: string | null;
|
|
8864
8880
|
} | null;
|
|
8865
8881
|
quote: {
|
|
8882
|
+
requestId: string;
|
|
8866
8883
|
srcChainId: number;
|
|
8867
8884
|
destChainId: number;
|
|
8868
8885
|
srcAsset: {
|
|
@@ -8885,7 +8902,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
8885
8902
|
iconUrl?: string | null | undefined;
|
|
8886
8903
|
icon?: string | null | undefined;
|
|
8887
8904
|
};
|
|
8888
|
-
requestId: string;
|
|
8889
8905
|
srcTokenAmount: string;
|
|
8890
8906
|
destTokenAmount: string;
|
|
8891
8907
|
minDestTokenAmount: string;
|
|
@@ -9035,6 +9051,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
9035
9051
|
} & {
|
|
9036
9052
|
resultFunc: (resultFuncArgs_0: ({
|
|
9037
9053
|
quote: {
|
|
9054
|
+
requestId: string;
|
|
9038
9055
|
srcChainId: number;
|
|
9039
9056
|
destChainId: number;
|
|
9040
9057
|
srcAsset: {
|
|
@@ -9057,7 +9074,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
9057
9074
|
iconUrl?: string | null | undefined;
|
|
9058
9075
|
icon?: string | null | undefined;
|
|
9059
9076
|
};
|
|
9060
|
-
requestId: string;
|
|
9061
9077
|
srcTokenAmount: string;
|
|
9062
9078
|
destTokenAmount: string;
|
|
9063
9079
|
minDestTokenAmount: string;
|
|
@@ -9255,6 +9271,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
9255
9271
|
usd: string | null;
|
|
9256
9272
|
} | null;
|
|
9257
9273
|
quote: {
|
|
9274
|
+
requestId: string;
|
|
9258
9275
|
srcChainId: number;
|
|
9259
9276
|
destChainId: number;
|
|
9260
9277
|
srcAsset: {
|
|
@@ -9277,7 +9294,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
9277
9294
|
iconUrl?: string | null | undefined;
|
|
9278
9295
|
icon?: string | null | undefined;
|
|
9279
9296
|
};
|
|
9280
|
-
requestId: string;
|
|
9281
9297
|
srcTokenAmount: string;
|
|
9282
9298
|
destTokenAmount: string;
|
|
9283
9299
|
minDestTokenAmount: string;
|
|
@@ -9423,6 +9439,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
9423
9439
|
}[];
|
|
9424
9440
|
memoizedResultFunc: ((resultFuncArgs_0: ({
|
|
9425
9441
|
quote: {
|
|
9442
|
+
requestId: string;
|
|
9426
9443
|
srcChainId: number;
|
|
9427
9444
|
destChainId: number;
|
|
9428
9445
|
srcAsset: {
|
|
@@ -9445,7 +9462,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
9445
9462
|
iconUrl?: string | null | undefined;
|
|
9446
9463
|
icon?: string | null | undefined;
|
|
9447
9464
|
};
|
|
9448
|
-
requestId: string;
|
|
9449
9465
|
srcTokenAmount: string;
|
|
9450
9466
|
destTokenAmount: string;
|
|
9451
9467
|
minDestTokenAmount: string;
|
|
@@ -9643,6 +9659,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
9643
9659
|
usd: string | null;
|
|
9644
9660
|
} | null;
|
|
9645
9661
|
quote: {
|
|
9662
|
+
requestId: string;
|
|
9646
9663
|
srcChainId: number;
|
|
9647
9664
|
destChainId: number;
|
|
9648
9665
|
srcAsset: {
|
|
@@ -9665,7 +9682,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
9665
9682
|
iconUrl?: string | null | undefined;
|
|
9666
9683
|
icon?: string | null | undefined;
|
|
9667
9684
|
};
|
|
9668
|
-
requestId: string;
|
|
9669
9685
|
srcTokenAmount: string;
|
|
9670
9686
|
destTokenAmount: string;
|
|
9671
9687
|
minDestTokenAmount: string;
|
|
@@ -9855,6 +9871,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
9855
9871
|
usd: string | null;
|
|
9856
9872
|
} | null;
|
|
9857
9873
|
quote: {
|
|
9874
|
+
requestId: string;
|
|
9858
9875
|
srcChainId: number;
|
|
9859
9876
|
destChainId: number;
|
|
9860
9877
|
srcAsset: {
|
|
@@ -9877,7 +9894,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
9877
9894
|
iconUrl?: string | null | undefined;
|
|
9878
9895
|
icon?: string | null | undefined;
|
|
9879
9896
|
};
|
|
9880
|
-
requestId: string;
|
|
9881
9897
|
srcTokenAmount: string;
|
|
9882
9898
|
destTokenAmount: string;
|
|
9883
9899
|
minDestTokenAmount: string;
|
|
@@ -10023,6 +10039,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
10023
10039
|
}[];
|
|
10024
10040
|
dependencies: [({ quotes }: BridgeAppState) => ({
|
|
10025
10041
|
quote: {
|
|
10042
|
+
requestId: string;
|
|
10026
10043
|
srcChainId: number;
|
|
10027
10044
|
destChainId: number;
|
|
10028
10045
|
srcAsset: {
|
|
@@ -10045,7 +10062,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
10045
10062
|
iconUrl?: string | null | undefined;
|
|
10046
10063
|
icon?: string | null | undefined;
|
|
10047
10064
|
};
|
|
10048
|
-
requestId: string;
|
|
10049
10065
|
srcTokenAmount: string;
|
|
10050
10066
|
destTokenAmount: string;
|
|
10051
10067
|
minDestTokenAmount: string;
|
|
@@ -10339,6 +10355,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
10339
10355
|
participateInMetaMetrics: boolean;
|
|
10340
10356
|
} & RemoteFeatureFlagControllerState, params_0: BridgeQuotesClientParams) => ({
|
|
10341
10357
|
quote: {
|
|
10358
|
+
requestId: string;
|
|
10342
10359
|
srcChainId: number;
|
|
10343
10360
|
destChainId: number;
|
|
10344
10361
|
srcAsset: {
|
|
@@ -10361,7 +10378,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
10361
10378
|
iconUrl?: string | null | undefined;
|
|
10362
10379
|
icon?: string | null | undefined;
|
|
10363
10380
|
};
|
|
10364
|
-
requestId: string;
|
|
10365
10381
|
srcTokenAmount: string;
|
|
10366
10382
|
destTokenAmount: string;
|
|
10367
10383
|
minDestTokenAmount: string;
|
|
@@ -10520,6 +10536,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
10520
10536
|
} & {
|
|
10521
10537
|
resultFunc: (resultFuncArgs_0: ({
|
|
10522
10538
|
quote: {
|
|
10539
|
+
requestId: string;
|
|
10523
10540
|
srcChainId: number;
|
|
10524
10541
|
destChainId: number;
|
|
10525
10542
|
srcAsset: {
|
|
@@ -10542,7 +10559,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
10542
10559
|
iconUrl?: string | null | undefined;
|
|
10543
10560
|
icon?: string | null | undefined;
|
|
10544
10561
|
};
|
|
10545
|
-
requestId: string;
|
|
10546
10562
|
srcTokenAmount: string;
|
|
10547
10563
|
destTokenAmount: string;
|
|
10548
10564
|
minDestTokenAmount: string;
|
|
@@ -10696,6 +10712,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
10696
10712
|
featureId?: import(".").FeatureId | undefined;
|
|
10697
10713
|
} & QuoteMetadata) | null, resultFuncArgs_1: ({
|
|
10698
10714
|
quote: {
|
|
10715
|
+
requestId: string;
|
|
10699
10716
|
srcChainId: number;
|
|
10700
10717
|
destChainId: number;
|
|
10701
10718
|
srcAsset: {
|
|
@@ -10718,7 +10735,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
10718
10735
|
iconUrl?: string | null | undefined;
|
|
10719
10736
|
icon?: string | null | undefined;
|
|
10720
10737
|
};
|
|
10721
|
-
requestId: string;
|
|
10722
10738
|
srcTokenAmount: string;
|
|
10723
10739
|
destTokenAmount: string;
|
|
10724
10740
|
minDestTokenAmount: string;
|
|
@@ -10872,6 +10888,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
10872
10888
|
featureId?: import(".").FeatureId | undefined;
|
|
10873
10889
|
} & QuoteMetadata) | null) => ({
|
|
10874
10890
|
quote: {
|
|
10891
|
+
requestId: string;
|
|
10875
10892
|
srcChainId: number;
|
|
10876
10893
|
destChainId: number;
|
|
10877
10894
|
srcAsset: {
|
|
@@ -10894,7 +10911,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
10894
10911
|
iconUrl?: string | null | undefined;
|
|
10895
10912
|
icon?: string | null | undefined;
|
|
10896
10913
|
};
|
|
10897
|
-
requestId: string;
|
|
10898
10914
|
srcTokenAmount: string;
|
|
10899
10915
|
destTokenAmount: string;
|
|
10900
10916
|
minDestTokenAmount: string;
|
|
@@ -11049,6 +11065,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
11049
11065
|
} & QuoteMetadata) | null;
|
|
11050
11066
|
memoizedResultFunc: ((resultFuncArgs_0: ({
|
|
11051
11067
|
quote: {
|
|
11068
|
+
requestId: string;
|
|
11052
11069
|
srcChainId: number;
|
|
11053
11070
|
destChainId: number;
|
|
11054
11071
|
srcAsset: {
|
|
@@ -11071,7 +11088,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
11071
11088
|
iconUrl?: string | null | undefined;
|
|
11072
11089
|
icon?: string | null | undefined;
|
|
11073
11090
|
};
|
|
11074
|
-
requestId: string;
|
|
11075
11091
|
srcTokenAmount: string;
|
|
11076
11092
|
destTokenAmount: string;
|
|
11077
11093
|
minDestTokenAmount: string;
|
|
@@ -11225,6 +11241,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
11225
11241
|
featureId?: import(".").FeatureId | undefined;
|
|
11226
11242
|
} & QuoteMetadata) | null, resultFuncArgs_1: ({
|
|
11227
11243
|
quote: {
|
|
11244
|
+
requestId: string;
|
|
11228
11245
|
srcChainId: number;
|
|
11229
11246
|
destChainId: number;
|
|
11230
11247
|
srcAsset: {
|
|
@@ -11247,7 +11264,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
11247
11264
|
iconUrl?: string | null | undefined;
|
|
11248
11265
|
icon?: string | null | undefined;
|
|
11249
11266
|
};
|
|
11250
|
-
requestId: string;
|
|
11251
11267
|
srcTokenAmount: string;
|
|
11252
11268
|
destTokenAmount: string;
|
|
11253
11269
|
minDestTokenAmount: string;
|
|
@@ -11401,6 +11417,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
11401
11417
|
featureId?: import(".").FeatureId | undefined;
|
|
11402
11418
|
} & QuoteMetadata) | null) => ({
|
|
11403
11419
|
quote: {
|
|
11420
|
+
requestId: string;
|
|
11404
11421
|
srcChainId: number;
|
|
11405
11422
|
destChainId: number;
|
|
11406
11423
|
srcAsset: {
|
|
@@ -11423,7 +11440,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
11423
11440
|
iconUrl?: string | null | undefined;
|
|
11424
11441
|
icon?: string | null | undefined;
|
|
11425
11442
|
};
|
|
11426
|
-
requestId: string;
|
|
11427
11443
|
srcTokenAmount: string;
|
|
11428
11444
|
destTokenAmount: string;
|
|
11429
11445
|
minDestTokenAmount: string;
|
|
@@ -11582,6 +11598,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
11582
11598
|
};
|
|
11583
11599
|
lastResult: () => ({
|
|
11584
11600
|
quote: {
|
|
11601
|
+
requestId: string;
|
|
11585
11602
|
srcChainId: number;
|
|
11586
11603
|
destChainId: number;
|
|
11587
11604
|
srcAsset: {
|
|
@@ -11604,7 +11621,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
11604
11621
|
iconUrl?: string | null | undefined;
|
|
11605
11622
|
icon?: string | null | undefined;
|
|
11606
11623
|
};
|
|
11607
|
-
requestId: string;
|
|
11608
11624
|
srcTokenAmount: string;
|
|
11609
11625
|
destTokenAmount: string;
|
|
11610
11626
|
minDestTokenAmount: string;
|
|
@@ -11763,6 +11779,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
11763
11779
|
participateInMetaMetrics: boolean;
|
|
11764
11780
|
} & RemoteFeatureFlagControllerState, params_0: BridgeQuotesClientParams) => ({
|
|
11765
11781
|
quote: {
|
|
11782
|
+
requestId: string;
|
|
11766
11783
|
srcChainId: number;
|
|
11767
11784
|
destChainId: number;
|
|
11768
11785
|
srcAsset: {
|
|
@@ -11785,7 +11802,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
11785
11802
|
iconUrl?: string | null | undefined;
|
|
11786
11803
|
icon?: string | null | undefined;
|
|
11787
11804
|
};
|
|
11788
|
-
requestId: string;
|
|
11789
11805
|
srcTokenAmount: string;
|
|
11790
11806
|
destTokenAmount: string;
|
|
11791
11807
|
minDestTokenAmount: string;
|
|
@@ -11944,6 +11960,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
11944
11960
|
} & {
|
|
11945
11961
|
resultFunc: (resultFuncArgs_0: ({
|
|
11946
11962
|
quote: {
|
|
11963
|
+
requestId: string;
|
|
11947
11964
|
srcChainId: number;
|
|
11948
11965
|
destChainId: number;
|
|
11949
11966
|
srcAsset: {
|
|
@@ -11966,7 +11983,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
11966
11983
|
iconUrl?: string | null | undefined;
|
|
11967
11984
|
icon?: string | null | undefined;
|
|
11968
11985
|
};
|
|
11969
|
-
requestId: string;
|
|
11970
11986
|
srcTokenAmount: string;
|
|
11971
11987
|
destTokenAmount: string;
|
|
11972
11988
|
minDestTokenAmount: string;
|
|
@@ -12120,6 +12136,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
12120
12136
|
featureId?: import(".").FeatureId | undefined;
|
|
12121
12137
|
} & QuoteMetadata)[]) => ({
|
|
12122
12138
|
quote: {
|
|
12139
|
+
requestId: string;
|
|
12123
12140
|
srcChainId: number;
|
|
12124
12141
|
destChainId: number;
|
|
12125
12142
|
srcAsset: {
|
|
@@ -12142,7 +12159,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
12142
12159
|
iconUrl?: string | null | undefined;
|
|
12143
12160
|
icon?: string | null | undefined;
|
|
12144
12161
|
};
|
|
12145
|
-
requestId: string;
|
|
12146
12162
|
srcTokenAmount: string;
|
|
12147
12163
|
destTokenAmount: string;
|
|
12148
12164
|
minDestTokenAmount: string;
|
|
@@ -12297,6 +12313,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
12297
12313
|
} & QuoteMetadata) | null;
|
|
12298
12314
|
memoizedResultFunc: ((resultFuncArgs_0: ({
|
|
12299
12315
|
quote: {
|
|
12316
|
+
requestId: string;
|
|
12300
12317
|
srcChainId: number;
|
|
12301
12318
|
destChainId: number;
|
|
12302
12319
|
srcAsset: {
|
|
@@ -12319,7 +12336,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
12319
12336
|
iconUrl?: string | null | undefined;
|
|
12320
12337
|
icon?: string | null | undefined;
|
|
12321
12338
|
};
|
|
12322
|
-
requestId: string;
|
|
12323
12339
|
srcTokenAmount: string;
|
|
12324
12340
|
destTokenAmount: string;
|
|
12325
12341
|
minDestTokenAmount: string;
|
|
@@ -12473,6 +12489,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
12473
12489
|
featureId?: import(".").FeatureId | undefined;
|
|
12474
12490
|
} & QuoteMetadata)[]) => ({
|
|
12475
12491
|
quote: {
|
|
12492
|
+
requestId: string;
|
|
12476
12493
|
srcChainId: number;
|
|
12477
12494
|
destChainId: number;
|
|
12478
12495
|
srcAsset: {
|
|
@@ -12495,7 +12512,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
12495
12512
|
iconUrl?: string | null | undefined;
|
|
12496
12513
|
icon?: string | null | undefined;
|
|
12497
12514
|
};
|
|
12498
|
-
requestId: string;
|
|
12499
12515
|
srcTokenAmount: string;
|
|
12500
12516
|
destTokenAmount: string;
|
|
12501
12517
|
minDestTokenAmount: string;
|
|
@@ -12654,6 +12670,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
12654
12670
|
};
|
|
12655
12671
|
lastResult: () => ({
|
|
12656
12672
|
quote: {
|
|
12673
|
+
requestId: string;
|
|
12657
12674
|
srcChainId: number;
|
|
12658
12675
|
destChainId: number;
|
|
12659
12676
|
srcAsset: {
|
|
@@ -12676,7 +12693,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
12676
12693
|
iconUrl?: string | null | undefined;
|
|
12677
12694
|
icon?: string | null | undefined;
|
|
12678
12695
|
};
|
|
12679
|
-
requestId: string;
|
|
12680
12696
|
srcTokenAmount: string;
|
|
12681
12697
|
destTokenAmount: string;
|
|
12682
12698
|
minDestTokenAmount: string;
|
|
@@ -12835,6 +12851,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
12835
12851
|
participateInMetaMetrics: boolean;
|
|
12836
12852
|
} & RemoteFeatureFlagControllerState, params_0: BridgeQuotesClientParams) => ({
|
|
12837
12853
|
quote: {
|
|
12854
|
+
requestId: string;
|
|
12838
12855
|
srcChainId: number;
|
|
12839
12856
|
destChainId: number;
|
|
12840
12857
|
srcAsset: {
|
|
@@ -12857,7 +12874,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
12857
12874
|
iconUrl?: string | null | undefined;
|
|
12858
12875
|
icon?: string | null | undefined;
|
|
12859
12876
|
};
|
|
12860
|
-
requestId: string;
|
|
12861
12877
|
srcTokenAmount: string;
|
|
12862
12878
|
destTokenAmount: string;
|
|
12863
12879
|
minDestTokenAmount: string;
|
|
@@ -13056,6 +13072,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
13056
13072
|
usd: string | null;
|
|
13057
13073
|
} | null;
|
|
13058
13074
|
quote: {
|
|
13075
|
+
requestId: string;
|
|
13059
13076
|
srcChainId: number;
|
|
13060
13077
|
destChainId: number;
|
|
13061
13078
|
srcAsset: {
|
|
@@ -13078,7 +13095,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
13078
13095
|
iconUrl?: string | null | undefined;
|
|
13079
13096
|
icon?: string | null | undefined;
|
|
13080
13097
|
};
|
|
13081
|
-
requestId: string;
|
|
13082
13098
|
srcTokenAmount: string;
|
|
13083
13099
|
destTokenAmount: string;
|
|
13084
13100
|
minDestTokenAmount: string;
|
|
@@ -13223,6 +13239,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
13223
13239
|
nonEvmFeesInNative?: string | undefined;
|
|
13224
13240
|
}[], resultFuncArgs_1: SortOrder) => ({
|
|
13225
13241
|
quote: {
|
|
13242
|
+
requestId: string;
|
|
13226
13243
|
srcChainId: number;
|
|
13227
13244
|
destChainId: number;
|
|
13228
13245
|
srcAsset: {
|
|
@@ -13245,7 +13262,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
13245
13262
|
iconUrl?: string | null | undefined;
|
|
13246
13263
|
icon?: string | null | undefined;
|
|
13247
13264
|
};
|
|
13248
|
-
requestId: string;
|
|
13249
13265
|
srcTokenAmount: string;
|
|
13250
13266
|
destTokenAmount: string;
|
|
13251
13267
|
minDestTokenAmount: string;
|
|
@@ -13440,6 +13456,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
13440
13456
|
usd: string | null;
|
|
13441
13457
|
} | null;
|
|
13442
13458
|
quote: {
|
|
13459
|
+
requestId: string;
|
|
13443
13460
|
srcChainId: number;
|
|
13444
13461
|
destChainId: number;
|
|
13445
13462
|
srcAsset: {
|
|
@@ -13462,7 +13479,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
13462
13479
|
iconUrl?: string | null | undefined;
|
|
13463
13480
|
icon?: string | null | undefined;
|
|
13464
13481
|
};
|
|
13465
|
-
requestId: string;
|
|
13466
13482
|
srcTokenAmount: string;
|
|
13467
13483
|
destTokenAmount: string;
|
|
13468
13484
|
minDestTokenAmount: string;
|
|
@@ -13607,6 +13623,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
13607
13623
|
nonEvmFeesInNative?: string | undefined;
|
|
13608
13624
|
}[], resultFuncArgs_1: SortOrder) => ({
|
|
13609
13625
|
quote: {
|
|
13626
|
+
requestId: string;
|
|
13610
13627
|
srcChainId: number;
|
|
13611
13628
|
destChainId: number;
|
|
13612
13629
|
srcAsset: {
|
|
@@ -13629,7 +13646,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
13629
13646
|
iconUrl?: string | null | undefined;
|
|
13630
13647
|
icon?: string | null | undefined;
|
|
13631
13648
|
};
|
|
13632
|
-
requestId: string;
|
|
13633
13649
|
srcTokenAmount: string;
|
|
13634
13650
|
destTokenAmount: string;
|
|
13635
13651
|
minDestTokenAmount: string;
|
|
@@ -13788,6 +13804,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
13788
13804
|
};
|
|
13789
13805
|
lastResult: () => ({
|
|
13790
13806
|
quote: {
|
|
13807
|
+
requestId: string;
|
|
13791
13808
|
srcChainId: number;
|
|
13792
13809
|
destChainId: number;
|
|
13793
13810
|
srcAsset: {
|
|
@@ -13810,7 +13827,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
13810
13827
|
iconUrl?: string | null | undefined;
|
|
13811
13828
|
icon?: string | null | undefined;
|
|
13812
13829
|
};
|
|
13813
|
-
requestId: string;
|
|
13814
13830
|
srcTokenAmount: string;
|
|
13815
13831
|
destTokenAmount: string;
|
|
13816
13832
|
minDestTokenAmount: string;
|
|
@@ -14009,6 +14025,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
14009
14025
|
usd: string | null;
|
|
14010
14026
|
} | null;
|
|
14011
14027
|
quote: {
|
|
14028
|
+
requestId: string;
|
|
14012
14029
|
srcChainId: number;
|
|
14013
14030
|
destChainId: number;
|
|
14014
14031
|
srcAsset: {
|
|
@@ -14031,7 +14048,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
14031
14048
|
iconUrl?: string | null | undefined;
|
|
14032
14049
|
icon?: string | null | undefined;
|
|
14033
14050
|
};
|
|
14034
|
-
requestId: string;
|
|
14035
14051
|
srcTokenAmount: string;
|
|
14036
14052
|
destTokenAmount: string;
|
|
14037
14053
|
minDestTokenAmount: string;
|
|
@@ -14181,6 +14197,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
14181
14197
|
} & {
|
|
14182
14198
|
resultFunc: (resultFuncArgs_0: ({
|
|
14183
14199
|
quote: {
|
|
14200
|
+
requestId: string;
|
|
14184
14201
|
srcChainId: number;
|
|
14185
14202
|
destChainId: number;
|
|
14186
14203
|
srcAsset: {
|
|
@@ -14203,7 +14220,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
14203
14220
|
iconUrl?: string | null | undefined;
|
|
14204
14221
|
icon?: string | null | undefined;
|
|
14205
14222
|
};
|
|
14206
|
-
requestId: string;
|
|
14207
14223
|
srcTokenAmount: string;
|
|
14208
14224
|
destTokenAmount: string;
|
|
14209
14225
|
minDestTokenAmount: string;
|
|
@@ -14401,6 +14417,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
14401
14417
|
usd: string | null;
|
|
14402
14418
|
} | null;
|
|
14403
14419
|
quote: {
|
|
14420
|
+
requestId: string;
|
|
14404
14421
|
srcChainId: number;
|
|
14405
14422
|
destChainId: number;
|
|
14406
14423
|
srcAsset: {
|
|
@@ -14423,7 +14440,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
14423
14440
|
iconUrl?: string | null | undefined;
|
|
14424
14441
|
icon?: string | null | undefined;
|
|
14425
14442
|
};
|
|
14426
|
-
requestId: string;
|
|
14427
14443
|
srcTokenAmount: string;
|
|
14428
14444
|
destTokenAmount: string;
|
|
14429
14445
|
minDestTokenAmount: string;
|
|
@@ -14569,6 +14585,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
14569
14585
|
}[];
|
|
14570
14586
|
memoizedResultFunc: ((resultFuncArgs_0: ({
|
|
14571
14587
|
quote: {
|
|
14588
|
+
requestId: string;
|
|
14572
14589
|
srcChainId: number;
|
|
14573
14590
|
destChainId: number;
|
|
14574
14591
|
srcAsset: {
|
|
@@ -14591,7 +14608,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
14591
14608
|
iconUrl?: string | null | undefined;
|
|
14592
14609
|
icon?: string | null | undefined;
|
|
14593
14610
|
};
|
|
14594
|
-
requestId: string;
|
|
14595
14611
|
srcTokenAmount: string;
|
|
14596
14612
|
destTokenAmount: string;
|
|
14597
14613
|
minDestTokenAmount: string;
|
|
@@ -14789,6 +14805,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
14789
14805
|
usd: string | null;
|
|
14790
14806
|
} | null;
|
|
14791
14807
|
quote: {
|
|
14808
|
+
requestId: string;
|
|
14792
14809
|
srcChainId: number;
|
|
14793
14810
|
destChainId: number;
|
|
14794
14811
|
srcAsset: {
|
|
@@ -14811,7 +14828,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
14811
14828
|
iconUrl?: string | null | undefined;
|
|
14812
14829
|
icon?: string | null | undefined;
|
|
14813
14830
|
};
|
|
14814
|
-
requestId: string;
|
|
14815
14831
|
srcTokenAmount: string;
|
|
14816
14832
|
destTokenAmount: string;
|
|
14817
14833
|
minDestTokenAmount: string;
|
|
@@ -15001,6 +15017,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
15001
15017
|
usd: string | null;
|
|
15002
15018
|
} | null;
|
|
15003
15019
|
quote: {
|
|
15020
|
+
requestId: string;
|
|
15004
15021
|
srcChainId: number;
|
|
15005
15022
|
destChainId: number;
|
|
15006
15023
|
srcAsset: {
|
|
@@ -15023,7 +15040,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
15023
15040
|
iconUrl?: string | null | undefined;
|
|
15024
15041
|
icon?: string | null | undefined;
|
|
15025
15042
|
};
|
|
15026
|
-
requestId: string;
|
|
15027
15043
|
srcTokenAmount: string;
|
|
15028
15044
|
destTokenAmount: string;
|
|
15029
15045
|
minDestTokenAmount: string;
|
|
@@ -15169,6 +15185,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
15169
15185
|
}[];
|
|
15170
15186
|
dependencies: [({ quotes }: BridgeAppState) => ({
|
|
15171
15187
|
quote: {
|
|
15188
|
+
requestId: string;
|
|
15172
15189
|
srcChainId: number;
|
|
15173
15190
|
destChainId: number;
|
|
15174
15191
|
srcAsset: {
|
|
@@ -15191,7 +15208,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
15191
15208
|
iconUrl?: string | null | undefined;
|
|
15192
15209
|
icon?: string | null | undefined;
|
|
15193
15210
|
};
|
|
15194
|
-
requestId: string;
|
|
15195
15211
|
srcTokenAmount: string;
|
|
15196
15212
|
destTokenAmount: string;
|
|
15197
15213
|
minDestTokenAmount: string;
|
|
@@ -15481,6 +15497,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
15481
15497
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
15482
15498
|
}, (_: BridgeAppState, { selectedQuote }: BridgeQuotesClientParams) => ({
|
|
15483
15499
|
quote: {
|
|
15500
|
+
requestId: string;
|
|
15484
15501
|
srcChainId: number;
|
|
15485
15502
|
destChainId: number;
|
|
15486
15503
|
srcAsset: {
|
|
@@ -15503,7 +15520,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
15503
15520
|
iconUrl?: string | null | undefined;
|
|
15504
15521
|
icon?: string | null | undefined;
|
|
15505
15522
|
};
|
|
15506
|
-
requestId: string;
|
|
15507
15523
|
srcTokenAmount: string;
|
|
15508
15524
|
destTokenAmount: string;
|
|
15509
15525
|
minDestTokenAmount: string;
|
|
@@ -15705,6 +15721,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
15705
15721
|
standard: Record<string, string>;
|
|
15706
15722
|
other: Record<string, string>;
|
|
15707
15723
|
} | undefined> | undefined;
|
|
15724
|
+
sseEnabled?: boolean | undefined;
|
|
15708
15725
|
}, resultFuncArgs_1: boolean | undefined, resultFuncArgs_2: number) => boolean;
|
|
15709
15726
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
15710
15727
|
support: boolean;
|
|
@@ -15739,6 +15756,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
15739
15756
|
standard: Record<string, string>;
|
|
15740
15757
|
other: Record<string, string>;
|
|
15741
15758
|
} | undefined> | undefined;
|
|
15759
|
+
sseEnabled?: boolean | undefined;
|
|
15742
15760
|
}, resultFuncArgs_1: boolean | undefined, resultFuncArgs_2: number) => boolean) & {
|
|
15743
15761
|
clearCache: () => void;
|
|
15744
15762
|
resultsCount: () => number;
|
|
@@ -15778,6 +15796,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
15778
15796
|
standard: Record<string, string>;
|
|
15779
15797
|
other: Record<string, string>;
|
|
15780
15798
|
} | undefined> | undefined;
|
|
15799
|
+
sseEnabled?: boolean | undefined;
|
|
15781
15800
|
}) & {
|
|
15782
15801
|
clearCache: () => void;
|
|
15783
15802
|
resultsCount: () => number;
|
|
@@ -15816,6 +15835,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
15816
15835
|
standard: Record<string, string>;
|
|
15817
15836
|
other: Record<string, string>;
|
|
15818
15837
|
} | undefined> | undefined;
|
|
15838
|
+
sseEnabled?: boolean | undefined;
|
|
15819
15839
|
};
|
|
15820
15840
|
memoizedResultFunc: ((resultFuncArgs_0: any) => {
|
|
15821
15841
|
support: boolean;
|
|
@@ -15850,6 +15870,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
15850
15870
|
standard: Record<string, string>;
|
|
15851
15871
|
other: Record<string, string>;
|
|
15852
15872
|
} | undefined> | undefined;
|
|
15873
|
+
sseEnabled?: boolean | undefined;
|
|
15853
15874
|
}) & {
|
|
15854
15875
|
clearCache: () => void;
|
|
15855
15876
|
resultsCount: () => number;
|
|
@@ -15888,6 +15909,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
15888
15909
|
standard: Record<string, string>;
|
|
15889
15910
|
other: Record<string, string>;
|
|
15890
15911
|
} | undefined> | undefined;
|
|
15912
|
+
sseEnabled?: boolean | undefined;
|
|
15891
15913
|
};
|
|
15892
15914
|
dependencies: [(state: RemoteFeatureFlagControllerState) => unknown];
|
|
15893
15915
|
recomputations: () => number;
|