@talismn/chaindata-provider 2.2.0 → 2.3.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 +142 -132
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +195 -185
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +332 -316
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +332 -316
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -74,6 +74,7 @@ export declare const DotNetworkSchema: z.ZodObject<{
|
|
|
74
74
|
hasCheckMetadataHash: z.ZodOptional<z.ZodBoolean>;
|
|
75
75
|
hasExtrinsicSignatureTypePrefix: z.ZodOptional<z.ZodBoolean>;
|
|
76
76
|
isUnknownFeeToken: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
+
hasFrontierMirrorWithdraw: z.ZodOptional<z.ZodBoolean>;
|
|
77
78
|
topology: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
78
79
|
type: z.ZodLiteral<"standalone">;
|
|
79
80
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -192,6 +193,7 @@ export declare const NetworkSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
192
193
|
hasCheckMetadataHash: z.ZodOptional<z.ZodBoolean>;
|
|
193
194
|
hasExtrinsicSignatureTypePrefix: z.ZodOptional<z.ZodBoolean>;
|
|
194
195
|
isUnknownFeeToken: z.ZodOptional<z.ZodBoolean>;
|
|
196
|
+
hasFrontierMirrorWithdraw: z.ZodOptional<z.ZodBoolean>;
|
|
195
197
|
topology: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
196
198
|
type: z.ZodLiteral<"standalone">;
|
|
197
199
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1172,10 +1174,10 @@ export declare const TokenSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1172
1174
|
coingeckoId?: string | undefined;
|
|
1173
1175
|
noDiscovery?: boolean | undefined;
|
|
1174
1176
|
mirrorOf?: string | undefined;
|
|
1175
|
-
type: "substrate-
|
|
1177
|
+
type: "substrate-assets";
|
|
1176
1178
|
platform: "polkadot";
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
+
assetId: string;
|
|
1180
|
+
isFrozen?: boolean | undefined;
|
|
1179
1181
|
isSufficient: boolean;
|
|
1180
1182
|
existentialDeposit: string;
|
|
1181
1183
|
} | {
|
|
@@ -1228,23 +1230,6 @@ export declare const TokenSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1228
1230
|
tokenAddress1: `0x${string}`;
|
|
1229
1231
|
coingeckoId0?: string | undefined;
|
|
1230
1232
|
coingeckoId1?: string | undefined;
|
|
1231
|
-
} | {
|
|
1232
|
-
id: string;
|
|
1233
|
-
networkId: string;
|
|
1234
|
-
isDefault?: boolean | undefined;
|
|
1235
|
-
decimals: number;
|
|
1236
|
-
symbol: string;
|
|
1237
|
-
name?: string | undefined;
|
|
1238
|
-
logo?: string | undefined;
|
|
1239
|
-
coingeckoId?: string | undefined;
|
|
1240
|
-
noDiscovery?: boolean | undefined;
|
|
1241
|
-
mirrorOf?: string | undefined;
|
|
1242
|
-
type: "substrate-assets";
|
|
1243
|
-
platform: "polkadot";
|
|
1244
|
-
assetId: string;
|
|
1245
|
-
isFrozen?: boolean | undefined;
|
|
1246
|
-
isSufficient: boolean;
|
|
1247
|
-
existentialDeposit: string;
|
|
1248
1233
|
} | {
|
|
1249
1234
|
id: string;
|
|
1250
1235
|
networkId: string;
|
|
@@ -1322,6 +1307,23 @@ export declare const TokenSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1322
1307
|
platform: "polkadot";
|
|
1323
1308
|
onChainId: string | number;
|
|
1324
1309
|
existentialDeposit: string;
|
|
1310
|
+
} | {
|
|
1311
|
+
id: string;
|
|
1312
|
+
networkId: string;
|
|
1313
|
+
isDefault?: boolean | undefined;
|
|
1314
|
+
decimals: number;
|
|
1315
|
+
symbol: string;
|
|
1316
|
+
name?: string | undefined;
|
|
1317
|
+
logo?: string | undefined;
|
|
1318
|
+
coingeckoId?: string | undefined;
|
|
1319
|
+
noDiscovery?: boolean | undefined;
|
|
1320
|
+
mirrorOf?: string | undefined;
|
|
1321
|
+
type: "substrate-hydration";
|
|
1322
|
+
platform: "polkadot";
|
|
1323
|
+
onChainId: number;
|
|
1324
|
+
assetType: "Erc20" | "External" | "Token";
|
|
1325
|
+
isSufficient: boolean;
|
|
1326
|
+
existentialDeposit: string;
|
|
1325
1327
|
} | {
|
|
1326
1328
|
id: string;
|
|
1327
1329
|
networkId: string;
|
|
@@ -1375,10 +1377,10 @@ export declare const TokenSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1375
1377
|
coingeckoId?: string | undefined;
|
|
1376
1378
|
noDiscovery?: boolean | undefined;
|
|
1377
1379
|
mirrorOf?: string | undefined;
|
|
1378
|
-
type: "substrate-
|
|
1380
|
+
type: "substrate-assets";
|
|
1379
1381
|
platform: "polkadot";
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
+
assetId: string;
|
|
1383
|
+
isFrozen?: boolean | undefined;
|
|
1382
1384
|
isSufficient: boolean;
|
|
1383
1385
|
existentialDeposit: string;
|
|
1384
1386
|
} | {
|
|
@@ -1431,23 +1433,6 @@ export declare const TokenSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1431
1433
|
tokenAddress1: `0x${string}`;
|
|
1432
1434
|
coingeckoId0?: string | undefined;
|
|
1433
1435
|
coingeckoId1?: string | undefined;
|
|
1434
|
-
} | {
|
|
1435
|
-
id: string;
|
|
1436
|
-
networkId: string;
|
|
1437
|
-
isDefault?: boolean | undefined;
|
|
1438
|
-
decimals: number;
|
|
1439
|
-
symbol: string;
|
|
1440
|
-
name?: string | undefined;
|
|
1441
|
-
logo?: string | undefined;
|
|
1442
|
-
coingeckoId?: string | undefined;
|
|
1443
|
-
noDiscovery?: boolean | undefined;
|
|
1444
|
-
mirrorOf?: string | undefined;
|
|
1445
|
-
type: "substrate-assets";
|
|
1446
|
-
platform: "polkadot";
|
|
1447
|
-
assetId: string;
|
|
1448
|
-
isFrozen?: boolean | undefined;
|
|
1449
|
-
isSufficient: boolean;
|
|
1450
|
-
existentialDeposit: string;
|
|
1451
1436
|
} | {
|
|
1452
1437
|
id: string;
|
|
1453
1438
|
networkId: string;
|
|
@@ -1525,6 +1510,23 @@ export declare const TokenSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1525
1510
|
platform: "polkadot";
|
|
1526
1511
|
onChainId: string | number;
|
|
1527
1512
|
existentialDeposit: string;
|
|
1513
|
+
} | {
|
|
1514
|
+
id: string;
|
|
1515
|
+
networkId: string;
|
|
1516
|
+
isDefault?: boolean | undefined;
|
|
1517
|
+
decimals: number;
|
|
1518
|
+
symbol: string;
|
|
1519
|
+
name?: string | undefined;
|
|
1520
|
+
logo?: string | undefined;
|
|
1521
|
+
coingeckoId?: string | undefined;
|
|
1522
|
+
noDiscovery?: boolean | undefined;
|
|
1523
|
+
mirrorOf?: string | undefined;
|
|
1524
|
+
type: "substrate-hydration";
|
|
1525
|
+
platform: "polkadot";
|
|
1526
|
+
onChainId: number;
|
|
1527
|
+
assetType: "Erc20" | "External" | "Token";
|
|
1528
|
+
isSufficient: boolean;
|
|
1529
|
+
existentialDeposit: string;
|
|
1528
1530
|
} | {
|
|
1529
1531
|
id: string;
|
|
1530
1532
|
networkId: string;
|
|
@@ -1654,6 +1656,7 @@ export declare const isNetworkDot: (network: Network | null | undefined) => netw
|
|
|
1654
1656
|
hasCheckMetadataHash?: boolean | undefined;
|
|
1655
1657
|
hasExtrinsicSignatureTypePrefix?: boolean | undefined;
|
|
1656
1658
|
isUnknownFeeToken?: boolean | undefined;
|
|
1659
|
+
hasFrontierMirrorWithdraw?: boolean | undefined;
|
|
1657
1660
|
topology: {
|
|
1658
1661
|
type: "standalone";
|
|
1659
1662
|
} | {
|
|
@@ -1768,10 +1771,10 @@ export declare const isTokenNeedExistentialDeposit: (token: Token) => token is {
|
|
|
1768
1771
|
coingeckoId?: string | undefined;
|
|
1769
1772
|
noDiscovery?: boolean | undefined;
|
|
1770
1773
|
mirrorOf?: string | undefined;
|
|
1771
|
-
type: "substrate-
|
|
1774
|
+
type: "substrate-assets";
|
|
1772
1775
|
platform: "polkadot";
|
|
1773
|
-
|
|
1774
|
-
|
|
1776
|
+
assetId: string;
|
|
1777
|
+
isFrozen?: boolean | undefined;
|
|
1775
1778
|
isSufficient: boolean;
|
|
1776
1779
|
existentialDeposit: string;
|
|
1777
1780
|
} | {
|
|
@@ -1785,9 +1788,9 @@ export declare const isTokenNeedExistentialDeposit: (token: Token) => token is {
|
|
|
1785
1788
|
coingeckoId?: string | undefined;
|
|
1786
1789
|
noDiscovery?: boolean | undefined;
|
|
1787
1790
|
mirrorOf?: string | undefined;
|
|
1788
|
-
type: "substrate-
|
|
1791
|
+
type: "substrate-foreignassets";
|
|
1789
1792
|
platform: "polkadot";
|
|
1790
|
-
|
|
1793
|
+
onChainId: string;
|
|
1791
1794
|
isFrozen?: boolean | undefined;
|
|
1792
1795
|
isSufficient: boolean;
|
|
1793
1796
|
existentialDeposit: string;
|
|
@@ -1802,11 +1805,8 @@ export declare const isTokenNeedExistentialDeposit: (token: Token) => token is {
|
|
|
1802
1805
|
coingeckoId?: string | undefined;
|
|
1803
1806
|
noDiscovery?: boolean | undefined;
|
|
1804
1807
|
mirrorOf?: string | undefined;
|
|
1805
|
-
type: "substrate-
|
|
1808
|
+
type: "substrate-native";
|
|
1806
1809
|
platform: "polkadot";
|
|
1807
|
-
onChainId: string;
|
|
1808
|
-
isFrozen?: boolean | undefined;
|
|
1809
|
-
isSufficient: boolean;
|
|
1810
1810
|
existentialDeposit: string;
|
|
1811
1811
|
} | {
|
|
1812
1812
|
id: string;
|
|
@@ -1819,8 +1819,9 @@ export declare const isTokenNeedExistentialDeposit: (token: Token) => token is {
|
|
|
1819
1819
|
coingeckoId?: string | undefined;
|
|
1820
1820
|
noDiscovery?: boolean | undefined;
|
|
1821
1821
|
mirrorOf?: string | undefined;
|
|
1822
|
-
type: "substrate-
|
|
1822
|
+
type: "substrate-tokens";
|
|
1823
1823
|
platform: "polkadot";
|
|
1824
|
+
onChainId: string | number;
|
|
1824
1825
|
existentialDeposit: string;
|
|
1825
1826
|
} | {
|
|
1826
1827
|
id: string;
|
|
@@ -1833,9 +1834,11 @@ export declare const isTokenNeedExistentialDeposit: (token: Token) => token is {
|
|
|
1833
1834
|
coingeckoId?: string | undefined;
|
|
1834
1835
|
noDiscovery?: boolean | undefined;
|
|
1835
1836
|
mirrorOf?: string | undefined;
|
|
1836
|
-
type: "substrate-
|
|
1837
|
+
type: "substrate-hydration";
|
|
1837
1838
|
platform: "polkadot";
|
|
1838
|
-
onChainId:
|
|
1839
|
+
onChainId: number;
|
|
1840
|
+
assetType: "Erc20" | "External" | "Token";
|
|
1841
|
+
isSufficient: boolean;
|
|
1839
1842
|
existentialDeposit: string;
|
|
1840
1843
|
};
|
|
1841
1844
|
export declare const isTokenOfType: <T extends TokenType>(token: Token | null | undefined, type: T) => token is TokenOfType<T>;
|
|
@@ -2060,7 +2063,7 @@ export declare const isNativeToken: <P extends NetworkPlatform = NetworkPlatform
|
|
|
2060
2063
|
//#endregion
|
|
2061
2064
|
//#region src/constants.d.ts
|
|
2062
2065
|
export declare const MINIMETADATA_VERSION: string;
|
|
2063
|
-
export declare const DEFAULT_CHAINDATA_URL = "https://raw.githubusercontent.com/TalismanSociety/chaindata/main/pub/
|
|
2066
|
+
export declare const DEFAULT_CHAINDATA_URL = "https://raw.githubusercontent.com/TalismanSociety/chaindata/main/pub/v15/chaindata.min.json";
|
|
2064
2067
|
//#endregion
|
|
2065
2068
|
//#region src/getBlockExplorerUrls.d.ts
|
|
2066
2069
|
export type BlockExplorerQuery = {
|
|
@@ -2294,6 +2297,7 @@ export declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2294
2297
|
hasCheckMetadataHash: z.ZodOptional<z.ZodBoolean>;
|
|
2295
2298
|
hasExtrinsicSignatureTypePrefix: z.ZodOptional<z.ZodBoolean>;
|
|
2296
2299
|
isUnknownFeeToken: z.ZodOptional<z.ZodBoolean>;
|
|
2300
|
+
hasFrontierMirrorWithdraw: z.ZodOptional<z.ZodBoolean>;
|
|
2297
2301
|
topology: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2298
2302
|
type: z.ZodLiteral<"standalone">;
|
|
2299
2303
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2602,10 +2606,10 @@ export declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2602
2606
|
coingeckoId?: string | undefined;
|
|
2603
2607
|
noDiscovery?: boolean | undefined;
|
|
2604
2608
|
mirrorOf?: string | undefined;
|
|
2605
|
-
type: "substrate-
|
|
2609
|
+
type: "substrate-assets";
|
|
2606
2610
|
platform: "polkadot";
|
|
2607
|
-
|
|
2608
|
-
|
|
2611
|
+
assetId: string;
|
|
2612
|
+
isFrozen?: boolean | undefined;
|
|
2609
2613
|
isSufficient: boolean;
|
|
2610
2614
|
existentialDeposit: string;
|
|
2611
2615
|
} | {
|
|
@@ -2658,23 +2662,6 @@ export declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2658
2662
|
tokenAddress1: `0x${string}`;
|
|
2659
2663
|
coingeckoId0?: string | undefined;
|
|
2660
2664
|
coingeckoId1?: string | undefined;
|
|
2661
|
-
} | {
|
|
2662
|
-
id: string;
|
|
2663
|
-
networkId: string;
|
|
2664
|
-
isDefault?: boolean | undefined;
|
|
2665
|
-
decimals: number;
|
|
2666
|
-
symbol: string;
|
|
2667
|
-
name?: string | undefined;
|
|
2668
|
-
logo?: string | undefined;
|
|
2669
|
-
coingeckoId?: string | undefined;
|
|
2670
|
-
noDiscovery?: boolean | undefined;
|
|
2671
|
-
mirrorOf?: string | undefined;
|
|
2672
|
-
type: "substrate-assets";
|
|
2673
|
-
platform: "polkadot";
|
|
2674
|
-
assetId: string;
|
|
2675
|
-
isFrozen?: boolean | undefined;
|
|
2676
|
-
isSufficient: boolean;
|
|
2677
|
-
existentialDeposit: string;
|
|
2678
2665
|
} | {
|
|
2679
2666
|
id: string;
|
|
2680
2667
|
networkId: string;
|
|
@@ -2752,6 +2739,23 @@ export declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2752
2739
|
platform: "polkadot";
|
|
2753
2740
|
onChainId: string | number;
|
|
2754
2741
|
existentialDeposit: string;
|
|
2742
|
+
} | {
|
|
2743
|
+
id: string;
|
|
2744
|
+
networkId: string;
|
|
2745
|
+
isDefault?: boolean | undefined;
|
|
2746
|
+
decimals: number;
|
|
2747
|
+
symbol: string;
|
|
2748
|
+
name?: string | undefined;
|
|
2749
|
+
logo?: string | undefined;
|
|
2750
|
+
coingeckoId?: string | undefined;
|
|
2751
|
+
noDiscovery?: boolean | undefined;
|
|
2752
|
+
mirrorOf?: string | undefined;
|
|
2753
|
+
type: "substrate-hydration";
|
|
2754
|
+
platform: "polkadot";
|
|
2755
|
+
onChainId: number;
|
|
2756
|
+
assetType: "Erc20" | "External" | "Token";
|
|
2757
|
+
isSufficient: boolean;
|
|
2758
|
+
existentialDeposit: string;
|
|
2755
2759
|
} | {
|
|
2756
2760
|
id: string;
|
|
2757
2761
|
networkId: string;
|
|
@@ -2805,10 +2809,10 @@ export declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2805
2809
|
coingeckoId?: string | undefined;
|
|
2806
2810
|
noDiscovery?: boolean | undefined;
|
|
2807
2811
|
mirrorOf?: string | undefined;
|
|
2808
|
-
type: "substrate-
|
|
2812
|
+
type: "substrate-assets";
|
|
2809
2813
|
platform: "polkadot";
|
|
2810
|
-
|
|
2811
|
-
|
|
2814
|
+
assetId: string;
|
|
2815
|
+
isFrozen?: boolean | undefined;
|
|
2812
2816
|
isSufficient: boolean;
|
|
2813
2817
|
existentialDeposit: string;
|
|
2814
2818
|
} | {
|
|
@@ -2861,23 +2865,6 @@ export declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2861
2865
|
tokenAddress1: `0x${string}`;
|
|
2862
2866
|
coingeckoId0?: string | undefined;
|
|
2863
2867
|
coingeckoId1?: string | undefined;
|
|
2864
|
-
} | {
|
|
2865
|
-
id: string;
|
|
2866
|
-
networkId: string;
|
|
2867
|
-
isDefault?: boolean | undefined;
|
|
2868
|
-
decimals: number;
|
|
2869
|
-
symbol: string;
|
|
2870
|
-
name?: string | undefined;
|
|
2871
|
-
logo?: string | undefined;
|
|
2872
|
-
coingeckoId?: string | undefined;
|
|
2873
|
-
noDiscovery?: boolean | undefined;
|
|
2874
|
-
mirrorOf?: string | undefined;
|
|
2875
|
-
type: "substrate-assets";
|
|
2876
|
-
platform: "polkadot";
|
|
2877
|
-
assetId: string;
|
|
2878
|
-
isFrozen?: boolean | undefined;
|
|
2879
|
-
isSufficient: boolean;
|
|
2880
|
-
existentialDeposit: string;
|
|
2881
2868
|
} | {
|
|
2882
2869
|
id: string;
|
|
2883
2870
|
networkId: string;
|
|
@@ -2955,6 +2942,23 @@ export declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2955
2942
|
platform: "polkadot";
|
|
2956
2943
|
onChainId: string | number;
|
|
2957
2944
|
existentialDeposit: string;
|
|
2945
|
+
} | {
|
|
2946
|
+
id: string;
|
|
2947
|
+
networkId: string;
|
|
2948
|
+
isDefault?: boolean | undefined;
|
|
2949
|
+
decimals: number;
|
|
2950
|
+
symbol: string;
|
|
2951
|
+
name?: string | undefined;
|
|
2952
|
+
logo?: string | undefined;
|
|
2953
|
+
coingeckoId?: string | undefined;
|
|
2954
|
+
noDiscovery?: boolean | undefined;
|
|
2955
|
+
mirrorOf?: string | undefined;
|
|
2956
|
+
type: "substrate-hydration";
|
|
2957
|
+
platform: "polkadot";
|
|
2958
|
+
onChainId: number;
|
|
2959
|
+
assetType: "Erc20" | "External" | "Token";
|
|
2960
|
+
isSufficient: boolean;
|
|
2961
|
+
existentialDeposit: string;
|
|
2958
2962
|
} | {
|
|
2959
2963
|
id: string;
|
|
2960
2964
|
networkId: string;
|
|
@@ -3048,6 +3052,7 @@ export declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
3048
3052
|
hasCheckMetadataHash: z.ZodOptional<z.ZodBoolean>;
|
|
3049
3053
|
hasExtrinsicSignatureTypePrefix: z.ZodOptional<z.ZodBoolean>;
|
|
3050
3054
|
isUnknownFeeToken: z.ZodOptional<z.ZodBoolean>;
|
|
3055
|
+
hasFrontierMirrorWithdraw: z.ZodOptional<z.ZodBoolean>;
|
|
3051
3056
|
topology: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3052
3057
|
type: z.ZodLiteral<"standalone">;
|
|
3053
3058
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3356,10 +3361,10 @@ export declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
3356
3361
|
coingeckoId?: string | undefined;
|
|
3357
3362
|
noDiscovery?: boolean | undefined;
|
|
3358
3363
|
mirrorOf?: string | undefined;
|
|
3359
|
-
type: "substrate-
|
|
3364
|
+
type: "substrate-assets";
|
|
3360
3365
|
platform: "polkadot";
|
|
3361
|
-
|
|
3362
|
-
|
|
3366
|
+
assetId: string;
|
|
3367
|
+
isFrozen?: boolean | undefined;
|
|
3363
3368
|
isSufficient: boolean;
|
|
3364
3369
|
existentialDeposit: string;
|
|
3365
3370
|
} | {
|
|
@@ -3412,23 +3417,6 @@ export declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
3412
3417
|
tokenAddress1: `0x${string}`;
|
|
3413
3418
|
coingeckoId0?: string | undefined;
|
|
3414
3419
|
coingeckoId1?: string | undefined;
|
|
3415
|
-
} | {
|
|
3416
|
-
id: string;
|
|
3417
|
-
networkId: string;
|
|
3418
|
-
isDefault?: boolean | undefined;
|
|
3419
|
-
decimals: number;
|
|
3420
|
-
symbol: string;
|
|
3421
|
-
name?: string | undefined;
|
|
3422
|
-
logo?: string | undefined;
|
|
3423
|
-
coingeckoId?: string | undefined;
|
|
3424
|
-
noDiscovery?: boolean | undefined;
|
|
3425
|
-
mirrorOf?: string | undefined;
|
|
3426
|
-
type: "substrate-assets";
|
|
3427
|
-
platform: "polkadot";
|
|
3428
|
-
assetId: string;
|
|
3429
|
-
isFrozen?: boolean | undefined;
|
|
3430
|
-
isSufficient: boolean;
|
|
3431
|
-
existentialDeposit: string;
|
|
3432
3420
|
} | {
|
|
3433
3421
|
id: string;
|
|
3434
3422
|
networkId: string;
|
|
@@ -3506,6 +3494,23 @@ export declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
3506
3494
|
platform: "polkadot";
|
|
3507
3495
|
onChainId: string | number;
|
|
3508
3496
|
existentialDeposit: string;
|
|
3497
|
+
} | {
|
|
3498
|
+
id: string;
|
|
3499
|
+
networkId: string;
|
|
3500
|
+
isDefault?: boolean | undefined;
|
|
3501
|
+
decimals: number;
|
|
3502
|
+
symbol: string;
|
|
3503
|
+
name?: string | undefined;
|
|
3504
|
+
logo?: string | undefined;
|
|
3505
|
+
coingeckoId?: string | undefined;
|
|
3506
|
+
noDiscovery?: boolean | undefined;
|
|
3507
|
+
mirrorOf?: string | undefined;
|
|
3508
|
+
type: "substrate-hydration";
|
|
3509
|
+
platform: "polkadot";
|
|
3510
|
+
onChainId: number;
|
|
3511
|
+
assetType: "Erc20" | "External" | "Token";
|
|
3512
|
+
isSufficient: boolean;
|
|
3513
|
+
existentialDeposit: string;
|
|
3509
3514
|
} | {
|
|
3510
3515
|
id: string;
|
|
3511
3516
|
networkId: string;
|
|
@@ -3559,10 +3564,10 @@ export declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
3559
3564
|
coingeckoId?: string | undefined;
|
|
3560
3565
|
noDiscovery?: boolean | undefined;
|
|
3561
3566
|
mirrorOf?: string | undefined;
|
|
3562
|
-
type: "substrate-
|
|
3567
|
+
type: "substrate-assets";
|
|
3563
3568
|
platform: "polkadot";
|
|
3564
|
-
|
|
3565
|
-
|
|
3569
|
+
assetId: string;
|
|
3570
|
+
isFrozen?: boolean | undefined;
|
|
3566
3571
|
isSufficient: boolean;
|
|
3567
3572
|
existentialDeposit: string;
|
|
3568
3573
|
} | {
|
|
@@ -3615,23 +3620,6 @@ export declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
3615
3620
|
tokenAddress1: `0x${string}`;
|
|
3616
3621
|
coingeckoId0?: string | undefined;
|
|
3617
3622
|
coingeckoId1?: string | undefined;
|
|
3618
|
-
} | {
|
|
3619
|
-
id: string;
|
|
3620
|
-
networkId: string;
|
|
3621
|
-
isDefault?: boolean | undefined;
|
|
3622
|
-
decimals: number;
|
|
3623
|
-
symbol: string;
|
|
3624
|
-
name?: string | undefined;
|
|
3625
|
-
logo?: string | undefined;
|
|
3626
|
-
coingeckoId?: string | undefined;
|
|
3627
|
-
noDiscovery?: boolean | undefined;
|
|
3628
|
-
mirrorOf?: string | undefined;
|
|
3629
|
-
type: "substrate-assets";
|
|
3630
|
-
platform: "polkadot";
|
|
3631
|
-
assetId: string;
|
|
3632
|
-
isFrozen?: boolean | undefined;
|
|
3633
|
-
isSufficient: boolean;
|
|
3634
|
-
existentialDeposit: string;
|
|
3635
3623
|
} | {
|
|
3636
3624
|
id: string;
|
|
3637
3625
|
networkId: string;
|
|
@@ -3709,6 +3697,23 @@ export declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
3709
3697
|
platform: "polkadot";
|
|
3710
3698
|
onChainId: string | number;
|
|
3711
3699
|
existentialDeposit: string;
|
|
3700
|
+
} | {
|
|
3701
|
+
id: string;
|
|
3702
|
+
networkId: string;
|
|
3703
|
+
isDefault?: boolean | undefined;
|
|
3704
|
+
decimals: number;
|
|
3705
|
+
symbol: string;
|
|
3706
|
+
name?: string | undefined;
|
|
3707
|
+
logo?: string | undefined;
|
|
3708
|
+
coingeckoId?: string | undefined;
|
|
3709
|
+
noDiscovery?: boolean | undefined;
|
|
3710
|
+
mirrorOf?: string | undefined;
|
|
3711
|
+
type: "substrate-hydration";
|
|
3712
|
+
platform: "polkadot";
|
|
3713
|
+
onChainId: number;
|
|
3714
|
+
assetType: "Erc20" | "External" | "Token";
|
|
3715
|
+
isSufficient: boolean;
|
|
3716
|
+
existentialDeposit: string;
|
|
3712
3717
|
} | {
|
|
3713
3718
|
id: string;
|
|
3714
3719
|
networkId: string;
|
|
@@ -3894,18 +3899,9 @@ export declare class ChaindataProvider implements IChaindataProvider {
|
|
|
3894
3899
|
coingeckoId?: string | undefined;
|
|
3895
3900
|
noDiscovery?: boolean | undefined;
|
|
3896
3901
|
mirrorOf?: string | undefined;
|
|
3897
|
-
type: "
|
|
3898
|
-
platform: "
|
|
3899
|
-
|
|
3900
|
-
isCustom?: boolean | undefined;
|
|
3901
|
-
symbol0: string;
|
|
3902
|
-
symbol1: string;
|
|
3903
|
-
decimals0: number;
|
|
3904
|
-
decimals1: number;
|
|
3905
|
-
tokenAddress0: `0x${string}`;
|
|
3906
|
-
tokenAddress1: `0x${string}`;
|
|
3907
|
-
coingeckoId0?: string | undefined;
|
|
3908
|
-
coingeckoId1?: string | undefined;
|
|
3902
|
+
type: "sol-spl";
|
|
3903
|
+
platform: "solana";
|
|
3904
|
+
mintAddress: string;
|
|
3909
3905
|
} | {
|
|
3910
3906
|
id: string;
|
|
3911
3907
|
networkId: string;
|
|
@@ -3933,6 +3929,29 @@ export declare class ChaindataProvider implements IChaindataProvider {
|
|
|
3933
3929
|
mirrorOf?: string | undefined;
|
|
3934
3930
|
type: "evm-native";
|
|
3935
3931
|
platform: "ethereum";
|
|
3932
|
+
} | {
|
|
3933
|
+
id: string;
|
|
3934
|
+
networkId: string;
|
|
3935
|
+
isDefault?: boolean | undefined;
|
|
3936
|
+
decimals: number;
|
|
3937
|
+
symbol: string;
|
|
3938
|
+
name?: string | undefined;
|
|
3939
|
+
logo?: string | undefined;
|
|
3940
|
+
coingeckoId?: string | undefined;
|
|
3941
|
+
noDiscovery?: boolean | undefined;
|
|
3942
|
+
mirrorOf?: string | undefined;
|
|
3943
|
+
type: "evm-uniswapv2";
|
|
3944
|
+
platform: "ethereum";
|
|
3945
|
+
contractAddress: `0x${string}`;
|
|
3946
|
+
isCustom?: boolean | undefined;
|
|
3947
|
+
symbol0: string;
|
|
3948
|
+
symbol1: string;
|
|
3949
|
+
decimals0: number;
|
|
3950
|
+
decimals1: number;
|
|
3951
|
+
tokenAddress0: `0x${string}`;
|
|
3952
|
+
tokenAddress1: `0x${string}`;
|
|
3953
|
+
coingeckoId0?: string | undefined;
|
|
3954
|
+
coingeckoId1?: string | undefined;
|
|
3936
3955
|
} | {
|
|
3937
3956
|
id: string;
|
|
3938
3957
|
networkId: string;
|
|
@@ -4057,20 +4076,6 @@ export declare class ChaindataProvider implements IChaindataProvider {
|
|
|
4057
4076
|
mirrorOf?: string | undefined;
|
|
4058
4077
|
type: "sol-native";
|
|
4059
4078
|
platform: "solana";
|
|
4060
|
-
} | {
|
|
4061
|
-
id: string;
|
|
4062
|
-
networkId: string;
|
|
4063
|
-
isDefault?: boolean | undefined;
|
|
4064
|
-
decimals: number;
|
|
4065
|
-
symbol: string;
|
|
4066
|
-
name?: string | undefined;
|
|
4067
|
-
logo?: string | undefined;
|
|
4068
|
-
coingeckoId?: string | undefined;
|
|
4069
|
-
noDiscovery?: boolean | undefined;
|
|
4070
|
-
mirrorOf?: string | undefined;
|
|
4071
|
-
type: "sol-spl";
|
|
4072
|
-
platform: "solana";
|
|
4073
|
-
mintAddress: string;
|
|
4074
4079
|
} | {
|
|
4075
4080
|
id: string;
|
|
4076
4081
|
networkId: string;
|
|
@@ -4143,6 +4148,7 @@ export declare class ChaindataProvider implements IChaindataProvider {
|
|
|
4143
4148
|
hasCheckMetadataHash?: boolean | undefined;
|
|
4144
4149
|
hasExtrinsicSignatureTypePrefix?: boolean | undefined;
|
|
4145
4150
|
isUnknownFeeToken?: boolean | undefined;
|
|
4151
|
+
hasFrontierMirrorWithdraw?: boolean | undefined;
|
|
4146
4152
|
topology: {
|
|
4147
4153
|
type: "standalone";
|
|
4148
4154
|
} | {
|
|
@@ -4271,6 +4277,7 @@ export declare class ChaindataProvider implements IChaindataProvider {
|
|
|
4271
4277
|
hasCheckMetadataHash?: boolean | undefined;
|
|
4272
4278
|
hasExtrinsicSignatureTypePrefix?: boolean | undefined;
|
|
4273
4279
|
isUnknownFeeToken?: boolean | undefined;
|
|
4280
|
+
hasFrontierMirrorWithdraw?: boolean | undefined;
|
|
4274
4281
|
topology: {
|
|
4275
4282
|
type: "standalone";
|
|
4276
4283
|
} | {
|
|
@@ -4330,6 +4337,7 @@ export declare class ChaindataProvider implements IChaindataProvider {
|
|
|
4330
4337
|
hasCheckMetadataHash?: boolean | undefined;
|
|
4331
4338
|
hasExtrinsicSignatureTypePrefix?: boolean | undefined;
|
|
4332
4339
|
isUnknownFeeToken?: boolean | undefined;
|
|
4340
|
+
hasFrontierMirrorWithdraw?: boolean | undefined;
|
|
4333
4341
|
topology: {
|
|
4334
4342
|
type: "standalone";
|
|
4335
4343
|
} | {
|
|
@@ -4387,6 +4395,7 @@ export declare class ChaindataProvider implements IChaindataProvider {
|
|
|
4387
4395
|
hasCheckMetadataHash?: boolean | undefined;
|
|
4388
4396
|
hasExtrinsicSignatureTypePrefix?: boolean | undefined;
|
|
4389
4397
|
isUnknownFeeToken?: boolean | undefined;
|
|
4398
|
+
hasFrontierMirrorWithdraw?: boolean | undefined;
|
|
4390
4399
|
topology: {
|
|
4391
4400
|
type: "standalone";
|
|
4392
4401
|
} | {
|
|
@@ -4464,6 +4473,7 @@ export declare const getRemoteChaindata$: (url: string) => Observable<{
|
|
|
4464
4473
|
hasCheckMetadataHash?: boolean | undefined;
|
|
4465
4474
|
hasExtrinsicSignatureTypePrefix?: boolean | undefined;
|
|
4466
4475
|
isUnknownFeeToken?: boolean | undefined;
|
|
4476
|
+
hasFrontierMirrorWithdraw?: boolean | undefined;
|
|
4467
4477
|
topology: {
|
|
4468
4478
|
type: "standalone";
|
|
4469
4479
|
} | {
|
|
@@ -4562,18 +4572,9 @@ export declare const getRemoteChaindata$: (url: string) => Observable<{
|
|
|
4562
4572
|
coingeckoId?: string | undefined;
|
|
4563
4573
|
noDiscovery?: boolean | undefined;
|
|
4564
4574
|
mirrorOf?: string | undefined;
|
|
4565
|
-
type: "
|
|
4566
|
-
platform: "
|
|
4567
|
-
|
|
4568
|
-
isCustom?: boolean | undefined;
|
|
4569
|
-
symbol0: string;
|
|
4570
|
-
symbol1: string;
|
|
4571
|
-
decimals0: number;
|
|
4572
|
-
decimals1: number;
|
|
4573
|
-
tokenAddress0: `0x${string}`;
|
|
4574
|
-
tokenAddress1: `0x${string}`;
|
|
4575
|
-
coingeckoId0?: string | undefined;
|
|
4576
|
-
coingeckoId1?: string | undefined;
|
|
4575
|
+
type: "sol-spl";
|
|
4576
|
+
platform: "solana";
|
|
4577
|
+
mintAddress: string;
|
|
4577
4578
|
} | {
|
|
4578
4579
|
id: string;
|
|
4579
4580
|
networkId: string;
|
|
@@ -4601,6 +4602,29 @@ export declare const getRemoteChaindata$: (url: string) => Observable<{
|
|
|
4601
4602
|
mirrorOf?: string | undefined;
|
|
4602
4603
|
type: "evm-native";
|
|
4603
4604
|
platform: "ethereum";
|
|
4605
|
+
} | {
|
|
4606
|
+
id: string;
|
|
4607
|
+
networkId: string;
|
|
4608
|
+
isDefault?: boolean | undefined;
|
|
4609
|
+
decimals: number;
|
|
4610
|
+
symbol: string;
|
|
4611
|
+
name?: string | undefined;
|
|
4612
|
+
logo?: string | undefined;
|
|
4613
|
+
coingeckoId?: string | undefined;
|
|
4614
|
+
noDiscovery?: boolean | undefined;
|
|
4615
|
+
mirrorOf?: string | undefined;
|
|
4616
|
+
type: "evm-uniswapv2";
|
|
4617
|
+
platform: "ethereum";
|
|
4618
|
+
contractAddress: `0x${string}`;
|
|
4619
|
+
isCustom?: boolean | undefined;
|
|
4620
|
+
symbol0: string;
|
|
4621
|
+
symbol1: string;
|
|
4622
|
+
decimals0: number;
|
|
4623
|
+
decimals1: number;
|
|
4624
|
+
tokenAddress0: `0x${string}`;
|
|
4625
|
+
tokenAddress1: `0x${string}`;
|
|
4626
|
+
coingeckoId0?: string | undefined;
|
|
4627
|
+
coingeckoId1?: string | undefined;
|
|
4604
4628
|
} | {
|
|
4605
4629
|
id: string;
|
|
4606
4630
|
networkId: string;
|
|
@@ -4725,20 +4749,6 @@ export declare const getRemoteChaindata$: (url: string) => Observable<{
|
|
|
4725
4749
|
mirrorOf?: string | undefined;
|
|
4726
4750
|
type: "sol-native";
|
|
4727
4751
|
platform: "solana";
|
|
4728
|
-
} | {
|
|
4729
|
-
id: string;
|
|
4730
|
-
networkId: string;
|
|
4731
|
-
isDefault?: boolean | undefined;
|
|
4732
|
-
decimals: number;
|
|
4733
|
-
symbol: string;
|
|
4734
|
-
name?: string | undefined;
|
|
4735
|
-
logo?: string | undefined;
|
|
4736
|
-
coingeckoId?: string | undefined;
|
|
4737
|
-
noDiscovery?: boolean | undefined;
|
|
4738
|
-
mirrorOf?: string | undefined;
|
|
4739
|
-
type: "sol-spl";
|
|
4740
|
-
platform: "solana";
|
|
4741
|
-
mintAddress: string;
|
|
4742
4752
|
} | {
|
|
4743
4753
|
id: string;
|
|
4744
4754
|
networkId: string;
|