@metamask/bridge-controller 64.6.1 → 64.7.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 +8 -1
- package/dist/bridge-controller.d.cts +2 -2
- package/dist/bridge-controller.d.mts +2 -2
- package/dist/selectors.d.cts +88 -88
- package/dist/selectors.d.mts +88 -88
- package/dist/utils/feature-flags.d.cts +4 -4
- package/dist/utils/feature-flags.d.mts +4 -4
- package/dist/utils/validators.cjs +1 -1
- package/dist/utils/validators.cjs.map +1 -1
- package/dist/utils/validators.d.cts +10 -10
- package/dist/utils/validators.d.cts.map +1 -1
- package/dist/utils/validators.d.mts +10 -10
- package/dist/utils/validators.d.mts.map +1 -1
- package/dist/utils/validators.mjs +1 -1
- package/dist/utils/validators.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [64.7.0]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Made chainRanking an optional flag ([#7691](https://github.com/MetaMask/core/pull/7691))
|
|
15
|
+
|
|
10
16
|
## [64.6.1]
|
|
11
17
|
|
|
12
18
|
### Fixed
|
|
@@ -1022,7 +1028,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1022
1028
|
|
|
1023
1029
|
- Initial release ([#5317](https://github.com/MetaMask/core/pull/5317))
|
|
1024
1030
|
|
|
1025
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/bridge-controller@64.
|
|
1031
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/bridge-controller@64.7.0...HEAD
|
|
1032
|
+
[64.7.0]: https://github.com/MetaMask/core/compare/@metamask/bridge-controller@64.6.1...@metamask/bridge-controller@64.7.0
|
|
1026
1033
|
[64.6.1]: https://github.com/MetaMask/core/compare/@metamask/bridge-controller@64.6.0...@metamask/bridge-controller@64.6.1
|
|
1027
1034
|
[64.6.0]: https://github.com/MetaMask/core/compare/@metamask/bridge-controller@64.5.1...@metamask/bridge-controller@64.6.0
|
|
1028
1035
|
[64.5.1]: https://github.com/MetaMask/core/compare/@metamask/bridge-controller@64.5.0...@metamask/bridge-controller@64.5.1
|
|
@@ -19,8 +19,8 @@ type BridgePollingInput = {
|
|
|
19
19
|
context: Pick<RequiredEventContextFromClient, UnifiedSwapBridgeEventName.QuotesError>[UnifiedSwapBridgeEventName.QuotesError] & Pick<RequiredEventContextFromClient, UnifiedSwapBridgeEventName.QuotesRequested>[UnifiedSwapBridgeEventName.QuotesRequested];
|
|
20
20
|
};
|
|
21
21
|
declare const BridgeController_base: (abstract new (...args: any[]) => {
|
|
22
|
-
readonly "__#
|
|
23
|
-
"__#
|
|
22
|
+
readonly "__#15@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
23
|
+
"__#15@#intervalLength": number | undefined;
|
|
24
24
|
setIntervalLength(intervalLength: number): void;
|
|
25
25
|
getIntervalLength(): number | undefined;
|
|
26
26
|
_startPolling(input: BridgePollingInput): void;
|
|
@@ -19,8 +19,8 @@ type BridgePollingInput = {
|
|
|
19
19
|
context: Pick<RequiredEventContextFromClient, UnifiedSwapBridgeEventName.QuotesError>[UnifiedSwapBridgeEventName.QuotesError] & Pick<RequiredEventContextFromClient, UnifiedSwapBridgeEventName.QuotesRequested>[UnifiedSwapBridgeEventName.QuotesRequested];
|
|
20
20
|
};
|
|
21
21
|
declare const BridgeController_base: (abstract new (...args: any[]) => {
|
|
22
|
-
readonly "__#
|
|
23
|
-
"__#
|
|
22
|
+
readonly "__#15@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
23
|
+
"__#15@#intervalLength": number | undefined;
|
|
24
24
|
setIntervalLength(intervalLength: number): void;
|
|
25
25
|
getIntervalLength(): number | undefined;
|
|
26
26
|
_startPolling(input: BridgePollingInput): void;
|
package/dist/selectors.d.cts
CHANGED
|
@@ -68,10 +68,6 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
|
|
|
68
68
|
other: Record<string, string>;
|
|
69
69
|
} | undefined;
|
|
70
70
|
}>;
|
|
71
|
-
chainRanking: {
|
|
72
|
-
chainId: `${string}:${string}`;
|
|
73
|
-
name: string;
|
|
74
|
-
}[];
|
|
75
71
|
priceImpactThreshold?: {
|
|
76
72
|
gasless: number;
|
|
77
73
|
normal: number;
|
|
@@ -89,6 +85,10 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
|
|
|
89
85
|
minimumVersion: string;
|
|
90
86
|
enabled: boolean;
|
|
91
87
|
} | undefined;
|
|
88
|
+
chainRanking?: {
|
|
89
|
+
chainId: `${string}:${string}`;
|
|
90
|
+
name: string;
|
|
91
|
+
}[] | undefined;
|
|
92
92
|
}) & {
|
|
93
93
|
clearCache: () => void;
|
|
94
94
|
resultsCount: () => number;
|
|
@@ -114,10 +114,6 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
|
|
|
114
114
|
other: Record<string, string>;
|
|
115
115
|
} | undefined;
|
|
116
116
|
}>;
|
|
117
|
-
chainRanking: {
|
|
118
|
-
chainId: `${string}:${string}`;
|
|
119
|
-
name: string;
|
|
120
|
-
}[];
|
|
121
117
|
priceImpactThreshold?: {
|
|
122
118
|
gasless: number;
|
|
123
119
|
normal: number;
|
|
@@ -135,6 +131,10 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
|
|
|
135
131
|
minimumVersion: string;
|
|
136
132
|
enabled: boolean;
|
|
137
133
|
} | undefined;
|
|
134
|
+
chainRanking?: {
|
|
135
|
+
chainId: `${string}:${string}`;
|
|
136
|
+
name: string;
|
|
137
|
+
}[] | undefined;
|
|
138
138
|
};
|
|
139
139
|
memoizedResultFunc: ((resultFuncArgs_0: any) => {
|
|
140
140
|
refreshRate: number;
|
|
@@ -156,10 +156,6 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
|
|
|
156
156
|
other: Record<string, string>;
|
|
157
157
|
} | undefined;
|
|
158
158
|
}>;
|
|
159
|
-
chainRanking: {
|
|
160
|
-
chainId: `${string}:${string}`;
|
|
161
|
-
name: string;
|
|
162
|
-
}[];
|
|
163
159
|
priceImpactThreshold?: {
|
|
164
160
|
gasless: number;
|
|
165
161
|
normal: number;
|
|
@@ -177,6 +173,10 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
|
|
|
177
173
|
minimumVersion: string;
|
|
178
174
|
enabled: boolean;
|
|
179
175
|
} | undefined;
|
|
176
|
+
chainRanking?: {
|
|
177
|
+
chainId: `${string}:${string}`;
|
|
178
|
+
name: string;
|
|
179
|
+
}[] | undefined;
|
|
180
180
|
}) & {
|
|
181
181
|
clearCache: () => void;
|
|
182
182
|
resultsCount: () => number;
|
|
@@ -202,10 +202,6 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
|
|
|
202
202
|
other: Record<string, string>;
|
|
203
203
|
} | undefined;
|
|
204
204
|
}>;
|
|
205
|
-
chainRanking: {
|
|
206
|
-
chainId: `${string}:${string}`;
|
|
207
|
-
name: string;
|
|
208
|
-
}[];
|
|
209
205
|
priceImpactThreshold?: {
|
|
210
206
|
gasless: number;
|
|
211
207
|
normal: number;
|
|
@@ -223,6 +219,10 @@ export declare const selectBridgeFeatureFlags: ((state: RemoteFeatureFlagControl
|
|
|
223
219
|
minimumVersion: string;
|
|
224
220
|
enabled: boolean;
|
|
225
221
|
} | undefined;
|
|
222
|
+
chainRanking?: {
|
|
223
|
+
chainId: `${string}:${string}`;
|
|
224
|
+
name: string;
|
|
225
|
+
}[] | undefined;
|
|
226
226
|
};
|
|
227
227
|
dependencies: [(state: RemoteFeatureFlagControllerState) => unknown];
|
|
228
228
|
recomputations: () => number;
|
|
@@ -294,10 +294,6 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
294
294
|
other: Record<string, string>;
|
|
295
295
|
} | undefined;
|
|
296
296
|
}>;
|
|
297
|
-
chainRanking: {
|
|
298
|
-
chainId: `${string}:${string}`;
|
|
299
|
-
name: string;
|
|
300
|
-
}[];
|
|
301
297
|
priceImpactThreshold?: {
|
|
302
298
|
gasless: number;
|
|
303
299
|
normal: number;
|
|
@@ -315,6 +311,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
315
311
|
minimumVersion: string;
|
|
316
312
|
enabled: boolean;
|
|
317
313
|
} | undefined;
|
|
314
|
+
chainRanking?: {
|
|
315
|
+
chainId: `${string}:${string}`;
|
|
316
|
+
name: string;
|
|
317
|
+
}[] | undefined;
|
|
318
318
|
}, resultFuncArgs_1: boolean | undefined, resultFuncArgs_2: number) => boolean;
|
|
319
319
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
320
320
|
refreshRate: number;
|
|
@@ -336,10 +336,6 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
336
336
|
other: Record<string, string>;
|
|
337
337
|
} | undefined;
|
|
338
338
|
}>;
|
|
339
|
-
chainRanking: {
|
|
340
|
-
chainId: `${string}:${string}`;
|
|
341
|
-
name: string;
|
|
342
|
-
}[];
|
|
343
339
|
priceImpactThreshold?: {
|
|
344
340
|
gasless: number;
|
|
345
341
|
normal: number;
|
|
@@ -357,6 +353,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
357
353
|
minimumVersion: string;
|
|
358
354
|
enabled: boolean;
|
|
359
355
|
} | undefined;
|
|
356
|
+
chainRanking?: {
|
|
357
|
+
chainId: `${string}:${string}`;
|
|
358
|
+
name: string;
|
|
359
|
+
}[] | undefined;
|
|
360
360
|
}, resultFuncArgs_1: boolean | undefined, resultFuncArgs_2: number) => boolean) & {
|
|
361
361
|
clearCache: () => void;
|
|
362
362
|
resultsCount: () => number;
|
|
@@ -383,10 +383,6 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
383
383
|
other: Record<string, string>;
|
|
384
384
|
} | undefined;
|
|
385
385
|
}>;
|
|
386
|
-
chainRanking: {
|
|
387
|
-
chainId: `${string}:${string}`;
|
|
388
|
-
name: string;
|
|
389
|
-
}[];
|
|
390
386
|
priceImpactThreshold?: {
|
|
391
387
|
gasless: number;
|
|
392
388
|
normal: number;
|
|
@@ -404,6 +400,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
404
400
|
minimumVersion: string;
|
|
405
401
|
enabled: boolean;
|
|
406
402
|
} | undefined;
|
|
403
|
+
chainRanking?: {
|
|
404
|
+
chainId: `${string}:${string}`;
|
|
405
|
+
name: string;
|
|
406
|
+
}[] | undefined;
|
|
407
407
|
}) & {
|
|
408
408
|
clearCache: () => void;
|
|
409
409
|
resultsCount: () => number;
|
|
@@ -429,10 +429,6 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
429
429
|
other: Record<string, string>;
|
|
430
430
|
} | undefined;
|
|
431
431
|
}>;
|
|
432
|
-
chainRanking: {
|
|
433
|
-
chainId: `${string}:${string}`;
|
|
434
|
-
name: string;
|
|
435
|
-
}[];
|
|
436
432
|
priceImpactThreshold?: {
|
|
437
433
|
gasless: number;
|
|
438
434
|
normal: number;
|
|
@@ -450,6 +446,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
450
446
|
minimumVersion: string;
|
|
451
447
|
enabled: boolean;
|
|
452
448
|
} | undefined;
|
|
449
|
+
chainRanking?: {
|
|
450
|
+
chainId: `${string}:${string}`;
|
|
451
|
+
name: string;
|
|
452
|
+
}[] | undefined;
|
|
453
453
|
};
|
|
454
454
|
memoizedResultFunc: ((resultFuncArgs_0: any) => {
|
|
455
455
|
refreshRate: number;
|
|
@@ -471,10 +471,6 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
471
471
|
other: Record<string, string>;
|
|
472
472
|
} | undefined;
|
|
473
473
|
}>;
|
|
474
|
-
chainRanking: {
|
|
475
|
-
chainId: `${string}:${string}`;
|
|
476
|
-
name: string;
|
|
477
|
-
}[];
|
|
478
474
|
priceImpactThreshold?: {
|
|
479
475
|
gasless: number;
|
|
480
476
|
normal: number;
|
|
@@ -492,6 +488,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
492
488
|
minimumVersion: string;
|
|
493
489
|
enabled: boolean;
|
|
494
490
|
} | undefined;
|
|
491
|
+
chainRanking?: {
|
|
492
|
+
chainId: `${string}:${string}`;
|
|
493
|
+
name: string;
|
|
494
|
+
}[] | undefined;
|
|
495
495
|
}) & {
|
|
496
496
|
clearCache: () => void;
|
|
497
497
|
resultsCount: () => number;
|
|
@@ -517,10 +517,6 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
517
517
|
other: Record<string, string>;
|
|
518
518
|
} | undefined;
|
|
519
519
|
}>;
|
|
520
|
-
chainRanking: {
|
|
521
|
-
chainId: `${string}:${string}`;
|
|
522
|
-
name: string;
|
|
523
|
-
}[];
|
|
524
520
|
priceImpactThreshold?: {
|
|
525
521
|
gasless: number;
|
|
526
522
|
normal: number;
|
|
@@ -538,6 +534,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
538
534
|
minimumVersion: string;
|
|
539
535
|
enabled: boolean;
|
|
540
536
|
} | undefined;
|
|
537
|
+
chainRanking?: {
|
|
538
|
+
chainId: `${string}:${string}`;
|
|
539
|
+
name: string;
|
|
540
|
+
}[] | undefined;
|
|
541
541
|
};
|
|
542
542
|
dependencies: [(state: RemoteFeatureFlagControllerState) => unknown];
|
|
543
543
|
recomputations: () => number;
|
|
@@ -584,10 +584,6 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
584
584
|
other: Record<string, string>;
|
|
585
585
|
} | undefined;
|
|
586
586
|
}>;
|
|
587
|
-
chainRanking: {
|
|
588
|
-
chainId: `${string}:${string}`;
|
|
589
|
-
name: string;
|
|
590
|
-
}[];
|
|
591
587
|
priceImpactThreshold?: {
|
|
592
588
|
gasless: number;
|
|
593
589
|
normal: number;
|
|
@@ -605,6 +601,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
605
601
|
minimumVersion: string;
|
|
606
602
|
enabled: boolean;
|
|
607
603
|
} | undefined;
|
|
604
|
+
chainRanking?: {
|
|
605
|
+
chainId: `${string}:${string}`;
|
|
606
|
+
name: string;
|
|
607
|
+
}[] | undefined;
|
|
608
608
|
}, resultFuncArgs_1: string | number | undefined) => number;
|
|
609
609
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
610
610
|
refreshRate: number;
|
|
@@ -626,10 +626,6 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
626
626
|
other: Record<string, string>;
|
|
627
627
|
} | undefined;
|
|
628
628
|
}>;
|
|
629
|
-
chainRanking: {
|
|
630
|
-
chainId: `${string}:${string}`;
|
|
631
|
-
name: string;
|
|
632
|
-
}[];
|
|
633
629
|
priceImpactThreshold?: {
|
|
634
630
|
gasless: number;
|
|
635
631
|
normal: number;
|
|
@@ -647,6 +643,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
647
643
|
minimumVersion: string;
|
|
648
644
|
enabled: boolean;
|
|
649
645
|
} | undefined;
|
|
646
|
+
chainRanking?: {
|
|
647
|
+
chainId: `${string}:${string}`;
|
|
648
|
+
name: string;
|
|
649
|
+
}[] | undefined;
|
|
650
650
|
}, resultFuncArgs_1: string | number | undefined) => number) & {
|
|
651
651
|
clearCache: () => void;
|
|
652
652
|
resultsCount: () => number;
|
|
@@ -673,10 +673,6 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
673
673
|
other: Record<string, string>;
|
|
674
674
|
} | undefined;
|
|
675
675
|
}>;
|
|
676
|
-
chainRanking: {
|
|
677
|
-
chainId: `${string}:${string}`;
|
|
678
|
-
name: string;
|
|
679
|
-
}[];
|
|
680
676
|
priceImpactThreshold?: {
|
|
681
677
|
gasless: number;
|
|
682
678
|
normal: number;
|
|
@@ -694,6 +690,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
694
690
|
minimumVersion: string;
|
|
695
691
|
enabled: boolean;
|
|
696
692
|
} | undefined;
|
|
693
|
+
chainRanking?: {
|
|
694
|
+
chainId: `${string}:${string}`;
|
|
695
|
+
name: string;
|
|
696
|
+
}[] | undefined;
|
|
697
697
|
}) & {
|
|
698
698
|
clearCache: () => void;
|
|
699
699
|
resultsCount: () => number;
|
|
@@ -719,10 +719,6 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
719
719
|
other: Record<string, string>;
|
|
720
720
|
} | undefined;
|
|
721
721
|
}>;
|
|
722
|
-
chainRanking: {
|
|
723
|
-
chainId: `${string}:${string}`;
|
|
724
|
-
name: string;
|
|
725
|
-
}[];
|
|
726
722
|
priceImpactThreshold?: {
|
|
727
723
|
gasless: number;
|
|
728
724
|
normal: number;
|
|
@@ -740,6 +736,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
740
736
|
minimumVersion: string;
|
|
741
737
|
enabled: boolean;
|
|
742
738
|
} | undefined;
|
|
739
|
+
chainRanking?: {
|
|
740
|
+
chainId: `${string}:${string}`;
|
|
741
|
+
name: string;
|
|
742
|
+
}[] | undefined;
|
|
743
743
|
};
|
|
744
744
|
memoizedResultFunc: ((resultFuncArgs_0: any) => {
|
|
745
745
|
refreshRate: number;
|
|
@@ -761,10 +761,6 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
761
761
|
other: Record<string, string>;
|
|
762
762
|
} | undefined;
|
|
763
763
|
}>;
|
|
764
|
-
chainRanking: {
|
|
765
|
-
chainId: `${string}:${string}`;
|
|
766
|
-
name: string;
|
|
767
|
-
}[];
|
|
768
764
|
priceImpactThreshold?: {
|
|
769
765
|
gasless: number;
|
|
770
766
|
normal: number;
|
|
@@ -782,6 +778,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
782
778
|
minimumVersion: string;
|
|
783
779
|
enabled: boolean;
|
|
784
780
|
} | undefined;
|
|
781
|
+
chainRanking?: {
|
|
782
|
+
chainId: `${string}:${string}`;
|
|
783
|
+
name: string;
|
|
784
|
+
}[] | undefined;
|
|
785
785
|
}) & {
|
|
786
786
|
clearCache: () => void;
|
|
787
787
|
resultsCount: () => number;
|
|
@@ -807,10 +807,6 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
807
807
|
other: Record<string, string>;
|
|
808
808
|
} | undefined;
|
|
809
809
|
}>;
|
|
810
|
-
chainRanking: {
|
|
811
|
-
chainId: `${string}:${string}`;
|
|
812
|
-
name: string;
|
|
813
|
-
}[];
|
|
814
810
|
priceImpactThreshold?: {
|
|
815
811
|
gasless: number;
|
|
816
812
|
normal: number;
|
|
@@ -828,6 +824,10 @@ export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerS
|
|
|
828
824
|
minimumVersion: string;
|
|
829
825
|
enabled: boolean;
|
|
830
826
|
} | undefined;
|
|
827
|
+
chainRanking?: {
|
|
828
|
+
chainId: `${string}:${string}`;
|
|
829
|
+
name: string;
|
|
830
|
+
}[] | undefined;
|
|
831
831
|
};
|
|
832
832
|
dependencies: [(state: RemoteFeatureFlagControllerState) => unknown];
|
|
833
833
|
recomputations: () => number;
|
|
@@ -20782,10 +20782,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
20782
20782
|
other: Record<string, string>;
|
|
20783
20783
|
} | undefined;
|
|
20784
20784
|
}>;
|
|
20785
|
-
chainRanking: {
|
|
20786
|
-
chainId: `${string}:${string}`;
|
|
20787
|
-
name: string;
|
|
20788
|
-
}[];
|
|
20789
20785
|
priceImpactThreshold?: {
|
|
20790
20786
|
gasless: number;
|
|
20791
20787
|
normal: number;
|
|
@@ -20803,6 +20799,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
20803
20799
|
minimumVersion: string;
|
|
20804
20800
|
enabled: boolean;
|
|
20805
20801
|
} | undefined;
|
|
20802
|
+
chainRanking?: {
|
|
20803
|
+
chainId: `${string}:${string}`;
|
|
20804
|
+
name: string;
|
|
20805
|
+
}[] | undefined;
|
|
20806
20806
|
}, resultFuncArgs_1: boolean | undefined, resultFuncArgs_2: number) => boolean;
|
|
20807
20807
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
20808
20808
|
refreshRate: number;
|
|
@@ -20824,10 +20824,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
20824
20824
|
other: Record<string, string>;
|
|
20825
20825
|
} | undefined;
|
|
20826
20826
|
}>;
|
|
20827
|
-
chainRanking: {
|
|
20828
|
-
chainId: `${string}:${string}`;
|
|
20829
|
-
name: string;
|
|
20830
|
-
}[];
|
|
20831
20827
|
priceImpactThreshold?: {
|
|
20832
20828
|
gasless: number;
|
|
20833
20829
|
normal: number;
|
|
@@ -20845,6 +20841,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
20845
20841
|
minimumVersion: string;
|
|
20846
20842
|
enabled: boolean;
|
|
20847
20843
|
} | undefined;
|
|
20844
|
+
chainRanking?: {
|
|
20845
|
+
chainId: `${string}:${string}`;
|
|
20846
|
+
name: string;
|
|
20847
|
+
}[] | undefined;
|
|
20848
20848
|
}, resultFuncArgs_1: boolean | undefined, resultFuncArgs_2: number) => boolean) & {
|
|
20849
20849
|
clearCache: () => void;
|
|
20850
20850
|
resultsCount: () => number;
|
|
@@ -20871,10 +20871,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
20871
20871
|
other: Record<string, string>;
|
|
20872
20872
|
} | undefined;
|
|
20873
20873
|
}>;
|
|
20874
|
-
chainRanking: {
|
|
20875
|
-
chainId: `${string}:${string}`;
|
|
20876
|
-
name: string;
|
|
20877
|
-
}[];
|
|
20878
20874
|
priceImpactThreshold?: {
|
|
20879
20875
|
gasless: number;
|
|
20880
20876
|
normal: number;
|
|
@@ -20892,6 +20888,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
20892
20888
|
minimumVersion: string;
|
|
20893
20889
|
enabled: boolean;
|
|
20894
20890
|
} | undefined;
|
|
20891
|
+
chainRanking?: {
|
|
20892
|
+
chainId: `${string}:${string}`;
|
|
20893
|
+
name: string;
|
|
20894
|
+
}[] | undefined;
|
|
20895
20895
|
}) & {
|
|
20896
20896
|
clearCache: () => void;
|
|
20897
20897
|
resultsCount: () => number;
|
|
@@ -20917,10 +20917,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
20917
20917
|
other: Record<string, string>;
|
|
20918
20918
|
} | undefined;
|
|
20919
20919
|
}>;
|
|
20920
|
-
chainRanking: {
|
|
20921
|
-
chainId: `${string}:${string}`;
|
|
20922
|
-
name: string;
|
|
20923
|
-
}[];
|
|
20924
20920
|
priceImpactThreshold?: {
|
|
20925
20921
|
gasless: number;
|
|
20926
20922
|
normal: number;
|
|
@@ -20938,6 +20934,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
20938
20934
|
minimumVersion: string;
|
|
20939
20935
|
enabled: boolean;
|
|
20940
20936
|
} | undefined;
|
|
20937
|
+
chainRanking?: {
|
|
20938
|
+
chainId: `${string}:${string}`;
|
|
20939
|
+
name: string;
|
|
20940
|
+
}[] | undefined;
|
|
20941
20941
|
};
|
|
20942
20942
|
memoizedResultFunc: ((resultFuncArgs_0: any) => {
|
|
20943
20943
|
refreshRate: number;
|
|
@@ -20959,10 +20959,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
20959
20959
|
other: Record<string, string>;
|
|
20960
20960
|
} | undefined;
|
|
20961
20961
|
}>;
|
|
20962
|
-
chainRanking: {
|
|
20963
|
-
chainId: `${string}:${string}`;
|
|
20964
|
-
name: string;
|
|
20965
|
-
}[];
|
|
20966
20962
|
priceImpactThreshold?: {
|
|
20967
20963
|
gasless: number;
|
|
20968
20964
|
normal: number;
|
|
@@ -20980,6 +20976,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
20980
20976
|
minimumVersion: string;
|
|
20981
20977
|
enabled: boolean;
|
|
20982
20978
|
} | undefined;
|
|
20979
|
+
chainRanking?: {
|
|
20980
|
+
chainId: `${string}:${string}`;
|
|
20981
|
+
name: string;
|
|
20982
|
+
}[] | undefined;
|
|
20983
20983
|
}) & {
|
|
20984
20984
|
clearCache: () => void;
|
|
20985
20985
|
resultsCount: () => number;
|
|
@@ -21005,10 +21005,6 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
21005
21005
|
other: Record<string, string>;
|
|
21006
21006
|
} | undefined;
|
|
21007
21007
|
}>;
|
|
21008
|
-
chainRanking: {
|
|
21009
|
-
chainId: `${string}:${string}`;
|
|
21010
|
-
name: string;
|
|
21011
|
-
}[];
|
|
21012
21008
|
priceImpactThreshold?: {
|
|
21013
21009
|
gasless: number;
|
|
21014
21010
|
normal: number;
|
|
@@ -21026,6 +21022,10 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
|
|
|
21026
21022
|
minimumVersion: string;
|
|
21027
21023
|
enabled: boolean;
|
|
21028
21024
|
} | undefined;
|
|
21025
|
+
chainRanking?: {
|
|
21026
|
+
chainId: `${string}:${string}`;
|
|
21027
|
+
name: string;
|
|
21028
|
+
}[] | undefined;
|
|
21029
21029
|
};
|
|
21030
21030
|
dependencies: [(state: RemoteFeatureFlagControllerState) => unknown];
|
|
21031
21031
|
recomputations: () => number;
|