@talismn/balances-react 1.0.8 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -46,13 +46,14 @@ export declare const chaindataAtom: import("jotai").Atom<{
|
|
|
46
46
|
"substrate-native"?: {
|
|
47
47
|
disable?: boolean | undefined;
|
|
48
48
|
} | undefined;
|
|
49
|
-
"substrate-assets"?: undefined;
|
|
50
|
-
"substrate-psp22"?: undefined;
|
|
49
|
+
"substrate-assets"?: Record<string, never> | undefined;
|
|
50
|
+
"substrate-psp22"?: Record<string, never> | undefined;
|
|
51
51
|
"substrate-tokens"?: {
|
|
52
52
|
palletId?: string | undefined;
|
|
53
53
|
} | undefined;
|
|
54
|
-
"substrate-foreignassets"?: undefined;
|
|
55
|
-
"substrate-hydration"?: undefined;
|
|
54
|
+
"substrate-foreignassets"?: Record<string, never> | undefined;
|
|
55
|
+
"substrate-hydration"?: Record<string, never> | undefined;
|
|
56
|
+
"substrate-dtao"?: Record<string, never> | undefined;
|
|
56
57
|
} | undefined;
|
|
57
58
|
} | {
|
|
58
59
|
id: string;
|
|
@@ -88,9 +89,9 @@ export declare const chaindataAtom: import("jotai").Atom<{
|
|
|
88
89
|
Multicall3?: `0x${string}` | undefined;
|
|
89
90
|
} | undefined;
|
|
90
91
|
balancesConfig?: {
|
|
91
|
-
"evm-native"?: undefined;
|
|
92
|
-
"evm-erc20"?: undefined;
|
|
93
|
-
"evm-uniswapv2"?: undefined;
|
|
92
|
+
"evm-native"?: Record<string, never> | undefined;
|
|
93
|
+
"evm-erc20"?: Record<string, never> | undefined;
|
|
94
|
+
"evm-uniswapv2"?: Record<string, never> | undefined;
|
|
94
95
|
} | undefined;
|
|
95
96
|
} | {
|
|
96
97
|
id: string;
|
|
@@ -114,8 +115,8 @@ export declare const chaindataAtom: import("jotai").Atom<{
|
|
|
114
115
|
logo?: string | undefined;
|
|
115
116
|
themeColor?: string | undefined;
|
|
116
117
|
balancesConfig?: {
|
|
117
|
-
"sol-native"?: undefined;
|
|
118
|
-
"sol-spl"?: undefined;
|
|
118
|
+
"sol-native"?: Record<string, never> | undefined;
|
|
119
|
+
"sol-spl"?: Record<string, never> | undefined;
|
|
119
120
|
} | undefined;
|
|
120
121
|
})[];
|
|
121
122
|
tokens: ({
|
|
@@ -185,6 +186,22 @@ export declare const chaindataAtom: import("jotai").Atom<{
|
|
|
185
186
|
noDiscovery?: boolean | undefined;
|
|
186
187
|
mirrorOf?: string | undefined;
|
|
187
188
|
isFrozen?: boolean | undefined;
|
|
189
|
+
} | {
|
|
190
|
+
id: string;
|
|
191
|
+
networkId: string;
|
|
192
|
+
decimals: number;
|
|
193
|
+
symbol: string;
|
|
194
|
+
type: "substrate-dtao";
|
|
195
|
+
platform: "polkadot";
|
|
196
|
+
netuid: number;
|
|
197
|
+
isDefault?: boolean | undefined;
|
|
198
|
+
name?: string | undefined;
|
|
199
|
+
logo?: string | undefined;
|
|
200
|
+
coingeckoId?: string | undefined;
|
|
201
|
+
noDiscovery?: boolean | undefined;
|
|
202
|
+
mirrorOf?: string | undefined;
|
|
203
|
+
subnetName?: string | undefined;
|
|
204
|
+
hotkey?: string | undefined;
|
|
188
205
|
} | {
|
|
189
206
|
id: string;
|
|
190
207
|
networkId: string;
|
|
@@ -338,13 +355,14 @@ export declare const chaindataAtom: import("jotai").Atom<{
|
|
|
338
355
|
"substrate-native"?: {
|
|
339
356
|
disable?: boolean | undefined;
|
|
340
357
|
} | undefined;
|
|
341
|
-
"substrate-assets"?: undefined;
|
|
342
|
-
"substrate-psp22"?: undefined;
|
|
358
|
+
"substrate-assets"?: Record<string, never> | undefined;
|
|
359
|
+
"substrate-psp22"?: Record<string, never> | undefined;
|
|
343
360
|
"substrate-tokens"?: {
|
|
344
361
|
palletId?: string | undefined;
|
|
345
362
|
} | undefined;
|
|
346
|
-
"substrate-foreignassets"?: undefined;
|
|
347
|
-
"substrate-hydration"?: undefined;
|
|
363
|
+
"substrate-foreignassets"?: Record<string, never> | undefined;
|
|
364
|
+
"substrate-hydration"?: Record<string, never> | undefined;
|
|
365
|
+
"substrate-dtao"?: Record<string, never> | undefined;
|
|
348
366
|
} | undefined;
|
|
349
367
|
} | {
|
|
350
368
|
id: string;
|
|
@@ -380,9 +398,9 @@ export declare const chaindataAtom: import("jotai").Atom<{
|
|
|
380
398
|
Multicall3?: `0x${string}` | undefined;
|
|
381
399
|
} | undefined;
|
|
382
400
|
balancesConfig?: {
|
|
383
|
-
"evm-native"?: undefined;
|
|
384
|
-
"evm-erc20"?: undefined;
|
|
385
|
-
"evm-uniswapv2"?: undefined;
|
|
401
|
+
"evm-native"?: Record<string, never> | undefined;
|
|
402
|
+
"evm-erc20"?: Record<string, never> | undefined;
|
|
403
|
+
"evm-uniswapv2"?: Record<string, never> | undefined;
|
|
386
404
|
} | undefined;
|
|
387
405
|
} | {
|
|
388
406
|
id: string;
|
|
@@ -406,8 +424,8 @@ export declare const chaindataAtom: import("jotai").Atom<{
|
|
|
406
424
|
logo?: string | undefined;
|
|
407
425
|
themeColor?: string | undefined;
|
|
408
426
|
balancesConfig?: {
|
|
409
|
-
"sol-native"?: undefined;
|
|
410
|
-
"sol-spl"?: undefined;
|
|
427
|
+
"sol-native"?: Record<string, never> | undefined;
|
|
428
|
+
"sol-spl"?: Record<string, never> | undefined;
|
|
411
429
|
} | undefined;
|
|
412
430
|
})[];
|
|
413
431
|
tokens: ({
|
|
@@ -477,6 +495,22 @@ export declare const chaindataAtom: import("jotai").Atom<{
|
|
|
477
495
|
noDiscovery?: boolean | undefined;
|
|
478
496
|
mirrorOf?: string | undefined;
|
|
479
497
|
isFrozen?: boolean | undefined;
|
|
498
|
+
} | {
|
|
499
|
+
id: string;
|
|
500
|
+
networkId: string;
|
|
501
|
+
decimals: number;
|
|
502
|
+
symbol: string;
|
|
503
|
+
type: "substrate-dtao";
|
|
504
|
+
platform: "polkadot";
|
|
505
|
+
netuid: number;
|
|
506
|
+
isDefault?: boolean | undefined;
|
|
507
|
+
name?: string | undefined;
|
|
508
|
+
logo?: string | undefined;
|
|
509
|
+
coingeckoId?: string | undefined;
|
|
510
|
+
noDiscovery?: boolean | undefined;
|
|
511
|
+
mirrorOf?: string | undefined;
|
|
512
|
+
subnetName?: string | undefined;
|
|
513
|
+
hotkey?: string | undefined;
|
|
480
514
|
} | {
|
|
481
515
|
id: string;
|
|
482
516
|
networkId: string;
|
|
@@ -650,6 +684,22 @@ export declare const tokensAtom: import("jotai").Atom<Promise<({
|
|
|
650
684
|
noDiscovery?: boolean | undefined;
|
|
651
685
|
mirrorOf?: string | undefined;
|
|
652
686
|
isFrozen?: boolean | undefined;
|
|
687
|
+
} | {
|
|
688
|
+
id: string;
|
|
689
|
+
networkId: string;
|
|
690
|
+
decimals: number;
|
|
691
|
+
symbol: string;
|
|
692
|
+
type: "substrate-dtao";
|
|
693
|
+
platform: "polkadot";
|
|
694
|
+
netuid: number;
|
|
695
|
+
isDefault?: boolean | undefined;
|
|
696
|
+
name?: string | undefined;
|
|
697
|
+
logo?: string | undefined;
|
|
698
|
+
coingeckoId?: string | undefined;
|
|
699
|
+
noDiscovery?: boolean | undefined;
|
|
700
|
+
mirrorOf?: string | undefined;
|
|
701
|
+
subnetName?: string | undefined;
|
|
702
|
+
hotkey?: string | undefined;
|
|
653
703
|
} | {
|
|
654
704
|
id: string;
|
|
655
705
|
networkId: string;
|
|
@@ -802,13 +852,14 @@ export declare const networksAtom: import("jotai").Atom<Promise<({
|
|
|
802
852
|
"substrate-native"?: {
|
|
803
853
|
disable?: boolean | undefined;
|
|
804
854
|
} | undefined;
|
|
805
|
-
"substrate-assets"?: undefined;
|
|
806
|
-
"substrate-psp22"?: undefined;
|
|
855
|
+
"substrate-assets"?: Record<string, never> | undefined;
|
|
856
|
+
"substrate-psp22"?: Record<string, never> | undefined;
|
|
807
857
|
"substrate-tokens"?: {
|
|
808
858
|
palletId?: string | undefined;
|
|
809
859
|
} | undefined;
|
|
810
|
-
"substrate-foreignassets"?: undefined;
|
|
811
|
-
"substrate-hydration"?: undefined;
|
|
860
|
+
"substrate-foreignassets"?: Record<string, never> | undefined;
|
|
861
|
+
"substrate-hydration"?: Record<string, never> | undefined;
|
|
862
|
+
"substrate-dtao"?: Record<string, never> | undefined;
|
|
812
863
|
} | undefined;
|
|
813
864
|
} | {
|
|
814
865
|
id: string;
|
|
@@ -844,9 +895,9 @@ export declare const networksAtom: import("jotai").Atom<Promise<({
|
|
|
844
895
|
Multicall3?: `0x${string}` | undefined;
|
|
845
896
|
} | undefined;
|
|
846
897
|
balancesConfig?: {
|
|
847
|
-
"evm-native"?: undefined;
|
|
848
|
-
"evm-erc20"?: undefined;
|
|
849
|
-
"evm-uniswapv2"?: undefined;
|
|
898
|
+
"evm-native"?: Record<string, never> | undefined;
|
|
899
|
+
"evm-erc20"?: Record<string, never> | undefined;
|
|
900
|
+
"evm-uniswapv2"?: Record<string, never> | undefined;
|
|
850
901
|
} | undefined;
|
|
851
902
|
} | {
|
|
852
903
|
id: string;
|
|
@@ -870,7 +921,7 @@ export declare const networksAtom: import("jotai").Atom<Promise<({
|
|
|
870
921
|
logo?: string | undefined;
|
|
871
922
|
themeColor?: string | undefined;
|
|
872
923
|
balancesConfig?: {
|
|
873
|
-
"sol-native"?: undefined;
|
|
874
|
-
"sol-spl"?: undefined;
|
|
924
|
+
"sol-native"?: Record<string, never> | undefined;
|
|
925
|
+
"sol-spl"?: Record<string, never> | undefined;
|
|
875
926
|
} | undefined;
|
|
876
927
|
})[]>>;
|
|
@@ -48,13 +48,14 @@ export declare const useChaindata: () => {
|
|
|
48
48
|
"substrate-native"?: {
|
|
49
49
|
disable?: boolean | undefined;
|
|
50
50
|
} | undefined;
|
|
51
|
-
"substrate-assets"?: undefined;
|
|
52
|
-
"substrate-psp22"?: undefined;
|
|
51
|
+
"substrate-assets"?: Record<string, never> | undefined;
|
|
52
|
+
"substrate-psp22"?: Record<string, never> | undefined;
|
|
53
53
|
"substrate-tokens"?: {
|
|
54
54
|
palletId?: string | undefined;
|
|
55
55
|
} | undefined;
|
|
56
|
-
"substrate-foreignassets"?: undefined;
|
|
57
|
-
"substrate-hydration"?: undefined;
|
|
56
|
+
"substrate-foreignassets"?: Record<string, never> | undefined;
|
|
57
|
+
"substrate-hydration"?: Record<string, never> | undefined;
|
|
58
|
+
"substrate-dtao"?: Record<string, never> | undefined;
|
|
58
59
|
} | undefined;
|
|
59
60
|
} | {
|
|
60
61
|
id: string;
|
|
@@ -90,9 +91,9 @@ export declare const useChaindata: () => {
|
|
|
90
91
|
Multicall3?: `0x${string}` | undefined;
|
|
91
92
|
} | undefined;
|
|
92
93
|
balancesConfig?: {
|
|
93
|
-
"evm-native"?: undefined;
|
|
94
|
-
"evm-erc20"?: undefined;
|
|
95
|
-
"evm-uniswapv2"?: undefined;
|
|
94
|
+
"evm-native"?: Record<string, never> | undefined;
|
|
95
|
+
"evm-erc20"?: Record<string, never> | undefined;
|
|
96
|
+
"evm-uniswapv2"?: Record<string, never> | undefined;
|
|
96
97
|
} | undefined;
|
|
97
98
|
} | {
|
|
98
99
|
id: string;
|
|
@@ -116,8 +117,8 @@ export declare const useChaindata: () => {
|
|
|
116
117
|
logo?: string | undefined;
|
|
117
118
|
themeColor?: string | undefined;
|
|
118
119
|
balancesConfig?: {
|
|
119
|
-
"sol-native"?: undefined;
|
|
120
|
-
"sol-spl"?: undefined;
|
|
120
|
+
"sol-native"?: Record<string, never> | undefined;
|
|
121
|
+
"sol-spl"?: Record<string, never> | undefined;
|
|
121
122
|
} | undefined;
|
|
122
123
|
})[];
|
|
123
124
|
tokens: ({
|
|
@@ -187,6 +188,22 @@ export declare const useChaindata: () => {
|
|
|
187
188
|
noDiscovery?: boolean | undefined;
|
|
188
189
|
mirrorOf?: string | undefined;
|
|
189
190
|
isFrozen?: boolean | undefined;
|
|
191
|
+
} | {
|
|
192
|
+
id: string;
|
|
193
|
+
networkId: string;
|
|
194
|
+
decimals: number;
|
|
195
|
+
symbol: string;
|
|
196
|
+
type: "substrate-dtao";
|
|
197
|
+
platform: "polkadot";
|
|
198
|
+
netuid: number;
|
|
199
|
+
isDefault?: boolean | undefined;
|
|
200
|
+
name?: string | undefined;
|
|
201
|
+
logo?: string | undefined;
|
|
202
|
+
coingeckoId?: string | undefined;
|
|
203
|
+
noDiscovery?: boolean | undefined;
|
|
204
|
+
mirrorOf?: string | undefined;
|
|
205
|
+
subnetName?: string | undefined;
|
|
206
|
+
hotkey?: string | undefined;
|
|
190
207
|
} | {
|
|
191
208
|
id: string;
|
|
192
209
|
networkId: string;
|
|
@@ -340,13 +357,14 @@ export declare const useNetworks: () => ({
|
|
|
340
357
|
"substrate-native"?: {
|
|
341
358
|
disable?: boolean | undefined;
|
|
342
359
|
} | undefined;
|
|
343
|
-
"substrate-assets"?: undefined;
|
|
344
|
-
"substrate-psp22"?: undefined;
|
|
360
|
+
"substrate-assets"?: Record<string, never> | undefined;
|
|
361
|
+
"substrate-psp22"?: Record<string, never> | undefined;
|
|
345
362
|
"substrate-tokens"?: {
|
|
346
363
|
palletId?: string | undefined;
|
|
347
364
|
} | undefined;
|
|
348
|
-
"substrate-foreignassets"?: undefined;
|
|
349
|
-
"substrate-hydration"?: undefined;
|
|
365
|
+
"substrate-foreignassets"?: Record<string, never> | undefined;
|
|
366
|
+
"substrate-hydration"?: Record<string, never> | undefined;
|
|
367
|
+
"substrate-dtao"?: Record<string, never> | undefined;
|
|
350
368
|
} | undefined;
|
|
351
369
|
} | {
|
|
352
370
|
id: string;
|
|
@@ -382,9 +400,9 @@ export declare const useNetworks: () => ({
|
|
|
382
400
|
Multicall3?: `0x${string}` | undefined;
|
|
383
401
|
} | undefined;
|
|
384
402
|
balancesConfig?: {
|
|
385
|
-
"evm-native"?: undefined;
|
|
386
|
-
"evm-erc20"?: undefined;
|
|
387
|
-
"evm-uniswapv2"?: undefined;
|
|
403
|
+
"evm-native"?: Record<string, never> | undefined;
|
|
404
|
+
"evm-erc20"?: Record<string, never> | undefined;
|
|
405
|
+
"evm-uniswapv2"?: Record<string, never> | undefined;
|
|
388
406
|
} | undefined;
|
|
389
407
|
} | {
|
|
390
408
|
id: string;
|
|
@@ -408,8 +426,8 @@ export declare const useNetworks: () => ({
|
|
|
408
426
|
logo?: string | undefined;
|
|
409
427
|
themeColor?: string | undefined;
|
|
410
428
|
balancesConfig?: {
|
|
411
|
-
"sol-native"?: undefined;
|
|
412
|
-
"sol-spl"?: undefined;
|
|
429
|
+
"sol-native"?: Record<string, never> | undefined;
|
|
430
|
+
"sol-spl"?: Record<string, never> | undefined;
|
|
413
431
|
} | undefined;
|
|
414
432
|
})[];
|
|
415
433
|
export declare const useNetworksById: () => import("lodash").Dictionary<{
|
|
@@ -459,13 +477,14 @@ export declare const useNetworksById: () => import("lodash").Dictionary<{
|
|
|
459
477
|
"substrate-native"?: {
|
|
460
478
|
disable?: boolean | undefined;
|
|
461
479
|
} | undefined;
|
|
462
|
-
"substrate-assets"?: undefined;
|
|
463
|
-
"substrate-psp22"?: undefined;
|
|
480
|
+
"substrate-assets"?: Record<string, never> | undefined;
|
|
481
|
+
"substrate-psp22"?: Record<string, never> | undefined;
|
|
464
482
|
"substrate-tokens"?: {
|
|
465
483
|
palletId?: string | undefined;
|
|
466
484
|
} | undefined;
|
|
467
|
-
"substrate-foreignassets"?: undefined;
|
|
468
|
-
"substrate-hydration"?: undefined;
|
|
485
|
+
"substrate-foreignassets"?: Record<string, never> | undefined;
|
|
486
|
+
"substrate-hydration"?: Record<string, never> | undefined;
|
|
487
|
+
"substrate-dtao"?: Record<string, never> | undefined;
|
|
469
488
|
} | undefined;
|
|
470
489
|
} | {
|
|
471
490
|
id: string;
|
|
@@ -501,9 +520,9 @@ export declare const useNetworksById: () => import("lodash").Dictionary<{
|
|
|
501
520
|
Multicall3?: `0x${string}` | undefined;
|
|
502
521
|
} | undefined;
|
|
503
522
|
balancesConfig?: {
|
|
504
|
-
"evm-native"?: undefined;
|
|
505
|
-
"evm-erc20"?: undefined;
|
|
506
|
-
"evm-uniswapv2"?: undefined;
|
|
523
|
+
"evm-native"?: Record<string, never> | undefined;
|
|
524
|
+
"evm-erc20"?: Record<string, never> | undefined;
|
|
525
|
+
"evm-uniswapv2"?: Record<string, never> | undefined;
|
|
507
526
|
} | undefined;
|
|
508
527
|
} | {
|
|
509
528
|
id: string;
|
|
@@ -527,8 +546,8 @@ export declare const useNetworksById: () => import("lodash").Dictionary<{
|
|
|
527
546
|
logo?: string | undefined;
|
|
528
547
|
themeColor?: string | undefined;
|
|
529
548
|
balancesConfig?: {
|
|
530
|
-
"sol-native"?: undefined;
|
|
531
|
-
"sol-spl"?: undefined;
|
|
549
|
+
"sol-native"?: Record<string, never> | undefined;
|
|
550
|
+
"sol-spl"?: Record<string, never> | undefined;
|
|
532
551
|
} | undefined;
|
|
533
552
|
}>;
|
|
534
553
|
export declare const useNetwork: (networkId?: NetworkId) => {
|
|
@@ -578,13 +597,14 @@ export declare const useNetwork: (networkId?: NetworkId) => {
|
|
|
578
597
|
"substrate-native"?: {
|
|
579
598
|
disable?: boolean | undefined;
|
|
580
599
|
} | undefined;
|
|
581
|
-
"substrate-assets"?: undefined;
|
|
582
|
-
"substrate-psp22"?: undefined;
|
|
600
|
+
"substrate-assets"?: Record<string, never> | undefined;
|
|
601
|
+
"substrate-psp22"?: Record<string, never> | undefined;
|
|
583
602
|
"substrate-tokens"?: {
|
|
584
603
|
palletId?: string | undefined;
|
|
585
604
|
} | undefined;
|
|
586
|
-
"substrate-foreignassets"?: undefined;
|
|
587
|
-
"substrate-hydration"?: undefined;
|
|
605
|
+
"substrate-foreignassets"?: Record<string, never> | undefined;
|
|
606
|
+
"substrate-hydration"?: Record<string, never> | undefined;
|
|
607
|
+
"substrate-dtao"?: Record<string, never> | undefined;
|
|
588
608
|
} | undefined;
|
|
589
609
|
} | {
|
|
590
610
|
id: string;
|
|
@@ -620,9 +640,9 @@ export declare const useNetwork: (networkId?: NetworkId) => {
|
|
|
620
640
|
Multicall3?: `0x${string}` | undefined;
|
|
621
641
|
} | undefined;
|
|
622
642
|
balancesConfig?: {
|
|
623
|
-
"evm-native"?: undefined;
|
|
624
|
-
"evm-erc20"?: undefined;
|
|
625
|
-
"evm-uniswapv2"?: undefined;
|
|
643
|
+
"evm-native"?: Record<string, never> | undefined;
|
|
644
|
+
"evm-erc20"?: Record<string, never> | undefined;
|
|
645
|
+
"evm-uniswapv2"?: Record<string, never> | undefined;
|
|
626
646
|
} | undefined;
|
|
627
647
|
} | {
|
|
628
648
|
id: string;
|
|
@@ -646,8 +666,8 @@ export declare const useNetwork: (networkId?: NetworkId) => {
|
|
|
646
666
|
logo?: string | undefined;
|
|
647
667
|
themeColor?: string | undefined;
|
|
648
668
|
balancesConfig?: {
|
|
649
|
-
"sol-native"?: undefined;
|
|
650
|
-
"sol-spl"?: undefined;
|
|
669
|
+
"sol-native"?: Record<string, never> | undefined;
|
|
670
|
+
"sol-spl"?: Record<string, never> | undefined;
|
|
651
671
|
} | undefined;
|
|
652
672
|
};
|
|
653
673
|
export declare const useTokens: () => ({
|
|
@@ -717,6 +737,22 @@ export declare const useTokens: () => ({
|
|
|
717
737
|
noDiscovery?: boolean | undefined;
|
|
718
738
|
mirrorOf?: string | undefined;
|
|
719
739
|
isFrozen?: boolean | undefined;
|
|
740
|
+
} | {
|
|
741
|
+
id: string;
|
|
742
|
+
networkId: string;
|
|
743
|
+
decimals: number;
|
|
744
|
+
symbol: string;
|
|
745
|
+
type: "substrate-dtao";
|
|
746
|
+
platform: "polkadot";
|
|
747
|
+
netuid: number;
|
|
748
|
+
isDefault?: boolean | undefined;
|
|
749
|
+
name?: string | undefined;
|
|
750
|
+
logo?: string | undefined;
|
|
751
|
+
coingeckoId?: string | undefined;
|
|
752
|
+
noDiscovery?: boolean | undefined;
|
|
753
|
+
mirrorOf?: string | undefined;
|
|
754
|
+
subnetName?: string | undefined;
|
|
755
|
+
hotkey?: string | undefined;
|
|
720
756
|
} | {
|
|
721
757
|
id: string;
|
|
722
758
|
networkId: string;
|
|
@@ -889,6 +925,22 @@ export declare const useTokensById: () => import("lodash").Dictionary<{
|
|
|
889
925
|
noDiscovery?: boolean | undefined;
|
|
890
926
|
mirrorOf?: string | undefined;
|
|
891
927
|
isFrozen?: boolean | undefined;
|
|
928
|
+
} | {
|
|
929
|
+
id: string;
|
|
930
|
+
networkId: string;
|
|
931
|
+
decimals: number;
|
|
932
|
+
symbol: string;
|
|
933
|
+
type: "substrate-dtao";
|
|
934
|
+
platform: "polkadot";
|
|
935
|
+
netuid: number;
|
|
936
|
+
isDefault?: boolean | undefined;
|
|
937
|
+
name?: string | undefined;
|
|
938
|
+
logo?: string | undefined;
|
|
939
|
+
coingeckoId?: string | undefined;
|
|
940
|
+
noDiscovery?: boolean | undefined;
|
|
941
|
+
mirrorOf?: string | undefined;
|
|
942
|
+
subnetName?: string | undefined;
|
|
943
|
+
hotkey?: string | undefined;
|
|
892
944
|
} | {
|
|
893
945
|
id: string;
|
|
894
946
|
networkId: string;
|
|
@@ -1061,6 +1113,22 @@ export declare const useToken: (tokenId?: TokenId) => {
|
|
|
1061
1113
|
noDiscovery?: boolean | undefined;
|
|
1062
1114
|
mirrorOf?: string | undefined;
|
|
1063
1115
|
isFrozen?: boolean | undefined;
|
|
1116
|
+
} | {
|
|
1117
|
+
id: string;
|
|
1118
|
+
networkId: string;
|
|
1119
|
+
decimals: number;
|
|
1120
|
+
symbol: string;
|
|
1121
|
+
type: "substrate-dtao";
|
|
1122
|
+
platform: "polkadot";
|
|
1123
|
+
netuid: number;
|
|
1124
|
+
isDefault?: boolean | undefined;
|
|
1125
|
+
name?: string | undefined;
|
|
1126
|
+
logo?: string | undefined;
|
|
1127
|
+
coingeckoId?: string | undefined;
|
|
1128
|
+
noDiscovery?: boolean | undefined;
|
|
1129
|
+
mirrorOf?: string | undefined;
|
|
1130
|
+
subnetName?: string | undefined;
|
|
1131
|
+
hotkey?: string | undefined;
|
|
1064
1132
|
} | {
|
|
1065
1133
|
id: string;
|
|
1066
1134
|
networkId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@talismn/balances-react",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"author": "Talisman",
|
|
5
5
|
"homepage": "https://talisman.xyz",
|
|
6
6
|
"license": "GPL-3.0-or-later",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"lodash-es": "4.17.21",
|
|
29
29
|
"react-use": "^17.5.1",
|
|
30
30
|
"rxjs": "^7.8.1",
|
|
31
|
-
"@talismn/
|
|
32
|
-
"@talismn/
|
|
33
|
-
"@talismn/chaindata-provider": "1.
|
|
34
|
-
"@talismn/connection-meta": "0.2.
|
|
31
|
+
"@talismn/chain-connectors": "0.0.8",
|
|
32
|
+
"@talismn/balances": "1.1.0",
|
|
33
|
+
"@talismn/chaindata-provider": "1.2.0",
|
|
34
|
+
"@talismn/connection-meta": "0.2.28",
|
|
35
35
|
"@talismn/scale": "0.2.2",
|
|
36
|
-
"@talismn/token-rates": "3.0.
|
|
36
|
+
"@talismn/token-rates": "3.0.10",
|
|
37
37
|
"@talismn/util": "0.5.5"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"react": "^18.3.1",
|
|
46
46
|
"ts-jest": "^29.2.5",
|
|
47
47
|
"typescript": "^5.6.3",
|
|
48
|
-
"@talismn/
|
|
49
|
-
"@talismn/
|
|
48
|
+
"@talismn/tsconfig": "0.0.3",
|
|
49
|
+
"@talismn/eslint-config": "0.0.3"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@polkadot/util-crypto": "*",
|