@talismn/chaindata-provider 1.3.9 → 1.5.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/index.d.mts +245 -33
- package/dist/index.d.ts +245 -33
- package/dist/index.js +713 -573
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +708 -573
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -8
package/dist/index.d.mts
CHANGED
|
@@ -3,17 +3,11 @@ import { Dexie } from 'dexie';
|
|
|
3
3
|
import { Observable, ReplaySubject } from 'rxjs';
|
|
4
4
|
|
|
5
5
|
declare const AnyMiniMetadataSchema: z.ZodObject<{
|
|
6
|
-
/** The DB id for this metadata */
|
|
7
6
|
id: z.ZodString;
|
|
8
|
-
/** The balance module which created this miniMetadata */
|
|
9
7
|
source: z.ZodString;
|
|
10
|
-
/** The chain this miniMetadata came from */
|
|
11
8
|
chainId: z.ZodString;
|
|
12
|
-
/** The chain specVersion which this miniMetadata is valid for */
|
|
13
9
|
specVersion: z.ZodUInt32;
|
|
14
|
-
/** the version of the balances library used to craft the mini metadata */
|
|
15
10
|
version: z.ZodString;
|
|
16
|
-
/** The miniMetadata encoded as a hex string */
|
|
17
11
|
data: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
18
12
|
extra: z.ZodNullable<z.ZodAny>;
|
|
19
13
|
}, z.core.$strict>;
|
|
@@ -41,7 +35,7 @@ declare const DotNetworkTopologySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
41
35
|
type: z.ZodLiteral<"parachain">;
|
|
42
36
|
relayId: z.ZodString;
|
|
43
37
|
paraId: z.ZodNumber;
|
|
44
|
-
}, z.core.$strict>]>;
|
|
38
|
+
}, z.core.$strict>], "type">;
|
|
45
39
|
declare const DotNetworkSchema: z.ZodObject<{
|
|
46
40
|
id: z.ZodString;
|
|
47
41
|
isTestnet: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -87,7 +81,7 @@ declare const DotNetworkSchema: z.ZodObject<{
|
|
|
87
81
|
type: z.ZodLiteral<"parachain">;
|
|
88
82
|
relayId: z.ZodString;
|
|
89
83
|
paraId: z.ZodNumber;
|
|
90
|
-
}, z.core.$strict>]>;
|
|
84
|
+
}, z.core.$strict>], "type">;
|
|
91
85
|
balancesConfig: z.ZodOptional<z.ZodObject<{
|
|
92
86
|
"substrate-native": z.ZodOptional<z.ZodObject<{
|
|
93
87
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -143,7 +137,7 @@ declare const EthNetworkSchema: z.ZodObject<{
|
|
|
143
137
|
}, z.core.$strict>, z.ZodObject<{
|
|
144
138
|
type: z.ZodLiteral<"scroll">;
|
|
145
139
|
l1GasPriceOracle: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
146
|
-
}, z.core.$strict>]>>;
|
|
140
|
+
}, z.core.$strict>], "type">>;
|
|
147
141
|
contracts: z.ZodOptional<z.ZodObject<{
|
|
148
142
|
Erc20Aggregator: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
149
143
|
Multicall3: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
@@ -203,7 +197,7 @@ declare const NetworkSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
203
197
|
type: z.ZodLiteral<"parachain">;
|
|
204
198
|
relayId: z.ZodString;
|
|
205
199
|
paraId: z.ZodNumber;
|
|
206
|
-
}, z.core.$strict>]>;
|
|
200
|
+
}, z.core.$strict>], "type">;
|
|
207
201
|
balancesConfig: z.ZodOptional<z.ZodObject<{
|
|
208
202
|
"substrate-native": z.ZodOptional<z.ZodObject<{
|
|
209
203
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -248,7 +242,7 @@ declare const NetworkSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
248
242
|
}, z.core.$strict>, z.ZodObject<{
|
|
249
243
|
type: z.ZodLiteral<"scroll">;
|
|
250
244
|
l1GasPriceOracle: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
251
|
-
}, z.core.$strict>]>>;
|
|
245
|
+
}, z.core.$strict>], "type">>;
|
|
252
246
|
contracts: z.ZodOptional<z.ZodObject<{
|
|
253
247
|
Erc20Aggregator: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
254
248
|
Multicall3: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
@@ -282,8 +276,9 @@ declare const NetworkSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
282
276
|
balancesConfig: z.ZodOptional<z.ZodObject<{
|
|
283
277
|
"sol-native": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
284
278
|
"sol-spl": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
279
|
+
"sol-token2022": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
285
280
|
}, z.core.$strict>>;
|
|
286
|
-
}, z.core.$strict>]>;
|
|
281
|
+
}, z.core.$strict>], "platform">;
|
|
287
282
|
type Network = z.infer<typeof NetworkSchema>;
|
|
288
283
|
type NetworkId = Network["id"];
|
|
289
284
|
type NetworkPlatform = Network["platform"];
|
|
@@ -313,6 +308,7 @@ type NetworkBase = z$1.infer<typeof NetworkBaseSchema>;
|
|
|
313
308
|
declare const SolNetworkBalancesConfigSchema: z.ZodObject<{
|
|
314
309
|
"sol-native": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
315
310
|
"sol-spl": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
311
|
+
"sol-token2022": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
316
312
|
}, z.core.$strict>;
|
|
317
313
|
type SolNetworkBalancesConfig = z.infer<typeof SolNetworkBalancesConfigSchema>;
|
|
318
314
|
declare const SolNetworkSchema: z.ZodObject<{
|
|
@@ -339,6 +335,7 @@ declare const SolNetworkSchema: z.ZodObject<{
|
|
|
339
335
|
balancesConfig: z.ZodOptional<z.ZodObject<{
|
|
340
336
|
"sol-native": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
341
337
|
"sol-spl": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
338
|
+
"sol-token2022": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
342
339
|
}, z.core.$strict>>;
|
|
343
340
|
}, z.core.$strict>;
|
|
344
341
|
type SolNetwork = z.infer<typeof SolNetworkSchema>;
|
|
@@ -354,7 +351,7 @@ type HexString = z.infer<typeof HexStringSchema>;
|
|
|
354
351
|
declare const SolanaAddressSchema: z.ZodString;
|
|
355
352
|
type SolanaAddress = z.infer<typeof SolanaAddressSchema>;
|
|
356
353
|
|
|
357
|
-
declare const TOKEN_TYPE$
|
|
354
|
+
declare const TOKEN_TYPE$c = "evm-native";
|
|
358
355
|
declare const EvmNativeTokenSchema: z.ZodObject<{
|
|
359
356
|
id: z.ZodString;
|
|
360
357
|
networkId: z.ZodString;
|
|
@@ -373,13 +370,13 @@ type EvmNativeToken = z.infer<typeof EvmNativeTokenSchema>;
|
|
|
373
370
|
declare const EvmNativeBalancesConfigSchema: z.ZodObject<{}, z.core.$strict>;
|
|
374
371
|
type EvmNativeBalancesConfig = z.infer<typeof EvmNativeBalancesConfigSchema>;
|
|
375
372
|
type EvmNativeTokenIdSpecs = {
|
|
376
|
-
type: typeof TOKEN_TYPE$
|
|
373
|
+
type: typeof TOKEN_TYPE$c;
|
|
377
374
|
networkId: NetworkId;
|
|
378
375
|
};
|
|
379
376
|
declare const evmNativeTokenId: (networkId: NetworkId) => string;
|
|
380
377
|
declare const parseEvmNativeTokenId: (tokenId: TokenId) => EvmNativeTokenIdSpecs;
|
|
381
378
|
|
|
382
|
-
declare const TOKEN_TYPE$
|
|
379
|
+
declare const TOKEN_TYPE$b = "evm-uniswapv2";
|
|
383
380
|
declare const EvmUniswapV2TokenSchema: z.ZodObject<{
|
|
384
381
|
id: z.ZodString;
|
|
385
382
|
networkId: z.ZodString;
|
|
@@ -408,14 +405,14 @@ type EvmUniswapV2Token = z.infer<typeof EvmUniswapV2TokenSchema>;
|
|
|
408
405
|
declare const EvmUniswapV2BalancesConfigSchema: z.ZodObject<{}, z.core.$strict>;
|
|
409
406
|
type EvmUniswapV2BalancesConfig = z.infer<typeof EvmUniswapV2BalancesConfigSchema>;
|
|
410
407
|
type EvmUniswapV2TokenIdSpecs = {
|
|
411
|
-
type: typeof TOKEN_TYPE$
|
|
408
|
+
type: typeof TOKEN_TYPE$b;
|
|
412
409
|
networkId: NetworkId;
|
|
413
410
|
contractAddress: `0x${string}`;
|
|
414
411
|
};
|
|
415
412
|
declare const evmUniswapV2TokenId: (networkId: NetworkId, contractAddress: EvmUniswapV2Token["contractAddress"]) => string;
|
|
416
413
|
declare const parseEvmUniswapV2TokenId: (tokenId: TokenId) => EvmUniswapV2TokenIdSpecs;
|
|
417
414
|
|
|
418
|
-
declare const TOKEN_TYPE$
|
|
415
|
+
declare const TOKEN_TYPE$a = "sol-native";
|
|
419
416
|
declare const SolNativeTokenSchema: z.ZodObject<{
|
|
420
417
|
id: z.ZodString;
|
|
421
418
|
networkId: z.ZodString;
|
|
@@ -434,13 +431,13 @@ type SolNativeToken = z.infer<typeof SolNativeTokenSchema>;
|
|
|
434
431
|
declare const SolNativeBalancesConfigSchema: z.ZodObject<{}, z.core.$strict>;
|
|
435
432
|
type SolNativeBalancesConfig = z.infer<typeof SolNativeBalancesConfigSchema>;
|
|
436
433
|
type SolNativeTokenIdSpecs = {
|
|
437
|
-
type: typeof TOKEN_TYPE$
|
|
434
|
+
type: typeof TOKEN_TYPE$a;
|
|
438
435
|
networkId: SolNetworkId;
|
|
439
436
|
};
|
|
440
437
|
declare const solNativeTokenId: (networkId: SolNetworkId) => string;
|
|
441
438
|
declare const parseSolNativeTokenId: (tokenId: TokenId) => SolNativeTokenIdSpecs;
|
|
442
439
|
|
|
443
|
-
declare const TOKEN_TYPE$
|
|
440
|
+
declare const TOKEN_TYPE$9 = "sol-spl";
|
|
444
441
|
declare const SolSplTokenSchema: z.ZodObject<{
|
|
445
442
|
id: z.ZodString;
|
|
446
443
|
networkId: z.ZodString;
|
|
@@ -460,13 +457,41 @@ type SolSplToken = z.infer<typeof SolSplTokenSchema>;
|
|
|
460
457
|
declare const SolSplBalancesConfigSchema: z.ZodObject<{}, z.core.$strict>;
|
|
461
458
|
type SolSplBalancesConfig = z.infer<typeof SolSplBalancesConfigSchema>;
|
|
462
459
|
type SolSplTokenIdSpecs = {
|
|
463
|
-
type: typeof TOKEN_TYPE$
|
|
460
|
+
type: typeof TOKEN_TYPE$9;
|
|
464
461
|
networkId: SolNetworkId;
|
|
465
462
|
mintAddress: string;
|
|
466
463
|
};
|
|
467
464
|
declare const solSplTokenId: (networkId: string, mintAddress: string) => string;
|
|
468
465
|
declare const parseSolSplTokenId: (tokenId: TokenId) => SolSplTokenIdSpecs;
|
|
469
466
|
|
|
467
|
+
declare const TOKEN_TYPE$8 = "sol-token2022";
|
|
468
|
+
declare const SolToken2022TokenSchema: z.ZodObject<{
|
|
469
|
+
id: z.ZodString;
|
|
470
|
+
networkId: z.ZodString;
|
|
471
|
+
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
472
|
+
decimals: z.ZodInt;
|
|
473
|
+
symbol: z.ZodString;
|
|
474
|
+
name: z.ZodOptional<z.ZodString>;
|
|
475
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
476
|
+
coingeckoId: z.ZodOptional<z.ZodString>;
|
|
477
|
+
noDiscovery: z.ZodOptional<z.ZodBoolean>;
|
|
478
|
+
mirrorOf: z.ZodOptional<z.ZodString>;
|
|
479
|
+
type: z.ZodLiteral<"sol-token2022">;
|
|
480
|
+
platform: z.ZodLiteral<"solana">;
|
|
481
|
+
mintAddress: z.ZodString;
|
|
482
|
+
isTransferable: z.ZodOptional<z.ZodBoolean>;
|
|
483
|
+
}, z.core.$strict>;
|
|
484
|
+
type SolToken2022Token = z.infer<typeof SolToken2022TokenSchema>;
|
|
485
|
+
declare const SolToken2022BalancesConfigSchema: z.ZodObject<{}, z.core.$strict>;
|
|
486
|
+
type SolToken2022BalancesConfig = z.infer<typeof SolToken2022BalancesConfigSchema>;
|
|
487
|
+
type SolToken2022TokenIdSpecs = {
|
|
488
|
+
type: typeof TOKEN_TYPE$8;
|
|
489
|
+
networkId: SolNetworkId;
|
|
490
|
+
mintAddress: string;
|
|
491
|
+
};
|
|
492
|
+
declare const solToken2022TokenId: (networkId: string, mintAddress: string) => string;
|
|
493
|
+
declare const parseSolToken2022TokenId: (tokenId: TokenId) => SolToken2022TokenIdSpecs;
|
|
494
|
+
|
|
470
495
|
declare const TOKEN_TYPE$7 = "substrate-assets";
|
|
471
496
|
declare const SubAssetsTokenSchema: z.ZodObject<{
|
|
472
497
|
id: z.ZodString;
|
|
@@ -872,7 +897,22 @@ declare const TokenSchemaBase: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
872
897
|
type: z.ZodLiteral<"sol-spl">;
|
|
873
898
|
platform: z.ZodLiteral<"solana">;
|
|
874
899
|
mintAddress: z.ZodString;
|
|
875
|
-
}, z.core.$strict
|
|
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<"sol-token2022">;
|
|
912
|
+
platform: z.ZodLiteral<"solana">;
|
|
913
|
+
mintAddress: z.ZodString;
|
|
914
|
+
isTransferable: z.ZodOptional<z.ZodBoolean>;
|
|
915
|
+
}, z.core.$strict>], "type">;
|
|
876
916
|
declare const TokenTypeSchema: z.ZodEnum<{
|
|
877
917
|
"evm-native": "evm-native";
|
|
878
918
|
"substrate-native": "substrate-native";
|
|
@@ -886,12 +926,13 @@ declare const TokenTypeSchema: z.ZodEnum<{
|
|
|
886
926
|
"evm-uniswapv2": "evm-uniswapv2";
|
|
887
927
|
"sol-native": "sol-native";
|
|
888
928
|
"sol-spl": "sol-spl";
|
|
929
|
+
"sol-token2022": "sol-token2022";
|
|
889
930
|
}>;
|
|
890
931
|
type Token = z.infer<typeof TokenSchemaBase>;
|
|
891
932
|
type TokenId = Token["id"];
|
|
892
933
|
type TokenList = Record<TokenId, Token>;
|
|
893
934
|
type TokenType = z.infer<typeof TokenTypeSchema>;
|
|
894
|
-
type TokenIdSpecs<T extends TokenType> = T extends "evm-erc20" ? EvmErc20TokenIdSpecs : T extends "evm-native" ? EvmNativeTokenIdSpecs : T extends "evm-uniswapv2" ? EvmUniswapV2TokenIdSpecs : T extends "substrate-assets" ? SubAssetTokenIdSpecs : T extends "substrate-dtao" ? SubDTaoTokenIdSpecs : T extends "substrate-foreignassets" ? ForeignAssetsTokenIdSpecs : T extends "substrate-native" ? SubNativeTokenIdSpecs : T extends "substrate-psp22" ? SubPsp22TokenIdSpecs : T extends "substrate-tokens" ? SubTokensTokenIdSpecs : T extends "substrate-hydration" ? SubHydrationToken : T extends "sol-native" ? SolNativeToken : T extends "sol-spl" ? SolSplToken : never;
|
|
935
|
+
type TokenIdSpecs<T extends TokenType> = T extends "evm-erc20" ? EvmErc20TokenIdSpecs : T extends "evm-native" ? EvmNativeTokenIdSpecs : T extends "evm-uniswapv2" ? EvmUniswapV2TokenIdSpecs : T extends "substrate-assets" ? SubAssetTokenIdSpecs : T extends "substrate-dtao" ? SubDTaoTokenIdSpecs : T extends "substrate-foreignassets" ? ForeignAssetsTokenIdSpecs : T extends "substrate-native" ? SubNativeTokenIdSpecs : T extends "substrate-psp22" ? SubPsp22TokenIdSpecs : T extends "substrate-tokens" ? SubTokensTokenIdSpecs : T extends "substrate-hydration" ? SubHydrationToken : T extends "sol-native" ? SolNativeToken : T extends "sol-spl" ? SolSplToken : T extends "sol-token2022" ? SolToken2022Token : never;
|
|
895
936
|
declare const TokenSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
896
937
|
id: z.ZodString;
|
|
897
938
|
networkId: z.ZodString;
|
|
@@ -1084,7 +1125,22 @@ declare const TokenSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1084
1125
|
type: z.ZodLiteral<"sol-spl">;
|
|
1085
1126
|
platform: z.ZodLiteral<"solana">;
|
|
1086
1127
|
mintAddress: z.ZodString;
|
|
1087
|
-
}, z.core.$strict
|
|
1128
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1129
|
+
id: z.ZodString;
|
|
1130
|
+
networkId: z.ZodString;
|
|
1131
|
+
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
1132
|
+
decimals: z.ZodInt;
|
|
1133
|
+
symbol: z.ZodString;
|
|
1134
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1135
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
1136
|
+
coingeckoId: z.ZodOptional<z.ZodString>;
|
|
1137
|
+
noDiscovery: z.ZodOptional<z.ZodBoolean>;
|
|
1138
|
+
mirrorOf: z.ZodOptional<z.ZodString>;
|
|
1139
|
+
type: z.ZodLiteral<"sol-token2022">;
|
|
1140
|
+
platform: z.ZodLiteral<"solana">;
|
|
1141
|
+
mintAddress: z.ZodString;
|
|
1142
|
+
isTransferable: z.ZodOptional<z.ZodBoolean>;
|
|
1143
|
+
}, z.core.$strict>], "type">, z.ZodTransform<{
|
|
1088
1144
|
id: string;
|
|
1089
1145
|
networkId: string;
|
|
1090
1146
|
decimals: number;
|
|
@@ -1272,6 +1328,21 @@ declare const TokenSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1272
1328
|
coingeckoId?: string | undefined;
|
|
1273
1329
|
noDiscovery?: boolean | undefined;
|
|
1274
1330
|
mirrorOf?: string | undefined;
|
|
1331
|
+
} | {
|
|
1332
|
+
id: string;
|
|
1333
|
+
networkId: string;
|
|
1334
|
+
decimals: number;
|
|
1335
|
+
symbol: string;
|
|
1336
|
+
type: "sol-token2022";
|
|
1337
|
+
platform: "solana";
|
|
1338
|
+
mintAddress: 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
|
+
isTransferable?: boolean | undefined;
|
|
1275
1346
|
}, {
|
|
1276
1347
|
id: string;
|
|
1277
1348
|
networkId: string;
|
|
@@ -1460,6 +1531,21 @@ declare const TokenSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1460
1531
|
coingeckoId?: string | undefined;
|
|
1461
1532
|
noDiscovery?: boolean | undefined;
|
|
1462
1533
|
mirrorOf?: string | undefined;
|
|
1534
|
+
} | {
|
|
1535
|
+
id: string;
|
|
1536
|
+
networkId: string;
|
|
1537
|
+
decimals: number;
|
|
1538
|
+
symbol: string;
|
|
1539
|
+
type: "sol-token2022";
|
|
1540
|
+
platform: "solana";
|
|
1541
|
+
mintAddress: string;
|
|
1542
|
+
isDefault?: boolean | undefined;
|
|
1543
|
+
name?: string | undefined;
|
|
1544
|
+
logo?: string | undefined;
|
|
1545
|
+
coingeckoId?: string | undefined;
|
|
1546
|
+
noDiscovery?: boolean | undefined;
|
|
1547
|
+
mirrorOf?: string | undefined;
|
|
1548
|
+
isTransferable?: boolean | undefined;
|
|
1463
1549
|
}>>;
|
|
1464
1550
|
|
|
1465
1551
|
declare const TOKEN_TYPE = "evm-erc20";
|
|
@@ -1630,6 +1716,7 @@ declare const isNetworkSol: (network: Network | null | undefined) => network is
|
|
|
1630
1716
|
balancesConfig?: {
|
|
1631
1717
|
"sol-native"?: Record<string, never> | undefined;
|
|
1632
1718
|
"sol-spl"?: Record<string, never> | undefined;
|
|
1719
|
+
"sol-token2022"?: Record<string, never> | undefined;
|
|
1633
1720
|
} | undefined;
|
|
1634
1721
|
};
|
|
1635
1722
|
declare const getNetworkGenesisHash: <Net extends Network, Res = Net extends DotNetwork ? DotNetwork["genesisHash"] : undefined>(network: Net | null | undefined) => Res;
|
|
@@ -1915,6 +2002,22 @@ declare const isTokenSolSpl: (token: Token | null | undefined) => token is {
|
|
|
1915
2002
|
noDiscovery?: boolean | undefined;
|
|
1916
2003
|
mirrorOf?: string | undefined;
|
|
1917
2004
|
};
|
|
2005
|
+
declare const isTokenSolToken2022: (token: Token | null | undefined) => token is {
|
|
2006
|
+
id: string;
|
|
2007
|
+
networkId: string;
|
|
2008
|
+
decimals: number;
|
|
2009
|
+
symbol: string;
|
|
2010
|
+
type: "sol-token2022";
|
|
2011
|
+
platform: "solana";
|
|
2012
|
+
mintAddress: string;
|
|
2013
|
+
isDefault?: boolean | undefined;
|
|
2014
|
+
name?: string | undefined;
|
|
2015
|
+
logo?: string | undefined;
|
|
2016
|
+
coingeckoId?: string | undefined;
|
|
2017
|
+
noDiscovery?: boolean | undefined;
|
|
2018
|
+
mirrorOf?: string | undefined;
|
|
2019
|
+
isTransferable?: boolean | undefined;
|
|
2020
|
+
};
|
|
1918
2021
|
declare const parseTokenId: <T extends TokenType>(tokenId: TokenId) => TokenIdSpecs<T>;
|
|
1919
2022
|
declare const networkIdFromTokenId: (tokenId: TokenId) => Network["id"];
|
|
1920
2023
|
declare const PLATFORM_NATIVE_TOKENS: {
|
|
@@ -2160,7 +2263,7 @@ declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2160
2263
|
type: z.ZodLiteral<"parachain">;
|
|
2161
2264
|
relayId: z.ZodString;
|
|
2162
2265
|
paraId: z.ZodNumber;
|
|
2163
|
-
}, z.core.$strict>]>;
|
|
2266
|
+
}, z.core.$strict>], "type">;
|
|
2164
2267
|
balancesConfig: z.ZodOptional<z.ZodObject<{
|
|
2165
2268
|
"substrate-native": z.ZodOptional<z.ZodObject<{
|
|
2166
2269
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2205,7 +2308,7 @@ declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2205
2308
|
}, z.core.$strict>, z.ZodObject<{
|
|
2206
2309
|
type: z.ZodLiteral<"scroll">;
|
|
2207
2310
|
l1GasPriceOracle: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
2208
|
-
}, z.core.$strict>]>>;
|
|
2311
|
+
}, z.core.$strict>], "type">>;
|
|
2209
2312
|
contracts: z.ZodOptional<z.ZodObject<{
|
|
2210
2313
|
Erc20Aggregator: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
2211
2314
|
Multicall3: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
@@ -2239,8 +2342,9 @@ declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2239
2342
|
balancesConfig: z.ZodOptional<z.ZodObject<{
|
|
2240
2343
|
"sol-native": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2241
2344
|
"sol-spl": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2345
|
+
"sol-token2022": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2242
2346
|
}, z.core.$strict>>;
|
|
2243
|
-
}, z.core.$strict>]>>;
|
|
2347
|
+
}, z.core.$strict>], "platform">>;
|
|
2244
2348
|
tokens: z.ZodArray<z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2245
2349
|
id: z.ZodString;
|
|
2246
2350
|
networkId: z.ZodString;
|
|
@@ -2433,7 +2537,22 @@ declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2433
2537
|
type: z.ZodLiteral<"sol-spl">;
|
|
2434
2538
|
platform: z.ZodLiteral<"solana">;
|
|
2435
2539
|
mintAddress: z.ZodString;
|
|
2436
|
-
}, z.core.$strict
|
|
2540
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2541
|
+
id: z.ZodString;
|
|
2542
|
+
networkId: z.ZodString;
|
|
2543
|
+
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
2544
|
+
decimals: z.ZodInt;
|
|
2545
|
+
symbol: z.ZodString;
|
|
2546
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2547
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
2548
|
+
coingeckoId: z.ZodOptional<z.ZodString>;
|
|
2549
|
+
noDiscovery: z.ZodOptional<z.ZodBoolean>;
|
|
2550
|
+
mirrorOf: z.ZodOptional<z.ZodString>;
|
|
2551
|
+
type: z.ZodLiteral<"sol-token2022">;
|
|
2552
|
+
platform: z.ZodLiteral<"solana">;
|
|
2553
|
+
mintAddress: z.ZodString;
|
|
2554
|
+
isTransferable: z.ZodOptional<z.ZodBoolean>;
|
|
2555
|
+
}, z.core.$strict>], "type">, z.ZodTransform<{
|
|
2437
2556
|
id: string;
|
|
2438
2557
|
networkId: string;
|
|
2439
2558
|
decimals: number;
|
|
@@ -2621,6 +2740,21 @@ declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2621
2740
|
coingeckoId?: string | undefined;
|
|
2622
2741
|
noDiscovery?: boolean | undefined;
|
|
2623
2742
|
mirrorOf?: string | undefined;
|
|
2743
|
+
} | {
|
|
2744
|
+
id: string;
|
|
2745
|
+
networkId: string;
|
|
2746
|
+
decimals: number;
|
|
2747
|
+
symbol: string;
|
|
2748
|
+
type: "sol-token2022";
|
|
2749
|
+
platform: "solana";
|
|
2750
|
+
mintAddress: string;
|
|
2751
|
+
isDefault?: boolean | undefined;
|
|
2752
|
+
name?: string | undefined;
|
|
2753
|
+
logo?: string | undefined;
|
|
2754
|
+
coingeckoId?: string | undefined;
|
|
2755
|
+
noDiscovery?: boolean | undefined;
|
|
2756
|
+
mirrorOf?: string | undefined;
|
|
2757
|
+
isTransferable?: boolean | undefined;
|
|
2624
2758
|
}, {
|
|
2625
2759
|
id: string;
|
|
2626
2760
|
networkId: string;
|
|
@@ -2809,6 +2943,21 @@ declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2809
2943
|
coingeckoId?: string | undefined;
|
|
2810
2944
|
noDiscovery?: boolean | undefined;
|
|
2811
2945
|
mirrorOf?: string | undefined;
|
|
2946
|
+
} | {
|
|
2947
|
+
id: string;
|
|
2948
|
+
networkId: string;
|
|
2949
|
+
decimals: number;
|
|
2950
|
+
symbol: string;
|
|
2951
|
+
type: "sol-token2022";
|
|
2952
|
+
platform: "solana";
|
|
2953
|
+
mintAddress: string;
|
|
2954
|
+
isDefault?: boolean | undefined;
|
|
2955
|
+
name?: string | undefined;
|
|
2956
|
+
logo?: string | undefined;
|
|
2957
|
+
coingeckoId?: string | undefined;
|
|
2958
|
+
noDiscovery?: boolean | undefined;
|
|
2959
|
+
mirrorOf?: string | undefined;
|
|
2960
|
+
isTransferable?: boolean | undefined;
|
|
2812
2961
|
}>>>;
|
|
2813
2962
|
miniMetadatas: z.ZodArray<z.ZodObject<{
|
|
2814
2963
|
id: z.ZodString;
|
|
@@ -2867,7 +3016,7 @@ declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
2867
3016
|
type: z.ZodLiteral<"parachain">;
|
|
2868
3017
|
relayId: z.ZodString;
|
|
2869
3018
|
paraId: z.ZodNumber;
|
|
2870
|
-
}, z.core.$strict>]>;
|
|
3019
|
+
}, z.core.$strict>], "type">;
|
|
2871
3020
|
balancesConfig: z.ZodOptional<z.ZodObject<{
|
|
2872
3021
|
"substrate-native": z.ZodOptional<z.ZodObject<{
|
|
2873
3022
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2912,7 +3061,7 @@ declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
2912
3061
|
}, z.core.$strict>, z.ZodObject<{
|
|
2913
3062
|
type: z.ZodLiteral<"scroll">;
|
|
2914
3063
|
l1GasPriceOracle: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
2915
|
-
}, z.core.$strict>]>>;
|
|
3064
|
+
}, z.core.$strict>], "type">>;
|
|
2916
3065
|
contracts: z.ZodOptional<z.ZodObject<{
|
|
2917
3066
|
Erc20Aggregator: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
2918
3067
|
Multicall3: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
@@ -2946,8 +3095,9 @@ declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
2946
3095
|
balancesConfig: z.ZodOptional<z.ZodObject<{
|
|
2947
3096
|
"sol-native": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2948
3097
|
"sol-spl": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
3098
|
+
"sol-token2022": z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2949
3099
|
}, z.core.$strict>>;
|
|
2950
|
-
}, z.core.$strict>]>>>;
|
|
3100
|
+
}, z.core.$strict>], "platform">>>;
|
|
2951
3101
|
tokens: z.ZodArray<z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2952
3102
|
id: z.ZodString;
|
|
2953
3103
|
networkId: z.ZodString;
|
|
@@ -3140,7 +3290,22 @@ declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
3140
3290
|
type: z.ZodLiteral<"sol-spl">;
|
|
3141
3291
|
platform: z.ZodLiteral<"solana">;
|
|
3142
3292
|
mintAddress: z.ZodString;
|
|
3143
|
-
}, z.core.$strict
|
|
3293
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3294
|
+
id: z.ZodString;
|
|
3295
|
+
networkId: z.ZodString;
|
|
3296
|
+
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
3297
|
+
decimals: z.ZodInt;
|
|
3298
|
+
symbol: z.ZodString;
|
|
3299
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3300
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
3301
|
+
coingeckoId: z.ZodOptional<z.ZodString>;
|
|
3302
|
+
noDiscovery: z.ZodOptional<z.ZodBoolean>;
|
|
3303
|
+
mirrorOf: z.ZodOptional<z.ZodString>;
|
|
3304
|
+
type: z.ZodLiteral<"sol-token2022">;
|
|
3305
|
+
platform: z.ZodLiteral<"solana">;
|
|
3306
|
+
mintAddress: z.ZodString;
|
|
3307
|
+
isTransferable: z.ZodOptional<z.ZodBoolean>;
|
|
3308
|
+
}, z.core.$strict>], "type">, z.ZodTransform<{
|
|
3144
3309
|
id: string;
|
|
3145
3310
|
networkId: string;
|
|
3146
3311
|
decimals: number;
|
|
@@ -3328,6 +3493,21 @@ declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
3328
3493
|
coingeckoId?: string | undefined;
|
|
3329
3494
|
noDiscovery?: boolean | undefined;
|
|
3330
3495
|
mirrorOf?: string | undefined;
|
|
3496
|
+
} | {
|
|
3497
|
+
id: string;
|
|
3498
|
+
networkId: string;
|
|
3499
|
+
decimals: number;
|
|
3500
|
+
symbol: string;
|
|
3501
|
+
type: "sol-token2022";
|
|
3502
|
+
platform: "solana";
|
|
3503
|
+
mintAddress: string;
|
|
3504
|
+
isDefault?: boolean | undefined;
|
|
3505
|
+
name?: string | undefined;
|
|
3506
|
+
logo?: string | undefined;
|
|
3507
|
+
coingeckoId?: string | undefined;
|
|
3508
|
+
noDiscovery?: boolean | undefined;
|
|
3509
|
+
mirrorOf?: string | undefined;
|
|
3510
|
+
isTransferable?: boolean | undefined;
|
|
3331
3511
|
}, {
|
|
3332
3512
|
id: string;
|
|
3333
3513
|
networkId: string;
|
|
@@ -3516,6 +3696,21 @@ declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
3516
3696
|
coingeckoId?: string | undefined;
|
|
3517
3697
|
noDiscovery?: boolean | undefined;
|
|
3518
3698
|
mirrorOf?: string | undefined;
|
|
3699
|
+
} | {
|
|
3700
|
+
id: string;
|
|
3701
|
+
networkId: string;
|
|
3702
|
+
decimals: number;
|
|
3703
|
+
symbol: string;
|
|
3704
|
+
type: "sol-token2022";
|
|
3705
|
+
platform: "solana";
|
|
3706
|
+
mintAddress: string;
|
|
3707
|
+
isDefault?: boolean | undefined;
|
|
3708
|
+
name?: string | undefined;
|
|
3709
|
+
logo?: string | undefined;
|
|
3710
|
+
coingeckoId?: string | undefined;
|
|
3711
|
+
noDiscovery?: boolean | undefined;
|
|
3712
|
+
mirrorOf?: string | undefined;
|
|
3713
|
+
isTransferable?: boolean | undefined;
|
|
3519
3714
|
}>>>;
|
|
3520
3715
|
}, z.core.$strict>;
|
|
3521
3716
|
type CustomChaindata = z.infer<typeof CustomChaindataSchema>;
|
|
@@ -3823,6 +4018,21 @@ declare class ChaindataProvider implements IChaindataProvider {
|
|
|
3823
4018
|
coingeckoId?: string | undefined;
|
|
3824
4019
|
noDiscovery?: boolean | undefined;
|
|
3825
4020
|
mirrorOf?: string | undefined;
|
|
4021
|
+
} | {
|
|
4022
|
+
id: string;
|
|
4023
|
+
networkId: string;
|
|
4024
|
+
decimals: number;
|
|
4025
|
+
symbol: string;
|
|
4026
|
+
type: "sol-token2022";
|
|
4027
|
+
platform: "solana";
|
|
4028
|
+
mintAddress: string;
|
|
4029
|
+
isDefault?: boolean | undefined;
|
|
4030
|
+
name?: string | undefined;
|
|
4031
|
+
logo?: string | undefined;
|
|
4032
|
+
coingeckoId?: string | undefined;
|
|
4033
|
+
noDiscovery?: boolean | undefined;
|
|
4034
|
+
mirrorOf?: string | undefined;
|
|
4035
|
+
isTransferable?: boolean | undefined;
|
|
3826
4036
|
})[]>;
|
|
3827
4037
|
getTokens$<T extends TokenType | undefined, R extends T extends TokenType ? TokenOfType<T> : Token>(type?: T): Observable<R[]>;
|
|
3828
4038
|
getTokens<T extends TokenType | undefined, R extends T extends TokenType ? TokenOfType<T> : Token>(type?: T): Promise<R[]>;
|
|
@@ -3839,7 +4049,8 @@ declare class ChaindataProvider implements IChaindataProvider {
|
|
|
3839
4049
|
registerDynamicTokens(tokens: Token[]): Promise<void>;
|
|
3840
4050
|
/**
|
|
3841
4051
|
* dynamic tokens are created when they are first detected by the balance modules.
|
|
3842
|
-
* this method syncs their metadata (name, symbol, logo) with custom logic specific to each token type
|
|
4052
|
+
* this method syncs their metadata (name, symbol, logo) with custom logic specific to each token type,
|
|
4053
|
+
* and removes dynamic entries that have since been curated into the default chaindata.
|
|
3843
4054
|
*/
|
|
3844
4055
|
syncDynamicTokens(): Promise<void>;
|
|
3845
4056
|
/**
|
|
@@ -3963,6 +4174,7 @@ declare class ChaindataProvider implements IChaindataProvider {
|
|
|
3963
4174
|
balancesConfig?: {
|
|
3964
4175
|
"sol-native"?: Record<string, never> | undefined;
|
|
3965
4176
|
"sol-spl"?: Record<string, never> | undefined;
|
|
4177
|
+
"sol-token2022"?: Record<string, never> | undefined;
|
|
3966
4178
|
} | undefined;
|
|
3967
4179
|
})[]>;
|
|
3968
4180
|
getNetworks$<P extends NetworkPlatform | undefined, R = P extends NetworkPlatform ? NetworkOfPlatform<P> : Network>(platform?: P): Observable<R[]>;
|
|
@@ -4164,4 +4376,4 @@ declare const getGithubTokenLogoUrl: (tokenId: KNOWN_TOKEN_ID) => string;
|
|
|
4164
4376
|
*/
|
|
4165
4377
|
declare const getGithubTokenLogoUrlByCoingeckoId: (coingeckoId: string) => string;
|
|
4166
4378
|
|
|
4167
|
-
export { type AnyMiniMetadata, AnyMiniMetadataSchema, type BlockExplorerQuery, type Chaindata, ChaindataFileSchema, ChaindataProvider, type ChaindataProviderOptions, type ChaindataStorage, type CustomChaindata, CustomChaindataSchema, type DotNetwork, type DotNetworkBalancesConfig, DotNetworkBalancesConfigSchema, type DotNetworkId, type DotNetworkList, DotNetworkSchema, DotNetworkTopologySchema, type DotToken, type EthNetwork, type EthNetworkBalancesConfig, EthNetworkBalancesConfigSchema, type EthNetworkId, type EthNetworkList, EthNetworkSchema, type EthToken, type EthereumAddress, EthereumAddressSchema, type EvmErc20BalancesConfig, EvmErc20BalancesConfigSchema, type EvmErc20Token, type EvmErc20TokenIdSpecs, EvmErc20TokenSchema, type EvmNativeBalancesConfig, EvmNativeBalancesConfigSchema, type EvmNativeToken, type EvmNativeTokenIdSpecs, EvmNativeTokenSchema, type EvmUniswapV2BalancesConfig, EvmUniswapV2BalancesConfigSchema, type EvmUniswapV2Token, type EvmUniswapV2TokenIdSpecs, EvmUniswapV2TokenSchema, type ForeignAssetsTokenIdSpecs, type HexString, HexStringSchema, type IChaindataNetworkProvider, type IChaindataProvider, type IChaindataTokenProvider, type LegacyChain, type LegacyChainId, type LegacyCustomChain, type LegacyCustomEvmNetwork, type LegacyEvmNetwork, type LegacyEvmNetworkId, MINIMETADATA_VERSION, type NativeToken, type NativeTokenType, type Network, type NetworkBase, NetworkBaseSchema, type NetworkId, type NetworkList, type NetworkOfPlatform, type NetworkPlatform, NetworkSchema, type SolNativeBalancesConfig, SolNativeBalancesConfigSchema, type SolNativeToken, type SolNativeTokenIdSpecs, SolNativeTokenSchema, type SolNetwork, type SolNetworkBalancesConfig, SolNetworkBalancesConfigSchema, type SolNetworkId, type SolNetworkList, SolNetworkSchema, type SolSplBalancesConfig, SolSplBalancesConfigSchema, type SolSplToken, type SolSplTokenIdSpecs, SolSplTokenSchema, type SolToken, type SolanaAddress, SolanaAddressSchema, type SubAssetTokenIdSpecs, type SubAssetsBalancesConfig, SubAssetsBalancesConfigSchema, type SubAssetsToken, SubAssetsTokenSchema, type SubDTaoBalancesConfig, SubDTaoBalancesConfigSchema, type SubDTaoToken, type SubDTaoTokenIdSpecs, SubDTaoTokenSchema, type SubForeignAssetsBalancesConfig, SubForeignAssetsBalancesConfigSchema, type SubForeignAssetsToken, SubForeignAssetsTokenSchema, type SubHydrationBalancesConfig, SubHydrationBalancesConfigSchema, type SubHydrationToken, type SubHydrationTokenIdSpecs, SubHydrationTokenSchema, type SubNativeBalancesConfig, SubNativeBalancesConfigSchema, type SubNativeToken, type SubNativeTokenIdSpecs, SubNativeTokenSchema, type SubPsp22BalancesConfig, SubPsp22BalancesConfigSchema, type SubPsp22Token, type SubPsp22TokenIdSpecs, SubPsp22TokenSchema, type SubTokensBalancesConfig, SubTokensBalancesConfigSchema, type SubTokensToken, type SubTokensTokenIdSpecs, SubTokensTokenSchema, TOKEN_TYPE$5 as TOKEN_TYPE, type Token, type TokenBase, TokenBaseSchema, type TokenId, type TokenIdSpecs, type TokenList, type TokenOfPlatform, type TokenOfType, TokenSchema, TokenSchemaBase, type TokenType, TokenTypeSchema, evmErc20TokenId, evmNativeTokenId, evmUniswapV2TokenId, getBlockExplorerLabel, getBlockExplorerUrls, getChaindataDbV3, getCleanNetwork, getCleanToken, getGithubTokenLogoUrl, getGithubTokenLogoUrlByCoingeckoId, getNetworkGenesisHash, isNativeToken, isNativeTokenType, isNetworkCustom, isNetworkDot, isNetworkEth, isNetworkInPlatforms, isNetworkKnown, isNetworkOfPlatform, isNetworkSol, isTokenCustom, isTokenDot, isTokenEth, isTokenEvmErc20, isTokenEvmNative, isTokenEvmUniswapV2, isTokenInTypes, isTokenKnown, isTokenNeedExistentialDeposit, isTokenOfPlatform, isTokenOfType, isTokenSol, isTokenSolSpl, isTokenSubAssets, isTokenSubDTao, isTokenSubForeignAssets, isTokenSubHydration, isTokenSubNative, isTokenSubPsp22, isTokenSubTokens, isTokenTestnet, networkIdFromTokenId, parseEvmErc20TokenId, parseEvmNativeTokenId, parseEvmUniswapV2TokenId, parseSolNativeTokenId, parseSolSplTokenId, parseSubAssetTokenId, parseSubDTaoTokenId, parseSubForeignAssetTokenId, parseSubHydrationTokenId, parseSubNativeTokenId, parseSubPsp22TokenId, parseSubTokensTokenId, parseTokenId, solNativeTokenId, solSplTokenId, subAssetTokenId, subDTaoTokenId, subForeignAssetTokenId, subHydrationTokenId, subNativeTokenId, subPsp22TokenId, subTokensTokenId };
|
|
4379
|
+
export { type AnyMiniMetadata, AnyMiniMetadataSchema, type BlockExplorerQuery, type Chaindata, ChaindataFileSchema, ChaindataProvider, type ChaindataProviderOptions, type ChaindataStorage, type CustomChaindata, CustomChaindataSchema, type DotNetwork, type DotNetworkBalancesConfig, DotNetworkBalancesConfigSchema, type DotNetworkId, type DotNetworkList, DotNetworkSchema, DotNetworkTopologySchema, type DotToken, type EthNetwork, type EthNetworkBalancesConfig, EthNetworkBalancesConfigSchema, type EthNetworkId, type EthNetworkList, EthNetworkSchema, type EthToken, type EthereumAddress, EthereumAddressSchema, type EvmErc20BalancesConfig, EvmErc20BalancesConfigSchema, type EvmErc20Token, type EvmErc20TokenIdSpecs, EvmErc20TokenSchema, type EvmNativeBalancesConfig, EvmNativeBalancesConfigSchema, type EvmNativeToken, type EvmNativeTokenIdSpecs, EvmNativeTokenSchema, type EvmUniswapV2BalancesConfig, EvmUniswapV2BalancesConfigSchema, type EvmUniswapV2Token, type EvmUniswapV2TokenIdSpecs, EvmUniswapV2TokenSchema, type ForeignAssetsTokenIdSpecs, type HexString, HexStringSchema, type IChaindataNetworkProvider, type IChaindataProvider, type IChaindataTokenProvider, type LegacyChain, type LegacyChainId, type LegacyCustomChain, type LegacyCustomEvmNetwork, type LegacyEvmNetwork, type LegacyEvmNetworkId, MINIMETADATA_VERSION, type NativeToken, type NativeTokenType, type Network, type NetworkBase, NetworkBaseSchema, type NetworkId, type NetworkList, type NetworkOfPlatform, type NetworkPlatform, NetworkSchema, type SolNativeBalancesConfig, SolNativeBalancesConfigSchema, type SolNativeToken, type SolNativeTokenIdSpecs, SolNativeTokenSchema, type SolNetwork, type SolNetworkBalancesConfig, SolNetworkBalancesConfigSchema, type SolNetworkId, type SolNetworkList, SolNetworkSchema, type SolSplBalancesConfig, SolSplBalancesConfigSchema, type SolSplToken, type SolSplTokenIdSpecs, SolSplTokenSchema, type SolToken, type SolToken2022BalancesConfig, SolToken2022BalancesConfigSchema, type SolToken2022Token, type SolToken2022TokenIdSpecs, SolToken2022TokenSchema, type SolanaAddress, SolanaAddressSchema, type SubAssetTokenIdSpecs, type SubAssetsBalancesConfig, SubAssetsBalancesConfigSchema, type SubAssetsToken, SubAssetsTokenSchema, type SubDTaoBalancesConfig, SubDTaoBalancesConfigSchema, type SubDTaoToken, type SubDTaoTokenIdSpecs, SubDTaoTokenSchema, type SubForeignAssetsBalancesConfig, SubForeignAssetsBalancesConfigSchema, type SubForeignAssetsToken, SubForeignAssetsTokenSchema, type SubHydrationBalancesConfig, SubHydrationBalancesConfigSchema, type SubHydrationToken, type SubHydrationTokenIdSpecs, SubHydrationTokenSchema, type SubNativeBalancesConfig, SubNativeBalancesConfigSchema, type SubNativeToken, type SubNativeTokenIdSpecs, SubNativeTokenSchema, type SubPsp22BalancesConfig, SubPsp22BalancesConfigSchema, type SubPsp22Token, type SubPsp22TokenIdSpecs, SubPsp22TokenSchema, type SubTokensBalancesConfig, SubTokensBalancesConfigSchema, type SubTokensToken, type SubTokensTokenIdSpecs, SubTokensTokenSchema, TOKEN_TYPE$5 as TOKEN_TYPE, type Token, type TokenBase, TokenBaseSchema, type TokenId, type TokenIdSpecs, type TokenList, type TokenOfPlatform, type TokenOfType, TokenSchema, TokenSchemaBase, type TokenType, TokenTypeSchema, evmErc20TokenId, evmNativeTokenId, evmUniswapV2TokenId, getBlockExplorerLabel, getBlockExplorerUrls, getChaindataDbV3, getCleanNetwork, getCleanToken, getGithubTokenLogoUrl, getGithubTokenLogoUrlByCoingeckoId, getNetworkGenesisHash, isNativeToken, isNativeTokenType, isNetworkCustom, isNetworkDot, isNetworkEth, isNetworkInPlatforms, isNetworkKnown, isNetworkOfPlatform, isNetworkSol, isTokenCustom, isTokenDot, isTokenEth, isTokenEvmErc20, isTokenEvmNative, isTokenEvmUniswapV2, isTokenInTypes, isTokenKnown, isTokenNeedExistentialDeposit, isTokenOfPlatform, isTokenOfType, isTokenSol, isTokenSolSpl, isTokenSolToken2022, isTokenSubAssets, isTokenSubDTao, isTokenSubForeignAssets, isTokenSubHydration, isTokenSubNative, isTokenSubPsp22, isTokenSubTokens, isTokenTestnet, networkIdFromTokenId, parseEvmErc20TokenId, parseEvmNativeTokenId, parseEvmUniswapV2TokenId, parseSolNativeTokenId, parseSolSplTokenId, parseSolToken2022TokenId, parseSubAssetTokenId, parseSubDTaoTokenId, parseSubForeignAssetTokenId, parseSubHydrationTokenId, parseSubNativeTokenId, parseSubPsp22TokenId, parseSubTokensTokenId, parseTokenId, solNativeTokenId, solSplTokenId, solToken2022TokenId, subAssetTokenId, subDTaoTokenId, subForeignAssetTokenId, subHydrationTokenId, subNativeTokenId, subPsp22TokenId, subTokensTokenId };
|