@talismn/chaindata-provider 2.0.0 → 2.0.1
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.ts +52 -52
- package/dist/index.js +445 -417
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +445 -417
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2595,18 +2595,9 @@ declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2595
2595
|
coingeckoId?: string | undefined;
|
|
2596
2596
|
noDiscovery?: boolean | undefined;
|
|
2597
2597
|
mirrorOf?: string | undefined;
|
|
2598
|
-
type: "evm-
|
|
2598
|
+
type: "evm-erc20";
|
|
2599
2599
|
platform: "ethereum";
|
|
2600
2600
|
contractAddress: `0x${string}`;
|
|
2601
|
-
isCustom?: boolean | undefined;
|
|
2602
|
-
symbol0: string;
|
|
2603
|
-
symbol1: string;
|
|
2604
|
-
decimals0: number;
|
|
2605
|
-
decimals1: number;
|
|
2606
|
-
tokenAddress0: `0x${string}`;
|
|
2607
|
-
tokenAddress1: `0x${string}`;
|
|
2608
|
-
coingeckoId0?: string | undefined;
|
|
2609
|
-
coingeckoId1?: string | undefined;
|
|
2610
2601
|
} | {
|
|
2611
2602
|
id: string;
|
|
2612
2603
|
networkId: string;
|
|
@@ -2618,9 +2609,8 @@ declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2618
2609
|
coingeckoId?: string | undefined;
|
|
2619
2610
|
noDiscovery?: boolean | undefined;
|
|
2620
2611
|
mirrorOf?: string | undefined;
|
|
2621
|
-
type: "evm-
|
|
2612
|
+
type: "evm-native";
|
|
2622
2613
|
platform: "ethereum";
|
|
2623
|
-
contractAddress: `0x${string}`;
|
|
2624
2614
|
} | {
|
|
2625
2615
|
id: string;
|
|
2626
2616
|
networkId: string;
|
|
@@ -2632,8 +2622,18 @@ declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2632
2622
|
coingeckoId?: string | undefined;
|
|
2633
2623
|
noDiscovery?: boolean | undefined;
|
|
2634
2624
|
mirrorOf?: string | undefined;
|
|
2635
|
-
type: "evm-
|
|
2625
|
+
type: "evm-uniswapv2";
|
|
2636
2626
|
platform: "ethereum";
|
|
2627
|
+
contractAddress: `0x${string}`;
|
|
2628
|
+
isCustom?: boolean | undefined;
|
|
2629
|
+
symbol0: string;
|
|
2630
|
+
symbol1: string;
|
|
2631
|
+
decimals0: number;
|
|
2632
|
+
decimals1: number;
|
|
2633
|
+
tokenAddress0: `0x${string}`;
|
|
2634
|
+
tokenAddress1: `0x${string}`;
|
|
2635
|
+
coingeckoId0?: string | undefined;
|
|
2636
|
+
coingeckoId1?: string | undefined;
|
|
2637
2637
|
} | {
|
|
2638
2638
|
id: string;
|
|
2639
2639
|
networkId: string;
|
|
@@ -2798,18 +2798,9 @@ declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2798
2798
|
coingeckoId?: string | undefined;
|
|
2799
2799
|
noDiscovery?: boolean | undefined;
|
|
2800
2800
|
mirrorOf?: string | undefined;
|
|
2801
|
-
type: "evm-
|
|
2801
|
+
type: "evm-erc20";
|
|
2802
2802
|
platform: "ethereum";
|
|
2803
2803
|
contractAddress: `0x${string}`;
|
|
2804
|
-
isCustom?: boolean | undefined;
|
|
2805
|
-
symbol0: string;
|
|
2806
|
-
symbol1: string;
|
|
2807
|
-
decimals0: number;
|
|
2808
|
-
decimals1: number;
|
|
2809
|
-
tokenAddress0: `0x${string}`;
|
|
2810
|
-
tokenAddress1: `0x${string}`;
|
|
2811
|
-
coingeckoId0?: string | undefined;
|
|
2812
|
-
coingeckoId1?: string | undefined;
|
|
2813
2804
|
} | {
|
|
2814
2805
|
id: string;
|
|
2815
2806
|
networkId: string;
|
|
@@ -2821,9 +2812,8 @@ declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2821
2812
|
coingeckoId?: string | undefined;
|
|
2822
2813
|
noDiscovery?: boolean | undefined;
|
|
2823
2814
|
mirrorOf?: string | undefined;
|
|
2824
|
-
type: "evm-
|
|
2815
|
+
type: "evm-native";
|
|
2825
2816
|
platform: "ethereum";
|
|
2826
|
-
contractAddress: `0x${string}`;
|
|
2827
2817
|
} | {
|
|
2828
2818
|
id: string;
|
|
2829
2819
|
networkId: string;
|
|
@@ -2835,8 +2825,18 @@ declare const ChaindataFileSchema: z.ZodObject<{
|
|
|
2835
2825
|
coingeckoId?: string | undefined;
|
|
2836
2826
|
noDiscovery?: boolean | undefined;
|
|
2837
2827
|
mirrorOf?: string | undefined;
|
|
2838
|
-
type: "evm-
|
|
2828
|
+
type: "evm-uniswapv2";
|
|
2839
2829
|
platform: "ethereum";
|
|
2830
|
+
contractAddress: `0x${string}`;
|
|
2831
|
+
isCustom?: boolean | undefined;
|
|
2832
|
+
symbol0: string;
|
|
2833
|
+
symbol1: string;
|
|
2834
|
+
decimals0: number;
|
|
2835
|
+
decimals1: number;
|
|
2836
|
+
tokenAddress0: `0x${string}`;
|
|
2837
|
+
tokenAddress1: `0x${string}`;
|
|
2838
|
+
coingeckoId0?: string | undefined;
|
|
2839
|
+
coingeckoId1?: string | undefined;
|
|
2840
2840
|
} | {
|
|
2841
2841
|
id: string;
|
|
2842
2842
|
networkId: string;
|
|
@@ -3348,18 +3348,9 @@ declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
3348
3348
|
coingeckoId?: string | undefined;
|
|
3349
3349
|
noDiscovery?: boolean | undefined;
|
|
3350
3350
|
mirrorOf?: string | undefined;
|
|
3351
|
-
type: "evm-
|
|
3351
|
+
type: "evm-erc20";
|
|
3352
3352
|
platform: "ethereum";
|
|
3353
3353
|
contractAddress: `0x${string}`;
|
|
3354
|
-
isCustom?: boolean | undefined;
|
|
3355
|
-
symbol0: string;
|
|
3356
|
-
symbol1: string;
|
|
3357
|
-
decimals0: number;
|
|
3358
|
-
decimals1: number;
|
|
3359
|
-
tokenAddress0: `0x${string}`;
|
|
3360
|
-
tokenAddress1: `0x${string}`;
|
|
3361
|
-
coingeckoId0?: string | undefined;
|
|
3362
|
-
coingeckoId1?: string | undefined;
|
|
3363
3354
|
} | {
|
|
3364
3355
|
id: string;
|
|
3365
3356
|
networkId: string;
|
|
@@ -3371,9 +3362,8 @@ declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
3371
3362
|
coingeckoId?: string | undefined;
|
|
3372
3363
|
noDiscovery?: boolean | undefined;
|
|
3373
3364
|
mirrorOf?: string | undefined;
|
|
3374
|
-
type: "evm-
|
|
3365
|
+
type: "evm-native";
|
|
3375
3366
|
platform: "ethereum";
|
|
3376
|
-
contractAddress: `0x${string}`;
|
|
3377
3367
|
} | {
|
|
3378
3368
|
id: string;
|
|
3379
3369
|
networkId: string;
|
|
@@ -3385,8 +3375,18 @@ declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
3385
3375
|
coingeckoId?: string | undefined;
|
|
3386
3376
|
noDiscovery?: boolean | undefined;
|
|
3387
3377
|
mirrorOf?: string | undefined;
|
|
3388
|
-
type: "evm-
|
|
3378
|
+
type: "evm-uniswapv2";
|
|
3389
3379
|
platform: "ethereum";
|
|
3380
|
+
contractAddress: `0x${string}`;
|
|
3381
|
+
isCustom?: boolean | undefined;
|
|
3382
|
+
symbol0: string;
|
|
3383
|
+
symbol1: string;
|
|
3384
|
+
decimals0: number;
|
|
3385
|
+
decimals1: number;
|
|
3386
|
+
tokenAddress0: `0x${string}`;
|
|
3387
|
+
tokenAddress1: `0x${string}`;
|
|
3388
|
+
coingeckoId0?: string | undefined;
|
|
3389
|
+
coingeckoId1?: string | undefined;
|
|
3390
3390
|
} | {
|
|
3391
3391
|
id: string;
|
|
3392
3392
|
networkId: string;
|
|
@@ -3551,18 +3551,9 @@ declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
3551
3551
|
coingeckoId?: string | undefined;
|
|
3552
3552
|
noDiscovery?: boolean | undefined;
|
|
3553
3553
|
mirrorOf?: string | undefined;
|
|
3554
|
-
type: "evm-
|
|
3554
|
+
type: "evm-erc20";
|
|
3555
3555
|
platform: "ethereum";
|
|
3556
3556
|
contractAddress: `0x${string}`;
|
|
3557
|
-
isCustom?: boolean | undefined;
|
|
3558
|
-
symbol0: string;
|
|
3559
|
-
symbol1: string;
|
|
3560
|
-
decimals0: number;
|
|
3561
|
-
decimals1: number;
|
|
3562
|
-
tokenAddress0: `0x${string}`;
|
|
3563
|
-
tokenAddress1: `0x${string}`;
|
|
3564
|
-
coingeckoId0?: string | undefined;
|
|
3565
|
-
coingeckoId1?: string | undefined;
|
|
3566
3557
|
} | {
|
|
3567
3558
|
id: string;
|
|
3568
3559
|
networkId: string;
|
|
@@ -3574,9 +3565,8 @@ declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
3574
3565
|
coingeckoId?: string | undefined;
|
|
3575
3566
|
noDiscovery?: boolean | undefined;
|
|
3576
3567
|
mirrorOf?: string | undefined;
|
|
3577
|
-
type: "evm-
|
|
3568
|
+
type: "evm-native";
|
|
3578
3569
|
platform: "ethereum";
|
|
3579
|
-
contractAddress: `0x${string}`;
|
|
3580
3570
|
} | {
|
|
3581
3571
|
id: string;
|
|
3582
3572
|
networkId: string;
|
|
@@ -3588,8 +3578,18 @@ declare const CustomChaindataSchema: z.ZodObject<{
|
|
|
3588
3578
|
coingeckoId?: string | undefined;
|
|
3589
3579
|
noDiscovery?: boolean | undefined;
|
|
3590
3580
|
mirrorOf?: string | undefined;
|
|
3591
|
-
type: "evm-
|
|
3581
|
+
type: "evm-uniswapv2";
|
|
3592
3582
|
platform: "ethereum";
|
|
3583
|
+
contractAddress: `0x${string}`;
|
|
3584
|
+
isCustom?: boolean | undefined;
|
|
3585
|
+
symbol0: string;
|
|
3586
|
+
symbol1: string;
|
|
3587
|
+
decimals0: number;
|
|
3588
|
+
decimals1: number;
|
|
3589
|
+
tokenAddress0: `0x${string}`;
|
|
3590
|
+
tokenAddress1: `0x${string}`;
|
|
3591
|
+
coingeckoId0?: string | undefined;
|
|
3592
|
+
coingeckoId1?: string | undefined;
|
|
3593
3593
|
} | {
|
|
3594
3594
|
id: string;
|
|
3595
3595
|
networkId: string;
|