@talismn/chaindata-provider 1.3.4 → 1.3.6

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.
Files changed (59) hide show
  1. package/dist/index.d.mts +4167 -0
  2. package/dist/index.d.ts +4167 -0
  3. package/dist/index.js +7195 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/index.mjs +7061 -0
  6. package/dist/index.mjs.map +1 -0
  7. package/package.json +25 -27
  8. package/dist/declarations/src/chaindata/index.d.ts +0 -6
  9. package/dist/declarations/src/chaindata/miniMetadata.d.ts +0 -17
  10. package/dist/declarations/src/chaindata/networks/DotNetwork.d.ts +0 -87
  11. package/dist/declarations/src/chaindata/networks/EthNetwork.d.ts +0 -52
  12. package/dist/declarations/src/chaindata/networks/Network.d.ts +0 -131
  13. package/dist/declarations/src/chaindata/networks/NetworkBase.d.ts +0 -21
  14. package/dist/declarations/src/chaindata/networks/SolNetwork.d.ts +0 -35
  15. package/dist/declarations/src/chaindata/networks/index.d.ts +0 -5
  16. package/dist/declarations/src/chaindata/shared/EthereumAddress.d.ts +0 -3
  17. package/dist/declarations/src/chaindata/shared/HexString.d.ts +0 -3
  18. package/dist/declarations/src/chaindata/shared/SolanaAddress.d.ts +0 -3
  19. package/dist/declarations/src/chaindata/shared/index.d.ts +0 -3
  20. package/dist/declarations/src/chaindata/tokens/EvmErc20Token.d.ts +0 -30
  21. package/dist/declarations/src/chaindata/tokens/EvmNativeToken.d.ts +0 -28
  22. package/dist/declarations/src/chaindata/tokens/EvmUniswapV2Token.d.ts +0 -39
  23. package/dist/declarations/src/chaindata/tokens/SolNativeToken.d.ts +0 -28
  24. package/dist/declarations/src/chaindata/tokens/SolSplToken.d.ts +0 -30
  25. package/dist/declarations/src/chaindata/tokens/SubstrateAssetsToken.d.ts +0 -33
  26. package/dist/declarations/src/chaindata/tokens/SubstrateDTaoToken.d.ts +0 -34
  27. package/dist/declarations/src/chaindata/tokens/SubstrateForeignAssetsToken.d.ts +0 -32
  28. package/dist/declarations/src/chaindata/tokens/SubstrateHydrationToken.d.ts +0 -36
  29. package/dist/declarations/src/chaindata/tokens/SubstrateNativeToken.d.ts +0 -31
  30. package/dist/declarations/src/chaindata/tokens/SubstratePsp22Token.d.ts +0 -30
  31. package/dist/declarations/src/chaindata/tokens/SubstrateTokensToken.d.ts +0 -32
  32. package/dist/declarations/src/chaindata/tokens/Token.d.ts +0 -797
  33. package/dist/declarations/src/chaindata/tokens/TokenBase.d.ts +0 -14
  34. package/dist/declarations/src/chaindata/tokens/index.d.ts +0 -14
  35. package/dist/declarations/src/chaindata/tokens/utils.d.ts +0 -1
  36. package/dist/declarations/src/chaindata/utils.d.ts +0 -428
  37. package/dist/declarations/src/constants.d.ts +0 -10
  38. package/dist/declarations/src/getBlockExplorerUrls.d.ts +0 -23
  39. package/dist/declarations/src/index.d.ts +0 -11
  40. package/dist/declarations/src/legacy/Chain.d.ts +0 -91
  41. package/dist/declarations/src/legacy/EvmNetwork.d.ts +0 -64
  42. package/dist/declarations/src/legacy/TalismanChaindataDatabase.d.ts +0 -13
  43. package/dist/declarations/src/log.d.ts +0 -2
  44. package/dist/declarations/src/provider/ChaindataProvider.d.ts +0 -601
  45. package/dist/declarations/src/provider/ChaindataProviderInterface.d.ts +0 -30
  46. package/dist/declarations/src/state/combinedChaindata.d.ts +0 -11
  47. package/dist/declarations/src/state/defaultChaindata.d.ts +0 -322
  48. package/dist/declarations/src/state/githubChaindata.d.ts +0 -321
  49. package/dist/declarations/src/state/net.d.ts +0 -321
  50. package/dist/declarations/src/state/oldDb.d.ts +0 -1
  51. package/dist/declarations/src/state/schema.d.ts +0 -1406
  52. package/dist/declarations/src/upgrades/2024-01-25-upgradeAddIsDefaultToExistingChains.d.ts +0 -2
  53. package/dist/declarations/src/upgrades/2024-01-25-upgradeRemoveSymbolFromNativeTokenId.d.ts +0 -2
  54. package/dist/declarations/src/util.d.ts +0 -9
  55. package/dist/talismn-chaindata-provider.cjs.d.ts +0 -1
  56. package/dist/talismn-chaindata-provider.cjs.dev.js +0 -7078
  57. package/dist/talismn-chaindata-provider.cjs.js +0 -7
  58. package/dist/talismn-chaindata-provider.cjs.prod.js +0 -7078
  59. package/dist/talismn-chaindata-provider.esm.js +0 -6961
@@ -1,1406 +0,0 @@
1
- import z from "zod/v4";
2
- export declare const ChaindataFileSchema: z.ZodObject<{
3
- networks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4
- id: z.ZodString;
5
- isTestnet: z.ZodOptional<z.ZodBoolean>;
6
- isDefault: z.ZodOptional<z.ZodBoolean>;
7
- forceScan: z.ZodOptional<z.ZodBoolean>;
8
- name: z.ZodString;
9
- logo: z.ZodOptional<z.ZodString>;
10
- nativeTokenId: z.ZodString;
11
- nativeCurrency: z.ZodObject<{
12
- decimals: z.ZodUInt32;
13
- symbol: z.ZodString;
14
- name: z.ZodString;
15
- coingeckoId: z.ZodOptional<z.ZodString>;
16
- mirrorOf: z.ZodOptional<z.ZodString>;
17
- logo: z.ZodOptional<z.ZodString>;
18
- }, z.core.$strict>;
19
- themeColor: z.ZodOptional<z.ZodString>;
20
- blockExplorerUrls: z.ZodDefault<z.ZodArray<z.ZodURL>>;
21
- genesisHash: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
22
- platform: z.ZodLiteral<"polkadot">;
23
- chainName: z.ZodString;
24
- specName: z.ZodString;
25
- specVersion: z.ZodUInt32;
26
- account: z.ZodEnum<{
27
- secp256k1: "secp256k1";
28
- "*25519": "*25519";
29
- }>;
30
- chainspecQrUrl: z.ZodOptional<z.ZodString>;
31
- latestMetadataQrUrl: z.ZodOptional<z.ZodString>;
32
- prefix: z.ZodNumber;
33
- oldPrefix: z.ZodOptional<z.ZodNumber>;
34
- rpcs: z.ZodArray<z.ZodURL>;
35
- registryTypes: z.ZodOptional<z.ZodAny>;
36
- signedExtensions: z.ZodOptional<z.ZodAny>;
37
- hasCheckMetadataHash: z.ZodOptional<z.ZodBoolean>;
38
- hasExtrinsicSignatureTypePrefix: z.ZodOptional<z.ZodBoolean>;
39
- isUnknownFeeToken: z.ZodOptional<z.ZodBoolean>;
40
- topology: z.ZodDiscriminatedUnion<[z.ZodObject<{
41
- type: z.ZodLiteral<"standalone">;
42
- }, z.core.$strict>, z.ZodObject<{
43
- type: z.ZodLiteral<"relay">;
44
- }, z.core.$strict>, z.ZodObject<{
45
- type: z.ZodLiteral<"parachain">;
46
- relayId: z.ZodString;
47
- paraId: z.ZodNumber;
48
- }, z.core.$strict>]>;
49
- balancesConfig: z.ZodOptional<z.ZodObject<{
50
- "substrate-native": z.ZodOptional<z.ZodObject<{
51
- disable: z.ZodOptional<z.ZodBoolean>;
52
- }, z.core.$strip>>;
53
- "substrate-assets": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
54
- "substrate-psp22": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
55
- "substrate-tokens": z.ZodOptional<z.ZodObject<{
56
- palletId: z.ZodOptional<z.ZodString>;
57
- }, z.core.$strip>>;
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>>;
61
- }, z.core.$strict>>;
62
- }, z.core.$strict>, z.ZodObject<{
63
- id: z.ZodString;
64
- isTestnet: z.ZodOptional<z.ZodBoolean>;
65
- isDefault: z.ZodOptional<z.ZodBoolean>;
66
- forceScan: z.ZodOptional<z.ZodBoolean>;
67
- name: z.ZodString;
68
- logo: z.ZodOptional<z.ZodString>;
69
- nativeTokenId: z.ZodString;
70
- nativeCurrency: z.ZodObject<{
71
- decimals: z.ZodUInt32;
72
- symbol: z.ZodString;
73
- name: z.ZodString;
74
- coingeckoId: z.ZodOptional<z.ZodString>;
75
- mirrorOf: z.ZodOptional<z.ZodString>;
76
- logo: z.ZodOptional<z.ZodString>;
77
- }, z.core.$strict>;
78
- themeColor: z.ZodOptional<z.ZodString>;
79
- blockExplorerUrls: z.ZodDefault<z.ZodArray<z.ZodURL>>;
80
- platform: z.ZodLiteral<"ethereum">;
81
- substrateChainId: z.ZodOptional<z.ZodString>;
82
- preserveGasEstimate: z.ZodOptional<z.ZodBoolean>;
83
- rpcs: z.ZodArray<z.ZodURL>;
84
- feeType: z.ZodOptional<z.ZodEnum<{
85
- legacy: "legacy";
86
- "eip-1559": "eip-1559";
87
- }>>;
88
- l2FeeType: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
89
- type: z.ZodLiteral<"op-stack">;
90
- }, z.core.$strict>, z.ZodObject<{
91
- type: z.ZodLiteral<"scroll">;
92
- l1GasPriceOracle: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
93
- }, z.core.$strict>]>>;
94
- contracts: z.ZodOptional<z.ZodObject<{
95
- Erc20Aggregator: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
96
- Multicall3: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
97
- }, z.core.$strict>>;
98
- balancesConfig: z.ZodOptional<z.ZodObject<{
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>>;
102
- }, z.core.$strict>>;
103
- }, z.core.$strict>, z.ZodObject<{
104
- id: z.ZodString;
105
- isTestnet: z.ZodOptional<z.ZodBoolean>;
106
- isDefault: z.ZodOptional<z.ZodBoolean>;
107
- forceScan: z.ZodOptional<z.ZodBoolean>;
108
- name: z.ZodString;
109
- logo: z.ZodOptional<z.ZodString>;
110
- nativeTokenId: z.ZodString;
111
- nativeCurrency: z.ZodObject<{
112
- decimals: z.ZodUInt32;
113
- symbol: z.ZodString;
114
- name: z.ZodString;
115
- coingeckoId: z.ZodOptional<z.ZodString>;
116
- mirrorOf: z.ZodOptional<z.ZodString>;
117
- logo: z.ZodOptional<z.ZodString>;
118
- }, z.core.$strict>;
119
- themeColor: z.ZodOptional<z.ZodString>;
120
- blockExplorerUrls: z.ZodDefault<z.ZodArray<z.ZodURL>>;
121
- platform: z.ZodLiteral<"solana">;
122
- genesisHash: z.ZodString;
123
- rpcs: z.ZodArray<z.ZodURL>;
124
- balancesConfig: z.ZodOptional<z.ZodObject<{
125
- "sol-native": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
126
- "sol-spl": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
127
- }, z.core.$strict>>;
128
- }, z.core.$strict>]>>;
129
- tokens: z.ZodArray<z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
130
- id: z.ZodString;
131
- networkId: z.ZodString;
132
- isDefault: z.ZodOptional<z.ZodBoolean>;
133
- decimals: z.ZodInt;
134
- symbol: z.ZodString;
135
- name: z.ZodOptional<z.ZodString>;
136
- logo: z.ZodOptional<z.ZodString>;
137
- coingeckoId: z.ZodOptional<z.ZodString>;
138
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
139
- mirrorOf: z.ZodOptional<z.ZodString>;
140
- type: z.ZodLiteral<"evm-erc20">;
141
- platform: z.ZodLiteral<"ethereum">;
142
- contractAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
143
- }, z.core.$strict>, z.ZodObject<{
144
- id: z.ZodString;
145
- networkId: z.ZodString;
146
- isDefault: z.ZodOptional<z.ZodBoolean>;
147
- decimals: z.ZodInt;
148
- symbol: z.ZodString;
149
- name: z.ZodOptional<z.ZodString>;
150
- logo: z.ZodOptional<z.ZodString>;
151
- coingeckoId: z.ZodOptional<z.ZodString>;
152
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
153
- mirrorOf: z.ZodOptional<z.ZodString>;
154
- type: z.ZodLiteral<"evm-native">;
155
- platform: z.ZodLiteral<"ethereum">;
156
- }, z.core.$strict>, z.ZodObject<{
157
- id: z.ZodString;
158
- networkId: z.ZodString;
159
- isDefault: z.ZodOptional<z.ZodBoolean>;
160
- decimals: z.ZodInt;
161
- symbol: z.ZodString;
162
- name: z.ZodOptional<z.ZodString>;
163
- logo: z.ZodOptional<z.ZodString>;
164
- coingeckoId: z.ZodOptional<z.ZodString>;
165
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
166
- mirrorOf: z.ZodOptional<z.ZodString>;
167
- type: z.ZodLiteral<"evm-uniswapv2">;
168
- platform: z.ZodLiteral<"ethereum">;
169
- contractAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
170
- isCustom: z.ZodOptional<z.ZodBoolean>;
171
- symbol0: z.ZodString;
172
- symbol1: z.ZodString;
173
- decimals0: z.ZodInt;
174
- decimals1: z.ZodInt;
175
- tokenAddress0: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
176
- tokenAddress1: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
177
- coingeckoId0: z.ZodOptional<z.ZodString>;
178
- coingeckoId1: z.ZodOptional<z.ZodString>;
179
- }, z.core.$strict>, z.ZodObject<{
180
- id: z.ZodString;
181
- networkId: z.ZodString;
182
- isDefault: z.ZodOptional<z.ZodBoolean>;
183
- decimals: z.ZodInt;
184
- symbol: z.ZodString;
185
- name: z.ZodOptional<z.ZodString>;
186
- logo: z.ZodOptional<z.ZodString>;
187
- coingeckoId: z.ZodOptional<z.ZodString>;
188
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
189
- mirrorOf: z.ZodOptional<z.ZodString>;
190
- type: z.ZodLiteral<"substrate-assets">;
191
- platform: z.ZodLiteral<"polkadot">;
192
- assetId: z.ZodPipe<z.ZodUnion<readonly [z.ZodUInt32, z.ZodString]>, z.ZodTransform<string, string | number>>;
193
- isFrozen: z.ZodOptional<z.ZodBoolean>;
194
- isSufficient: z.ZodBoolean;
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>;
212
- isTransferable: z.ZodDefault<z.ZodBoolean>;
213
- }, z.core.$strict>, z.ZodObject<{
214
- id: z.ZodString;
215
- networkId: z.ZodString;
216
- isDefault: z.ZodOptional<z.ZodBoolean>;
217
- decimals: z.ZodInt;
218
- symbol: z.ZodString;
219
- name: z.ZodOptional<z.ZodString>;
220
- logo: z.ZodOptional<z.ZodString>;
221
- coingeckoId: z.ZodOptional<z.ZodString>;
222
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
223
- mirrorOf: z.ZodOptional<z.ZodString>;
224
- type: z.ZodLiteral<"substrate-foreignassets">;
225
- platform: z.ZodLiteral<"polkadot">;
226
- onChainId: z.ZodString;
227
- isFrozen: z.ZodOptional<z.ZodBoolean>;
228
- isSufficient: z.ZodBoolean;
229
- existentialDeposit: z.ZodString;
230
- }, z.core.$strict>, z.ZodObject<{
231
- id: z.ZodString;
232
- networkId: z.ZodString;
233
- isDefault: z.ZodOptional<z.ZodBoolean>;
234
- decimals: z.ZodInt;
235
- symbol: z.ZodString;
236
- name: z.ZodOptional<z.ZodString>;
237
- logo: z.ZodOptional<z.ZodString>;
238
- coingeckoId: z.ZodOptional<z.ZodString>;
239
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
240
- mirrorOf: z.ZodOptional<z.ZodString>;
241
- type: z.ZodLiteral<"substrate-native">;
242
- platform: z.ZodLiteral<"polkadot">;
243
- existentialDeposit: z.ZodString;
244
- }, z.core.$strict>, z.ZodObject<{
245
- id: z.ZodString;
246
- networkId: z.ZodString;
247
- isDefault: z.ZodOptional<z.ZodBoolean>;
248
- decimals: z.ZodInt;
249
- symbol: z.ZodString;
250
- name: z.ZodOptional<z.ZodString>;
251
- logo: z.ZodOptional<z.ZodString>;
252
- coingeckoId: z.ZodOptional<z.ZodString>;
253
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
254
- mirrorOf: z.ZodOptional<z.ZodString>;
255
- type: z.ZodLiteral<"substrate-psp22">;
256
- platform: z.ZodLiteral<"polkadot">;
257
- contractAddress: z.ZodString;
258
- }, z.core.$strict>, z.ZodObject<{
259
- id: z.ZodString;
260
- networkId: z.ZodString;
261
- isDefault: z.ZodOptional<z.ZodBoolean>;
262
- decimals: z.ZodInt;
263
- symbol: z.ZodString;
264
- name: z.ZodOptional<z.ZodString>;
265
- logo: z.ZodOptional<z.ZodString>;
266
- coingeckoId: z.ZodOptional<z.ZodString>;
267
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
268
- mirrorOf: z.ZodOptional<z.ZodString>;
269
- type: z.ZodLiteral<"substrate-tokens">;
270
- platform: z.ZodLiteral<"polkadot">;
271
- onChainId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
272
- existentialDeposit: z.ZodString;
273
- }, z.core.$strict>, z.ZodObject<{
274
- id: z.ZodString;
275
- networkId: z.ZodString;
276
- isDefault: z.ZodOptional<z.ZodBoolean>;
277
- decimals: z.ZodInt;
278
- symbol: z.ZodString;
279
- name: z.ZodOptional<z.ZodString>;
280
- logo: z.ZodOptional<z.ZodString>;
281
- coingeckoId: z.ZodOptional<z.ZodString>;
282
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
283
- mirrorOf: z.ZodOptional<z.ZodString>;
284
- type: z.ZodLiteral<"substrate-hydration">;
285
- platform: z.ZodLiteral<"polkadot">;
286
- onChainId: z.ZodUInt32;
287
- assetType: z.ZodEnum<{
288
- Token: "Token";
289
- Erc20: "Erc20";
290
- External: "External";
291
- }>;
292
- isSufficient: z.ZodBoolean;
293
- existentialDeposit: z.ZodString;
294
- }, z.core.$strict>, z.ZodObject<{
295
- id: z.ZodString;
296
- networkId: z.ZodString;
297
- isDefault: z.ZodOptional<z.ZodBoolean>;
298
- decimals: z.ZodInt;
299
- symbol: z.ZodString;
300
- name: z.ZodOptional<z.ZodString>;
301
- logo: z.ZodOptional<z.ZodString>;
302
- coingeckoId: z.ZodOptional<z.ZodString>;
303
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
304
- mirrorOf: z.ZodOptional<z.ZodString>;
305
- type: z.ZodLiteral<"sol-native">;
306
- platform: z.ZodLiteral<"solana">;
307
- }, z.core.$strict>, z.ZodObject<{
308
- id: z.ZodString;
309
- networkId: z.ZodString;
310
- isDefault: z.ZodOptional<z.ZodBoolean>;
311
- decimals: z.ZodInt;
312
- symbol: z.ZodString;
313
- name: z.ZodOptional<z.ZodString>;
314
- logo: z.ZodOptional<z.ZodString>;
315
- coingeckoId: z.ZodOptional<z.ZodString>;
316
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
317
- mirrorOf: z.ZodOptional<z.ZodString>;
318
- type: z.ZodLiteral<"sol-spl">;
319
- platform: z.ZodLiteral<"solana">;
320
- mintAddress: z.ZodString;
321
- }, z.core.$strict>]>, z.ZodTransform<{
322
- id: string;
323
- networkId: string;
324
- decimals: number;
325
- symbol: string;
326
- type: "evm-erc20";
327
- platform: "ethereum";
328
- contractAddress: `0x${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: "evm-native";
341
- platform: "ethereum";
342
- isDefault?: boolean | undefined;
343
- name?: string | undefined;
344
- logo?: string | undefined;
345
- coingeckoId?: string | undefined;
346
- noDiscovery?: boolean | undefined;
347
- mirrorOf?: string | undefined;
348
- } | {
349
- id: string;
350
- networkId: string;
351
- decimals: number;
352
- symbol: string;
353
- type: "evm-uniswapv2";
354
- platform: "ethereum";
355
- contractAddress: `0x${string}`;
356
- symbol0: string;
357
- symbol1: string;
358
- decimals0: number;
359
- decimals1: number;
360
- tokenAddress0: `0x${string}`;
361
- tokenAddress1: `0x${string}`;
362
- isDefault?: boolean | undefined;
363
- name?: string | undefined;
364
- logo?: string | undefined;
365
- coingeckoId?: string | undefined;
366
- noDiscovery?: boolean | undefined;
367
- mirrorOf?: string | undefined;
368
- isCustom?: boolean | undefined;
369
- coingeckoId0?: string | undefined;
370
- coingeckoId1?: string | undefined;
371
- } | {
372
- id: string;
373
- networkId: string;
374
- decimals: number;
375
- symbol: string;
376
- type: "substrate-assets";
377
- platform: "polkadot";
378
- assetId: string;
379
- isSufficient: boolean;
380
- existentialDeposit: string;
381
- isDefault?: boolean | undefined;
382
- name?: string | undefined;
383
- logo?: string | undefined;
384
- coingeckoId?: string | undefined;
385
- noDiscovery?: boolean | undefined;
386
- mirrorOf?: string | undefined;
387
- isFrozen?: boolean | undefined;
388
- } | {
389
- id: string;
390
- networkId: string;
391
- decimals: number;
392
- symbol: string;
393
- type: "substrate-dtao";
394
- platform: "polkadot";
395
- netuid: number;
396
- isTransferable: boolean;
397
- isDefault?: boolean | undefined;
398
- name?: string | undefined;
399
- logo?: string | undefined;
400
- coingeckoId?: string | undefined;
401
- noDiscovery?: boolean | undefined;
402
- mirrorOf?: string | undefined;
403
- subnetName?: string | undefined;
404
- hotkey?: string | undefined;
405
- } | {
406
- id: string;
407
- networkId: string;
408
- decimals: number;
409
- symbol: string;
410
- type: "substrate-foreignassets";
411
- platform: "polkadot";
412
- onChainId: string;
413
- isSufficient: boolean;
414
- existentialDeposit: string;
415
- isDefault?: boolean | undefined;
416
- name?: string | undefined;
417
- logo?: string | undefined;
418
- coingeckoId?: string | undefined;
419
- noDiscovery?: boolean | undefined;
420
- mirrorOf?: string | undefined;
421
- isFrozen?: boolean | undefined;
422
- } | {
423
- id: string;
424
- networkId: string;
425
- decimals: number;
426
- symbol: string;
427
- type: "substrate-native";
428
- platform: "polkadot";
429
- existentialDeposit: string;
430
- isDefault?: boolean | undefined;
431
- name?: string | undefined;
432
- logo?: string | undefined;
433
- coingeckoId?: string | undefined;
434
- noDiscovery?: boolean | undefined;
435
- mirrorOf?: string | undefined;
436
- } | {
437
- id: string;
438
- networkId: string;
439
- decimals: number;
440
- symbol: string;
441
- type: "substrate-psp22";
442
- platform: "polkadot";
443
- contractAddress: string;
444
- isDefault?: boolean | undefined;
445
- name?: string | undefined;
446
- logo?: string | undefined;
447
- coingeckoId?: string | undefined;
448
- noDiscovery?: boolean | undefined;
449
- mirrorOf?: string | undefined;
450
- } | {
451
- id: string;
452
- networkId: string;
453
- decimals: number;
454
- symbol: string;
455
- type: "substrate-tokens";
456
- platform: "polkadot";
457
- onChainId: string | number;
458
- existentialDeposit: string;
459
- isDefault?: boolean | undefined;
460
- name?: string | undefined;
461
- logo?: string | undefined;
462
- coingeckoId?: string | undefined;
463
- noDiscovery?: boolean | undefined;
464
- mirrorOf?: string | undefined;
465
- } | {
466
- id: string;
467
- networkId: string;
468
- decimals: number;
469
- symbol: string;
470
- type: "substrate-hydration";
471
- platform: "polkadot";
472
- onChainId: number;
473
- assetType: "Token" | "Erc20" | "External";
474
- isSufficient: boolean;
475
- existentialDeposit: string;
476
- isDefault?: boolean | undefined;
477
- name?: string | undefined;
478
- logo?: string | undefined;
479
- coingeckoId?: string | undefined;
480
- noDiscovery?: boolean | undefined;
481
- mirrorOf?: string | undefined;
482
- } | {
483
- id: string;
484
- networkId: string;
485
- decimals: number;
486
- symbol: string;
487
- type: "sol-native";
488
- platform: "solana";
489
- isDefault?: boolean | undefined;
490
- name?: string | undefined;
491
- logo?: string | undefined;
492
- coingeckoId?: string | undefined;
493
- noDiscovery?: boolean | undefined;
494
- mirrorOf?: string | undefined;
495
- } | {
496
- id: string;
497
- networkId: string;
498
- decimals: number;
499
- symbol: string;
500
- type: "sol-spl";
501
- platform: "solana";
502
- mintAddress: string;
503
- isDefault?: boolean | undefined;
504
- name?: string | undefined;
505
- logo?: string | undefined;
506
- coingeckoId?: string | undefined;
507
- noDiscovery?: boolean | undefined;
508
- mirrorOf?: string | undefined;
509
- }, {
510
- id: string;
511
- networkId: string;
512
- decimals: number;
513
- symbol: string;
514
- type: "evm-erc20";
515
- platform: "ethereum";
516
- contractAddress: `0x${string}`;
517
- isDefault?: boolean | undefined;
518
- name?: string | undefined;
519
- logo?: string | undefined;
520
- coingeckoId?: string | undefined;
521
- noDiscovery?: boolean | undefined;
522
- mirrorOf?: string | undefined;
523
- } | {
524
- id: string;
525
- networkId: string;
526
- decimals: number;
527
- symbol: string;
528
- type: "evm-native";
529
- platform: "ethereum";
530
- isDefault?: boolean | undefined;
531
- name?: string | undefined;
532
- logo?: string | undefined;
533
- coingeckoId?: string | undefined;
534
- noDiscovery?: boolean | undefined;
535
- mirrorOf?: string | undefined;
536
- } | {
537
- id: string;
538
- networkId: string;
539
- decimals: number;
540
- symbol: string;
541
- type: "evm-uniswapv2";
542
- platform: "ethereum";
543
- contractAddress: `0x${string}`;
544
- symbol0: string;
545
- symbol1: string;
546
- decimals0: number;
547
- decimals1: number;
548
- tokenAddress0: `0x${string}`;
549
- tokenAddress1: `0x${string}`;
550
- isDefault?: boolean | undefined;
551
- name?: string | undefined;
552
- logo?: string | undefined;
553
- coingeckoId?: string | undefined;
554
- noDiscovery?: boolean | undefined;
555
- mirrorOf?: string | undefined;
556
- isCustom?: boolean | undefined;
557
- coingeckoId0?: string | undefined;
558
- coingeckoId1?: string | undefined;
559
- } | {
560
- id: string;
561
- networkId: string;
562
- decimals: number;
563
- symbol: string;
564
- type: "substrate-assets";
565
- platform: "polkadot";
566
- assetId: string;
567
- isSufficient: boolean;
568
- existentialDeposit: string;
569
- isDefault?: boolean | undefined;
570
- name?: string | undefined;
571
- logo?: string | undefined;
572
- coingeckoId?: string | undefined;
573
- noDiscovery?: boolean | undefined;
574
- mirrorOf?: string | undefined;
575
- isFrozen?: boolean | undefined;
576
- } | {
577
- id: string;
578
- networkId: string;
579
- decimals: number;
580
- symbol: string;
581
- type: "substrate-dtao";
582
- platform: "polkadot";
583
- netuid: number;
584
- isTransferable: boolean;
585
- isDefault?: boolean | undefined;
586
- name?: string | undefined;
587
- logo?: string | undefined;
588
- coingeckoId?: string | undefined;
589
- noDiscovery?: boolean | undefined;
590
- mirrorOf?: string | undefined;
591
- subnetName?: string | undefined;
592
- hotkey?: string | undefined;
593
- } | {
594
- id: string;
595
- networkId: string;
596
- decimals: number;
597
- symbol: string;
598
- type: "substrate-foreignassets";
599
- platform: "polkadot";
600
- onChainId: string;
601
- isSufficient: boolean;
602
- existentialDeposit: string;
603
- isDefault?: boolean | undefined;
604
- name?: string | undefined;
605
- logo?: string | undefined;
606
- coingeckoId?: string | undefined;
607
- noDiscovery?: boolean | undefined;
608
- mirrorOf?: string | undefined;
609
- isFrozen?: boolean | undefined;
610
- } | {
611
- id: string;
612
- networkId: string;
613
- decimals: number;
614
- symbol: string;
615
- type: "substrate-native";
616
- platform: "polkadot";
617
- existentialDeposit: string;
618
- isDefault?: boolean | undefined;
619
- name?: string | undefined;
620
- logo?: string | undefined;
621
- coingeckoId?: string | undefined;
622
- noDiscovery?: boolean | undefined;
623
- mirrorOf?: string | undefined;
624
- } | {
625
- id: string;
626
- networkId: string;
627
- decimals: number;
628
- symbol: string;
629
- type: "substrate-psp22";
630
- platform: "polkadot";
631
- contractAddress: string;
632
- isDefault?: boolean | undefined;
633
- name?: string | undefined;
634
- logo?: string | undefined;
635
- coingeckoId?: string | undefined;
636
- noDiscovery?: boolean | undefined;
637
- mirrorOf?: string | undefined;
638
- } | {
639
- id: string;
640
- networkId: string;
641
- decimals: number;
642
- symbol: string;
643
- type: "substrate-tokens";
644
- platform: "polkadot";
645
- onChainId: string | number;
646
- existentialDeposit: string;
647
- isDefault?: boolean | undefined;
648
- name?: string | undefined;
649
- logo?: string | undefined;
650
- coingeckoId?: string | undefined;
651
- noDiscovery?: boolean | undefined;
652
- mirrorOf?: string | undefined;
653
- } | {
654
- id: string;
655
- networkId: string;
656
- decimals: number;
657
- symbol: string;
658
- type: "substrate-hydration";
659
- platform: "polkadot";
660
- onChainId: number;
661
- assetType: "Token" | "Erc20" | "External";
662
- isSufficient: boolean;
663
- existentialDeposit: string;
664
- isDefault?: boolean | undefined;
665
- name?: string | undefined;
666
- logo?: string | undefined;
667
- coingeckoId?: string | undefined;
668
- noDiscovery?: boolean | undefined;
669
- mirrorOf?: string | undefined;
670
- } | {
671
- id: string;
672
- networkId: string;
673
- decimals: number;
674
- symbol: string;
675
- type: "sol-native";
676
- platform: "solana";
677
- isDefault?: boolean | undefined;
678
- name?: string | undefined;
679
- logo?: string | undefined;
680
- coingeckoId?: string | undefined;
681
- noDiscovery?: boolean | undefined;
682
- mirrorOf?: string | undefined;
683
- } | {
684
- id: string;
685
- networkId: string;
686
- decimals: number;
687
- symbol: string;
688
- type: "sol-spl";
689
- platform: "solana";
690
- mintAddress: string;
691
- isDefault?: boolean | undefined;
692
- name?: string | undefined;
693
- logo?: string | undefined;
694
- coingeckoId?: string | undefined;
695
- noDiscovery?: boolean | undefined;
696
- mirrorOf?: string | undefined;
697
- }>>>;
698
- miniMetadatas: z.ZodArray<z.ZodObject<{
699
- id: z.ZodString;
700
- source: z.ZodString;
701
- chainId: z.ZodString;
702
- specVersion: z.ZodUInt32;
703
- version: z.ZodString;
704
- data: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
705
- extra: z.ZodNullable<z.ZodAny>;
706
- }, z.core.$strict>>;
707
- }, z.core.$strip>;
708
- export type Chaindata = z.infer<typeof ChaindataFileSchema>;
709
- export declare const CustomChaindataSchema: z.ZodObject<{
710
- networks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
711
- id: z.ZodString;
712
- isTestnet: z.ZodOptional<z.ZodBoolean>;
713
- isDefault: z.ZodOptional<z.ZodBoolean>;
714
- forceScan: z.ZodOptional<z.ZodBoolean>;
715
- name: z.ZodString;
716
- logo: z.ZodOptional<z.ZodString>;
717
- nativeTokenId: z.ZodString;
718
- nativeCurrency: z.ZodObject<{
719
- decimals: z.ZodUInt32;
720
- symbol: z.ZodString;
721
- name: z.ZodString;
722
- coingeckoId: z.ZodOptional<z.ZodString>;
723
- mirrorOf: z.ZodOptional<z.ZodString>;
724
- logo: z.ZodOptional<z.ZodString>;
725
- }, z.core.$strict>;
726
- themeColor: z.ZodOptional<z.ZodString>;
727
- blockExplorerUrls: z.ZodDefault<z.ZodArray<z.ZodURL>>;
728
- genesisHash: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
729
- platform: z.ZodLiteral<"polkadot">;
730
- chainName: z.ZodString;
731
- specName: z.ZodString;
732
- specVersion: z.ZodUInt32;
733
- account: z.ZodEnum<{
734
- secp256k1: "secp256k1";
735
- "*25519": "*25519";
736
- }>;
737
- chainspecQrUrl: z.ZodOptional<z.ZodString>;
738
- latestMetadataQrUrl: z.ZodOptional<z.ZodString>;
739
- prefix: z.ZodNumber;
740
- oldPrefix: z.ZodOptional<z.ZodNumber>;
741
- rpcs: z.ZodArray<z.ZodURL>;
742
- registryTypes: z.ZodOptional<z.ZodAny>;
743
- signedExtensions: z.ZodOptional<z.ZodAny>;
744
- hasCheckMetadataHash: z.ZodOptional<z.ZodBoolean>;
745
- hasExtrinsicSignatureTypePrefix: z.ZodOptional<z.ZodBoolean>;
746
- isUnknownFeeToken: z.ZodOptional<z.ZodBoolean>;
747
- topology: z.ZodDiscriminatedUnion<[z.ZodObject<{
748
- type: z.ZodLiteral<"standalone">;
749
- }, z.core.$strict>, z.ZodObject<{
750
- type: z.ZodLiteral<"relay">;
751
- }, z.core.$strict>, z.ZodObject<{
752
- type: z.ZodLiteral<"parachain">;
753
- relayId: z.ZodString;
754
- paraId: z.ZodNumber;
755
- }, z.core.$strict>]>;
756
- balancesConfig: z.ZodOptional<z.ZodObject<{
757
- "substrate-native": z.ZodOptional<z.ZodObject<{
758
- disable: z.ZodOptional<z.ZodBoolean>;
759
- }, z.core.$strip>>;
760
- "substrate-assets": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
761
- "substrate-psp22": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
762
- "substrate-tokens": z.ZodOptional<z.ZodObject<{
763
- palletId: z.ZodOptional<z.ZodString>;
764
- }, z.core.$strip>>;
765
- "substrate-foreignassets": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
766
- "substrate-hydration": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
767
- "substrate-dtao": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
768
- }, z.core.$strict>>;
769
- }, z.core.$strict>, z.ZodObject<{
770
- id: z.ZodString;
771
- isTestnet: z.ZodOptional<z.ZodBoolean>;
772
- isDefault: z.ZodOptional<z.ZodBoolean>;
773
- forceScan: z.ZodOptional<z.ZodBoolean>;
774
- name: z.ZodString;
775
- logo: z.ZodOptional<z.ZodString>;
776
- nativeTokenId: z.ZodString;
777
- nativeCurrency: z.ZodObject<{
778
- decimals: z.ZodUInt32;
779
- symbol: z.ZodString;
780
- name: z.ZodString;
781
- coingeckoId: z.ZodOptional<z.ZodString>;
782
- mirrorOf: z.ZodOptional<z.ZodString>;
783
- logo: z.ZodOptional<z.ZodString>;
784
- }, z.core.$strict>;
785
- themeColor: z.ZodOptional<z.ZodString>;
786
- blockExplorerUrls: z.ZodDefault<z.ZodArray<z.ZodURL>>;
787
- platform: z.ZodLiteral<"ethereum">;
788
- substrateChainId: z.ZodOptional<z.ZodString>;
789
- preserveGasEstimate: z.ZodOptional<z.ZodBoolean>;
790
- rpcs: z.ZodArray<z.ZodURL>;
791
- feeType: z.ZodOptional<z.ZodEnum<{
792
- legacy: "legacy";
793
- "eip-1559": "eip-1559";
794
- }>>;
795
- l2FeeType: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
796
- type: z.ZodLiteral<"op-stack">;
797
- }, z.core.$strict>, z.ZodObject<{
798
- type: z.ZodLiteral<"scroll">;
799
- l1GasPriceOracle: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
800
- }, z.core.$strict>]>>;
801
- contracts: z.ZodOptional<z.ZodObject<{
802
- Erc20Aggregator: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
803
- Multicall3: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
804
- }, z.core.$strict>>;
805
- balancesConfig: z.ZodOptional<z.ZodObject<{
806
- "evm-native": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
807
- "evm-erc20": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
808
- "evm-uniswapv2": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
809
- }, z.core.$strict>>;
810
- }, z.core.$strict>, z.ZodObject<{
811
- id: z.ZodString;
812
- isTestnet: z.ZodOptional<z.ZodBoolean>;
813
- isDefault: z.ZodOptional<z.ZodBoolean>;
814
- forceScan: z.ZodOptional<z.ZodBoolean>;
815
- name: z.ZodString;
816
- logo: z.ZodOptional<z.ZodString>;
817
- nativeTokenId: z.ZodString;
818
- nativeCurrency: z.ZodObject<{
819
- decimals: z.ZodUInt32;
820
- symbol: z.ZodString;
821
- name: z.ZodString;
822
- coingeckoId: z.ZodOptional<z.ZodString>;
823
- mirrorOf: z.ZodOptional<z.ZodString>;
824
- logo: z.ZodOptional<z.ZodString>;
825
- }, z.core.$strict>;
826
- themeColor: z.ZodOptional<z.ZodString>;
827
- blockExplorerUrls: z.ZodDefault<z.ZodArray<z.ZodURL>>;
828
- platform: z.ZodLiteral<"solana">;
829
- genesisHash: z.ZodString;
830
- rpcs: z.ZodArray<z.ZodURL>;
831
- balancesConfig: z.ZodOptional<z.ZodObject<{
832
- "sol-native": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
833
- "sol-spl": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
834
- }, z.core.$strict>>;
835
- }, z.core.$strict>]>>>;
836
- tokens: z.ZodArray<z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
837
- id: z.ZodString;
838
- networkId: z.ZodString;
839
- isDefault: z.ZodOptional<z.ZodBoolean>;
840
- decimals: z.ZodInt;
841
- symbol: z.ZodString;
842
- name: z.ZodOptional<z.ZodString>;
843
- logo: z.ZodOptional<z.ZodString>;
844
- coingeckoId: z.ZodOptional<z.ZodString>;
845
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
846
- mirrorOf: z.ZodOptional<z.ZodString>;
847
- type: z.ZodLiteral<"evm-erc20">;
848
- platform: z.ZodLiteral<"ethereum">;
849
- contractAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
850
- }, z.core.$strict>, z.ZodObject<{
851
- id: z.ZodString;
852
- networkId: z.ZodString;
853
- isDefault: z.ZodOptional<z.ZodBoolean>;
854
- decimals: z.ZodInt;
855
- symbol: z.ZodString;
856
- name: z.ZodOptional<z.ZodString>;
857
- logo: z.ZodOptional<z.ZodString>;
858
- coingeckoId: z.ZodOptional<z.ZodString>;
859
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
860
- mirrorOf: z.ZodOptional<z.ZodString>;
861
- type: z.ZodLiteral<"evm-native">;
862
- platform: z.ZodLiteral<"ethereum">;
863
- }, z.core.$strict>, z.ZodObject<{
864
- id: z.ZodString;
865
- networkId: z.ZodString;
866
- isDefault: z.ZodOptional<z.ZodBoolean>;
867
- decimals: z.ZodInt;
868
- symbol: z.ZodString;
869
- name: z.ZodOptional<z.ZodString>;
870
- logo: z.ZodOptional<z.ZodString>;
871
- coingeckoId: z.ZodOptional<z.ZodString>;
872
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
873
- mirrorOf: z.ZodOptional<z.ZodString>;
874
- type: z.ZodLiteral<"evm-uniswapv2">;
875
- platform: z.ZodLiteral<"ethereum">;
876
- contractAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
877
- isCustom: z.ZodOptional<z.ZodBoolean>;
878
- symbol0: z.ZodString;
879
- symbol1: z.ZodString;
880
- decimals0: z.ZodInt;
881
- decimals1: z.ZodInt;
882
- tokenAddress0: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
883
- tokenAddress1: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
884
- coingeckoId0: z.ZodOptional<z.ZodString>;
885
- coingeckoId1: z.ZodOptional<z.ZodString>;
886
- }, z.core.$strict>, z.ZodObject<{
887
- id: z.ZodString;
888
- networkId: z.ZodString;
889
- isDefault: z.ZodOptional<z.ZodBoolean>;
890
- decimals: z.ZodInt;
891
- symbol: z.ZodString;
892
- name: z.ZodOptional<z.ZodString>;
893
- logo: z.ZodOptional<z.ZodString>;
894
- coingeckoId: z.ZodOptional<z.ZodString>;
895
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
896
- mirrorOf: z.ZodOptional<z.ZodString>;
897
- type: z.ZodLiteral<"substrate-assets">;
898
- platform: z.ZodLiteral<"polkadot">;
899
- assetId: z.ZodPipe<z.ZodUnion<readonly [z.ZodUInt32, z.ZodString]>, z.ZodTransform<string, string | number>>;
900
- isFrozen: z.ZodOptional<z.ZodBoolean>;
901
- isSufficient: z.ZodBoolean;
902
- existentialDeposit: z.ZodString;
903
- }, z.core.$strict>, z.ZodObject<{
904
- id: z.ZodString;
905
- networkId: z.ZodString;
906
- isDefault: z.ZodOptional<z.ZodBoolean>;
907
- decimals: z.ZodInt;
908
- symbol: z.ZodString;
909
- name: z.ZodOptional<z.ZodString>;
910
- logo: z.ZodOptional<z.ZodString>;
911
- coingeckoId: z.ZodOptional<z.ZodString>;
912
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
913
- mirrorOf: z.ZodOptional<z.ZodString>;
914
- type: z.ZodLiteral<"substrate-dtao">;
915
- platform: z.ZodLiteral<"polkadot">;
916
- netuid: z.ZodNumber;
917
- subnetName: z.ZodOptional<z.ZodString>;
918
- hotkey: z.ZodOptional<z.ZodString>;
919
- isTransferable: z.ZodDefault<z.ZodBoolean>;
920
- }, z.core.$strict>, z.ZodObject<{
921
- id: z.ZodString;
922
- networkId: z.ZodString;
923
- isDefault: z.ZodOptional<z.ZodBoolean>;
924
- decimals: z.ZodInt;
925
- symbol: z.ZodString;
926
- name: z.ZodOptional<z.ZodString>;
927
- logo: z.ZodOptional<z.ZodString>;
928
- coingeckoId: z.ZodOptional<z.ZodString>;
929
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
930
- mirrorOf: z.ZodOptional<z.ZodString>;
931
- type: z.ZodLiteral<"substrate-foreignassets">;
932
- platform: z.ZodLiteral<"polkadot">;
933
- onChainId: z.ZodString;
934
- isFrozen: z.ZodOptional<z.ZodBoolean>;
935
- isSufficient: z.ZodBoolean;
936
- existentialDeposit: z.ZodString;
937
- }, z.core.$strict>, z.ZodObject<{
938
- id: z.ZodString;
939
- networkId: z.ZodString;
940
- isDefault: z.ZodOptional<z.ZodBoolean>;
941
- decimals: z.ZodInt;
942
- symbol: z.ZodString;
943
- name: z.ZodOptional<z.ZodString>;
944
- logo: z.ZodOptional<z.ZodString>;
945
- coingeckoId: z.ZodOptional<z.ZodString>;
946
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
947
- mirrorOf: z.ZodOptional<z.ZodString>;
948
- type: z.ZodLiteral<"substrate-native">;
949
- platform: z.ZodLiteral<"polkadot">;
950
- existentialDeposit: z.ZodString;
951
- }, z.core.$strict>, z.ZodObject<{
952
- id: z.ZodString;
953
- networkId: z.ZodString;
954
- isDefault: z.ZodOptional<z.ZodBoolean>;
955
- decimals: z.ZodInt;
956
- symbol: z.ZodString;
957
- name: z.ZodOptional<z.ZodString>;
958
- logo: z.ZodOptional<z.ZodString>;
959
- coingeckoId: z.ZodOptional<z.ZodString>;
960
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
961
- mirrorOf: z.ZodOptional<z.ZodString>;
962
- type: z.ZodLiteral<"substrate-psp22">;
963
- platform: z.ZodLiteral<"polkadot">;
964
- contractAddress: z.ZodString;
965
- }, z.core.$strict>, z.ZodObject<{
966
- id: z.ZodString;
967
- networkId: z.ZodString;
968
- isDefault: z.ZodOptional<z.ZodBoolean>;
969
- decimals: z.ZodInt;
970
- symbol: z.ZodString;
971
- name: z.ZodOptional<z.ZodString>;
972
- logo: z.ZodOptional<z.ZodString>;
973
- coingeckoId: z.ZodOptional<z.ZodString>;
974
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
975
- mirrorOf: z.ZodOptional<z.ZodString>;
976
- type: z.ZodLiteral<"substrate-tokens">;
977
- platform: z.ZodLiteral<"polkadot">;
978
- onChainId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
979
- existentialDeposit: z.ZodString;
980
- }, z.core.$strict>, z.ZodObject<{
981
- id: z.ZodString;
982
- networkId: z.ZodString;
983
- isDefault: z.ZodOptional<z.ZodBoolean>;
984
- decimals: z.ZodInt;
985
- symbol: z.ZodString;
986
- name: z.ZodOptional<z.ZodString>;
987
- logo: z.ZodOptional<z.ZodString>;
988
- coingeckoId: z.ZodOptional<z.ZodString>;
989
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
990
- mirrorOf: z.ZodOptional<z.ZodString>;
991
- type: z.ZodLiteral<"substrate-hydration">;
992
- platform: z.ZodLiteral<"polkadot">;
993
- onChainId: z.ZodUInt32;
994
- assetType: z.ZodEnum<{
995
- Token: "Token";
996
- Erc20: "Erc20";
997
- External: "External";
998
- }>;
999
- isSufficient: z.ZodBoolean;
1000
- existentialDeposit: z.ZodString;
1001
- }, z.core.$strict>, z.ZodObject<{
1002
- id: z.ZodString;
1003
- networkId: z.ZodString;
1004
- isDefault: z.ZodOptional<z.ZodBoolean>;
1005
- decimals: z.ZodInt;
1006
- symbol: z.ZodString;
1007
- name: z.ZodOptional<z.ZodString>;
1008
- logo: z.ZodOptional<z.ZodString>;
1009
- coingeckoId: z.ZodOptional<z.ZodString>;
1010
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
1011
- mirrorOf: z.ZodOptional<z.ZodString>;
1012
- type: z.ZodLiteral<"sol-native">;
1013
- platform: z.ZodLiteral<"solana">;
1014
- }, z.core.$strict>, z.ZodObject<{
1015
- id: z.ZodString;
1016
- networkId: z.ZodString;
1017
- isDefault: z.ZodOptional<z.ZodBoolean>;
1018
- decimals: z.ZodInt;
1019
- symbol: z.ZodString;
1020
- name: z.ZodOptional<z.ZodString>;
1021
- logo: z.ZodOptional<z.ZodString>;
1022
- coingeckoId: z.ZodOptional<z.ZodString>;
1023
- noDiscovery: z.ZodOptional<z.ZodBoolean>;
1024
- mirrorOf: z.ZodOptional<z.ZodString>;
1025
- type: z.ZodLiteral<"sol-spl">;
1026
- platform: z.ZodLiteral<"solana">;
1027
- mintAddress: z.ZodString;
1028
- }, z.core.$strict>]>, z.ZodTransform<{
1029
- id: string;
1030
- networkId: string;
1031
- decimals: number;
1032
- symbol: string;
1033
- type: "evm-erc20";
1034
- platform: "ethereum";
1035
- contractAddress: `0x${string}`;
1036
- isDefault?: boolean | undefined;
1037
- name?: string | undefined;
1038
- logo?: string | undefined;
1039
- coingeckoId?: string | undefined;
1040
- noDiscovery?: boolean | undefined;
1041
- mirrorOf?: string | undefined;
1042
- } | {
1043
- id: string;
1044
- networkId: string;
1045
- decimals: number;
1046
- symbol: string;
1047
- type: "evm-native";
1048
- platform: "ethereum";
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
- } | {
1056
- id: string;
1057
- networkId: string;
1058
- decimals: number;
1059
- symbol: string;
1060
- type: "evm-uniswapv2";
1061
- platform: "ethereum";
1062
- contractAddress: `0x${string}`;
1063
- symbol0: string;
1064
- symbol1: string;
1065
- decimals0: number;
1066
- decimals1: number;
1067
- tokenAddress0: `0x${string}`;
1068
- tokenAddress1: `0x${string}`;
1069
- isDefault?: boolean | undefined;
1070
- name?: string | undefined;
1071
- logo?: string | undefined;
1072
- coingeckoId?: string | undefined;
1073
- noDiscovery?: boolean | undefined;
1074
- mirrorOf?: string | undefined;
1075
- isCustom?: boolean | undefined;
1076
- coingeckoId0?: string | undefined;
1077
- coingeckoId1?: string | undefined;
1078
- } | {
1079
- id: string;
1080
- networkId: string;
1081
- decimals: number;
1082
- symbol: string;
1083
- type: "substrate-assets";
1084
- platform: "polkadot";
1085
- assetId: string;
1086
- isSufficient: boolean;
1087
- existentialDeposit: string;
1088
- isDefault?: boolean | undefined;
1089
- name?: string | undefined;
1090
- logo?: string | undefined;
1091
- coingeckoId?: string | undefined;
1092
- noDiscovery?: boolean | undefined;
1093
- mirrorOf?: string | undefined;
1094
- isFrozen?: boolean | undefined;
1095
- } | {
1096
- id: string;
1097
- networkId: string;
1098
- decimals: number;
1099
- symbol: string;
1100
- type: "substrate-dtao";
1101
- platform: "polkadot";
1102
- netuid: number;
1103
- isTransferable: boolean;
1104
- isDefault?: boolean | undefined;
1105
- name?: string | undefined;
1106
- logo?: string | undefined;
1107
- coingeckoId?: string | undefined;
1108
- noDiscovery?: boolean | undefined;
1109
- mirrorOf?: string | undefined;
1110
- subnetName?: string | undefined;
1111
- hotkey?: string | undefined;
1112
- } | {
1113
- id: string;
1114
- networkId: string;
1115
- decimals: number;
1116
- symbol: string;
1117
- type: "substrate-foreignassets";
1118
- platform: "polkadot";
1119
- onChainId: string;
1120
- isSufficient: boolean;
1121
- existentialDeposit: string;
1122
- isDefault?: boolean | undefined;
1123
- name?: string | undefined;
1124
- logo?: string | undefined;
1125
- coingeckoId?: string | undefined;
1126
- noDiscovery?: boolean | undefined;
1127
- mirrorOf?: string | undefined;
1128
- isFrozen?: boolean | undefined;
1129
- } | {
1130
- id: string;
1131
- networkId: string;
1132
- decimals: number;
1133
- symbol: string;
1134
- type: "substrate-native";
1135
- platform: "polkadot";
1136
- existentialDeposit: string;
1137
- isDefault?: boolean | undefined;
1138
- name?: string | undefined;
1139
- logo?: string | undefined;
1140
- coingeckoId?: string | undefined;
1141
- noDiscovery?: boolean | undefined;
1142
- mirrorOf?: string | undefined;
1143
- } | {
1144
- id: string;
1145
- networkId: string;
1146
- decimals: number;
1147
- symbol: string;
1148
- type: "substrate-psp22";
1149
- platform: "polkadot";
1150
- contractAddress: string;
1151
- isDefault?: boolean | undefined;
1152
- name?: string | undefined;
1153
- logo?: string | undefined;
1154
- coingeckoId?: string | undefined;
1155
- noDiscovery?: boolean | undefined;
1156
- mirrorOf?: string | undefined;
1157
- } | {
1158
- id: string;
1159
- networkId: string;
1160
- decimals: number;
1161
- symbol: string;
1162
- type: "substrate-tokens";
1163
- platform: "polkadot";
1164
- onChainId: string | number;
1165
- existentialDeposit: string;
1166
- isDefault?: boolean | undefined;
1167
- name?: string | undefined;
1168
- logo?: string | undefined;
1169
- coingeckoId?: string | undefined;
1170
- noDiscovery?: boolean | undefined;
1171
- mirrorOf?: string | undefined;
1172
- } | {
1173
- id: string;
1174
- networkId: string;
1175
- decimals: number;
1176
- symbol: string;
1177
- type: "substrate-hydration";
1178
- platform: "polkadot";
1179
- onChainId: number;
1180
- assetType: "Token" | "Erc20" | "External";
1181
- isSufficient: boolean;
1182
- existentialDeposit: string;
1183
- isDefault?: boolean | undefined;
1184
- name?: string | undefined;
1185
- logo?: string | undefined;
1186
- coingeckoId?: string | undefined;
1187
- noDiscovery?: boolean | undefined;
1188
- mirrorOf?: string | undefined;
1189
- } | {
1190
- id: string;
1191
- networkId: string;
1192
- decimals: number;
1193
- symbol: string;
1194
- type: "sol-native";
1195
- platform: "solana";
1196
- isDefault?: boolean | undefined;
1197
- name?: string | undefined;
1198
- logo?: string | undefined;
1199
- coingeckoId?: string | undefined;
1200
- noDiscovery?: boolean | undefined;
1201
- mirrorOf?: string | undefined;
1202
- } | {
1203
- id: string;
1204
- networkId: string;
1205
- decimals: number;
1206
- symbol: string;
1207
- type: "sol-spl";
1208
- platform: "solana";
1209
- mintAddress: string;
1210
- isDefault?: boolean | undefined;
1211
- name?: string | undefined;
1212
- logo?: string | undefined;
1213
- coingeckoId?: string | undefined;
1214
- noDiscovery?: boolean | undefined;
1215
- mirrorOf?: string | undefined;
1216
- }, {
1217
- id: string;
1218
- networkId: string;
1219
- decimals: number;
1220
- symbol: string;
1221
- type: "evm-erc20";
1222
- platform: "ethereum";
1223
- contractAddress: `0x${string}`;
1224
- isDefault?: boolean | undefined;
1225
- name?: string | undefined;
1226
- logo?: string | undefined;
1227
- coingeckoId?: string | undefined;
1228
- noDiscovery?: boolean | undefined;
1229
- mirrorOf?: string | undefined;
1230
- } | {
1231
- id: string;
1232
- networkId: string;
1233
- decimals: number;
1234
- symbol: string;
1235
- type: "evm-native";
1236
- platform: "ethereum";
1237
- isDefault?: boolean | undefined;
1238
- name?: string | undefined;
1239
- logo?: string | undefined;
1240
- coingeckoId?: string | undefined;
1241
- noDiscovery?: boolean | undefined;
1242
- mirrorOf?: string | undefined;
1243
- } | {
1244
- id: string;
1245
- networkId: string;
1246
- decimals: number;
1247
- symbol: string;
1248
- type: "evm-uniswapv2";
1249
- platform: "ethereum";
1250
- contractAddress: `0x${string}`;
1251
- symbol0: string;
1252
- symbol1: string;
1253
- decimals0: number;
1254
- decimals1: number;
1255
- tokenAddress0: `0x${string}`;
1256
- tokenAddress1: `0x${string}`;
1257
- isDefault?: boolean | undefined;
1258
- name?: string | undefined;
1259
- logo?: string | undefined;
1260
- coingeckoId?: string | undefined;
1261
- noDiscovery?: boolean | undefined;
1262
- mirrorOf?: string | undefined;
1263
- isCustom?: boolean | undefined;
1264
- coingeckoId0?: string | undefined;
1265
- coingeckoId1?: string | undefined;
1266
- } | {
1267
- id: string;
1268
- networkId: string;
1269
- decimals: number;
1270
- symbol: string;
1271
- type: "substrate-assets";
1272
- platform: "polkadot";
1273
- assetId: string;
1274
- isSufficient: boolean;
1275
- existentialDeposit: string;
1276
- isDefault?: boolean | undefined;
1277
- name?: string | undefined;
1278
- logo?: string | undefined;
1279
- coingeckoId?: string | undefined;
1280
- noDiscovery?: boolean | undefined;
1281
- mirrorOf?: string | undefined;
1282
- isFrozen?: boolean | undefined;
1283
- } | {
1284
- id: string;
1285
- networkId: string;
1286
- decimals: number;
1287
- symbol: string;
1288
- type: "substrate-dtao";
1289
- platform: "polkadot";
1290
- netuid: number;
1291
- isTransferable: boolean;
1292
- isDefault?: boolean | undefined;
1293
- name?: string | undefined;
1294
- logo?: string | undefined;
1295
- coingeckoId?: string | undefined;
1296
- noDiscovery?: boolean | undefined;
1297
- mirrorOf?: string | undefined;
1298
- subnetName?: string | undefined;
1299
- hotkey?: string | undefined;
1300
- } | {
1301
- id: string;
1302
- networkId: string;
1303
- decimals: number;
1304
- symbol: string;
1305
- type: "substrate-foreignassets";
1306
- platform: "polkadot";
1307
- onChainId: string;
1308
- isSufficient: boolean;
1309
- existentialDeposit: string;
1310
- isDefault?: boolean | undefined;
1311
- name?: string | undefined;
1312
- logo?: string | undefined;
1313
- coingeckoId?: string | undefined;
1314
- noDiscovery?: boolean | undefined;
1315
- mirrorOf?: string | undefined;
1316
- isFrozen?: boolean | undefined;
1317
- } | {
1318
- id: string;
1319
- networkId: string;
1320
- decimals: number;
1321
- symbol: string;
1322
- type: "substrate-native";
1323
- platform: "polkadot";
1324
- existentialDeposit: string;
1325
- isDefault?: boolean | undefined;
1326
- name?: string | undefined;
1327
- logo?: string | undefined;
1328
- coingeckoId?: string | undefined;
1329
- noDiscovery?: boolean | undefined;
1330
- mirrorOf?: string | undefined;
1331
- } | {
1332
- id: string;
1333
- networkId: string;
1334
- decimals: number;
1335
- symbol: string;
1336
- type: "substrate-psp22";
1337
- platform: "polkadot";
1338
- contractAddress: string;
1339
- isDefault?: boolean | undefined;
1340
- name?: string | undefined;
1341
- logo?: string | undefined;
1342
- coingeckoId?: string | undefined;
1343
- noDiscovery?: boolean | undefined;
1344
- mirrorOf?: string | undefined;
1345
- } | {
1346
- id: string;
1347
- networkId: string;
1348
- decimals: number;
1349
- symbol: string;
1350
- type: "substrate-tokens";
1351
- platform: "polkadot";
1352
- onChainId: string | number;
1353
- existentialDeposit: string;
1354
- isDefault?: boolean | undefined;
1355
- name?: string | undefined;
1356
- logo?: string | undefined;
1357
- coingeckoId?: string | undefined;
1358
- noDiscovery?: boolean | undefined;
1359
- mirrorOf?: string | undefined;
1360
- } | {
1361
- id: string;
1362
- networkId: string;
1363
- decimals: number;
1364
- symbol: string;
1365
- type: "substrate-hydration";
1366
- platform: "polkadot";
1367
- onChainId: number;
1368
- assetType: "Token" | "Erc20" | "External";
1369
- isSufficient: boolean;
1370
- existentialDeposit: string;
1371
- isDefault?: boolean | undefined;
1372
- name?: string | undefined;
1373
- logo?: string | undefined;
1374
- coingeckoId?: string | undefined;
1375
- noDiscovery?: boolean | undefined;
1376
- mirrorOf?: string | undefined;
1377
- } | {
1378
- id: string;
1379
- networkId: string;
1380
- decimals: number;
1381
- symbol: string;
1382
- type: "sol-native";
1383
- platform: "solana";
1384
- isDefault?: boolean | undefined;
1385
- name?: string | undefined;
1386
- logo?: string | undefined;
1387
- coingeckoId?: string | undefined;
1388
- noDiscovery?: boolean | undefined;
1389
- mirrorOf?: string | undefined;
1390
- } | {
1391
- id: string;
1392
- networkId: string;
1393
- decimals: number;
1394
- symbol: string;
1395
- type: "sol-spl";
1396
- platform: "solana";
1397
- mintAddress: string;
1398
- isDefault?: boolean | undefined;
1399
- name?: string | undefined;
1400
- logo?: string | undefined;
1401
- coingeckoId?: string | undefined;
1402
- noDiscovery?: boolean | undefined;
1403
- mirrorOf?: string | undefined;
1404
- }>>>;
1405
- }, z.core.$strict>;
1406
- export type CustomChaindata = z.infer<typeof CustomChaindataSchema>;