@metamask-previews/bridge-controller 67.4.0-preview-685dbf46b → 68.0.0-preview-bc00f2c

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.
@@ -15,6 +15,19 @@ type RemoteFeatureFlagControllerState = {
15
15
  bridgeConfig: unknown;
16
16
  };
17
17
  };
18
+ /**
19
+ * Minimal shape required for exchange-rate lookups (used by getExchangeRateByChainIdAndAddress).
20
+ * Uses types from assets-controllers; marketData and conversionRates also accept the bridge format.
21
+ */
22
+ export type ExchangeRateSourcesForLookup = Pick<BridgeControllerState, 'assetExchangeRates'> & Partial<Pick<CurrencyRateState, 'currencyRates'>> & Partial<Pick<MultichainAssetsRatesControllerState, 'historicalPrices'>> & {
23
+ marketData?: TokenRatesControllerState['marketData'] | Record<string, Record<string, {
24
+ price?: number;
25
+ currency?: string;
26
+ }>>;
27
+ conversionRates?: MultichainAssetsRatesControllerState['conversionRates'] | Record<string, {
28
+ rate: string;
29
+ }>;
30
+ };
18
31
  export type BridgeAppState = BridgeControllerState & {
19
32
  gasFeeEstimatesByChainId: GasFeeEstimatesByChainId;
20
33
  } & ExchangeRateControllerState & {
@@ -248,7 +261,7 @@ export declare const selectExchangeRateByChainIdAndAddress: (state: BridgeAppSta
248
261
  * @param params The parameters to pass to {@link getExchangeRateByChainIdAndAddress}
249
262
  * @returns Whether an exchange rate is available for the given chain and address
250
263
  */
251
- export declare const selectIsAssetExchangeRateInState: (exchangeRateSources: ExchangeRateControllerState, chainId?: string | number | undefined, rawAddress?: string | undefined) => boolean;
264
+ export declare const selectIsAssetExchangeRateInState: (exchangeRateSources: ExchangeRateSourcesForLookup, chainId?: string | number | undefined, rawAddress?: string | undefined) => boolean;
252
265
  export declare const selectIsQuoteExpired: ((state: RemoteFeatureFlagControllerState & BridgeControllerState & {
253
266
  gasFeeEstimatesByChainId: GasFeeEstimatesByChainId;
254
267
  } & MultichainAssetsRatesControllerState & TokenRatesControllerState & CurrencyRateState & Pick<BridgeControllerState, "assetExchangeRates"> & {
@@ -1027,8 +1040,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
1027
1040
  buyAmount?: string | undefined;
1028
1041
  from?: string | undefined;
1029
1042
  };
1043
+ typedData: {
1044
+ types: Record<string, {
1045
+ name: string;
1046
+ type: string;
1047
+ }[]>;
1048
+ primaryType: string;
1049
+ domain: Record<string, any>;
1050
+ message: Record<string, any>;
1051
+ };
1030
1052
  settlementContract?: string | undefined;
1031
- relayer?: string | undefined;
1032
1053
  } | undefined;
1033
1054
  gasSponsored?: boolean | undefined;
1034
1055
  };
@@ -1272,8 +1293,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
1272
1293
  buyAmount?: string | undefined;
1273
1294
  from?: string | undefined;
1274
1295
  };
1296
+ typedData: {
1297
+ types: Record<string, {
1298
+ name: string;
1299
+ type: string;
1300
+ }[]>;
1301
+ primaryType: string;
1302
+ domain: Record<string, any>;
1303
+ message: Record<string, any>;
1304
+ };
1275
1305
  settlementContract?: string | undefined;
1276
- relayer?: string | undefined;
1277
1306
  } | undefined;
1278
1307
  gasSponsored?: boolean | undefined;
1279
1308
  };
@@ -1517,8 +1546,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
1517
1546
  buyAmount?: string | undefined;
1518
1547
  from?: string | undefined;
1519
1548
  };
1549
+ typedData: {
1550
+ types: Record<string, {
1551
+ name: string;
1552
+ type: string;
1553
+ }[]>;
1554
+ primaryType: string;
1555
+ domain: Record<string, any>;
1556
+ message: Record<string, any>;
1557
+ };
1520
1558
  settlementContract?: string | undefined;
1521
- relayer?: string | undefined;
1522
1559
  } | undefined;
1523
1560
  gasSponsored?: boolean | undefined;
1524
1561
  };
@@ -1773,8 +1810,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
1773
1810
  buyAmount?: string | undefined;
1774
1811
  from?: string | undefined;
1775
1812
  };
1813
+ typedData: {
1814
+ types: Record<string, {
1815
+ name: string;
1816
+ type: string;
1817
+ }[]>;
1818
+ primaryType: string;
1819
+ domain: Record<string, any>;
1820
+ message: Record<string, any>;
1821
+ };
1776
1822
  settlementContract?: string | undefined;
1777
- relayer?: string | undefined;
1778
1823
  } | undefined;
1779
1824
  gasSponsored?: boolean | undefined;
1780
1825
  };
@@ -2017,8 +2062,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
2017
2062
  buyAmount?: string | undefined;
2018
2063
  from?: string | undefined;
2019
2064
  };
2065
+ typedData: {
2066
+ types: Record<string, {
2067
+ name: string;
2068
+ type: string;
2069
+ }[]>;
2070
+ primaryType: string;
2071
+ domain: Record<string, any>;
2072
+ message: Record<string, any>;
2073
+ };
2020
2074
  settlementContract?: string | undefined;
2021
- relayer?: string | undefined;
2022
2075
  } | undefined;
2023
2076
  gasSponsored?: boolean | undefined;
2024
2077
  };
@@ -2261,8 +2314,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
2261
2314
  buyAmount?: string | undefined;
2262
2315
  from?: string | undefined;
2263
2316
  };
2317
+ typedData: {
2318
+ types: Record<string, {
2319
+ name: string;
2320
+ type: string;
2321
+ }[]>;
2322
+ primaryType: string;
2323
+ domain: Record<string, any>;
2324
+ message: Record<string, any>;
2325
+ };
2264
2326
  settlementContract?: string | undefined;
2265
- relayer?: string | undefined;
2266
2327
  } | undefined;
2267
2328
  gasSponsored?: boolean | undefined;
2268
2329
  };
@@ -2506,8 +2567,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
2506
2567
  buyAmount?: string | undefined;
2507
2568
  from?: string | undefined;
2508
2569
  };
2570
+ typedData: {
2571
+ types: Record<string, {
2572
+ name: string;
2573
+ type: string;
2574
+ }[]>;
2575
+ primaryType: string;
2576
+ domain: Record<string, any>;
2577
+ message: Record<string, any>;
2578
+ };
2509
2579
  settlementContract?: string | undefined;
2510
- relayer?: string | undefined;
2511
2580
  } | undefined;
2512
2581
  gasSponsored?: boolean | undefined;
2513
2582
  };
@@ -2751,8 +2820,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
2751
2820
  buyAmount?: string | undefined;
2752
2821
  from?: string | undefined;
2753
2822
  };
2823
+ typedData: {
2824
+ types: Record<string, {
2825
+ name: string;
2826
+ type: string;
2827
+ }[]>;
2828
+ primaryType: string;
2829
+ domain: Record<string, any>;
2830
+ message: Record<string, any>;
2831
+ };
2754
2832
  settlementContract?: string | undefined;
2755
- relayer?: string | undefined;
2756
2833
  } | undefined;
2757
2834
  gasSponsored?: boolean | undefined;
2758
2835
  };
@@ -2996,8 +3073,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
2996
3073
  buyAmount?: string | undefined;
2997
3074
  from?: string | undefined;
2998
3075
  };
3076
+ typedData: {
3077
+ types: Record<string, {
3078
+ name: string;
3079
+ type: string;
3080
+ }[]>;
3081
+ primaryType: string;
3082
+ domain: Record<string, any>;
3083
+ message: Record<string, any>;
3084
+ };
2999
3085
  settlementContract?: string | undefined;
3000
- relayer?: string | undefined;
3001
3086
  } | undefined;
3002
3087
  gasSponsored?: boolean | undefined;
3003
3088
  };
@@ -3248,8 +3333,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
3248
3333
  buyAmount?: string | undefined;
3249
3334
  from?: string | undefined;
3250
3335
  };
3336
+ typedData: {
3337
+ types: Record<string, {
3338
+ name: string;
3339
+ type: string;
3340
+ }[]>;
3341
+ primaryType: string;
3342
+ domain: Record<string, any>;
3343
+ message: Record<string, any>;
3344
+ };
3251
3345
  settlementContract?: string | undefined;
3252
- relayer?: string | undefined;
3253
3346
  } | undefined;
3254
3347
  gasSponsored?: boolean | undefined;
3255
3348
  };
@@ -3492,8 +3585,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
3492
3585
  buyAmount?: string | undefined;
3493
3586
  from?: string | undefined;
3494
3587
  };
3588
+ typedData: {
3589
+ types: Record<string, {
3590
+ name: string;
3591
+ type: string;
3592
+ }[]>;
3593
+ primaryType: string;
3594
+ domain: Record<string, any>;
3595
+ message: Record<string, any>;
3596
+ };
3495
3597
  settlementContract?: string | undefined;
3496
- relayer?: string | undefined;
3497
3598
  } | undefined;
3498
3599
  gasSponsored?: boolean | undefined;
3499
3600
  };
@@ -3736,8 +3837,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
3736
3837
  buyAmount?: string | undefined;
3737
3838
  from?: string | undefined;
3738
3839
  };
3840
+ typedData: {
3841
+ types: Record<string, {
3842
+ name: string;
3843
+ type: string;
3844
+ }[]>;
3845
+ primaryType: string;
3846
+ domain: Record<string, any>;
3847
+ message: Record<string, any>;
3848
+ };
3739
3849
  settlementContract?: string | undefined;
3740
- relayer?: string | undefined;
3741
3850
  } | undefined;
3742
3851
  gasSponsored?: boolean | undefined;
3743
3852
  };
@@ -3981,8 +4090,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
3981
4090
  buyAmount?: string | undefined;
3982
4091
  from?: string | undefined;
3983
4092
  };
4093
+ typedData: {
4094
+ types: Record<string, {
4095
+ name: string;
4096
+ type: string;
4097
+ }[]>;
4098
+ primaryType: string;
4099
+ domain: Record<string, any>;
4100
+ message: Record<string, any>;
4101
+ };
3984
4102
  settlementContract?: string | undefined;
3985
- relayer?: string | undefined;
3986
4103
  } | undefined;
3987
4104
  gasSponsored?: boolean | undefined;
3988
4105
  };
@@ -4226,8 +4343,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
4226
4343
  buyAmount?: string | undefined;
4227
4344
  from?: string | undefined;
4228
4345
  };
4346
+ typedData: {
4347
+ types: Record<string, {
4348
+ name: string;
4349
+ type: string;
4350
+ }[]>;
4351
+ primaryType: string;
4352
+ domain: Record<string, any>;
4353
+ message: Record<string, any>;
4354
+ };
4229
4355
  settlementContract?: string | undefined;
4230
- relayer?: string | undefined;
4231
4356
  } | undefined;
4232
4357
  gasSponsored?: boolean | undefined;
4233
4358
  };
@@ -4471,8 +4596,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
4471
4596
  buyAmount?: string | undefined;
4472
4597
  from?: string | undefined;
4473
4598
  };
4599
+ typedData: {
4600
+ types: Record<string, {
4601
+ name: string;
4602
+ type: string;
4603
+ }[]>;
4604
+ primaryType: string;
4605
+ domain: Record<string, any>;
4606
+ message: Record<string, any>;
4607
+ };
4474
4608
  settlementContract?: string | undefined;
4475
- relayer?: string | undefined;
4476
4609
  } | undefined;
4477
4610
  gasSponsored?: boolean | undefined;
4478
4611
  };
@@ -4728,8 +4861,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
4728
4861
  buyAmount?: string | undefined;
4729
4862
  from?: string | undefined;
4730
4863
  };
4864
+ typedData: {
4865
+ types: Record<string, {
4866
+ name: string;
4867
+ type: string;
4868
+ }[]>;
4869
+ primaryType: string;
4870
+ domain: Record<string, any>;
4871
+ message: Record<string, any>;
4872
+ };
4731
4873
  settlementContract?: string | undefined;
4732
- relayer?: string | undefined;
4733
4874
  } | undefined;
4734
4875
  gasSponsored?: boolean | undefined;
4735
4876
  };
@@ -4973,8 +5114,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
4973
5114
  buyAmount?: string | undefined;
4974
5115
  from?: string | undefined;
4975
5116
  };
5117
+ typedData: {
5118
+ types: Record<string, {
5119
+ name: string;
5120
+ type: string;
5121
+ }[]>;
5122
+ primaryType: string;
5123
+ domain: Record<string, any>;
5124
+ message: Record<string, any>;
5125
+ };
4976
5126
  settlementContract?: string | undefined;
4977
- relayer?: string | undefined;
4978
5127
  } | undefined;
4979
5128
  gasSponsored?: boolean | undefined;
4980
5129
  };
@@ -5218,8 +5367,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
5218
5367
  buyAmount?: string | undefined;
5219
5368
  from?: string | undefined;
5220
5369
  };
5370
+ typedData: {
5371
+ types: Record<string, {
5372
+ name: string;
5373
+ type: string;
5374
+ }[]>;
5375
+ primaryType: string;
5376
+ domain: Record<string, any>;
5377
+ message: Record<string, any>;
5378
+ };
5221
5379
  settlementContract?: string | undefined;
5222
- relayer?: string | undefined;
5223
5380
  } | undefined;
5224
5381
  gasSponsored?: boolean | undefined;
5225
5382
  };
@@ -5474,8 +5631,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
5474
5631
  buyAmount?: string | undefined;
5475
5632
  from?: string | undefined;
5476
5633
  };
5634
+ typedData: {
5635
+ types: Record<string, {
5636
+ name: string;
5637
+ type: string;
5638
+ }[]>;
5639
+ primaryType: string;
5640
+ domain: Record<string, any>;
5641
+ message: Record<string, any>;
5642
+ };
5477
5643
  settlementContract?: string | undefined;
5478
- relayer?: string | undefined;
5479
5644
  } | undefined;
5480
5645
  gasSponsored?: boolean | undefined;
5481
5646
  };
@@ -5613,11 +5778,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
5613
5778
  */
5614
5779
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
5615
5780
  adjustedReturn: {
5616
- valueInCurrency: string | null; /**
5617
- This is the amount required to submit the transactions
5618
- Includes the relayer fee or other native fees
5619
- Should be used for balance checks and tx submission.
5620
- */
5781
+ valueInCurrency: string | null;
5621
5782
  usd: string | null;
5622
5783
  };
5623
5784
  cost: {
@@ -5777,8 +5938,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
5777
5938
  buyAmount?: string | undefined;
5778
5939
  from?: string | undefined;
5779
5940
  };
5941
+ typedData: {
5942
+ types: Record<string, {
5943
+ name: string;
5944
+ type: string;
5945
+ }[]>;
5946
+ primaryType: string;
5947
+ domain: Record<string, any>;
5948
+ message: Record<string, any>;
5949
+ };
5780
5950
  settlementContract?: string | undefined;
5781
- relayer?: string | undefined;
5782
5951
  } | undefined;
5783
5952
  gasSponsored?: boolean | undefined;
5784
5953
  };
@@ -5983,8 +6152,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
5983
6152
  buyAmount?: string | undefined;
5984
6153
  from?: string | undefined;
5985
6154
  };
6155
+ typedData: {
6156
+ types: Record<string, {
6157
+ name: string;
6158
+ type: string;
6159
+ }[]>;
6160
+ primaryType: string;
6161
+ domain: Record<string, any>;
6162
+ message: Record<string, any>;
6163
+ };
5986
6164
  settlementContract?: string | undefined;
5987
- relayer?: string | undefined;
5988
6165
  } | undefined;
5989
6166
  gasSponsored?: boolean | undefined;
5990
6167
  };
@@ -6118,11 +6295,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
6118
6295
  */
6119
6296
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
6120
6297
  adjustedReturn: {
6121
- valueInCurrency: string | null; /**
6122
- This is the amount required to submit the transactions
6123
- Includes the relayer fee or other native fees
6124
- Should be used for balance checks and tx submission.
6125
- */
6298
+ valueInCurrency: string | null;
6126
6299
  usd: string | null;
6127
6300
  };
6128
6301
  cost: {
@@ -6282,8 +6455,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
6282
6455
  buyAmount?: string | undefined;
6283
6456
  from?: string | undefined;
6284
6457
  };
6458
+ typedData: {
6459
+ types: Record<string, {
6460
+ name: string;
6461
+ type: string;
6462
+ }[]>;
6463
+ primaryType: string;
6464
+ domain: Record<string, any>;
6465
+ message: Record<string, any>;
6466
+ };
6285
6467
  settlementContract?: string | undefined;
6286
- relayer?: string | undefined;
6287
6468
  } | undefined;
6288
6469
  gasSponsored?: boolean | undefined;
6289
6470
  };
@@ -6488,8 +6669,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
6488
6669
  buyAmount?: string | undefined;
6489
6670
  from?: string | undefined;
6490
6671
  };
6672
+ typedData: {
6673
+ types: Record<string, {
6674
+ name: string;
6675
+ type: string;
6676
+ }[]>;
6677
+ primaryType: string;
6678
+ domain: Record<string, any>;
6679
+ message: Record<string, any>;
6680
+ };
6491
6681
  settlementContract?: string | undefined;
6492
- relayer?: string | undefined;
6493
6682
  } | undefined;
6494
6683
  gasSponsored?: boolean | undefined;
6495
6684
  };
@@ -6737,8 +6926,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
6737
6926
  buyAmount?: string | undefined;
6738
6927
  from?: string | undefined;
6739
6928
  };
6929
+ typedData: {
6930
+ types: Record<string, {
6931
+ name: string;
6932
+ type: string;
6933
+ }[]>;
6934
+ primaryType: string;
6935
+ domain: Record<string, any>;
6936
+ message: Record<string, any>;
6937
+ };
6740
6938
  settlementContract?: string | undefined;
6741
- relayer?: string | undefined;
6742
6939
  } | undefined;
6743
6940
  gasSponsored?: boolean | undefined;
6744
6941
  };
@@ -6876,11 +7073,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
6876
7073
  */
6877
7074
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
6878
7075
  adjustedReturn: {
6879
- valueInCurrency: string | null; /**
6880
- This is the amount required to submit the transactions
6881
- Includes the relayer fee or other native fees
6882
- Should be used for balance checks and tx submission.
6883
- */
7076
+ valueInCurrency: string | null;
6884
7077
  usd: string | null;
6885
7078
  };
6886
7079
  cost: {
@@ -7040,8 +7233,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
7040
7233
  buyAmount?: string | undefined;
7041
7234
  from?: string | undefined;
7042
7235
  };
7236
+ typedData: {
7237
+ types: Record<string, {
7238
+ name: string;
7239
+ type: string;
7240
+ }[]>;
7241
+ primaryType: string;
7242
+ domain: Record<string, any>;
7243
+ message: Record<string, any>;
7244
+ };
7043
7245
  settlementContract?: string | undefined;
7044
- relayer?: string | undefined;
7045
7246
  } | undefined;
7046
7247
  gasSponsored?: boolean | undefined;
7047
7248
  };
@@ -7251,8 +7452,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
7251
7452
  buyAmount?: string | undefined;
7252
7453
  from?: string | undefined;
7253
7454
  };
7455
+ typedData: {
7456
+ types: Record<string, {
7457
+ name: string;
7458
+ type: string;
7459
+ }[]>;
7460
+ primaryType: string;
7461
+ domain: Record<string, any>;
7462
+ message: Record<string, any>;
7463
+ };
7254
7464
  settlementContract?: string | undefined;
7255
- relayer?: string | undefined;
7256
7465
  } | undefined;
7257
7466
  gasSponsored?: boolean | undefined;
7258
7467
  };
@@ -7389,11 +7598,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
7389
7598
  */
7390
7599
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
7391
7600
  adjustedReturn: {
7392
- valueInCurrency: string | null; /**
7393
- This is the amount required to submit the transactions
7394
- Includes the relayer fee or other native fees
7395
- Should be used for balance checks and tx submission.
7396
- */
7601
+ valueInCurrency: string | null;
7397
7602
  usd: string | null;
7398
7603
  };
7399
7604
  cost: {
@@ -7553,8 +7758,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
7553
7758
  buyAmount?: string | undefined;
7554
7759
  from?: string | undefined;
7555
7760
  };
7761
+ typedData: {
7762
+ types: Record<string, {
7763
+ name: string;
7764
+ type: string;
7765
+ }[]>;
7766
+ primaryType: string;
7767
+ domain: Record<string, any>;
7768
+ message: Record<string, any>;
7769
+ };
7556
7770
  settlementContract?: string | undefined;
7557
- relayer?: string | undefined;
7558
7771
  } | undefined;
7559
7772
  gasSponsored?: boolean | undefined;
7560
7773
  };
@@ -7760,8 +7973,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
7760
7973
  buyAmount?: string | undefined;
7761
7974
  from?: string | undefined;
7762
7975
  };
7976
+ typedData: {
7977
+ types: Record<string, {
7978
+ name: string;
7979
+ type: string;
7980
+ }[]>;
7981
+ primaryType: string;
7982
+ domain: Record<string, any>;
7983
+ message: Record<string, any>;
7984
+ };
7763
7985
  settlementContract?: string | undefined;
7764
- relayer?: string | undefined;
7765
7986
  } | undefined;
7766
7987
  gasSponsored?: boolean | undefined;
7767
7988
  };
@@ -7898,11 +8119,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
7898
8119
  */
7899
8120
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
7900
8121
  adjustedReturn: {
7901
- valueInCurrency: string | null; /**
7902
- This is the amount required to submit the transactions
7903
- Includes the relayer fee or other native fees
7904
- Should be used for balance checks and tx submission.
7905
- */
8122
+ valueInCurrency: string | null;
7906
8123
  usd: string | null;
7907
8124
  };
7908
8125
  cost: {
@@ -8062,8 +8279,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
8062
8279
  buyAmount?: string | undefined;
8063
8280
  from?: string | undefined;
8064
8281
  };
8282
+ typedData: {
8283
+ types: Record<string, {
8284
+ name: string;
8285
+ type: string;
8286
+ }[]>;
8287
+ primaryType: string;
8288
+ domain: Record<string, any>;
8289
+ message: Record<string, any>;
8290
+ };
8065
8291
  settlementContract?: string | undefined;
8066
- relayer?: string | undefined;
8067
8292
  } | undefined;
8068
8293
  gasSponsored?: boolean | undefined;
8069
8294
  };
@@ -8163,11 +8388,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
8163
8388
  */
8164
8389
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
8165
8390
  adjustedReturn: {
8166
- valueInCurrency: string | null; /**
8167
- This is the amount required to submit the transactions
8168
- Includes the relayer fee or other native fees
8169
- Should be used for balance checks and tx submission.
8170
- */
8391
+ valueInCurrency: string | null;
8171
8392
  usd: string | null;
8172
8393
  };
8173
8394
  cost: {
@@ -8327,8 +8548,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
8327
8548
  buyAmount?: string | undefined;
8328
8549
  from?: string | undefined;
8329
8550
  };
8551
+ typedData: {
8552
+ types: Record<string, {
8553
+ name: string;
8554
+ type: string;
8555
+ }[]>;
8556
+ primaryType: string;
8557
+ domain: Record<string, any>;
8558
+ message: Record<string, any>;
8559
+ };
8330
8560
  settlementContract?: string | undefined;
8331
- relayer?: string | undefined;
8332
8561
  } | undefined;
8333
8562
  gasSponsored?: boolean | undefined;
8334
8563
  };
@@ -8534,8 +8763,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
8534
8763
  buyAmount?: string | undefined;
8535
8764
  from?: string | undefined;
8536
8765
  };
8766
+ typedData: {
8767
+ types: Record<string, {
8768
+ name: string;
8769
+ type: string;
8770
+ }[]>;
8771
+ primaryType: string;
8772
+ domain: Record<string, any>;
8773
+ message: Record<string, any>;
8774
+ };
8537
8775
  settlementContract?: string | undefined;
8538
- relayer?: string | undefined;
8539
8776
  } | undefined;
8540
8777
  gasSponsored?: boolean | undefined;
8541
8778
  };
@@ -8910,8 +9147,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
8910
9147
  buyAmount?: string | undefined;
8911
9148
  from?: string | undefined;
8912
9149
  };
9150
+ typedData: {
9151
+ types: Record<string, {
9152
+ name: string;
9153
+ type: string;
9154
+ }[]>;
9155
+ primaryType: string;
9156
+ domain: Record<string, any>;
9157
+ message: Record<string, any>;
9158
+ };
8913
9159
  settlementContract?: string | undefined;
8914
- relayer?: string | undefined;
8915
9160
  } | undefined;
8916
9161
  gasSponsored?: boolean | undefined;
8917
9162
  };
@@ -9159,8 +9404,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
9159
9404
  buyAmount?: string | undefined;
9160
9405
  from?: string | undefined;
9161
9406
  };
9407
+ typedData: {
9408
+ types: Record<string, {
9409
+ name: string;
9410
+ type: string;
9411
+ }[]>;
9412
+ primaryType: string;
9413
+ domain: Record<string, any>;
9414
+ message: Record<string, any>;
9415
+ };
9162
9416
  settlementContract?: string | undefined;
9163
- relayer?: string | undefined;
9164
9417
  } | undefined;
9165
9418
  gasSponsored?: boolean | undefined;
9166
9419
  };
@@ -9403,8 +9656,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
9403
9656
  buyAmount?: string | undefined;
9404
9657
  from?: string | undefined;
9405
9658
  };
9659
+ typedData: {
9660
+ types: Record<string, {
9661
+ name: string;
9662
+ type: string;
9663
+ }[]>;
9664
+ primaryType: string;
9665
+ domain: Record<string, any>;
9666
+ message: Record<string, any>;
9667
+ };
9406
9668
  settlementContract?: string | undefined;
9407
- relayer?: string | undefined;
9408
9669
  } | undefined;
9409
9670
  gasSponsored?: boolean | undefined;
9410
9671
  };
@@ -9648,8 +9909,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
9648
9909
  buyAmount?: string | undefined;
9649
9910
  from?: string | undefined;
9650
9911
  };
9912
+ typedData: {
9913
+ types: Record<string, {
9914
+ name: string;
9915
+ type: string;
9916
+ }[]>;
9917
+ primaryType: string;
9918
+ domain: Record<string, any>;
9919
+ message: Record<string, any>;
9920
+ };
9651
9921
  settlementContract?: string | undefined;
9652
- relayer?: string | undefined;
9653
9922
  } | undefined;
9654
9923
  gasSponsored?: boolean | undefined;
9655
9924
  };
@@ -9892,8 +10161,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
9892
10161
  buyAmount?: string | undefined;
9893
10162
  from?: string | undefined;
9894
10163
  };
10164
+ typedData: {
10165
+ types: Record<string, {
10166
+ name: string;
10167
+ type: string;
10168
+ }[]>;
10169
+ primaryType: string;
10170
+ domain: Record<string, any>;
10171
+ message: Record<string, any>;
10172
+ };
9895
10173
  settlementContract?: string | undefined;
9896
- relayer?: string | undefined;
9897
10174
  } | undefined;
9898
10175
  gasSponsored?: boolean | undefined;
9899
10176
  };
@@ -10141,8 +10418,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
10141
10418
  buyAmount?: string | undefined;
10142
10419
  from?: string | undefined;
10143
10420
  };
10421
+ typedData: {
10422
+ types: Record<string, {
10423
+ name: string;
10424
+ type: string;
10425
+ }[]>;
10426
+ primaryType: string;
10427
+ domain: Record<string, any>;
10428
+ message: Record<string, any>;
10429
+ };
10144
10430
  settlementContract?: string | undefined;
10145
- relayer?: string | undefined;
10146
10431
  } | undefined;
10147
10432
  gasSponsored?: boolean | undefined;
10148
10433
  };
@@ -10390,8 +10675,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
10390
10675
  buyAmount?: string | undefined;
10391
10676
  from?: string | undefined;
10392
10677
  };
10678
+ typedData: {
10679
+ types: Record<string, {
10680
+ name: string;
10681
+ type: string;
10682
+ }[]>;
10683
+ primaryType: string;
10684
+ domain: Record<string, any>;
10685
+ message: Record<string, any>;
10686
+ };
10393
10687
  settlementContract?: string | undefined;
10394
- relayer?: string | undefined;
10395
10688
  } | undefined;
10396
10689
  gasSponsored?: boolean | undefined;
10397
10690
  };
@@ -10529,11 +10822,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
10529
10822
  */
10530
10823
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
10531
10824
  adjustedReturn: {
10532
- valueInCurrency: string | null; /**
10533
- This is the amount required to submit the transactions
10534
- Includes the relayer fee or other native fees
10535
- Should be used for balance checks and tx submission.
10536
- */
10825
+ valueInCurrency: string | null;
10537
10826
  usd: string | null;
10538
10827
  };
10539
10828
  cost: {
@@ -10693,8 +10982,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
10693
10982
  buyAmount?: string | undefined;
10694
10983
  from?: string | undefined;
10695
10984
  };
10985
+ typedData: {
10986
+ types: Record<string, {
10987
+ name: string;
10988
+ type: string;
10989
+ }[]>;
10990
+ primaryType: string;
10991
+ domain: Record<string, any>;
10992
+ message: Record<string, any>;
10993
+ };
10696
10994
  settlementContract?: string | undefined;
10697
- relayer?: string | undefined;
10698
10995
  } | undefined;
10699
10996
  gasSponsored?: boolean | undefined;
10700
10997
  };
@@ -10899,8 +11196,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
10899
11196
  buyAmount?: string | undefined;
10900
11197
  from?: string | undefined;
10901
11198
  };
11199
+ typedData: {
11200
+ types: Record<string, {
11201
+ name: string;
11202
+ type: string;
11203
+ }[]>;
11204
+ primaryType: string;
11205
+ domain: Record<string, any>;
11206
+ message: Record<string, any>;
11207
+ };
10902
11208
  settlementContract?: string | undefined;
10903
- relayer?: string | undefined;
10904
11209
  } | undefined;
10905
11210
  gasSponsored?: boolean | undefined;
10906
11211
  };
@@ -11034,11 +11339,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
11034
11339
  */
11035
11340
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
11036
11341
  adjustedReturn: {
11037
- valueInCurrency: string | null; /**
11038
- This is the amount required to submit the transactions
11039
- Includes the relayer fee or other native fees
11040
- Should be used for balance checks and tx submission.
11041
- */
11342
+ valueInCurrency: string | null;
11042
11343
  usd: string | null;
11043
11344
  };
11044
11345
  cost: {
@@ -11198,8 +11499,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
11198
11499
  buyAmount?: string | undefined;
11199
11500
  from?: string | undefined;
11200
11501
  };
11502
+ typedData: {
11503
+ types: Record<string, {
11504
+ name: string;
11505
+ type: string;
11506
+ }[]>;
11507
+ primaryType: string;
11508
+ domain: Record<string, any>;
11509
+ message: Record<string, any>;
11510
+ };
11201
11511
  settlementContract?: string | undefined;
11202
- relayer?: string | undefined;
11203
11512
  } | undefined;
11204
11513
  gasSponsored?: boolean | undefined;
11205
11514
  };
@@ -11404,8 +11713,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
11404
11713
  buyAmount?: string | undefined;
11405
11714
  from?: string | undefined;
11406
11715
  };
11716
+ typedData: {
11717
+ types: Record<string, {
11718
+ name: string;
11719
+ type: string;
11720
+ }[]>;
11721
+ primaryType: string;
11722
+ domain: Record<string, any>;
11723
+ message: Record<string, any>;
11724
+ };
11407
11725
  settlementContract?: string | undefined;
11408
- relayer?: string | undefined;
11409
11726
  } | undefined;
11410
11727
  gasSponsored?: boolean | undefined;
11411
11728
  };
@@ -11653,8 +11970,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
11653
11970
  buyAmount?: string | undefined;
11654
11971
  from?: string | undefined;
11655
11972
  };
11973
+ typedData: {
11974
+ types: Record<string, {
11975
+ name: string;
11976
+ type: string;
11977
+ }[]>;
11978
+ primaryType: string;
11979
+ domain: Record<string, any>;
11980
+ message: Record<string, any>;
11981
+ };
11656
11982
  settlementContract?: string | undefined;
11657
- relayer?: string | undefined;
11658
11983
  } | undefined;
11659
11984
  gasSponsored?: boolean | undefined;
11660
11985
  };
@@ -11792,11 +12117,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
11792
12117
  */
11793
12118
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
11794
12119
  adjustedReturn: {
11795
- valueInCurrency: string | null; /**
11796
- This is the amount required to submit the transactions
11797
- Includes the relayer fee or other native fees
11798
- Should be used for balance checks and tx submission.
11799
- */
12120
+ valueInCurrency: string | null;
11800
12121
  usd: string | null;
11801
12122
  };
11802
12123
  cost: {
@@ -11956,8 +12277,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
11956
12277
  buyAmount?: string | undefined;
11957
12278
  from?: string | undefined;
11958
12279
  };
12280
+ typedData: {
12281
+ types: Record<string, {
12282
+ name: string;
12283
+ type: string;
12284
+ }[]>;
12285
+ primaryType: string;
12286
+ domain: Record<string, any>;
12287
+ message: Record<string, any>;
12288
+ };
11959
12289
  settlementContract?: string | undefined;
11960
- relayer?: string | undefined;
11961
12290
  } | undefined;
11962
12291
  gasSponsored?: boolean | undefined;
11963
12292
  };
@@ -12167,8 +12496,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
12167
12496
  buyAmount?: string | undefined;
12168
12497
  from?: string | undefined;
12169
12498
  };
12499
+ typedData: {
12500
+ types: Record<string, {
12501
+ name: string;
12502
+ type: string;
12503
+ }[]>;
12504
+ primaryType: string;
12505
+ domain: Record<string, any>;
12506
+ message: Record<string, any>;
12507
+ };
12170
12508
  settlementContract?: string | undefined;
12171
- relayer?: string | undefined;
12172
12509
  } | undefined;
12173
12510
  gasSponsored?: boolean | undefined;
12174
12511
  };
@@ -12305,11 +12642,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
12305
12642
  */
12306
12643
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
12307
12644
  adjustedReturn: {
12308
- valueInCurrency: string | null; /**
12309
- This is the amount required to submit the transactions
12310
- Includes the relayer fee or other native fees
12311
- Should be used for balance checks and tx submission.
12312
- */
12645
+ valueInCurrency: string | null;
12313
12646
  usd: string | null;
12314
12647
  };
12315
12648
  cost: {
@@ -12469,8 +12802,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
12469
12802
  buyAmount?: string | undefined;
12470
12803
  from?: string | undefined;
12471
12804
  };
12805
+ typedData: {
12806
+ types: Record<string, {
12807
+ name: string;
12808
+ type: string;
12809
+ }[]>;
12810
+ primaryType: string;
12811
+ domain: Record<string, any>;
12812
+ message: Record<string, any>;
12813
+ };
12472
12814
  settlementContract?: string | undefined;
12473
- relayer?: string | undefined;
12474
12815
  } | undefined;
12475
12816
  gasSponsored?: boolean | undefined;
12476
12817
  };
@@ -12676,8 +13017,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
12676
13017
  buyAmount?: string | undefined;
12677
13018
  from?: string | undefined;
12678
13019
  };
13020
+ typedData: {
13021
+ types: Record<string, {
13022
+ name: string;
13023
+ type: string;
13024
+ }[]>;
13025
+ primaryType: string;
13026
+ domain: Record<string, any>;
13027
+ message: Record<string, any>;
13028
+ };
12679
13029
  settlementContract?: string | undefined;
12680
- relayer?: string | undefined;
12681
13030
  } | undefined;
12682
13031
  gasSponsored?: boolean | undefined;
12683
13032
  };
@@ -12814,11 +13163,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
12814
13163
  */
12815
13164
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
12816
13165
  adjustedReturn: {
12817
- valueInCurrency: string | null; /**
12818
- This is the amount required to submit the transactions
12819
- Includes the relayer fee or other native fees
12820
- Should be used for balance checks and tx submission.
12821
- */
13166
+ valueInCurrency: string | null;
12822
13167
  usd: string | null;
12823
13168
  };
12824
13169
  cost: {
@@ -12978,8 +13323,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
12978
13323
  buyAmount?: string | undefined;
12979
13324
  from?: string | undefined;
12980
13325
  };
13326
+ typedData: {
13327
+ types: Record<string, {
13328
+ name: string;
13329
+ type: string;
13330
+ }[]>;
13331
+ primaryType: string;
13332
+ domain: Record<string, any>;
13333
+ message: Record<string, any>;
13334
+ };
12981
13335
  settlementContract?: string | undefined;
12982
- relayer?: string | undefined;
12983
13336
  } | undefined;
12984
13337
  gasSponsored?: boolean | undefined;
12985
13338
  };
@@ -13079,11 +13432,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
13079
13432
  */
13080
13433
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
13081
13434
  adjustedReturn: {
13082
- valueInCurrency: string | null; /**
13083
- This is the amount required to submit the transactions
13084
- Includes the relayer fee or other native fees
13085
- Should be used for balance checks and tx submission.
13086
- */
13435
+ valueInCurrency: string | null;
13087
13436
  usd: string | null;
13088
13437
  };
13089
13438
  cost: {
@@ -13243,8 +13592,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
13243
13592
  buyAmount?: string | undefined;
13244
13593
  from?: string | undefined;
13245
13594
  };
13595
+ typedData: {
13596
+ types: Record<string, {
13597
+ name: string;
13598
+ type: string;
13599
+ }[]>;
13600
+ primaryType: string;
13601
+ domain: Record<string, any>;
13602
+ message: Record<string, any>;
13603
+ };
13246
13604
  settlementContract?: string | undefined;
13247
- relayer?: string | undefined;
13248
13605
  } | undefined;
13249
13606
  gasSponsored?: boolean | undefined;
13250
13607
  };
@@ -13450,8 +13807,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
13450
13807
  buyAmount?: string | undefined;
13451
13808
  from?: string | undefined;
13452
13809
  };
13810
+ typedData: {
13811
+ types: Record<string, {
13812
+ name: string;
13813
+ type: string;
13814
+ }[]>;
13815
+ primaryType: string;
13816
+ domain: Record<string, any>;
13817
+ message: Record<string, any>;
13818
+ };
13453
13819
  settlementContract?: string | undefined;
13454
- relayer?: string | undefined;
13455
13820
  } | undefined;
13456
13821
  gasSponsored?: boolean | undefined;
13457
13822
  };
@@ -13834,8 +14199,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
13834
14199
  buyAmount?: string | undefined;
13835
14200
  from?: string | undefined;
13836
14201
  };
14202
+ typedData: {
14203
+ types: Record<string, {
14204
+ name: string;
14205
+ type: string;
14206
+ }[]>;
14207
+ primaryType: string;
14208
+ domain: Record<string, any>;
14209
+ message: Record<string, any>;
14210
+ };
13837
14211
  settlementContract?: string | undefined;
13838
- relayer?: string | undefined;
13839
14212
  } | undefined;
13840
14213
  gasSponsored?: boolean | undefined;
13841
14214
  };
@@ -14083,8 +14456,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
14083
14456
  buyAmount?: string | undefined;
14084
14457
  from?: string | undefined;
14085
14458
  };
14459
+ typedData: {
14460
+ types: Record<string, {
14461
+ name: string;
14462
+ type: string;
14463
+ }[]>;
14464
+ primaryType: string;
14465
+ domain: Record<string, any>;
14466
+ message: Record<string, any>;
14467
+ };
14086
14468
  settlementContract?: string | undefined;
14087
- relayer?: string | undefined;
14088
14469
  } | undefined;
14089
14470
  gasSponsored?: boolean | undefined;
14090
14471
  };
@@ -14327,8 +14708,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
14327
14708
  buyAmount?: string | undefined;
14328
14709
  from?: string | undefined;
14329
14710
  };
14711
+ typedData: {
14712
+ types: Record<string, {
14713
+ name: string;
14714
+ type: string;
14715
+ }[]>;
14716
+ primaryType: string;
14717
+ domain: Record<string, any>;
14718
+ message: Record<string, any>;
14719
+ };
14330
14720
  settlementContract?: string | undefined;
14331
- relayer?: string | undefined;
14332
14721
  } | undefined;
14333
14722
  gasSponsored?: boolean | undefined;
14334
14723
  };
@@ -14571,8 +14960,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
14571
14960
  buyAmount?: string | undefined;
14572
14961
  from?: string | undefined;
14573
14962
  };
14963
+ typedData: {
14964
+ types: Record<string, {
14965
+ name: string;
14966
+ type: string;
14967
+ }[]>;
14968
+ primaryType: string;
14969
+ domain: Record<string, any>;
14970
+ message: Record<string, any>;
14971
+ };
14574
14972
  settlementContract?: string | undefined;
14575
- relayer?: string | undefined;
14576
14973
  } | undefined;
14577
14974
  gasSponsored?: boolean | undefined;
14578
14975
  };
@@ -14816,8 +15213,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
14816
15213
  buyAmount?: string | undefined;
14817
15214
  from?: string | undefined;
14818
15215
  };
15216
+ typedData: {
15217
+ types: Record<string, {
15218
+ name: string;
15219
+ type: string;
15220
+ }[]>;
15221
+ primaryType: string;
15222
+ domain: Record<string, any>;
15223
+ message: Record<string, any>;
15224
+ };
14819
15225
  settlementContract?: string | undefined;
14820
- relayer?: string | undefined;
14821
15226
  } | undefined;
14822
15227
  gasSponsored?: boolean | undefined;
14823
15228
  };
@@ -15060,8 +15465,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15060
15465
  buyAmount?: string | undefined;
15061
15466
  from?: string | undefined;
15062
15467
  };
15468
+ typedData: {
15469
+ types: Record<string, {
15470
+ name: string;
15471
+ type: string;
15472
+ }[]>;
15473
+ primaryType: string;
15474
+ domain: Record<string, any>;
15475
+ message: Record<string, any>;
15476
+ };
15063
15477
  settlementContract?: string | undefined;
15064
- relayer?: string | undefined;
15065
15478
  } | undefined;
15066
15479
  gasSponsored?: boolean | undefined;
15067
15480
  };
@@ -15304,8 +15717,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15304
15717
  buyAmount?: string | undefined;
15305
15718
  from?: string | undefined;
15306
15719
  };
15720
+ typedData: {
15721
+ types: Record<string, {
15722
+ name: string;
15723
+ type: string;
15724
+ }[]>;
15725
+ primaryType: string;
15726
+ domain: Record<string, any>;
15727
+ message: Record<string, any>;
15728
+ };
15307
15729
  settlementContract?: string | undefined;
15308
- relayer?: string | undefined;
15309
15730
  } | undefined;
15310
15731
  gasSponsored?: boolean | undefined;
15311
15732
  };
@@ -15553,8 +15974,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15553
15974
  buyAmount?: string | undefined;
15554
15975
  from?: string | undefined;
15555
15976
  };
15977
+ typedData: {
15978
+ types: Record<string, {
15979
+ name: string;
15980
+ type: string;
15981
+ }[]>;
15982
+ primaryType: string;
15983
+ domain: Record<string, any>;
15984
+ message: Record<string, any>;
15985
+ };
15556
15986
  settlementContract?: string | undefined;
15557
- relayer?: string | undefined;
15558
15987
  } | undefined;
15559
15988
  gasSponsored?: boolean | undefined;
15560
15989
  };
@@ -15802,8 +16231,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
15802
16231
  buyAmount?: string | undefined;
15803
16232
  from?: string | undefined;
15804
16233
  };
16234
+ typedData: {
16235
+ types: Record<string, {
16236
+ name: string;
16237
+ type: string;
16238
+ }[]>;
16239
+ primaryType: string;
16240
+ domain: Record<string, any>;
16241
+ message: Record<string, any>;
16242
+ };
15805
16243
  settlementContract?: string | undefined;
15806
- relayer?: string | undefined;
15807
16244
  } | undefined;
15808
16245
  gasSponsored?: boolean | undefined;
15809
16246
  };
@@ -16051,8 +16488,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
16051
16488
  buyAmount?: string | undefined;
16052
16489
  from?: string | undefined;
16053
16490
  };
16491
+ typedData: {
16492
+ types: Record<string, {
16493
+ name: string;
16494
+ type: string;
16495
+ }[]>;
16496
+ primaryType: string;
16497
+ domain: Record<string, any>;
16498
+ message: Record<string, any>;
16499
+ };
16054
16500
  settlementContract?: string | undefined;
16055
- relayer?: string | undefined;
16056
16501
  } | undefined;
16057
16502
  gasSponsored?: boolean | undefined;
16058
16503
  };
@@ -16295,8 +16740,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
16295
16740
  buyAmount?: string | undefined;
16296
16741
  from?: string | undefined;
16297
16742
  };
16743
+ typedData: {
16744
+ types: Record<string, {
16745
+ name: string;
16746
+ type: string;
16747
+ }[]>;
16748
+ primaryType: string;
16749
+ domain: Record<string, any>;
16750
+ message: Record<string, any>;
16751
+ };
16298
16752
  settlementContract?: string | undefined;
16299
- relayer?: string | undefined;
16300
16753
  } | undefined;
16301
16754
  gasSponsored?: boolean | undefined;
16302
16755
  };
@@ -16540,8 +16993,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
16540
16993
  buyAmount?: string | undefined;
16541
16994
  from?: string | undefined;
16542
16995
  };
16996
+ typedData: {
16997
+ types: Record<string, {
16998
+ name: string;
16999
+ type: string;
17000
+ }[]>;
17001
+ primaryType: string;
17002
+ domain: Record<string, any>;
17003
+ message: Record<string, any>;
17004
+ };
16543
17005
  settlementContract?: string | undefined;
16544
- relayer?: string | undefined;
16545
17006
  } | undefined;
16546
17007
  gasSponsored?: boolean | undefined;
16547
17008
  };
@@ -16784,8 +17245,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
16784
17245
  buyAmount?: string | undefined;
16785
17246
  from?: string | undefined;
16786
17247
  };
17248
+ typedData: {
17249
+ types: Record<string, {
17250
+ name: string;
17251
+ type: string;
17252
+ }[]>;
17253
+ primaryType: string;
17254
+ domain: Record<string, any>;
17255
+ message: Record<string, any>;
17256
+ };
16787
17257
  settlementContract?: string | undefined;
16788
- relayer?: string | undefined;
16789
17258
  } | undefined;
16790
17259
  gasSponsored?: boolean | undefined;
16791
17260
  };
@@ -17033,8 +17502,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
17033
17502
  buyAmount?: string | undefined;
17034
17503
  from?: string | undefined;
17035
17504
  };
17505
+ typedData: {
17506
+ types: Record<string, {
17507
+ name: string;
17508
+ type: string;
17509
+ }[]>;
17510
+ primaryType: string;
17511
+ domain: Record<string, any>;
17512
+ message: Record<string, any>;
17513
+ };
17036
17514
  settlementContract?: string | undefined;
17037
- relayer?: string | undefined;
17038
17515
  } | undefined;
17039
17516
  gasSponsored?: boolean | undefined;
17040
17517
  };
@@ -17282,8 +17759,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
17282
17759
  buyAmount?: string | undefined;
17283
17760
  from?: string | undefined;
17284
17761
  };
17762
+ typedData: {
17763
+ types: Record<string, {
17764
+ name: string;
17765
+ type: string;
17766
+ }[]>;
17767
+ primaryType: string;
17768
+ domain: Record<string, any>;
17769
+ message: Record<string, any>;
17770
+ };
17285
17771
  settlementContract?: string | undefined;
17286
- relayer?: string | undefined;
17287
17772
  } | undefined;
17288
17773
  gasSponsored?: boolean | undefined;
17289
17774
  };
@@ -17421,11 +17906,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
17421
17906
  */
17422
17907
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
17423
17908
  adjustedReturn: {
17424
- valueInCurrency: string | null; /**
17425
- This is the amount required to submit the transactions
17426
- Includes the relayer fee or other native fees
17427
- Should be used for balance checks and tx submission.
17428
- */
17909
+ valueInCurrency: string | null;
17429
17910
  usd: string | null;
17430
17911
  };
17431
17912
  cost: {
@@ -17585,8 +18066,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
17585
18066
  buyAmount?: string | undefined;
17586
18067
  from?: string | undefined;
17587
18068
  };
18069
+ typedData: {
18070
+ types: Record<string, {
18071
+ name: string;
18072
+ type: string;
18073
+ }[]>;
18074
+ primaryType: string;
18075
+ domain: Record<string, any>;
18076
+ message: Record<string, any>;
18077
+ };
17588
18078
  settlementContract?: string | undefined;
17589
- relayer?: string | undefined;
17590
18079
  } | undefined;
17591
18080
  gasSponsored?: boolean | undefined;
17592
18081
  };
@@ -17791,8 +18280,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
17791
18280
  buyAmount?: string | undefined;
17792
18281
  from?: string | undefined;
17793
18282
  };
18283
+ typedData: {
18284
+ types: Record<string, {
18285
+ name: string;
18286
+ type: string;
18287
+ }[]>;
18288
+ primaryType: string;
18289
+ domain: Record<string, any>;
18290
+ message: Record<string, any>;
18291
+ };
17794
18292
  settlementContract?: string | undefined;
17795
- relayer?: string | undefined;
17796
18293
  } | undefined;
17797
18294
  gasSponsored?: boolean | undefined;
17798
18295
  };
@@ -17926,11 +18423,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
17926
18423
  */
17927
18424
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
17928
18425
  adjustedReturn: {
17929
- valueInCurrency: string | null; /**
17930
- This is the amount required to submit the transactions
17931
- Includes the relayer fee or other native fees
17932
- Should be used for balance checks and tx submission.
17933
- */
18426
+ valueInCurrency: string | null;
17934
18427
  usd: string | null;
17935
18428
  };
17936
18429
  cost: {
@@ -18090,8 +18583,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
18090
18583
  buyAmount?: string | undefined;
18091
18584
  from?: string | undefined;
18092
18585
  };
18586
+ typedData: {
18587
+ types: Record<string, {
18588
+ name: string;
18589
+ type: string;
18590
+ }[]>;
18591
+ primaryType: string;
18592
+ domain: Record<string, any>;
18593
+ message: Record<string, any>;
18594
+ };
18093
18595
  settlementContract?: string | undefined;
18094
- relayer?: string | undefined;
18095
18596
  } | undefined;
18096
18597
  gasSponsored?: boolean | undefined;
18097
18598
  };
@@ -18296,8 +18797,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
18296
18797
  buyAmount?: string | undefined;
18297
18798
  from?: string | undefined;
18298
18799
  };
18800
+ typedData: {
18801
+ types: Record<string, {
18802
+ name: string;
18803
+ type: string;
18804
+ }[]>;
18805
+ primaryType: string;
18806
+ domain: Record<string, any>;
18807
+ message: Record<string, any>;
18808
+ };
18299
18809
  settlementContract?: string | undefined;
18300
- relayer?: string | undefined;
18301
18810
  } | undefined;
18302
18811
  gasSponsored?: boolean | undefined;
18303
18812
  };
@@ -18545,8 +19054,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
18545
19054
  buyAmount?: string | undefined;
18546
19055
  from?: string | undefined;
18547
19056
  };
19057
+ typedData: {
19058
+ types: Record<string, {
19059
+ name: string;
19060
+ type: string;
19061
+ }[]>;
19062
+ primaryType: string;
19063
+ domain: Record<string, any>;
19064
+ message: Record<string, any>;
19065
+ };
18548
19066
  settlementContract?: string | undefined;
18549
- relayer?: string | undefined;
18550
19067
  } | undefined;
18551
19068
  gasSponsored?: boolean | undefined;
18552
19069
  };
@@ -18684,11 +19201,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
18684
19201
  */
18685
19202
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
18686
19203
  adjustedReturn: {
18687
- valueInCurrency: string | null; /**
18688
- This is the amount required to submit the transactions
18689
- Includes the relayer fee or other native fees
18690
- Should be used for balance checks and tx submission.
18691
- */
19204
+ valueInCurrency: string | null;
18692
19205
  usd: string | null;
18693
19206
  };
18694
19207
  cost: {
@@ -18848,8 +19361,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
18848
19361
  buyAmount?: string | undefined;
18849
19362
  from?: string | undefined;
18850
19363
  };
19364
+ typedData: {
19365
+ types: Record<string, {
19366
+ name: string;
19367
+ type: string;
19368
+ }[]>;
19369
+ primaryType: string;
19370
+ domain: Record<string, any>;
19371
+ message: Record<string, any>;
19372
+ };
18851
19373
  settlementContract?: string | undefined;
18852
- relayer?: string | undefined;
18853
19374
  } | undefined;
18854
19375
  gasSponsored?: boolean | undefined;
18855
19376
  };
@@ -19059,8 +19580,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
19059
19580
  buyAmount?: string | undefined;
19060
19581
  from?: string | undefined;
19061
19582
  };
19583
+ typedData: {
19584
+ types: Record<string, {
19585
+ name: string;
19586
+ type: string;
19587
+ }[]>;
19588
+ primaryType: string;
19589
+ domain: Record<string, any>;
19590
+ message: Record<string, any>;
19591
+ };
19062
19592
  settlementContract?: string | undefined;
19063
- relayer?: string | undefined;
19064
19593
  } | undefined;
19065
19594
  gasSponsored?: boolean | undefined;
19066
19595
  };
@@ -19197,11 +19726,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
19197
19726
  */
19198
19727
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
19199
19728
  adjustedReturn: {
19200
- valueInCurrency: string | null; /**
19201
- This is the amount required to submit the transactions
19202
- Includes the relayer fee or other native fees
19203
- Should be used for balance checks and tx submission.
19204
- */
19729
+ valueInCurrency: string | null;
19205
19730
  usd: string | null;
19206
19731
  };
19207
19732
  cost: {
@@ -19361,8 +19886,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
19361
19886
  buyAmount?: string | undefined;
19362
19887
  from?: string | undefined;
19363
19888
  };
19889
+ typedData: {
19890
+ types: Record<string, {
19891
+ name: string;
19892
+ type: string;
19893
+ }[]>;
19894
+ primaryType: string;
19895
+ domain: Record<string, any>;
19896
+ message: Record<string, any>;
19897
+ };
19364
19898
  settlementContract?: string | undefined;
19365
- relayer?: string | undefined;
19366
19899
  } | undefined;
19367
19900
  gasSponsored?: boolean | undefined;
19368
19901
  };
@@ -19568,8 +20101,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
19568
20101
  buyAmount?: string | undefined;
19569
20102
  from?: string | undefined;
19570
20103
  };
20104
+ typedData: {
20105
+ types: Record<string, {
20106
+ name: string;
20107
+ type: string;
20108
+ }[]>;
20109
+ primaryType: string;
20110
+ domain: Record<string, any>;
20111
+ message: Record<string, any>;
20112
+ };
19571
20113
  settlementContract?: string | undefined;
19572
- relayer?: string | undefined;
19573
20114
  } | undefined;
19574
20115
  gasSponsored?: boolean | undefined;
19575
20116
  };
@@ -19706,11 +20247,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
19706
20247
  */
19707
20248
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
19708
20249
  adjustedReturn: {
19709
- valueInCurrency: string | null; /**
19710
- This is the amount required to submit the transactions
19711
- Includes the relayer fee or other native fees
19712
- Should be used for balance checks and tx submission.
19713
- */
20250
+ valueInCurrency: string | null;
19714
20251
  usd: string | null;
19715
20252
  };
19716
20253
  cost: {
@@ -19870,8 +20407,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
19870
20407
  buyAmount?: string | undefined;
19871
20408
  from?: string | undefined;
19872
20409
  };
20410
+ typedData: {
20411
+ types: Record<string, {
20412
+ name: string;
20413
+ type: string;
20414
+ }[]>;
20415
+ primaryType: string;
20416
+ domain: Record<string, any>;
20417
+ message: Record<string, any>;
20418
+ };
19873
20419
  settlementContract?: string | undefined;
19874
- relayer?: string | undefined;
19875
20420
  } | undefined;
19876
20421
  gasSponsored?: boolean | undefined;
19877
20422
  };
@@ -19971,11 +20516,7 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
19971
20516
  */
19972
20517
  gasFee: Record<"effective" | "total" | "max", import("./types.cjs").TokenAmountValues>;
19973
20518
  adjustedReturn: {
19974
- valueInCurrency: string | null; /**
19975
- This is the amount required to submit the transactions
19976
- Includes the relayer fee or other native fees
19977
- Should be used for balance checks and tx submission.
19978
- */
20519
+ valueInCurrency: string | null;
19979
20520
  usd: string | null;
19980
20521
  };
19981
20522
  cost: {
@@ -20135,8 +20676,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
20135
20676
  buyAmount?: string | undefined;
20136
20677
  from?: string | undefined;
20137
20678
  };
20679
+ typedData: {
20680
+ types: Record<string, {
20681
+ name: string;
20682
+ type: string;
20683
+ }[]>;
20684
+ primaryType: string;
20685
+ domain: Record<string, any>;
20686
+ message: Record<string, any>;
20687
+ };
20138
20688
  settlementContract?: string | undefined;
20139
- relayer?: string | undefined;
20140
20689
  } | undefined;
20141
20690
  gasSponsored?: boolean | undefined;
20142
20691
  };
@@ -20342,8 +20891,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
20342
20891
  buyAmount?: string | undefined;
20343
20892
  from?: string | undefined;
20344
20893
  };
20894
+ typedData: {
20895
+ types: Record<string, {
20896
+ name: string;
20897
+ type: string;
20898
+ }[]>;
20899
+ primaryType: string;
20900
+ domain: Record<string, any>;
20901
+ message: Record<string, any>;
20902
+ };
20345
20903
  settlementContract?: string | undefined;
20346
- relayer?: string | undefined;
20347
20904
  } | undefined;
20348
20905
  gasSponsored?: boolean | undefined;
20349
20906
  };
@@ -20722,8 +21279,16 @@ export declare const selectBridgeQuotes: ((state: BridgeControllerState & {
20722
21279
  buyAmount?: string | undefined;
20723
21280
  from?: string | undefined;
20724
21281
  };
21282
+ typedData: {
21283
+ types: Record<string, {
21284
+ name: string;
21285
+ type: string;
21286
+ }[]>;
21287
+ primaryType: string;
21288
+ domain: Record<string, any>;
21289
+ message: Record<string, any>;
21290
+ };
20725
21291
  settlementContract?: string | undefined;
20726
- relayer?: string | undefined;
20727
21292
  } | undefined;
20728
21293
  gasSponsored?: boolean | undefined;
20729
21294
  };