@talismn/balances-react 0.0.0-pr2111-20251029032349 → 0.0.0-pr2111-20251031001340
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.
|
@@ -47,13 +47,14 @@ export declare const chaindataAtom: import("jotai").Atom<{
|
|
|
47
47
|
"substrate-native"?: {
|
|
48
48
|
disable?: boolean | undefined;
|
|
49
49
|
} | undefined;
|
|
50
|
-
"substrate-assets"?: undefined;
|
|
51
|
-
"substrate-psp22"?: undefined;
|
|
50
|
+
"substrate-assets"?: Record<string, never> | undefined;
|
|
51
|
+
"substrate-psp22"?: Record<string, never> | undefined;
|
|
52
52
|
"substrate-tokens"?: {
|
|
53
53
|
palletId?: string | undefined;
|
|
54
54
|
} | undefined;
|
|
55
|
-
"substrate-foreignassets"?: undefined;
|
|
56
|
-
"substrate-hydration"?: undefined;
|
|
55
|
+
"substrate-foreignassets"?: Record<string, never> | undefined;
|
|
56
|
+
"substrate-hydration"?: Record<string, never> | undefined;
|
|
57
|
+
"substrate-dtao"?: Record<string, never> | undefined;
|
|
57
58
|
} | undefined;
|
|
58
59
|
} | {
|
|
59
60
|
id: string;
|
|
@@ -89,9 +90,9 @@ export declare const chaindataAtom: import("jotai").Atom<{
|
|
|
89
90
|
Multicall3?: `0x${string}` | undefined;
|
|
90
91
|
} | undefined;
|
|
91
92
|
balancesConfig?: {
|
|
92
|
-
"evm-native"?: undefined;
|
|
93
|
-
"evm-erc20"?: undefined;
|
|
94
|
-
"evm-uniswapv2"?: undefined;
|
|
93
|
+
"evm-native"?: Record<string, never> | undefined;
|
|
94
|
+
"evm-erc20"?: Record<string, never> | undefined;
|
|
95
|
+
"evm-uniswapv2"?: Record<string, never> | undefined;
|
|
95
96
|
} | undefined;
|
|
96
97
|
} | {
|
|
97
98
|
id: string;
|
|
@@ -115,8 +116,8 @@ export declare const chaindataAtom: import("jotai").Atom<{
|
|
|
115
116
|
logo?: string | undefined;
|
|
116
117
|
themeColor?: string | undefined;
|
|
117
118
|
balancesConfig?: {
|
|
118
|
-
"sol-native"?: undefined;
|
|
119
|
-
"sol-spl"?: undefined;
|
|
119
|
+
"sol-native"?: Record<string, never> | undefined;
|
|
120
|
+
"sol-spl"?: Record<string, never> | undefined;
|
|
120
121
|
} | undefined;
|
|
121
122
|
})[];
|
|
122
123
|
tokens: ({
|
|
@@ -186,6 +187,22 @@ export declare const chaindataAtom: import("jotai").Atom<{
|
|
|
186
187
|
noDiscovery?: boolean | undefined;
|
|
187
188
|
mirrorOf?: string | undefined;
|
|
188
189
|
isFrozen?: boolean | undefined;
|
|
190
|
+
} | {
|
|
191
|
+
id: string;
|
|
192
|
+
networkId: string;
|
|
193
|
+
decimals: number;
|
|
194
|
+
symbol: string;
|
|
195
|
+
type: "substrate-dtao";
|
|
196
|
+
platform: "polkadot";
|
|
197
|
+
netuid: number;
|
|
198
|
+
isDefault?: boolean | undefined;
|
|
199
|
+
name?: string | undefined;
|
|
200
|
+
logo?: string | undefined;
|
|
201
|
+
coingeckoId?: string | undefined;
|
|
202
|
+
noDiscovery?: boolean | undefined;
|
|
203
|
+
mirrorOf?: string | undefined;
|
|
204
|
+
subnetName?: string | undefined;
|
|
205
|
+
hotkey?: string | undefined;
|
|
189
206
|
} | {
|
|
190
207
|
id: string;
|
|
191
208
|
networkId: string;
|
|
@@ -339,13 +356,14 @@ export declare const chaindataAtom: import("jotai").Atom<{
|
|
|
339
356
|
"substrate-native"?: {
|
|
340
357
|
disable?: boolean | undefined;
|
|
341
358
|
} | undefined;
|
|
342
|
-
"substrate-assets"?: undefined;
|
|
343
|
-
"substrate-psp22"?: undefined;
|
|
359
|
+
"substrate-assets"?: Record<string, never> | undefined;
|
|
360
|
+
"substrate-psp22"?: Record<string, never> | undefined;
|
|
344
361
|
"substrate-tokens"?: {
|
|
345
362
|
palletId?: string | undefined;
|
|
346
363
|
} | undefined;
|
|
347
|
-
"substrate-foreignassets"?: undefined;
|
|
348
|
-
"substrate-hydration"?: undefined;
|
|
364
|
+
"substrate-foreignassets"?: Record<string, never> | undefined;
|
|
365
|
+
"substrate-hydration"?: Record<string, never> | undefined;
|
|
366
|
+
"substrate-dtao"?: Record<string, never> | undefined;
|
|
349
367
|
} | undefined;
|
|
350
368
|
} | {
|
|
351
369
|
id: string;
|
|
@@ -381,9 +399,9 @@ export declare const chaindataAtom: import("jotai").Atom<{
|
|
|
381
399
|
Multicall3?: `0x${string}` | undefined;
|
|
382
400
|
} | undefined;
|
|
383
401
|
balancesConfig?: {
|
|
384
|
-
"evm-native"?: undefined;
|
|
385
|
-
"evm-erc20"?: undefined;
|
|
386
|
-
"evm-uniswapv2"?: undefined;
|
|
402
|
+
"evm-native"?: Record<string, never> | undefined;
|
|
403
|
+
"evm-erc20"?: Record<string, never> | undefined;
|
|
404
|
+
"evm-uniswapv2"?: Record<string, never> | undefined;
|
|
387
405
|
} | undefined;
|
|
388
406
|
} | {
|
|
389
407
|
id: string;
|
|
@@ -407,8 +425,8 @@ export declare const chaindataAtom: import("jotai").Atom<{
|
|
|
407
425
|
logo?: string | undefined;
|
|
408
426
|
themeColor?: string | undefined;
|
|
409
427
|
balancesConfig?: {
|
|
410
|
-
"sol-native"?: undefined;
|
|
411
|
-
"sol-spl"?: undefined;
|
|
428
|
+
"sol-native"?: Record<string, never> | undefined;
|
|
429
|
+
"sol-spl"?: Record<string, never> | undefined;
|
|
412
430
|
} | undefined;
|
|
413
431
|
})[];
|
|
414
432
|
tokens: ({
|
|
@@ -478,6 +496,22 @@ export declare const chaindataAtom: import("jotai").Atom<{
|
|
|
478
496
|
noDiscovery?: boolean | undefined;
|
|
479
497
|
mirrorOf?: string | undefined;
|
|
480
498
|
isFrozen?: boolean | undefined;
|
|
499
|
+
} | {
|
|
500
|
+
id: string;
|
|
501
|
+
networkId: string;
|
|
502
|
+
decimals: number;
|
|
503
|
+
symbol: string;
|
|
504
|
+
type: "substrate-dtao";
|
|
505
|
+
platform: "polkadot";
|
|
506
|
+
netuid: number;
|
|
507
|
+
isDefault?: boolean | undefined;
|
|
508
|
+
name?: string | undefined;
|
|
509
|
+
logo?: string | undefined;
|
|
510
|
+
coingeckoId?: string | undefined;
|
|
511
|
+
noDiscovery?: boolean | undefined;
|
|
512
|
+
mirrorOf?: string | undefined;
|
|
513
|
+
subnetName?: string | undefined;
|
|
514
|
+
hotkey?: string | undefined;
|
|
481
515
|
} | {
|
|
482
516
|
id: string;
|
|
483
517
|
networkId: string;
|
|
@@ -631,13 +665,14 @@ export declare const networksAtom: import("jotai").Atom<Promise<({
|
|
|
631
665
|
"substrate-native"?: {
|
|
632
666
|
disable?: boolean | undefined;
|
|
633
667
|
} | undefined;
|
|
634
|
-
"substrate-assets"?: undefined;
|
|
635
|
-
"substrate-psp22"?: undefined;
|
|
668
|
+
"substrate-assets"?: Record<string, never> | undefined;
|
|
669
|
+
"substrate-psp22"?: Record<string, never> | undefined;
|
|
636
670
|
"substrate-tokens"?: {
|
|
637
671
|
palletId?: string | undefined;
|
|
638
672
|
} | undefined;
|
|
639
|
-
"substrate-foreignassets"?: undefined;
|
|
640
|
-
"substrate-hydration"?: undefined;
|
|
673
|
+
"substrate-foreignassets"?: Record<string, never> | undefined;
|
|
674
|
+
"substrate-hydration"?: Record<string, never> | undefined;
|
|
675
|
+
"substrate-dtao"?: Record<string, never> | undefined;
|
|
641
676
|
} | undefined;
|
|
642
677
|
} | {
|
|
643
678
|
id: string;
|
|
@@ -673,9 +708,9 @@ export declare const networksAtom: import("jotai").Atom<Promise<({
|
|
|
673
708
|
Multicall3?: `0x${string}` | undefined;
|
|
674
709
|
} | undefined;
|
|
675
710
|
balancesConfig?: {
|
|
676
|
-
"evm-native"?: undefined;
|
|
677
|
-
"evm-erc20"?: undefined;
|
|
678
|
-
"evm-uniswapv2"?: undefined;
|
|
711
|
+
"evm-native"?: Record<string, never> | undefined;
|
|
712
|
+
"evm-erc20"?: Record<string, never> | undefined;
|
|
713
|
+
"evm-uniswapv2"?: Record<string, never> | undefined;
|
|
679
714
|
} | undefined;
|
|
680
715
|
} | {
|
|
681
716
|
id: string;
|
|
@@ -699,8 +734,8 @@ export declare const networksAtom: import("jotai").Atom<Promise<({
|
|
|
699
734
|
logo?: string | undefined;
|
|
700
735
|
themeColor?: string | undefined;
|
|
701
736
|
balancesConfig?: {
|
|
702
|
-
"sol-native"?: undefined;
|
|
703
|
-
"sol-spl"?: undefined;
|
|
737
|
+
"sol-native"?: Record<string, never> | undefined;
|
|
738
|
+
"sol-spl"?: Record<string, never> | undefined;
|
|
704
739
|
} | undefined;
|
|
705
740
|
})[]>>;
|
|
706
741
|
export declare const networksByIdAtom: import("jotai").Atom<Promise<NetworkList>>;
|
|
@@ -751,13 +786,14 @@ export declare const dotNetworksByGenesisHashAtom: import("jotai").Atom<Promise<
|
|
|
751
786
|
"substrate-native"?: {
|
|
752
787
|
disable?: boolean | undefined;
|
|
753
788
|
} | undefined;
|
|
754
|
-
"substrate-assets"?: undefined;
|
|
755
|
-
"substrate-psp22"?: undefined;
|
|
789
|
+
"substrate-assets"?: Record<string, never> | undefined;
|
|
790
|
+
"substrate-psp22"?: Record<string, never> | undefined;
|
|
756
791
|
"substrate-tokens"?: {
|
|
757
792
|
palletId?: string | undefined;
|
|
758
793
|
} | undefined;
|
|
759
|
-
"substrate-foreignassets"?: undefined;
|
|
760
|
-
"substrate-hydration"?: undefined;
|
|
794
|
+
"substrate-foreignassets"?: Record<string, never> | undefined;
|
|
795
|
+
"substrate-hydration"?: Record<string, never> | undefined;
|
|
796
|
+
"substrate-dtao"?: Record<string, never> | undefined;
|
|
761
797
|
} | undefined;
|
|
762
798
|
}>>>;
|
|
763
799
|
export declare const tokensAtom: import("jotai").Atom<Promise<({
|
|
@@ -827,6 +863,22 @@ export declare const tokensAtom: import("jotai").Atom<Promise<({
|
|
|
827
863
|
noDiscovery?: boolean | undefined;
|
|
828
864
|
mirrorOf?: string | undefined;
|
|
829
865
|
isFrozen?: boolean | undefined;
|
|
866
|
+
} | {
|
|
867
|
+
id: string;
|
|
868
|
+
networkId: string;
|
|
869
|
+
decimals: number;
|
|
870
|
+
symbol: string;
|
|
871
|
+
type: "substrate-dtao";
|
|
872
|
+
platform: "polkadot";
|
|
873
|
+
netuid: number;
|
|
874
|
+
isDefault?: boolean | undefined;
|
|
875
|
+
name?: string | undefined;
|
|
876
|
+
logo?: string | undefined;
|
|
877
|
+
coingeckoId?: string | undefined;
|
|
878
|
+
noDiscovery?: boolean | undefined;
|
|
879
|
+
mirrorOf?: string | undefined;
|
|
880
|
+
subnetName?: string | undefined;
|
|
881
|
+
hotkey?: string | undefined;
|
|
830
882
|
} | {
|
|
831
883
|
id: string;
|
|
832
884
|
networkId: string;
|
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@talismn/balances-react",
|
|
3
|
-
"version": "0.0.0-pr2111-
|
|
3
|
+
"version": "0.0.0-pr2111-20251031001340",
|
|
4
4
|
"author": "Talisman",
|
|
5
5
|
"homepage": "https://talisman.xyz",
|
|
6
6
|
"license": "GPL-3.0-or-later",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"lodash-es": "4.17.21",
|
|
29
29
|
"react-use": "^17.5.1",
|
|
30
30
|
"rxjs": "^7.8.1",
|
|
31
|
-
"@talismn/
|
|
32
|
-
"@talismn/chain-connectors": "0.0.0-pr2111-
|
|
33
|
-
"@talismn/chaindata-provider": "0.0.0-pr2111-
|
|
34
|
-
"@talismn/
|
|
35
|
-
"@talismn/scale": "0.2.2",
|
|
31
|
+
"@talismn/connection-meta": "0.0.0-pr2111-20251031001340",
|
|
32
|
+
"@talismn/chain-connectors": "0.0.0-pr2111-20251031001340",
|
|
33
|
+
"@talismn/chaindata-provider": "0.0.0-pr2111-20251031001340",
|
|
34
|
+
"@talismn/token-rates": "0.0.0-pr2111-20251031001340",
|
|
36
35
|
"@talismn/util": "0.5.5",
|
|
37
|
-
"@talismn/
|
|
36
|
+
"@talismn/balances": "0.0.0-pr2111-20251031001340",
|
|
37
|
+
"@talismn/scale": "0.2.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/jest": "^29.5.14",
|