@talismn/balances-react 0.0.0-pr2080-20250710073919 → 0.0.0-pr2091-20250715012835

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.
@@ -1,789 +1,5 @@
1
- export declare const chainsAtom: import("jotai").Atom<Promise<{
2
- id: string;
3
- name: string;
4
- nativeTokenId: string;
5
- nativeCurrency: {
6
- decimals: number;
7
- symbol: string;
8
- name: string;
9
- coingeckoId?: string | undefined;
10
- mirrorOf?: string | undefined;
11
- logo?: string | undefined;
12
- };
13
- blockExplorerUrls: string[];
14
- genesisHash: `0x${string}`;
15
- platform: "polkadot";
16
- chainName: string;
17
- specName: string;
18
- specVersion: number;
19
- account: "secp256k1" | "*25519";
20
- prefix: number;
21
- rpcs: string[];
22
- topology: {
23
- type: "standalone";
24
- } | {
25
- type: "relay";
26
- } | {
27
- type: "parachain";
28
- relayId: string;
29
- paraId: number;
30
- };
31
- isTestnet?: boolean | undefined;
32
- isDefault?: boolean | undefined;
33
- forceScan?: boolean | undefined;
34
- logo?: string | undefined;
35
- themeColor?: string | undefined;
36
- chainspecQrUrl?: string | undefined;
37
- latestMetadataQrUrl?: string | undefined;
38
- oldPrefix?: number | undefined;
39
- registryTypes?: any;
40
- signedExtensions?: any;
41
- hasCheckMetadataHash?: boolean | undefined;
42
- hasExtrinsicSignatureTypePrefix?: boolean | undefined;
43
- isUnknownFeeToken?: boolean | undefined;
44
- balancesConfig?: {
45
- "substrate-native"?: {
46
- disable?: boolean | undefined;
47
- } | undefined;
48
- "substrate-assets"?: undefined;
49
- "substrate-psp22"?: undefined;
50
- "substrate-tokens"?: {
51
- palletId?: string | undefined;
52
- } | undefined;
53
- "substrate-foreignassets"?: undefined;
54
- } | undefined;
55
- }[]>>;
56
- export declare const chainsByIdAtom: import("jotai").Atom<Promise<Record<string, {
57
- id: string;
58
- name: string;
59
- nativeTokenId: string;
60
- nativeCurrency: {
61
- decimals: number;
62
- symbol: string;
63
- name: string;
64
- coingeckoId?: string | undefined;
65
- mirrorOf?: string | undefined;
66
- logo?: string | undefined;
67
- };
68
- blockExplorerUrls: string[];
69
- genesisHash: `0x${string}`;
70
- platform: "polkadot";
71
- chainName: string;
72
- specName: string;
73
- specVersion: number;
74
- account: "secp256k1" | "*25519";
75
- prefix: number;
76
- rpcs: string[];
77
- topology: {
78
- type: "standalone";
79
- } | {
80
- type: "relay";
81
- } | {
82
- type: "parachain";
83
- relayId: string;
84
- paraId: number;
85
- };
86
- isTestnet?: boolean | undefined;
87
- isDefault?: boolean | undefined;
88
- forceScan?: boolean | undefined;
89
- logo?: string | undefined;
90
- themeColor?: string | undefined;
91
- chainspecQrUrl?: string | undefined;
92
- latestMetadataQrUrl?: string | undefined;
93
- oldPrefix?: number | undefined;
94
- registryTypes?: any;
95
- signedExtensions?: any;
96
- hasCheckMetadataHash?: boolean | undefined;
97
- hasExtrinsicSignatureTypePrefix?: boolean | undefined;
98
- isUnknownFeeToken?: boolean | undefined;
99
- balancesConfig?: {
100
- "substrate-native"?: {
101
- disable?: boolean | undefined;
102
- } | undefined;
103
- "substrate-assets"?: undefined;
104
- "substrate-psp22"?: undefined;
105
- "substrate-tokens"?: {
106
- palletId?: string | undefined;
107
- } | undefined;
108
- "substrate-foreignassets"?: undefined;
109
- } | undefined;
110
- }>>>;
111
- export declare const chainsByGenesisHashAtom: import("jotai").Atom<Promise<Record<string, {
112
- id: string;
113
- name: string;
114
- nativeTokenId: string;
115
- nativeCurrency: {
116
- decimals: number;
117
- symbol: string;
118
- name: string;
119
- coingeckoId?: string | undefined;
120
- mirrorOf?: string | undefined;
121
- logo?: string | undefined;
122
- };
123
- blockExplorerUrls: string[];
124
- genesisHash: `0x${string}`;
125
- platform: "polkadot";
126
- chainName: string;
127
- specName: string;
128
- specVersion: number;
129
- account: "secp256k1" | "*25519";
130
- prefix: number;
131
- rpcs: string[];
132
- topology: {
133
- type: "standalone";
134
- } | {
135
- type: "relay";
136
- } | {
137
- type: "parachain";
138
- relayId: string;
139
- paraId: number;
140
- };
141
- isTestnet?: boolean | undefined;
142
- isDefault?: boolean | undefined;
143
- forceScan?: boolean | undefined;
144
- logo?: string | undefined;
145
- themeColor?: string | undefined;
146
- chainspecQrUrl?: string | undefined;
147
- latestMetadataQrUrl?: string | undefined;
148
- oldPrefix?: number | undefined;
149
- registryTypes?: any;
150
- signedExtensions?: any;
151
- hasCheckMetadataHash?: boolean | undefined;
152
- hasExtrinsicSignatureTypePrefix?: boolean | undefined;
153
- isUnknownFeeToken?: boolean | undefined;
154
- balancesConfig?: {
155
- "substrate-native"?: {
156
- disable?: boolean | undefined;
157
- } | undefined;
158
- "substrate-assets"?: undefined;
159
- "substrate-psp22"?: undefined;
160
- "substrate-tokens"?: {
161
- palletId?: string | undefined;
162
- } | undefined;
163
- "substrate-foreignassets"?: undefined;
164
- } | undefined;
165
- }>>>;
166
- export declare const evmNetworksAtom: import("jotai").Atom<Promise<{
167
- id: string;
168
- name: string;
169
- nativeTokenId: string;
170
- nativeCurrency: {
171
- decimals: number;
172
- symbol: string;
173
- name: string;
174
- coingeckoId?: string | undefined;
175
- mirrorOf?: string | undefined;
176
- logo?: string | undefined;
177
- };
178
- blockExplorerUrls: string[];
179
- platform: "ethereum";
180
- rpcs: string[];
181
- isTestnet?: boolean | undefined;
182
- isDefault?: boolean | undefined;
183
- forceScan?: boolean | undefined;
184
- logo?: string | undefined;
185
- themeColor?: string | undefined;
186
- substrateChainId?: string | undefined;
187
- preserveGasEstimate?: boolean | undefined;
188
- feeType?: "legacy" | "eip-1559" | undefined;
189
- l2FeeType?: {
190
- type: "op-stack";
191
- } | {
192
- type: "scroll";
193
- l1GasPriceOracle: `0x${string}`;
194
- } | undefined;
195
- contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
196
- balancesConfig?: {
197
- "evm-native"?: undefined;
198
- "evm-erc20"?: undefined;
199
- "evm-uniswapv2"?: undefined;
200
- } | undefined;
201
- }[]>>;
202
- export declare const evmNetworksByIdAtom: import("jotai").Atom<Promise<Record<string, {
203
- id: string;
204
- name: string;
205
- nativeTokenId: string;
206
- nativeCurrency: {
207
- decimals: number;
208
- symbol: string;
209
- name: string;
210
- coingeckoId?: string | undefined;
211
- mirrorOf?: string | undefined;
212
- logo?: string | undefined;
213
- };
214
- blockExplorerUrls: string[];
215
- platform: "ethereum";
216
- rpcs: string[];
217
- isTestnet?: boolean | undefined;
218
- isDefault?: boolean | undefined;
219
- forceScan?: boolean | undefined;
220
- logo?: string | undefined;
221
- themeColor?: string | undefined;
222
- substrateChainId?: string | undefined;
223
- preserveGasEstimate?: boolean | undefined;
224
- feeType?: "legacy" | "eip-1559" | undefined;
225
- l2FeeType?: {
226
- type: "op-stack";
227
- } | {
228
- type: "scroll";
229
- l1GasPriceOracle: `0x${string}`;
230
- } | undefined;
231
- contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
232
- balancesConfig?: {
233
- "evm-native"?: undefined;
234
- "evm-erc20"?: undefined;
235
- "evm-uniswapv2"?: undefined;
236
- } | undefined;
237
- }>>>;
238
- export declare const tokensAtom: import("jotai").Atom<Promise<({
239
- id: string;
240
- networkId: string;
241
- decimals: number;
242
- symbol: string;
243
- type: "evm-erc20";
244
- platform: "ethereum";
245
- contractAddress: `0x${string}`;
246
- isDefault?: boolean | undefined;
247
- name?: string | undefined;
248
- logo?: string | undefined;
249
- coingeckoId?: string | undefined;
250
- noDiscovery?: boolean | undefined;
251
- mirrorOf?: string | undefined;
252
- isCustom?: boolean | undefined;
253
- } | {
254
- id: string;
255
- networkId: string;
256
- decimals: number;
257
- symbol: string;
258
- type: "evm-native";
259
- platform: "ethereum";
260
- isDefault?: boolean | undefined;
261
- name?: string | undefined;
262
- logo?: string | undefined;
263
- coingeckoId?: string | undefined;
264
- noDiscovery?: boolean | undefined;
265
- mirrorOf?: string | undefined;
266
- } | {
267
- id: string;
268
- networkId: string;
269
- decimals: number;
270
- symbol: string;
271
- type: "evm-uniswapv2";
272
- platform: "ethereum";
273
- contractAddress: `0x${string}`;
274
- symbol0: string;
275
- symbol1: string;
276
- decimals0: number;
277
- decimals1: number;
278
- tokenAddress0: `0x${string}`;
279
- tokenAddress1: `0x${string}`;
280
- isDefault?: boolean | undefined;
281
- name?: string | undefined;
282
- logo?: string | undefined;
283
- coingeckoId?: string | undefined;
284
- noDiscovery?: boolean | undefined;
285
- mirrorOf?: string | undefined;
286
- isCustom?: boolean | undefined;
287
- coingeckoId0?: string | undefined;
288
- coingeckoId1?: string | undefined;
289
- } | {
290
- id: string;
291
- networkId: string;
292
- decimals: number;
293
- symbol: string;
294
- type: "substrate-assets";
295
- platform: "polkadot";
296
- assetId: string;
297
- existentialDeposit: string;
298
- isDefault?: boolean | undefined;
299
- name?: string | undefined;
300
- logo?: string | undefined;
301
- coingeckoId?: string | undefined;
302
- noDiscovery?: boolean | undefined;
303
- mirrorOf?: string | undefined;
304
- isFrozen?: boolean | undefined;
305
- } | {
306
- id: string;
307
- networkId: string;
308
- decimals: number;
309
- symbol: string;
310
- type: "substrate-foreignassets";
311
- platform: "polkadot";
312
- onChainId: string;
313
- existentialDeposit: string;
314
- isDefault?: boolean | undefined;
315
- name?: string | undefined;
316
- logo?: string | undefined;
317
- coingeckoId?: string | undefined;
318
- noDiscovery?: boolean | undefined;
319
- mirrorOf?: string | undefined;
320
- isFrozen?: boolean | undefined;
321
- } | {
322
- id: string;
323
- networkId: string;
324
- decimals: number;
325
- symbol: string;
326
- type: "substrate-native";
327
- platform: "polkadot";
328
- existentialDeposit: string;
329
- isDefault?: boolean | undefined;
330
- name?: string | undefined;
331
- logo?: string | undefined;
332
- coingeckoId?: string | undefined;
333
- noDiscovery?: boolean | undefined;
334
- mirrorOf?: string | undefined;
335
- } | {
336
- id: string;
337
- networkId: string;
338
- decimals: number;
339
- symbol: string;
340
- type: "substrate-psp22";
341
- platform: "polkadot";
342
- contractAddress: string;
343
- isDefault?: boolean | undefined;
344
- name?: string | undefined;
345
- logo?: string | undefined;
346
- coingeckoId?: string | undefined;
347
- noDiscovery?: boolean | undefined;
348
- mirrorOf?: string | undefined;
349
- } | {
350
- id: string;
351
- networkId: string;
352
- decimals: number;
353
- symbol: string;
354
- type: "substrate-tokens";
355
- platform: "polkadot";
356
- onChainId: string | number;
357
- existentialDeposit: string;
358
- isDefault?: boolean | undefined;
359
- name?: string | undefined;
360
- logo?: string | undefined;
361
- coingeckoId?: string | undefined;
362
- noDiscovery?: boolean | undefined;
363
- mirrorOf?: string | undefined;
364
- })[]>>;
365
- export declare const tokensByIdAtom: import("jotai").Atom<Promise<{
366
- [k: string]: {
367
- id: string;
368
- networkId: string;
369
- decimals: number;
370
- symbol: string;
371
- type: "evm-erc20";
372
- platform: "ethereum";
373
- contractAddress: `0x${string}`;
374
- isDefault?: boolean | undefined;
375
- name?: string | undefined;
376
- logo?: string | undefined;
377
- coingeckoId?: string | undefined;
378
- noDiscovery?: boolean | undefined;
379
- mirrorOf?: string | undefined;
380
- isCustom?: boolean | undefined;
381
- } | {
382
- id: string;
383
- networkId: string;
384
- decimals: number;
385
- symbol: string;
386
- type: "evm-native";
387
- platform: "ethereum";
388
- isDefault?: boolean | undefined;
389
- name?: string | undefined;
390
- logo?: string | undefined;
391
- coingeckoId?: string | undefined;
392
- noDiscovery?: boolean | undefined;
393
- mirrorOf?: string | undefined;
394
- } | {
395
- id: string;
396
- networkId: string;
397
- decimals: number;
398
- symbol: string;
399
- type: "evm-uniswapv2";
400
- platform: "ethereum";
401
- contractAddress: `0x${string}`;
402
- symbol0: string;
403
- symbol1: string;
404
- decimals0: number;
405
- decimals1: number;
406
- tokenAddress0: `0x${string}`;
407
- tokenAddress1: `0x${string}`;
408
- isDefault?: boolean | undefined;
409
- name?: string | undefined;
410
- logo?: string | undefined;
411
- coingeckoId?: string | undefined;
412
- noDiscovery?: boolean | undefined;
413
- mirrorOf?: string | undefined;
414
- isCustom?: boolean | undefined;
415
- coingeckoId0?: string | undefined;
416
- coingeckoId1?: string | undefined;
417
- } | {
418
- id: string;
419
- networkId: string;
420
- decimals: number;
421
- symbol: string;
422
- type: "substrate-assets";
423
- platform: "polkadot";
424
- assetId: string;
425
- existentialDeposit: string;
426
- isDefault?: boolean | undefined;
427
- name?: string | undefined;
428
- logo?: string | undefined;
429
- coingeckoId?: string | undefined;
430
- noDiscovery?: boolean | undefined;
431
- mirrorOf?: string | undefined;
432
- isFrozen?: boolean | undefined;
433
- } | {
434
- id: string;
435
- networkId: string;
436
- decimals: number;
437
- symbol: string;
438
- type: "substrate-foreignassets";
439
- platform: "polkadot";
440
- onChainId: string;
441
- existentialDeposit: string;
442
- isDefault?: boolean | undefined;
443
- name?: string | undefined;
444
- logo?: string | undefined;
445
- coingeckoId?: string | undefined;
446
- noDiscovery?: boolean | undefined;
447
- mirrorOf?: string | undefined;
448
- isFrozen?: boolean | undefined;
449
- } | {
450
- id: string;
451
- networkId: string;
452
- decimals: number;
453
- symbol: string;
454
- type: "substrate-native";
455
- platform: "polkadot";
456
- existentialDeposit: string;
457
- isDefault?: boolean | undefined;
458
- name?: string | undefined;
459
- logo?: string | undefined;
460
- coingeckoId?: string | undefined;
461
- noDiscovery?: boolean | undefined;
462
- mirrorOf?: string | undefined;
463
- } | {
464
- id: string;
465
- networkId: string;
466
- decimals: number;
467
- symbol: string;
468
- type: "substrate-psp22";
469
- platform: "polkadot";
470
- contractAddress: string;
471
- isDefault?: boolean | undefined;
472
- name?: string | undefined;
473
- logo?: string | undefined;
474
- coingeckoId?: string | undefined;
475
- noDiscovery?: boolean | undefined;
476
- mirrorOf?: string | undefined;
477
- } | {
478
- id: string;
479
- networkId: string;
480
- decimals: number;
481
- symbol: string;
482
- type: "substrate-tokens";
483
- platform: "polkadot";
484
- onChainId: string | number;
485
- existentialDeposit: string;
486
- isDefault?: boolean | undefined;
487
- name?: string | undefined;
488
- logo?: string | undefined;
489
- coingeckoId?: string | undefined;
490
- noDiscovery?: boolean | undefined;
491
- mirrorOf?: string | undefined;
492
- };
493
- }>>;
494
- export declare const miniMetadatasAtom: import("jotai").Atom<Promise<import("@talismn/balances").MiniMetadata[]>>;
495
- export declare const chaindataAtom: import("jotai").Atom<{
496
- networks: ({
497
- id: string;
498
- name: string;
499
- nativeTokenId: string;
500
- nativeCurrency: {
501
- decimals: number;
502
- symbol: string;
503
- name: string;
504
- coingeckoId?: string | undefined;
505
- mirrorOf?: string | undefined;
506
- logo?: string | undefined;
507
- };
508
- blockExplorerUrls: string[];
509
- genesisHash: `0x${string}`;
510
- platform: "polkadot";
511
- chainName: string;
512
- specName: string;
513
- specVersion: number;
514
- account: "secp256k1" | "*25519";
515
- prefix: number;
516
- rpcs: string[];
517
- topology: {
518
- type: "standalone";
519
- } | {
520
- type: "relay";
521
- } | {
522
- type: "parachain";
523
- relayId: string;
524
- paraId: number;
525
- };
526
- isTestnet?: boolean | undefined;
527
- isDefault?: boolean | undefined;
528
- forceScan?: boolean | undefined;
529
- logo?: string | undefined;
530
- themeColor?: string | undefined;
531
- chainspecQrUrl?: string | undefined;
532
- latestMetadataQrUrl?: string | undefined;
533
- oldPrefix?: number | undefined;
534
- registryTypes?: any;
535
- signedExtensions?: any;
536
- hasCheckMetadataHash?: boolean | undefined;
537
- hasExtrinsicSignatureTypePrefix?: boolean | undefined;
538
- isUnknownFeeToken?: boolean | undefined;
539
- balancesConfig?: {
540
- "substrate-native"?: {
541
- disable?: boolean | undefined;
542
- } | undefined;
543
- "substrate-assets"?: undefined;
544
- "substrate-psp22"?: undefined;
545
- "substrate-tokens"?: {
546
- palletId?: string | undefined;
547
- } | undefined;
548
- "substrate-foreignassets"?: undefined;
549
- } | undefined;
550
- } | {
551
- id: string;
552
- name: string;
553
- nativeTokenId: string;
554
- nativeCurrency: {
555
- decimals: number;
556
- symbol: string;
557
- name: string;
558
- coingeckoId?: string | undefined;
559
- mirrorOf?: string | undefined;
560
- logo?: string | undefined;
561
- };
562
- blockExplorerUrls: string[];
563
- platform: "ethereum";
564
- rpcs: string[];
565
- isTestnet?: boolean | undefined;
566
- isDefault?: boolean | undefined;
567
- forceScan?: boolean | undefined;
568
- logo?: string | undefined;
569
- themeColor?: string | undefined;
570
- substrateChainId?: string | undefined;
571
- preserveGasEstimate?: boolean | undefined;
572
- feeType?: "legacy" | "eip-1559" | undefined;
573
- l2FeeType?: {
574
- type: "op-stack";
575
- } | {
576
- type: "scroll";
577
- l1GasPriceOracle: `0x${string}`;
578
- } | undefined;
579
- contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
580
- balancesConfig?: {
581
- "evm-native"?: undefined;
582
- "evm-erc20"?: undefined;
583
- "evm-uniswapv2"?: undefined;
584
- } | undefined;
585
- })[];
586
- networksById: Record<string, {
587
- id: string;
588
- name: string;
589
- nativeTokenId: string;
590
- nativeCurrency: {
591
- decimals: number;
592
- symbol: string;
593
- name: string;
594
- coingeckoId?: string | undefined;
595
- mirrorOf?: string | undefined;
596
- logo?: string | undefined;
597
- };
598
- blockExplorerUrls: string[];
599
- genesisHash: `0x${string}`;
600
- platform: "polkadot";
601
- chainName: string;
602
- specName: string;
603
- specVersion: number;
604
- account: "secp256k1" | "*25519";
605
- prefix: number;
606
- rpcs: string[];
607
- topology: {
608
- type: "standalone";
609
- } | {
610
- type: "relay";
611
- } | {
612
- type: "parachain";
613
- relayId: string;
614
- paraId: number;
615
- };
616
- isTestnet?: boolean | undefined;
617
- isDefault?: boolean | undefined;
618
- forceScan?: boolean | undefined;
619
- logo?: string | undefined;
620
- themeColor?: string | undefined;
621
- chainspecQrUrl?: string | undefined;
622
- latestMetadataQrUrl?: string | undefined;
623
- oldPrefix?: number | undefined;
624
- registryTypes?: any;
625
- signedExtensions?: any;
626
- hasCheckMetadataHash?: boolean | undefined;
627
- hasExtrinsicSignatureTypePrefix?: boolean | undefined;
628
- isUnknownFeeToken?: boolean | undefined;
629
- balancesConfig?: {
630
- "substrate-native"?: {
631
- disable?: boolean | undefined;
632
- } | undefined;
633
- "substrate-assets"?: undefined;
634
- "substrate-psp22"?: undefined;
635
- "substrate-tokens"?: {
636
- palletId?: string | undefined;
637
- } | undefined;
638
- "substrate-foreignassets"?: undefined;
639
- } | undefined;
640
- } | {
641
- id: string;
642
- name: string;
643
- nativeTokenId: string;
644
- nativeCurrency: {
645
- decimals: number;
646
- symbol: string;
647
- name: string;
648
- coingeckoId?: string | undefined;
649
- mirrorOf?: string | undefined;
650
- logo?: string | undefined;
651
- };
652
- blockExplorerUrls: string[];
653
- platform: "ethereum";
654
- rpcs: string[];
655
- isTestnet?: boolean | undefined;
656
- isDefault?: boolean | undefined;
657
- forceScan?: boolean | undefined;
658
- logo?: string | undefined;
659
- themeColor?: string | undefined;
660
- substrateChainId?: string | undefined;
661
- preserveGasEstimate?: boolean | undefined;
662
- feeType?: "legacy" | "eip-1559" | undefined;
663
- l2FeeType?: {
664
- type: "op-stack";
665
- } | {
666
- type: "scroll";
667
- l1GasPriceOracle: `0x${string}`;
668
- } | undefined;
669
- contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
670
- balancesConfig?: {
671
- "evm-native"?: undefined;
672
- "evm-erc20"?: undefined;
673
- "evm-uniswapv2"?: undefined;
674
- } | undefined;
675
- }>;
676
- chains: {
677
- id: string;
678
- name: string;
679
- nativeTokenId: string;
680
- nativeCurrency: {
681
- decimals: number;
682
- symbol: string;
683
- name: string;
684
- coingeckoId?: string | undefined;
685
- mirrorOf?: string | undefined;
686
- logo?: string | undefined;
687
- };
688
- blockExplorerUrls: string[];
689
- genesisHash: `0x${string}`;
690
- platform: "polkadot";
691
- chainName: string;
692
- specName: string;
693
- specVersion: number;
694
- account: "secp256k1" | "*25519";
695
- prefix: number;
696
- rpcs: string[];
697
- topology: {
698
- type: "standalone";
699
- } | {
700
- type: "relay";
701
- } | {
702
- type: "parachain";
703
- relayId: string;
704
- paraId: number;
705
- };
706
- isTestnet?: boolean | undefined;
707
- isDefault?: boolean | undefined;
708
- forceScan?: boolean | undefined;
709
- logo?: string | undefined;
710
- themeColor?: string | undefined;
711
- chainspecQrUrl?: string | undefined;
712
- latestMetadataQrUrl?: string | undefined;
713
- oldPrefix?: number | undefined;
714
- registryTypes?: any;
715
- signedExtensions?: any;
716
- hasCheckMetadataHash?: boolean | undefined;
717
- hasExtrinsicSignatureTypePrefix?: boolean | undefined;
718
- isUnknownFeeToken?: boolean | undefined;
719
- balancesConfig?: {
720
- "substrate-native"?: {
721
- disable?: boolean | undefined;
722
- } | undefined;
723
- "substrate-assets"?: undefined;
724
- "substrate-psp22"?: undefined;
725
- "substrate-tokens"?: {
726
- palletId?: string | undefined;
727
- } | undefined;
728
- "substrate-foreignassets"?: undefined;
729
- } | undefined;
730
- }[];
731
- chainsById: Record<string, {
732
- id: string;
733
- name: string;
734
- nativeTokenId: string;
735
- nativeCurrency: {
736
- decimals: number;
737
- symbol: string;
738
- name: string;
739
- coingeckoId?: string | undefined;
740
- mirrorOf?: string | undefined;
741
- logo?: string | undefined;
742
- };
743
- blockExplorerUrls: string[];
744
- genesisHash: `0x${string}`;
745
- platform: "polkadot";
746
- chainName: string;
747
- specName: string;
748
- specVersion: number;
749
- account: "secp256k1" | "*25519";
750
- prefix: number;
751
- rpcs: string[];
752
- topology: {
753
- type: "standalone";
754
- } | {
755
- type: "relay";
756
- } | {
757
- type: "parachain";
758
- relayId: string;
759
- paraId: number;
760
- };
761
- isTestnet?: boolean | undefined;
762
- isDefault?: boolean | undefined;
763
- forceScan?: boolean | undefined;
764
- logo?: string | undefined;
765
- themeColor?: string | undefined;
766
- chainspecQrUrl?: string | undefined;
767
- latestMetadataQrUrl?: string | undefined;
768
- oldPrefix?: number | undefined;
769
- registryTypes?: any;
770
- signedExtensions?: any;
771
- hasCheckMetadataHash?: boolean | undefined;
772
- hasExtrinsicSignatureTypePrefix?: boolean | undefined;
773
- isUnknownFeeToken?: boolean | undefined;
774
- balancesConfig?: {
775
- "substrate-native"?: {
776
- disable?: boolean | undefined;
777
- } | undefined;
778
- "substrate-assets"?: undefined;
779
- "substrate-psp22"?: undefined;
780
- "substrate-tokens"?: {
781
- palletId?: string | undefined;
782
- } | undefined;
783
- "substrate-foreignassets"?: undefined;
784
- } | undefined;
785
- }>;
786
- chainsByGenesisHash: Record<string, {
1
+ export declare const chaindataAtom: import("jotai").Atom<{
2
+ networks: ({
787
3
  id: string;
788
4
  name: string;
789
5
  nativeTokenId: string;
@@ -836,9 +52,9 @@ export declare const chaindataAtom: import("jotai").Atom<{
836
52
  palletId?: string | undefined;
837
53
  } | undefined;
838
54
  "substrate-foreignassets"?: undefined;
55
+ "substrate-hydration"?: undefined;
839
56
  } | undefined;
840
- }>;
841
- evmNetworks: {
57
+ } | {
842
58
  id: string;
843
59
  name: string;
844
60
  nativeTokenId: string;
@@ -873,8 +89,7 @@ export declare const chaindataAtom: import("jotai").Atom<{
873
89
  "evm-erc20"?: undefined;
874
90
  "evm-uniswapv2"?: undefined;
875
91
  } | undefined;
876
- }[];
877
- evmNetworksById: Record<string, {
92
+ } | {
878
93
  id: string;
879
94
  name: string;
880
95
  nativeTokenId: string;
@@ -887,29 +102,18 @@ export declare const chaindataAtom: import("jotai").Atom<{
887
102
  logo?: string | undefined;
888
103
  };
889
104
  blockExplorerUrls: string[];
890
- platform: "ethereum";
105
+ platform: "solana";
891
106
  rpcs: string[];
892
107
  isTestnet?: boolean | undefined;
893
108
  isDefault?: boolean | undefined;
894
109
  forceScan?: boolean | undefined;
895
110
  logo?: string | undefined;
896
111
  themeColor?: string | undefined;
897
- substrateChainId?: string | undefined;
898
- preserveGasEstimate?: boolean | undefined;
899
- feeType?: "legacy" | "eip-1559" | undefined;
900
- l2FeeType?: {
901
- type: "op-stack";
902
- } | {
903
- type: "scroll";
904
- l1GasPriceOracle: `0x${string}`;
905
- } | undefined;
906
- contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
112
+ genesisHash?: string | undefined;
907
113
  balancesConfig?: {
908
- "evm-native"?: undefined;
909
- "evm-erc20"?: undefined;
910
- "evm-uniswapv2"?: undefined;
114
+ "sol-native"?: undefined;
911
115
  } | undefined;
912
- }>;
116
+ })[];
913
117
  tokens: ({
914
118
  id: string;
915
119
  networkId: string;
@@ -924,7 +128,6 @@ export declare const chaindataAtom: import("jotai").Atom<{
924
128
  coingeckoId?: string | undefined;
925
129
  noDiscovery?: boolean | undefined;
926
130
  mirrorOf?: string | undefined;
927
- isCustom?: boolean | undefined;
928
131
  } | {
929
132
  id: string;
930
133
  networkId: string;
@@ -969,6 +172,7 @@ export declare const chaindataAtom: import("jotai").Atom<{
969
172
  type: "substrate-assets";
970
173
  platform: "polkadot";
971
174
  assetId: string;
175
+ isSufficient: boolean;
972
176
  existentialDeposit: string;
973
177
  isDefault?: boolean | undefined;
974
178
  name?: string | undefined;
@@ -985,6 +189,7 @@ export declare const chaindataAtom: import("jotai").Atom<{
985
189
  type: "substrate-foreignassets";
986
190
  platform: "polkadot";
987
191
  onChainId: string;
192
+ isSufficient: boolean;
988
193
  existentialDeposit: string;
989
194
  isDefault?: boolean | undefined;
990
195
  name?: string | undefined;
@@ -1036,229 +241,39 @@ export declare const chaindataAtom: import("jotai").Atom<{
1036
241
  coingeckoId?: string | undefined;
1037
242
  noDiscovery?: boolean | undefined;
1038
243
  mirrorOf?: string | undefined;
1039
- })[];
1040
- tokensById: {
1041
- [k: string]: {
1042
- id: string;
1043
- networkId: string;
1044
- decimals: number;
1045
- symbol: string;
1046
- type: "evm-erc20";
1047
- platform: "ethereum";
1048
- contractAddress: `0x${string}`;
1049
- isDefault?: boolean | undefined;
1050
- name?: string | undefined;
1051
- logo?: string | undefined;
1052
- coingeckoId?: string | undefined;
1053
- noDiscovery?: boolean | undefined;
1054
- mirrorOf?: string | undefined;
1055
- isCustom?: boolean | undefined;
1056
- } | {
1057
- id: string;
1058
- networkId: string;
1059
- decimals: number;
1060
- symbol: string;
1061
- type: "evm-native";
1062
- platform: "ethereum";
1063
- isDefault?: boolean | undefined;
1064
- name?: string | undefined;
1065
- logo?: string | undefined;
1066
- coingeckoId?: string | undefined;
1067
- noDiscovery?: boolean | undefined;
1068
- mirrorOf?: string | undefined;
1069
- } | {
1070
- id: string;
1071
- networkId: string;
1072
- decimals: number;
1073
- symbol: string;
1074
- type: "evm-uniswapv2";
1075
- platform: "ethereum";
1076
- contractAddress: `0x${string}`;
1077
- symbol0: string;
1078
- symbol1: string;
1079
- decimals0: number;
1080
- decimals1: number;
1081
- tokenAddress0: `0x${string}`;
1082
- tokenAddress1: `0x${string}`;
1083
- isDefault?: boolean | undefined;
1084
- name?: string | undefined;
1085
- logo?: string | undefined;
1086
- coingeckoId?: string | undefined;
1087
- noDiscovery?: boolean | undefined;
1088
- mirrorOf?: string | undefined;
1089
- isCustom?: boolean | undefined;
1090
- coingeckoId0?: string | undefined;
1091
- coingeckoId1?: string | undefined;
1092
- } | {
1093
- id: string;
1094
- networkId: string;
1095
- decimals: number;
1096
- symbol: string;
1097
- type: "substrate-assets";
1098
- platform: "polkadot";
1099
- assetId: string;
1100
- existentialDeposit: string;
1101
- isDefault?: boolean | undefined;
1102
- name?: string | undefined;
1103
- logo?: string | undefined;
1104
- coingeckoId?: string | undefined;
1105
- noDiscovery?: boolean | undefined;
1106
- mirrorOf?: string | undefined;
1107
- isFrozen?: boolean | undefined;
1108
- } | {
1109
- id: string;
1110
- networkId: string;
1111
- decimals: number;
1112
- symbol: string;
1113
- type: "substrate-foreignassets";
1114
- platform: "polkadot";
1115
- onChainId: string;
1116
- existentialDeposit: string;
1117
- isDefault?: boolean | undefined;
1118
- name?: string | undefined;
1119
- logo?: string | undefined;
1120
- coingeckoId?: string | undefined;
1121
- noDiscovery?: boolean | undefined;
1122
- mirrorOf?: string | undefined;
1123
- isFrozen?: boolean | undefined;
1124
- } | {
1125
- id: string;
1126
- networkId: string;
1127
- decimals: number;
1128
- symbol: string;
1129
- type: "substrate-native";
1130
- platform: "polkadot";
1131
- existentialDeposit: string;
1132
- isDefault?: boolean | undefined;
1133
- name?: string | undefined;
1134
- logo?: string | undefined;
1135
- coingeckoId?: string | undefined;
1136
- noDiscovery?: boolean | undefined;
1137
- mirrorOf?: string | undefined;
1138
- } | {
1139
- id: string;
1140
- networkId: string;
1141
- decimals: number;
1142
- symbol: string;
1143
- type: "substrate-psp22";
1144
- platform: "polkadot";
1145
- contractAddress: string;
1146
- isDefault?: boolean | undefined;
1147
- name?: string | undefined;
1148
- logo?: string | undefined;
1149
- coingeckoId?: string | undefined;
1150
- noDiscovery?: boolean | undefined;
1151
- mirrorOf?: string | undefined;
1152
- } | {
1153
- id: string;
1154
- networkId: string;
1155
- decimals: number;
1156
- symbol: string;
1157
- type: "substrate-tokens";
1158
- platform: "polkadot";
1159
- onChainId: string | number;
1160
- existentialDeposit: string;
1161
- isDefault?: boolean | undefined;
1162
- name?: string | undefined;
1163
- logo?: string | undefined;
1164
- coingeckoId?: string | undefined;
1165
- noDiscovery?: boolean | undefined;
1166
- mirrorOf?: string | undefined;
1167
- };
1168
- };
1169
- miniMetadatas: import("@talismn/balances").MiniMetadata[];
1170
- } | Promise<{
1171
- networks: ({
244
+ } | {
1172
245
  id: string;
1173
- name: string;
1174
- nativeTokenId: string;
1175
- nativeCurrency: {
1176
- decimals: number;
1177
- symbol: string;
1178
- name: string;
1179
- coingeckoId?: string | undefined;
1180
- mirrorOf?: string | undefined;
1181
- logo?: string | undefined;
1182
- };
1183
- blockExplorerUrls: string[];
1184
- genesisHash: `0x${string}`;
246
+ networkId: string;
247
+ decimals: number;
248
+ symbol: string;
249
+ type: "substrate-hydration";
1185
250
  platform: "polkadot";
1186
- chainName: string;
1187
- specName: string;
1188
- specVersion: number;
1189
- account: "secp256k1" | "*25519";
1190
- prefix: number;
1191
- rpcs: string[];
1192
- topology: {
1193
- type: "standalone";
1194
- } | {
1195
- type: "relay";
1196
- } | {
1197
- type: "parachain";
1198
- relayId: string;
1199
- paraId: number;
1200
- };
1201
- isTestnet?: boolean | undefined;
251
+ onChainId: number;
252
+ assetType: "Token" | "Erc20" | "External";
253
+ isSufficient: boolean;
254
+ existentialDeposit: string;
1202
255
  isDefault?: boolean | undefined;
1203
- forceScan?: boolean | undefined;
256
+ name?: string | undefined;
1204
257
  logo?: string | undefined;
1205
- themeColor?: string | undefined;
1206
- chainspecQrUrl?: string | undefined;
1207
- latestMetadataQrUrl?: string | undefined;
1208
- oldPrefix?: number | undefined;
1209
- registryTypes?: any;
1210
- signedExtensions?: any;
1211
- hasCheckMetadataHash?: boolean | undefined;
1212
- hasExtrinsicSignatureTypePrefix?: boolean | undefined;
1213
- isUnknownFeeToken?: boolean | undefined;
1214
- balancesConfig?: {
1215
- "substrate-native"?: {
1216
- disable?: boolean | undefined;
1217
- } | undefined;
1218
- "substrate-assets"?: undefined;
1219
- "substrate-psp22"?: undefined;
1220
- "substrate-tokens"?: {
1221
- palletId?: string | undefined;
1222
- } | undefined;
1223
- "substrate-foreignassets"?: undefined;
1224
- } | undefined;
258
+ coingeckoId?: string | undefined;
259
+ noDiscovery?: boolean | undefined;
260
+ mirrorOf?: string | undefined;
1225
261
  } | {
1226
262
  id: string;
1227
- name: string;
1228
- nativeTokenId: string;
1229
- nativeCurrency: {
1230
- decimals: number;
1231
- symbol: string;
1232
- name: string;
1233
- coingeckoId?: string | undefined;
1234
- mirrorOf?: string | undefined;
1235
- logo?: string | undefined;
1236
- };
1237
- blockExplorerUrls: string[];
1238
- platform: "ethereum";
1239
- rpcs: string[];
1240
- isTestnet?: boolean | undefined;
263
+ networkId: string;
264
+ decimals: number;
265
+ symbol: string;
266
+ type: "sol-native";
267
+ platform: "solana";
1241
268
  isDefault?: boolean | undefined;
1242
- forceScan?: boolean | undefined;
269
+ name?: string | undefined;
1243
270
  logo?: string | undefined;
1244
- themeColor?: string | undefined;
1245
- substrateChainId?: string | undefined;
1246
- preserveGasEstimate?: boolean | undefined;
1247
- feeType?: "legacy" | "eip-1559" | undefined;
1248
- l2FeeType?: {
1249
- type: "op-stack";
1250
- } | {
1251
- type: "scroll";
1252
- l1GasPriceOracle: `0x${string}`;
1253
- } | undefined;
1254
- contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
1255
- balancesConfig?: {
1256
- "evm-native"?: undefined;
1257
- "evm-erc20"?: undefined;
1258
- "evm-uniswapv2"?: undefined;
1259
- } | undefined;
271
+ coingeckoId?: string | undefined;
272
+ noDiscovery?: boolean | undefined;
273
+ mirrorOf?: string | undefined;
1260
274
  })[];
1261
- networksById: Record<string, {
275
+ } | Promise<{
276
+ networks: ({
1262
277
  id: string;
1263
278
  name: string;
1264
279
  nativeTokenId: string;
@@ -1311,6 +326,7 @@ export declare const chaindataAtom: import("jotai").Atom<{
1311
326
  palletId?: string | undefined;
1312
327
  } | undefined;
1313
328
  "substrate-foreignassets"?: undefined;
329
+ "substrate-hydration"?: undefined;
1314
330
  } | undefined;
1315
331
  } | {
1316
332
  id: string;
@@ -1347,8 +363,7 @@ export declare const chaindataAtom: import("jotai").Atom<{
1347
363
  "evm-erc20"?: undefined;
1348
364
  "evm-uniswapv2"?: undefined;
1349
365
  } | undefined;
1350
- }>;
1351
- chains: {
366
+ } | {
1352
367
  id: string;
1353
368
  name: string;
1354
369
  nativeTokenId: string;
@@ -1361,485 +376,447 @@ export declare const chaindataAtom: import("jotai").Atom<{
1361
376
  logo?: string | undefined;
1362
377
  };
1363
378
  blockExplorerUrls: string[];
1364
- genesisHash: `0x${string}`;
1365
- platform: "polkadot";
1366
- chainName: string;
1367
- specName: string;
1368
- specVersion: number;
1369
- account: "secp256k1" | "*25519";
1370
- prefix: number;
379
+ platform: "solana";
1371
380
  rpcs: string[];
1372
- topology: {
1373
- type: "standalone";
1374
- } | {
1375
- type: "relay";
1376
- } | {
1377
- type: "parachain";
1378
- relayId: string;
1379
- paraId: number;
1380
- };
1381
381
  isTestnet?: boolean | undefined;
1382
382
  isDefault?: boolean | undefined;
1383
383
  forceScan?: boolean | undefined;
1384
384
  logo?: string | undefined;
1385
385
  themeColor?: string | undefined;
1386
- chainspecQrUrl?: string | undefined;
1387
- latestMetadataQrUrl?: string | undefined;
1388
- oldPrefix?: number | undefined;
1389
- registryTypes?: any;
1390
- signedExtensions?: any;
1391
- hasCheckMetadataHash?: boolean | undefined;
1392
- hasExtrinsicSignatureTypePrefix?: boolean | undefined;
1393
- isUnknownFeeToken?: boolean | undefined;
386
+ genesisHash?: string | undefined;
1394
387
  balancesConfig?: {
1395
- "substrate-native"?: {
1396
- disable?: boolean | undefined;
1397
- } | undefined;
1398
- "substrate-assets"?: undefined;
1399
- "substrate-psp22"?: undefined;
1400
- "substrate-tokens"?: {
1401
- palletId?: string | undefined;
1402
- } | undefined;
1403
- "substrate-foreignassets"?: undefined;
388
+ "sol-native"?: undefined;
1404
389
  } | undefined;
1405
- }[];
1406
- chainsById: Record<string, {
390
+ })[];
391
+ tokens: ({
1407
392
  id: string;
1408
- name: string;
1409
- nativeTokenId: string;
1410
- nativeCurrency: {
1411
- decimals: number;
1412
- symbol: string;
1413
- name: string;
1414
- coingeckoId?: string | undefined;
1415
- mirrorOf?: string | undefined;
1416
- logo?: string | undefined;
1417
- };
1418
- blockExplorerUrls: string[];
1419
- genesisHash: `0x${string}`;
393
+ networkId: string;
394
+ decimals: number;
395
+ symbol: string;
396
+ type: "evm-erc20";
397
+ platform: "ethereum";
398
+ contractAddress: `0x${string}`;
399
+ isDefault?: boolean | undefined;
400
+ name?: string | undefined;
401
+ logo?: string | undefined;
402
+ coingeckoId?: string | undefined;
403
+ noDiscovery?: boolean | undefined;
404
+ mirrorOf?: string | undefined;
405
+ } | {
406
+ id: string;
407
+ networkId: string;
408
+ decimals: number;
409
+ symbol: string;
410
+ type: "evm-native";
411
+ platform: "ethereum";
412
+ isDefault?: boolean | undefined;
413
+ name?: string | undefined;
414
+ logo?: string | undefined;
415
+ coingeckoId?: string | undefined;
416
+ noDiscovery?: boolean | undefined;
417
+ mirrorOf?: string | undefined;
418
+ } | {
419
+ id: string;
420
+ networkId: string;
421
+ decimals: number;
422
+ symbol: string;
423
+ type: "evm-uniswapv2";
424
+ platform: "ethereum";
425
+ contractAddress: `0x${string}`;
426
+ symbol0: string;
427
+ symbol1: string;
428
+ decimals0: number;
429
+ decimals1: number;
430
+ tokenAddress0: `0x${string}`;
431
+ tokenAddress1: `0x${string}`;
432
+ isDefault?: boolean | undefined;
433
+ name?: string | undefined;
434
+ logo?: string | undefined;
435
+ coingeckoId?: string | undefined;
436
+ noDiscovery?: boolean | undefined;
437
+ mirrorOf?: string | undefined;
438
+ isCustom?: boolean | undefined;
439
+ coingeckoId0?: string | undefined;
440
+ coingeckoId1?: string | undefined;
441
+ } | {
442
+ id: string;
443
+ networkId: string;
444
+ decimals: number;
445
+ symbol: string;
446
+ type: "substrate-assets";
1420
447
  platform: "polkadot";
1421
- chainName: string;
1422
- specName: string;
1423
- specVersion: number;
1424
- account: "secp256k1" | "*25519";
1425
- prefix: number;
1426
- rpcs: string[];
1427
- topology: {
1428
- type: "standalone";
1429
- } | {
1430
- type: "relay";
1431
- } | {
1432
- type: "parachain";
1433
- relayId: string;
1434
- paraId: number;
1435
- };
1436
- isTestnet?: boolean | undefined;
448
+ assetId: string;
449
+ isSufficient: boolean;
450
+ existentialDeposit: string;
1437
451
  isDefault?: boolean | undefined;
1438
- forceScan?: boolean | undefined;
452
+ name?: string | undefined;
1439
453
  logo?: string | undefined;
1440
- themeColor?: string | undefined;
1441
- chainspecQrUrl?: string | undefined;
1442
- latestMetadataQrUrl?: string | undefined;
1443
- oldPrefix?: number | undefined;
1444
- registryTypes?: any;
1445
- signedExtensions?: any;
1446
- hasCheckMetadataHash?: boolean | undefined;
1447
- hasExtrinsicSignatureTypePrefix?: boolean | undefined;
1448
- isUnknownFeeToken?: boolean | undefined;
1449
- balancesConfig?: {
1450
- "substrate-native"?: {
1451
- disable?: boolean | undefined;
1452
- } | undefined;
1453
- "substrate-assets"?: undefined;
1454
- "substrate-psp22"?: undefined;
1455
- "substrate-tokens"?: {
1456
- palletId?: string | undefined;
1457
- } | undefined;
1458
- "substrate-foreignassets"?: undefined;
1459
- } | undefined;
1460
- }>;
1461
- chainsByGenesisHash: Record<string, {
454
+ coingeckoId?: string | undefined;
455
+ noDiscovery?: boolean | undefined;
456
+ mirrorOf?: string | undefined;
457
+ isFrozen?: boolean | undefined;
458
+ } | {
1462
459
  id: string;
1463
- name: string;
1464
- nativeTokenId: string;
1465
- nativeCurrency: {
1466
- decimals: number;
1467
- symbol: string;
1468
- name: string;
1469
- coingeckoId?: string | undefined;
1470
- mirrorOf?: string | undefined;
1471
- logo?: string | undefined;
1472
- };
1473
- blockExplorerUrls: string[];
1474
- genesisHash: `0x${string}`;
460
+ networkId: string;
461
+ decimals: number;
462
+ symbol: string;
463
+ type: "substrate-foreignassets";
1475
464
  platform: "polkadot";
1476
- chainName: string;
1477
- specName: string;
1478
- specVersion: number;
1479
- account: "secp256k1" | "*25519";
1480
- prefix: number;
1481
- rpcs: string[];
1482
- topology: {
1483
- type: "standalone";
1484
- } | {
1485
- type: "relay";
1486
- } | {
1487
- type: "parachain";
1488
- relayId: string;
1489
- paraId: number;
1490
- };
1491
- isTestnet?: boolean | undefined;
465
+ onChainId: string;
466
+ isSufficient: boolean;
467
+ existentialDeposit: string;
468
+ isDefault?: boolean | undefined;
469
+ name?: string | undefined;
470
+ logo?: string | undefined;
471
+ coingeckoId?: string | undefined;
472
+ noDiscovery?: boolean | undefined;
473
+ mirrorOf?: string | undefined;
474
+ isFrozen?: boolean | undefined;
475
+ } | {
476
+ id: string;
477
+ networkId: string;
478
+ decimals: number;
479
+ symbol: string;
480
+ type: "substrate-native";
481
+ platform: "polkadot";
482
+ existentialDeposit: string;
1492
483
  isDefault?: boolean | undefined;
1493
- forceScan?: boolean | undefined;
484
+ name?: string | undefined;
1494
485
  logo?: string | undefined;
1495
- themeColor?: string | undefined;
1496
- chainspecQrUrl?: string | undefined;
1497
- latestMetadataQrUrl?: string | undefined;
1498
- oldPrefix?: number | undefined;
1499
- registryTypes?: any;
1500
- signedExtensions?: any;
1501
- hasCheckMetadataHash?: boolean | undefined;
1502
- hasExtrinsicSignatureTypePrefix?: boolean | undefined;
1503
- isUnknownFeeToken?: boolean | undefined;
1504
- balancesConfig?: {
1505
- "substrate-native"?: {
1506
- disable?: boolean | undefined;
1507
- } | undefined;
1508
- "substrate-assets"?: undefined;
1509
- "substrate-psp22"?: undefined;
1510
- "substrate-tokens"?: {
1511
- palletId?: string | undefined;
1512
- } | undefined;
1513
- "substrate-foreignassets"?: undefined;
1514
- } | undefined;
1515
- }>;
1516
- evmNetworks: {
486
+ coingeckoId?: string | undefined;
487
+ noDiscovery?: boolean | undefined;
488
+ mirrorOf?: string | undefined;
489
+ } | {
1517
490
  id: string;
1518
- name: string;
1519
- nativeTokenId: string;
1520
- nativeCurrency: {
1521
- decimals: number;
1522
- symbol: string;
1523
- name: string;
1524
- coingeckoId?: string | undefined;
1525
- mirrorOf?: string | undefined;
1526
- logo?: string | undefined;
1527
- };
1528
- blockExplorerUrls: string[];
1529
- platform: "ethereum";
1530
- rpcs: string[];
1531
- isTestnet?: boolean | undefined;
491
+ networkId: string;
492
+ decimals: number;
493
+ symbol: string;
494
+ type: "substrate-psp22";
495
+ platform: "polkadot";
496
+ contractAddress: string;
1532
497
  isDefault?: boolean | undefined;
1533
- forceScan?: boolean | undefined;
498
+ name?: string | undefined;
1534
499
  logo?: string | undefined;
1535
- themeColor?: string | undefined;
1536
- substrateChainId?: string | undefined;
1537
- preserveGasEstimate?: boolean | undefined;
1538
- feeType?: "legacy" | "eip-1559" | undefined;
1539
- l2FeeType?: {
1540
- type: "op-stack";
1541
- } | {
1542
- type: "scroll";
1543
- l1GasPriceOracle: `0x${string}`;
1544
- } | undefined;
1545
- contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
1546
- balancesConfig?: {
1547
- "evm-native"?: undefined;
1548
- "evm-erc20"?: undefined;
1549
- "evm-uniswapv2"?: undefined;
1550
- } | undefined;
1551
- }[];
1552
- evmNetworksById: Record<string, {
500
+ coingeckoId?: string | undefined;
501
+ noDiscovery?: boolean | undefined;
502
+ mirrorOf?: string | undefined;
503
+ } | {
1553
504
  id: string;
1554
- name: string;
1555
- nativeTokenId: string;
1556
- nativeCurrency: {
1557
- decimals: number;
1558
- symbol: string;
1559
- name: string;
1560
- coingeckoId?: string | undefined;
1561
- mirrorOf?: string | undefined;
1562
- logo?: string | undefined;
1563
- };
1564
- blockExplorerUrls: string[];
1565
- platform: "ethereum";
1566
- rpcs: string[];
1567
- isTestnet?: boolean | undefined;
505
+ networkId: string;
506
+ decimals: number;
507
+ symbol: string;
508
+ type: "substrate-tokens";
509
+ platform: "polkadot";
510
+ onChainId: string | number;
511
+ existentialDeposit: string;
1568
512
  isDefault?: boolean | undefined;
1569
- forceScan?: boolean | undefined;
513
+ name?: string | undefined;
1570
514
  logo?: string | undefined;
1571
- themeColor?: string | undefined;
1572
- substrateChainId?: string | undefined;
1573
- preserveGasEstimate?: boolean | undefined;
1574
- feeType?: "legacy" | "eip-1559" | undefined;
1575
- l2FeeType?: {
1576
- type: "op-stack";
1577
- } | {
1578
- type: "scroll";
1579
- l1GasPriceOracle: `0x${string}`;
1580
- } | undefined;
1581
- contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
1582
- balancesConfig?: {
1583
- "evm-native"?: undefined;
1584
- "evm-erc20"?: undefined;
1585
- "evm-uniswapv2"?: undefined;
1586
- } | undefined;
1587
- }>;
1588
- tokens: ({
515
+ coingeckoId?: string | undefined;
516
+ noDiscovery?: boolean | undefined;
517
+ mirrorOf?: string | undefined;
518
+ } | {
1589
519
  id: string;
1590
520
  networkId: string;
1591
521
  decimals: number;
1592
522
  symbol: string;
1593
- type: "evm-erc20";
1594
- platform: "ethereum";
1595
- contractAddress: `0x${string}`;
523
+ type: "substrate-hydration";
524
+ platform: "polkadot";
525
+ onChainId: number;
526
+ assetType: "Token" | "Erc20" | "External";
527
+ isSufficient: boolean;
528
+ existentialDeposit: string;
1596
529
  isDefault?: boolean | undefined;
1597
530
  name?: string | undefined;
1598
531
  logo?: string | undefined;
1599
532
  coingeckoId?: string | undefined;
1600
533
  noDiscovery?: boolean | undefined;
1601
534
  mirrorOf?: string | undefined;
1602
- isCustom?: boolean | undefined;
1603
535
  } | {
1604
536
  id: string;
1605
537
  networkId: string;
1606
538
  decimals: number;
1607
539
  symbol: string;
1608
- type: "evm-native";
1609
- platform: "ethereum";
1610
- isDefault?: boolean | undefined;
1611
- name?: string | undefined;
1612
- logo?: string | undefined;
540
+ type: "sol-native";
541
+ platform: "solana";
542
+ isDefault?: boolean | undefined;
543
+ name?: string | undefined;
544
+ logo?: string | undefined;
545
+ coingeckoId?: string | undefined;
546
+ noDiscovery?: boolean | undefined;
547
+ mirrorOf?: string | undefined;
548
+ })[];
549
+ }>>;
550
+ export declare const tokensAtom: import("jotai").Atom<Promise<({
551
+ id: string;
552
+ networkId: string;
553
+ decimals: number;
554
+ symbol: string;
555
+ type: "evm-erc20";
556
+ platform: "ethereum";
557
+ contractAddress: `0x${string}`;
558
+ isDefault?: boolean | undefined;
559
+ name?: string | undefined;
560
+ logo?: string | undefined;
561
+ coingeckoId?: string | undefined;
562
+ noDiscovery?: boolean | undefined;
563
+ mirrorOf?: string | undefined;
564
+ } | {
565
+ id: string;
566
+ networkId: string;
567
+ decimals: number;
568
+ symbol: string;
569
+ type: "evm-native";
570
+ platform: "ethereum";
571
+ isDefault?: boolean | undefined;
572
+ name?: string | undefined;
573
+ logo?: string | undefined;
574
+ coingeckoId?: string | undefined;
575
+ noDiscovery?: boolean | undefined;
576
+ mirrorOf?: string | undefined;
577
+ } | {
578
+ id: string;
579
+ networkId: string;
580
+ decimals: number;
581
+ symbol: string;
582
+ type: "evm-uniswapv2";
583
+ platform: "ethereum";
584
+ contractAddress: `0x${string}`;
585
+ symbol0: string;
586
+ symbol1: string;
587
+ decimals0: number;
588
+ decimals1: number;
589
+ tokenAddress0: `0x${string}`;
590
+ tokenAddress1: `0x${string}`;
591
+ isDefault?: boolean | undefined;
592
+ name?: string | undefined;
593
+ logo?: string | undefined;
594
+ coingeckoId?: string | undefined;
595
+ noDiscovery?: boolean | undefined;
596
+ mirrorOf?: string | undefined;
597
+ isCustom?: boolean | undefined;
598
+ coingeckoId0?: string | undefined;
599
+ coingeckoId1?: string | undefined;
600
+ } | {
601
+ id: string;
602
+ networkId: string;
603
+ decimals: number;
604
+ symbol: string;
605
+ type: "substrate-assets";
606
+ platform: "polkadot";
607
+ assetId: string;
608
+ isSufficient: boolean;
609
+ existentialDeposit: string;
610
+ isDefault?: boolean | undefined;
611
+ name?: string | undefined;
612
+ logo?: string | undefined;
613
+ coingeckoId?: string | undefined;
614
+ noDiscovery?: boolean | undefined;
615
+ mirrorOf?: string | undefined;
616
+ isFrozen?: boolean | undefined;
617
+ } | {
618
+ id: string;
619
+ networkId: string;
620
+ decimals: number;
621
+ symbol: string;
622
+ type: "substrate-foreignassets";
623
+ platform: "polkadot";
624
+ onChainId: string;
625
+ isSufficient: boolean;
626
+ existentialDeposit: string;
627
+ isDefault?: boolean | undefined;
628
+ name?: string | undefined;
629
+ logo?: string | undefined;
630
+ coingeckoId?: string | undefined;
631
+ noDiscovery?: boolean | undefined;
632
+ mirrorOf?: string | undefined;
633
+ isFrozen?: boolean | undefined;
634
+ } | {
635
+ id: string;
636
+ networkId: string;
637
+ decimals: number;
638
+ symbol: string;
639
+ type: "substrate-native";
640
+ platform: "polkadot";
641
+ existentialDeposit: string;
642
+ isDefault?: boolean | undefined;
643
+ name?: string | undefined;
644
+ logo?: string | undefined;
645
+ coingeckoId?: string | undefined;
646
+ noDiscovery?: boolean | undefined;
647
+ mirrorOf?: string | undefined;
648
+ } | {
649
+ id: string;
650
+ networkId: string;
651
+ decimals: number;
652
+ symbol: string;
653
+ type: "substrate-psp22";
654
+ platform: "polkadot";
655
+ contractAddress: string;
656
+ isDefault?: boolean | undefined;
657
+ name?: string | undefined;
658
+ logo?: string | undefined;
659
+ coingeckoId?: string | undefined;
660
+ noDiscovery?: boolean | undefined;
661
+ mirrorOf?: string | undefined;
662
+ } | {
663
+ id: string;
664
+ networkId: string;
665
+ decimals: number;
666
+ symbol: string;
667
+ type: "substrate-tokens";
668
+ platform: "polkadot";
669
+ onChainId: string | number;
670
+ existentialDeposit: string;
671
+ isDefault?: boolean | undefined;
672
+ name?: string | undefined;
673
+ logo?: string | undefined;
674
+ coingeckoId?: string | undefined;
675
+ noDiscovery?: boolean | undefined;
676
+ mirrorOf?: string | undefined;
677
+ } | {
678
+ id: string;
679
+ networkId: string;
680
+ decimals: number;
681
+ symbol: string;
682
+ type: "substrate-hydration";
683
+ platform: "polkadot";
684
+ onChainId: number;
685
+ assetType: "Token" | "Erc20" | "External";
686
+ isSufficient: boolean;
687
+ existentialDeposit: string;
688
+ isDefault?: boolean | undefined;
689
+ name?: string | undefined;
690
+ logo?: string | undefined;
691
+ coingeckoId?: string | undefined;
692
+ noDiscovery?: boolean | undefined;
693
+ mirrorOf?: string | undefined;
694
+ } | {
695
+ id: string;
696
+ networkId: string;
697
+ decimals: number;
698
+ symbol: string;
699
+ type: "sol-native";
700
+ platform: "solana";
701
+ isDefault?: boolean | undefined;
702
+ name?: string | undefined;
703
+ logo?: string | undefined;
704
+ coingeckoId?: string | undefined;
705
+ noDiscovery?: boolean | undefined;
706
+ mirrorOf?: string | undefined;
707
+ })[]>>;
708
+ export declare const networksAtom: import("jotai").Atom<Promise<({
709
+ id: string;
710
+ name: string;
711
+ nativeTokenId: string;
712
+ nativeCurrency: {
713
+ decimals: number;
714
+ symbol: string;
715
+ name: string;
1613
716
  coingeckoId?: string | undefined;
1614
- noDiscovery?: boolean | undefined;
1615
717
  mirrorOf?: string | undefined;
1616
- } | {
1617
- id: string;
1618
- networkId: string;
1619
- decimals: number;
1620
- symbol: string;
1621
- type: "evm-uniswapv2";
1622
- platform: "ethereum";
1623
- contractAddress: `0x${string}`;
1624
- symbol0: string;
1625
- symbol1: string;
1626
- decimals0: number;
1627
- decimals1: number;
1628
- tokenAddress0: `0x${string}`;
1629
- tokenAddress1: `0x${string}`;
1630
- isDefault?: boolean | undefined;
1631
- name?: string | undefined;
1632
718
  logo?: string | undefined;
1633
- coingeckoId?: string | undefined;
1634
- noDiscovery?: boolean | undefined;
1635
- mirrorOf?: string | undefined;
1636
- isCustom?: boolean | undefined;
1637
- coingeckoId0?: string | undefined;
1638
- coingeckoId1?: string | undefined;
719
+ };
720
+ blockExplorerUrls: string[];
721
+ genesisHash: `0x${string}`;
722
+ platform: "polkadot";
723
+ chainName: string;
724
+ specName: string;
725
+ specVersion: number;
726
+ account: "secp256k1" | "*25519";
727
+ prefix: number;
728
+ rpcs: string[];
729
+ topology: {
730
+ type: "standalone";
1639
731
  } | {
1640
- id: string;
1641
- networkId: string;
1642
- decimals: number;
1643
- symbol: string;
1644
- type: "substrate-assets";
1645
- platform: "polkadot";
1646
- assetId: string;
1647
- existentialDeposit: string;
1648
- isDefault?: boolean | undefined;
1649
- name?: string | undefined;
1650
- logo?: string | undefined;
1651
- coingeckoId?: string | undefined;
1652
- noDiscovery?: boolean | undefined;
1653
- mirrorOf?: string | undefined;
1654
- isFrozen?: boolean | undefined;
732
+ type: "relay";
1655
733
  } | {
1656
- id: string;
1657
- networkId: string;
734
+ type: "parachain";
735
+ relayId: string;
736
+ paraId: number;
737
+ };
738
+ isTestnet?: boolean | undefined;
739
+ isDefault?: boolean | undefined;
740
+ forceScan?: boolean | undefined;
741
+ logo?: string | undefined;
742
+ themeColor?: string | undefined;
743
+ chainspecQrUrl?: string | undefined;
744
+ latestMetadataQrUrl?: string | undefined;
745
+ oldPrefix?: number | undefined;
746
+ registryTypes?: any;
747
+ signedExtensions?: any;
748
+ hasCheckMetadataHash?: boolean | undefined;
749
+ hasExtrinsicSignatureTypePrefix?: boolean | undefined;
750
+ isUnknownFeeToken?: boolean | undefined;
751
+ balancesConfig?: {
752
+ "substrate-native"?: {
753
+ disable?: boolean | undefined;
754
+ } | undefined;
755
+ "substrate-assets"?: undefined;
756
+ "substrate-psp22"?: undefined;
757
+ "substrate-tokens"?: {
758
+ palletId?: string | undefined;
759
+ } | undefined;
760
+ "substrate-foreignassets"?: undefined;
761
+ "substrate-hydration"?: undefined;
762
+ } | undefined;
763
+ } | {
764
+ id: string;
765
+ name: string;
766
+ nativeTokenId: string;
767
+ nativeCurrency: {
1658
768
  decimals: number;
1659
769
  symbol: string;
1660
- type: "substrate-foreignassets";
1661
- platform: "polkadot";
1662
- onChainId: string;
1663
- existentialDeposit: string;
1664
- isDefault?: boolean | undefined;
1665
- name?: string | undefined;
1666
- logo?: string | undefined;
770
+ name: string;
1667
771
  coingeckoId?: string | undefined;
1668
- noDiscovery?: boolean | undefined;
1669
772
  mirrorOf?: string | undefined;
1670
- isFrozen?: boolean | undefined;
1671
- } | {
1672
- id: string;
1673
- networkId: string;
1674
- decimals: number;
1675
- symbol: string;
1676
- type: "substrate-native";
1677
- platform: "polkadot";
1678
- existentialDeposit: string;
1679
- isDefault?: boolean | undefined;
1680
- name?: string | undefined;
1681
773
  logo?: string | undefined;
1682
- coingeckoId?: string | undefined;
1683
- noDiscovery?: boolean | undefined;
1684
- mirrorOf?: string | undefined;
774
+ };
775
+ blockExplorerUrls: string[];
776
+ platform: "ethereum";
777
+ rpcs: string[];
778
+ isTestnet?: boolean | undefined;
779
+ isDefault?: boolean | undefined;
780
+ forceScan?: boolean | undefined;
781
+ logo?: string | undefined;
782
+ themeColor?: string | undefined;
783
+ substrateChainId?: string | undefined;
784
+ preserveGasEstimate?: boolean | undefined;
785
+ feeType?: "legacy" | "eip-1559" | undefined;
786
+ l2FeeType?: {
787
+ type: "op-stack";
1685
788
  } | {
1686
- id: string;
1687
- networkId: string;
789
+ type: "scroll";
790
+ l1GasPriceOracle: `0x${string}`;
791
+ } | undefined;
792
+ contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
793
+ balancesConfig?: {
794
+ "evm-native"?: undefined;
795
+ "evm-erc20"?: undefined;
796
+ "evm-uniswapv2"?: undefined;
797
+ } | undefined;
798
+ } | {
799
+ id: string;
800
+ name: string;
801
+ nativeTokenId: string;
802
+ nativeCurrency: {
1688
803
  decimals: number;
1689
804
  symbol: string;
1690
- type: "substrate-psp22";
1691
- platform: "polkadot";
1692
- contractAddress: string;
1693
- isDefault?: boolean | undefined;
1694
- name?: string | undefined;
1695
- logo?: string | undefined;
805
+ name: string;
1696
806
  coingeckoId?: string | undefined;
1697
- noDiscovery?: boolean | undefined;
1698
807
  mirrorOf?: string | undefined;
1699
- } | {
1700
- id: string;
1701
- networkId: string;
1702
- decimals: number;
1703
- symbol: string;
1704
- type: "substrate-tokens";
1705
- platform: "polkadot";
1706
- onChainId: string | number;
1707
- existentialDeposit: string;
1708
- isDefault?: boolean | undefined;
1709
- name?: string | undefined;
1710
808
  logo?: string | undefined;
1711
- coingeckoId?: string | undefined;
1712
- noDiscovery?: boolean | undefined;
1713
- mirrorOf?: string | undefined;
1714
- })[];
1715
- tokensById: {
1716
- [k: string]: {
1717
- id: string;
1718
- networkId: string;
1719
- decimals: number;
1720
- symbol: string;
1721
- type: "evm-erc20";
1722
- platform: "ethereum";
1723
- contractAddress: `0x${string}`;
1724
- isDefault?: boolean | undefined;
1725
- name?: string | undefined;
1726
- logo?: string | undefined;
1727
- coingeckoId?: string | undefined;
1728
- noDiscovery?: boolean | undefined;
1729
- mirrorOf?: string | undefined;
1730
- isCustom?: boolean | undefined;
1731
- } | {
1732
- id: string;
1733
- networkId: string;
1734
- decimals: number;
1735
- symbol: string;
1736
- type: "evm-native";
1737
- platform: "ethereum";
1738
- isDefault?: boolean | undefined;
1739
- name?: string | undefined;
1740
- logo?: string | undefined;
1741
- coingeckoId?: string | undefined;
1742
- noDiscovery?: boolean | undefined;
1743
- mirrorOf?: string | undefined;
1744
- } | {
1745
- id: string;
1746
- networkId: string;
1747
- decimals: number;
1748
- symbol: string;
1749
- type: "evm-uniswapv2";
1750
- platform: "ethereum";
1751
- contractAddress: `0x${string}`;
1752
- symbol0: string;
1753
- symbol1: string;
1754
- decimals0: number;
1755
- decimals1: number;
1756
- tokenAddress0: `0x${string}`;
1757
- tokenAddress1: `0x${string}`;
1758
- isDefault?: boolean | undefined;
1759
- name?: string | undefined;
1760
- logo?: string | undefined;
1761
- coingeckoId?: string | undefined;
1762
- noDiscovery?: boolean | undefined;
1763
- mirrorOf?: string | undefined;
1764
- isCustom?: boolean | undefined;
1765
- coingeckoId0?: string | undefined;
1766
- coingeckoId1?: string | undefined;
1767
- } | {
1768
- id: string;
1769
- networkId: string;
1770
- decimals: number;
1771
- symbol: string;
1772
- type: "substrate-assets";
1773
- platform: "polkadot";
1774
- assetId: string;
1775
- existentialDeposit: string;
1776
- isDefault?: boolean | undefined;
1777
- name?: string | undefined;
1778
- logo?: string | undefined;
1779
- coingeckoId?: string | undefined;
1780
- noDiscovery?: boolean | undefined;
1781
- mirrorOf?: string | undefined;
1782
- isFrozen?: boolean | undefined;
1783
- } | {
1784
- id: string;
1785
- networkId: string;
1786
- decimals: number;
1787
- symbol: string;
1788
- type: "substrate-foreignassets";
1789
- platform: "polkadot";
1790
- onChainId: string;
1791
- existentialDeposit: string;
1792
- isDefault?: boolean | undefined;
1793
- name?: string | undefined;
1794
- logo?: string | undefined;
1795
- coingeckoId?: string | undefined;
1796
- noDiscovery?: boolean | undefined;
1797
- mirrorOf?: string | undefined;
1798
- isFrozen?: boolean | undefined;
1799
- } | {
1800
- id: string;
1801
- networkId: string;
1802
- decimals: number;
1803
- symbol: string;
1804
- type: "substrate-native";
1805
- platform: "polkadot";
1806
- existentialDeposit: string;
1807
- isDefault?: boolean | undefined;
1808
- name?: string | undefined;
1809
- logo?: string | undefined;
1810
- coingeckoId?: string | undefined;
1811
- noDiscovery?: boolean | undefined;
1812
- mirrorOf?: string | undefined;
1813
- } | {
1814
- id: string;
1815
- networkId: string;
1816
- decimals: number;
1817
- symbol: string;
1818
- type: "substrate-psp22";
1819
- platform: "polkadot";
1820
- contractAddress: string;
1821
- isDefault?: boolean | undefined;
1822
- name?: string | undefined;
1823
- logo?: string | undefined;
1824
- coingeckoId?: string | undefined;
1825
- noDiscovery?: boolean | undefined;
1826
- mirrorOf?: string | undefined;
1827
- } | {
1828
- id: string;
1829
- networkId: string;
1830
- decimals: number;
1831
- symbol: string;
1832
- type: "substrate-tokens";
1833
- platform: "polkadot";
1834
- onChainId: string | number;
1835
- existentialDeposit: string;
1836
- isDefault?: boolean | undefined;
1837
- name?: string | undefined;
1838
- logo?: string | undefined;
1839
- coingeckoId?: string | undefined;
1840
- noDiscovery?: boolean | undefined;
1841
- mirrorOf?: string | undefined;
1842
- };
1843
809
  };
1844
- miniMetadatas: import("@talismn/balances").MiniMetadata[];
1845
- }>>;
810
+ blockExplorerUrls: string[];
811
+ platform: "solana";
812
+ rpcs: string[];
813
+ isTestnet?: boolean | undefined;
814
+ isDefault?: boolean | undefined;
815
+ forceScan?: boolean | undefined;
816
+ logo?: string | undefined;
817
+ themeColor?: string | undefined;
818
+ genesisHash?: string | undefined;
819
+ balancesConfig?: {
820
+ "sol-native"?: undefined;
821
+ } | undefined;
822
+ })[]>>;