@talismn/chaindata-provider 1.1.5 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/declarations/src/chaindata/networks/DotNetwork.d.ts +10 -8
- package/dist/declarations/src/chaindata/networks/EthNetwork.d.ts +6 -6
- package/dist/declarations/src/chaindata/networks/Network.d.ts +10 -9
- package/dist/declarations/src/chaindata/networks/SolNetwork.d.ts +4 -4
- package/dist/declarations/src/chaindata/tokens/EvmErc20Token.d.ts +1 -1
- package/dist/declarations/src/chaindata/tokens/EvmNativeToken.d.ts +1 -1
- package/dist/declarations/src/chaindata/tokens/EvmUniswapV2Token.d.ts +1 -1
- package/dist/declarations/src/chaindata/tokens/SolNativeToken.d.ts +1 -1
- package/dist/declarations/src/chaindata/tokens/SolSplToken.d.ts +1 -1
- package/dist/declarations/src/chaindata/tokens/SubstrateAssetsToken.d.ts +1 -1
- package/dist/declarations/src/chaindata/tokens/SubstrateDTaoToken.d.ts +33 -0
- package/dist/declarations/src/chaindata/tokens/SubstrateForeignAssetsToken.d.ts +1 -1
- package/dist/declarations/src/chaindata/tokens/SubstrateHydrationToken.d.ts +1 -1
- package/dist/declarations/src/chaindata/tokens/SubstratePsp22Token.d.ts +1 -1
- package/dist/declarations/src/chaindata/tokens/Token.d.ts +67 -1
- package/dist/declarations/src/chaindata/tokens/index.d.ts +1 -0
- package/dist/declarations/src/chaindata/utils.d.ts +27 -9
- package/dist/declarations/src/constants.d.ts +2 -2
- package/dist/declarations/src/provider/ChaindataProvider.d.ts +54 -23
- package/dist/declarations/src/state/combinedChaindata.d.ts +1 -1
- package/dist/declarations/src/state/defaultChaindata.d.ts +26 -9
- package/dist/declarations/src/state/githubChaindata.d.ts +26 -9
- package/dist/declarations/src/state/net.d.ts +27 -10
- package/dist/declarations/src/state/schema.d.ts +116 -18
- package/dist/talismn-chaindata-provider.cjs.dev.js +2508 -549
- package/dist/talismn-chaindata-provider.cjs.prod.js +2508 -549
- package/dist/talismn-chaindata-provider.esm.js +2504 -550
- package/package.json +3 -3
|
@@ -48,13 +48,14 @@ export declare const getDefaultChaindata$: (storage$: Subject<ChaindataStorage>)
|
|
|
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 getDefaultChaindata$: (storage$: Subject<ChaindataStorage>)
|
|
|
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 getDefaultChaindata$: (storage$: Subject<ChaindataStorage>)
|
|
|
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 getDefaultChaindata$: (storage$: Subject<ChaindataStorage>)
|
|
|
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;
|
|
@@ -47,13 +47,14 @@ export declare const githubChaindata$: Observable<{
|
|
|
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 githubChaindata$: Observable<{
|
|
|
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 githubChaindata$: Observable<{
|
|
|
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 githubChaindata$: Observable<{
|
|
|
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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const CHAINDATA_CONSOLIDATED_URL = "https://raw.githubusercontent.com/TalismanSociety/chaindata/main/pub/
|
|
1
|
+
export declare const CHAINDATA_CONSOLIDATED_URL = "https://raw.githubusercontent.com/TalismanSociety/chaindata/main/pub/v6/chaindata.min.json";
|
|
2
2
|
export declare const fetchChaindata: (signal?: AbortSignal) => Promise<{
|
|
3
3
|
networks: ({
|
|
4
4
|
id: string;
|
|
@@ -47,13 +47,14 @@ export declare const fetchChaindata: (signal?: AbortSignal) => Promise<{
|
|
|
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 fetchChaindata: (signal?: AbortSignal) => Promise<{
|
|
|
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 fetchChaindata: (signal?: AbortSignal) => Promise<{
|
|
|
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 fetchChaindata: (signal?: AbortSignal) => Promise<{
|
|
|
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;
|
|
@@ -50,13 +50,14 @@ export declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
50
50
|
"substrate-native": z.ZodOptional<z.ZodObject<{
|
|
51
51
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
52
52
|
}, z.core.$strip>>;
|
|
53
|
-
"substrate-assets": z.ZodOptional<z.
|
|
54
|
-
"substrate-psp22": z.ZodOptional<z.
|
|
53
|
+
"substrate-assets": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
54
|
+
"substrate-psp22": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
55
55
|
"substrate-tokens": z.ZodOptional<z.ZodObject<{
|
|
56
56
|
palletId: z.ZodOptional<z.ZodString>;
|
|
57
57
|
}, z.core.$strip>>;
|
|
58
|
-
"substrate-foreignassets": z.ZodOptional<z.
|
|
59
|
-
"substrate-hydration": z.ZodOptional<z.
|
|
58
|
+
"substrate-foreignassets": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
59
|
+
"substrate-hydration": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
60
|
+
"substrate-dtao": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
60
61
|
}, z.core.$strict>>;
|
|
61
62
|
}, z.core.$strict>, z.ZodObject<{
|
|
62
63
|
id: z.ZodString;
|
|
@@ -95,9 +96,9 @@ export declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
95
96
|
Multicall3: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
96
97
|
}, z.core.$strict>>;
|
|
97
98
|
balancesConfig: z.ZodOptional<z.ZodObject<{
|
|
98
|
-
"evm-native": z.ZodOptional<z.
|
|
99
|
-
"evm-erc20": z.ZodOptional<z.
|
|
100
|
-
"evm-uniswapv2": z.ZodOptional<z.
|
|
99
|
+
"evm-native": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
100
|
+
"evm-erc20": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
101
|
+
"evm-uniswapv2": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
101
102
|
}, z.core.$strict>>;
|
|
102
103
|
}, z.core.$strict>, z.ZodObject<{
|
|
103
104
|
id: z.ZodString;
|
|
@@ -121,8 +122,8 @@ export declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
121
122
|
genesisHash: z.ZodString;
|
|
122
123
|
rpcs: z.ZodArray<z.ZodURL>;
|
|
123
124
|
balancesConfig: z.ZodOptional<z.ZodObject<{
|
|
124
|
-
"sol-native": z.ZodOptional<z.
|
|
125
|
-
"sol-spl": z.ZodOptional<z.
|
|
125
|
+
"sol-native": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
126
|
+
"sol-spl": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
126
127
|
}, z.core.$strict>>;
|
|
127
128
|
}, z.core.$strict>]>>;
|
|
128
129
|
tokens: z.ZodArray<z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -192,6 +193,22 @@ export declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
192
193
|
isFrozen: z.ZodOptional<z.ZodBoolean>;
|
|
193
194
|
isSufficient: z.ZodBoolean;
|
|
194
195
|
existentialDeposit: z.ZodString;
|
|
196
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
197
|
+
id: z.ZodString;
|
|
198
|
+
networkId: z.ZodString;
|
|
199
|
+
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
200
|
+
decimals: z.ZodInt;
|
|
201
|
+
symbol: z.ZodString;
|
|
202
|
+
name: z.ZodOptional<z.ZodString>;
|
|
203
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
204
|
+
coingeckoId: z.ZodOptional<z.ZodString>;
|
|
205
|
+
noDiscovery: z.ZodOptional<z.ZodBoolean>;
|
|
206
|
+
mirrorOf: z.ZodOptional<z.ZodString>;
|
|
207
|
+
type: z.ZodLiteral<"substrate-dtao">;
|
|
208
|
+
platform: z.ZodLiteral<"polkadot">;
|
|
209
|
+
netuid: z.ZodNumber;
|
|
210
|
+
subnetName: z.ZodOptional<z.ZodString>;
|
|
211
|
+
hotkey: z.ZodOptional<z.ZodString>;
|
|
195
212
|
}, z.core.$strict>, z.ZodObject<{
|
|
196
213
|
id: z.ZodString;
|
|
197
214
|
networkId: z.ZodString;
|
|
@@ -367,6 +384,22 @@ export declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
367
384
|
noDiscovery?: boolean | undefined;
|
|
368
385
|
mirrorOf?: string | undefined;
|
|
369
386
|
isFrozen?: boolean | undefined;
|
|
387
|
+
} | {
|
|
388
|
+
id: string;
|
|
389
|
+
networkId: string;
|
|
390
|
+
decimals: number;
|
|
391
|
+
symbol: string;
|
|
392
|
+
type: "substrate-dtao";
|
|
393
|
+
platform: "polkadot";
|
|
394
|
+
netuid: number;
|
|
395
|
+
isDefault?: boolean | undefined;
|
|
396
|
+
name?: string | undefined;
|
|
397
|
+
logo?: string | undefined;
|
|
398
|
+
coingeckoId?: string | undefined;
|
|
399
|
+
noDiscovery?: boolean | undefined;
|
|
400
|
+
mirrorOf?: string | undefined;
|
|
401
|
+
subnetName?: string | undefined;
|
|
402
|
+
hotkey?: string | undefined;
|
|
370
403
|
} | {
|
|
371
404
|
id: string;
|
|
372
405
|
networkId: string;
|
|
@@ -538,6 +571,22 @@ export declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
538
571
|
noDiscovery?: boolean | undefined;
|
|
539
572
|
mirrorOf?: string | undefined;
|
|
540
573
|
isFrozen?: boolean | undefined;
|
|
574
|
+
} | {
|
|
575
|
+
id: string;
|
|
576
|
+
networkId: string;
|
|
577
|
+
decimals: number;
|
|
578
|
+
symbol: string;
|
|
579
|
+
type: "substrate-dtao";
|
|
580
|
+
platform: "polkadot";
|
|
581
|
+
netuid: number;
|
|
582
|
+
isDefault?: boolean | undefined;
|
|
583
|
+
name?: string | undefined;
|
|
584
|
+
logo?: string | undefined;
|
|
585
|
+
coingeckoId?: string | undefined;
|
|
586
|
+
noDiscovery?: boolean | undefined;
|
|
587
|
+
mirrorOf?: string | undefined;
|
|
588
|
+
subnetName?: string | undefined;
|
|
589
|
+
hotkey?: string | undefined;
|
|
541
590
|
} | {
|
|
542
591
|
id: string;
|
|
543
592
|
networkId: string;
|
|
@@ -705,13 +754,14 @@ export declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
705
754
|
"substrate-native": z.ZodOptional<z.ZodObject<{
|
|
706
755
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
707
756
|
}, z.core.$strip>>;
|
|
708
|
-
"substrate-assets": z.ZodOptional<z.
|
|
709
|
-
"substrate-psp22": z.ZodOptional<z.
|
|
757
|
+
"substrate-assets": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
758
|
+
"substrate-psp22": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
710
759
|
"substrate-tokens": z.ZodOptional<z.ZodObject<{
|
|
711
760
|
palletId: z.ZodOptional<z.ZodString>;
|
|
712
761
|
}, z.core.$strip>>;
|
|
713
|
-
"substrate-foreignassets": z.ZodOptional<z.
|
|
714
|
-
"substrate-hydration": z.ZodOptional<z.
|
|
762
|
+
"substrate-foreignassets": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
763
|
+
"substrate-hydration": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
764
|
+
"substrate-dtao": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
715
765
|
}, z.core.$strict>>;
|
|
716
766
|
}, z.core.$strict>, z.ZodObject<{
|
|
717
767
|
id: z.ZodString;
|
|
@@ -750,9 +800,9 @@ export declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
750
800
|
Multicall3: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
751
801
|
}, z.core.$strict>>;
|
|
752
802
|
balancesConfig: z.ZodOptional<z.ZodObject<{
|
|
753
|
-
"evm-native": z.ZodOptional<z.
|
|
754
|
-
"evm-erc20": z.ZodOptional<z.
|
|
755
|
-
"evm-uniswapv2": z.ZodOptional<z.
|
|
803
|
+
"evm-native": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
804
|
+
"evm-erc20": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
805
|
+
"evm-uniswapv2": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
756
806
|
}, z.core.$strict>>;
|
|
757
807
|
}, z.core.$strict>, z.ZodObject<{
|
|
758
808
|
id: z.ZodString;
|
|
@@ -776,8 +826,8 @@ export declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
776
826
|
genesisHash: z.ZodString;
|
|
777
827
|
rpcs: z.ZodArray<z.ZodURL>;
|
|
778
828
|
balancesConfig: z.ZodOptional<z.ZodObject<{
|
|
779
|
-
"sol-native": z.ZodOptional<z.
|
|
780
|
-
"sol-spl": z.ZodOptional<z.
|
|
829
|
+
"sol-native": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
830
|
+
"sol-spl": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
781
831
|
}, z.core.$strict>>;
|
|
782
832
|
}, z.core.$strict>]>>>;
|
|
783
833
|
tokens: z.ZodArray<z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -847,6 +897,22 @@ export declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
847
897
|
isFrozen: z.ZodOptional<z.ZodBoolean>;
|
|
848
898
|
isSufficient: z.ZodBoolean;
|
|
849
899
|
existentialDeposit: z.ZodString;
|
|
900
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
901
|
+
id: z.ZodString;
|
|
902
|
+
networkId: z.ZodString;
|
|
903
|
+
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
904
|
+
decimals: z.ZodInt;
|
|
905
|
+
symbol: z.ZodString;
|
|
906
|
+
name: z.ZodOptional<z.ZodString>;
|
|
907
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
908
|
+
coingeckoId: z.ZodOptional<z.ZodString>;
|
|
909
|
+
noDiscovery: z.ZodOptional<z.ZodBoolean>;
|
|
910
|
+
mirrorOf: z.ZodOptional<z.ZodString>;
|
|
911
|
+
type: z.ZodLiteral<"substrate-dtao">;
|
|
912
|
+
platform: z.ZodLiteral<"polkadot">;
|
|
913
|
+
netuid: z.ZodNumber;
|
|
914
|
+
subnetName: z.ZodOptional<z.ZodString>;
|
|
915
|
+
hotkey: z.ZodOptional<z.ZodString>;
|
|
850
916
|
}, z.core.$strict>, z.ZodObject<{
|
|
851
917
|
id: z.ZodString;
|
|
852
918
|
networkId: z.ZodString;
|
|
@@ -1022,6 +1088,22 @@ export declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
1022
1088
|
noDiscovery?: boolean | undefined;
|
|
1023
1089
|
mirrorOf?: string | undefined;
|
|
1024
1090
|
isFrozen?: boolean | undefined;
|
|
1091
|
+
} | {
|
|
1092
|
+
id: string;
|
|
1093
|
+
networkId: string;
|
|
1094
|
+
decimals: number;
|
|
1095
|
+
symbol: string;
|
|
1096
|
+
type: "substrate-dtao";
|
|
1097
|
+
platform: "polkadot";
|
|
1098
|
+
netuid: number;
|
|
1099
|
+
isDefault?: boolean | undefined;
|
|
1100
|
+
name?: string | undefined;
|
|
1101
|
+
logo?: string | undefined;
|
|
1102
|
+
coingeckoId?: string | undefined;
|
|
1103
|
+
noDiscovery?: boolean | undefined;
|
|
1104
|
+
mirrorOf?: string | undefined;
|
|
1105
|
+
subnetName?: string | undefined;
|
|
1106
|
+
hotkey?: string | undefined;
|
|
1025
1107
|
} | {
|
|
1026
1108
|
id: string;
|
|
1027
1109
|
networkId: string;
|
|
@@ -1193,6 +1275,22 @@ export declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
1193
1275
|
noDiscovery?: boolean | undefined;
|
|
1194
1276
|
mirrorOf?: string | undefined;
|
|
1195
1277
|
isFrozen?: boolean | undefined;
|
|
1278
|
+
} | {
|
|
1279
|
+
id: string;
|
|
1280
|
+
networkId: string;
|
|
1281
|
+
decimals: number;
|
|
1282
|
+
symbol: string;
|
|
1283
|
+
type: "substrate-dtao";
|
|
1284
|
+
platform: "polkadot";
|
|
1285
|
+
netuid: number;
|
|
1286
|
+
isDefault?: boolean | undefined;
|
|
1287
|
+
name?: string | undefined;
|
|
1288
|
+
logo?: string | undefined;
|
|
1289
|
+
coingeckoId?: string | undefined;
|
|
1290
|
+
noDiscovery?: boolean | undefined;
|
|
1291
|
+
mirrorOf?: string | undefined;
|
|
1292
|
+
subnetName?: string | undefined;
|
|
1293
|
+
hotkey?: string | undefined;
|
|
1196
1294
|
} | {
|
|
1197
1295
|
id: string;
|
|
1198
1296
|
networkId: string;
|