@avail-project/ca-common 1.0.0-beta.8 → 1.0.0-beta.9

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.
@@ -597,6 +597,41 @@ const RawData = [
597
597
  },
598
598
  ],
599
599
  },
600
+ {
601
+ Universe: 0,
602
+ ChainID32: "0x00000000000000000000000000000000000000000000000000000000000010e6",
603
+ Currencies: [
604
+ {
605
+ CurrencyID: 3,
606
+ TokenContractAddress: "0x0000000000000000000000000000000000000000000000000000000000000000",
607
+ PermitVariant: permitutils_1.PermitVariant.Unsupported,
608
+ TokenDecimals: 18,
609
+ IsGasToken: true,
610
+ },
611
+ ],
612
+ },
613
+ // Citrea Testnet
614
+ {
615
+ Universe: 0,
616
+ ChainID32: "0x00000000000000000000000000000000000000000000000000000000000013fb",
617
+ Currencies: [
618
+ {
619
+ CurrencyID: 1,
620
+ TokenContractAddress: "0x000000000000000000000000b669dC8cC6D044307Ba45366C0c836eC3c7e31AA",
621
+ PermitVariant: permitutils_1.PermitVariant.EIP2612Canonical,
622
+ PermitContractVersion: 2,
623
+ TokenDecimals: 6,
624
+ IsGasToken: false,
625
+ },
626
+ {
627
+ CurrencyID: 21,
628
+ TokenContractAddress: "0x0000000000000000000000000000000000000000000000000000000000000000",
629
+ PermitVariant: permitutils_1.PermitVariant.Unsupported,
630
+ TokenDecimals: 18,
631
+ IsGasToken: true,
632
+ },
633
+ ],
634
+ },
600
635
  ];
601
636
  class CurrencyMap {
602
637
  map = new Map();
@@ -691,4 +726,12 @@ exports.RPCURLMap = new chainid_1.ChainIDKeyedMap([
691
726
  new chainid_1.OmniversalChainID(definition_1.Universe.ETHEREUM, 143),
692
727
  "https://rpcs.avail.so/monad",
693
728
  ],
729
+ [
730
+ new chainid_1.OmniversalChainID(definition_1.Universe.ETHEREUM, 4326),
731
+ "https://rpcs.avail.so/megeth",
732
+ ],
733
+ [
734
+ new chainid_1.OmniversalChainID(definition_1.Universe.ETHEREUM, 5115),
735
+ "https://rpcs.avail.so/citrea-testnet",
736
+ ],
694
737
  ]);
@@ -16,24 +16,28 @@ const dataSets = new Map([
16
16
  [
17
17
  Environment.FOLLY,
18
18
  [
19
+ [
20
+ new data_1.OmniversalChainID(definition_1.Universe.ETHEREUM, 11155111),
21
+ "0xd579B76e3f51884c50eB8e8efdef5C593666B8fb",
22
+ ],
19
23
  [
20
24
  new data_1.OmniversalChainID(definition_1.Universe.ETHEREUM, 421614),
21
- "0xEFF0C81eC6D7c2a3B924e98B65303DDaa3030a81",
25
+ "0x10B69f0E3c21C1187526940A615959E9ee6012F9",
22
26
  ],
23
27
  [
24
28
  new data_1.OmniversalChainID(definition_1.Universe.ETHEREUM, 11155420),
25
- "0xEFF0C81eC6D7c2a3B924e98B65303DDaa3030a81",
29
+ "0x10B69f0E3c21C1187526940A615959E9ee6012F9",
26
30
  ],
27
31
  [
28
- new data_1.OmniversalChainID(definition_1.Universe.ETHEREUM, 80002),
29
- "0xEFF0C81eC6D7c2a3B924e98B65303DDaa3030a81",
32
+ new data_1.OmniversalChainID(definition_1.Universe.ETHEREUM, 84532),
33
+ "0xA7458040272226378397C3036eda862D60C3b307",
30
34
  ],
31
35
  [
32
- new data_1.OmniversalChainID(definition_1.Universe.ETHEREUM, 84532),
33
- "0xEFF0C81eC6D7c2a3B924e98B65303DDaa3030a81",
36
+ new data_1.OmniversalChainID(definition_1.Universe.ETHEREUM, 5115),
37
+ "0x10B69f0E3c21C1187526940A615959E9ee6012F9",
34
38
  ],
35
39
  [
36
- new data_1.OmniversalChainID(definition_1.Universe.ETHEREUM, 11155111),
40
+ new data_1.OmniversalChainID(definition_1.Universe.ETHEREUM, 80002),
37
41
  "0xEFF0C81eC6D7c2a3B924e98B65303DDaa3030a81",
38
42
  ],
39
43
  [
@@ -61,6 +65,10 @@ const dataSets = new Map([
61
65
  new data_1.OmniversalChainID(definition_1.Universe.ETHEREUM, 8453),
62
66
  "0x111111eA4f8BdfB5AE22c37ebC3eE17b82072F57",
63
67
  ],
68
+ [
69
+ new data_1.OmniversalChainID(definition_1.Universe.ETHEREUM, 4326),
70
+ "0x10B69f0E3c21C1187526940A615959E9ee6012F9",
71
+ ],
64
72
  [
65
73
  new data_1.OmniversalChainID(definition_1.Universe.ETHEREUM, 534352),
66
74
  "0x111111eA4f8BdfB5AE22c37ebC3eE17b82072F57",
@@ -594,6 +594,41 @@ const RawData = [
594
594
  },
595
595
  ],
596
596
  },
597
+ {
598
+ Universe: 0,
599
+ ChainID32: "0x00000000000000000000000000000000000000000000000000000000000010e6",
600
+ Currencies: [
601
+ {
602
+ CurrencyID: 3,
603
+ TokenContractAddress: "0x0000000000000000000000000000000000000000000000000000000000000000",
604
+ PermitVariant: PermitVariant.Unsupported,
605
+ TokenDecimals: 18,
606
+ IsGasToken: true,
607
+ },
608
+ ],
609
+ },
610
+ // Citrea Testnet
611
+ {
612
+ Universe: 0,
613
+ ChainID32: "0x00000000000000000000000000000000000000000000000000000000000013fb",
614
+ Currencies: [
615
+ {
616
+ CurrencyID: 1,
617
+ TokenContractAddress: "0x000000000000000000000000b669dC8cC6D044307Ba45366C0c836eC3c7e31AA",
618
+ PermitVariant: PermitVariant.EIP2612Canonical,
619
+ PermitContractVersion: 2,
620
+ TokenDecimals: 6,
621
+ IsGasToken: false,
622
+ },
623
+ {
624
+ CurrencyID: 21,
625
+ TokenContractAddress: "0x0000000000000000000000000000000000000000000000000000000000000000",
626
+ PermitVariant: PermitVariant.Unsupported,
627
+ TokenDecimals: 18,
628
+ IsGasToken: true,
629
+ },
630
+ ],
631
+ },
597
632
  ];
598
633
  class CurrencyMap {
599
634
  map = new Map();
@@ -688,4 +723,12 @@ export const RPCURLMap = new ChainIDKeyedMap([
688
723
  new OmniversalChainID(Universe.ETHEREUM, 143),
689
724
  "https://rpcs.avail.so/monad",
690
725
  ],
726
+ [
727
+ new OmniversalChainID(Universe.ETHEREUM, 4326),
728
+ "https://rpcs.avail.so/megeth",
729
+ ],
730
+ [
731
+ new OmniversalChainID(Universe.ETHEREUM, 5115),
732
+ "https://rpcs.avail.so/citrea-testnet",
733
+ ],
691
734
  ]);
@@ -12,24 +12,28 @@ const dataSets = new Map([
12
12
  [
13
13
  Environment.FOLLY,
14
14
  [
15
+ [
16
+ new OmniversalChainID(Universe.ETHEREUM, 11155111),
17
+ "0xd579B76e3f51884c50eB8e8efdef5C593666B8fb",
18
+ ],
15
19
  [
16
20
  new OmniversalChainID(Universe.ETHEREUM, 421614),
17
- "0xEFF0C81eC6D7c2a3B924e98B65303DDaa3030a81",
21
+ "0x10B69f0E3c21C1187526940A615959E9ee6012F9",
18
22
  ],
19
23
  [
20
24
  new OmniversalChainID(Universe.ETHEREUM, 11155420),
21
- "0xEFF0C81eC6D7c2a3B924e98B65303DDaa3030a81",
25
+ "0x10B69f0E3c21C1187526940A615959E9ee6012F9",
22
26
  ],
23
27
  [
24
- new OmniversalChainID(Universe.ETHEREUM, 80002),
25
- "0xEFF0C81eC6D7c2a3B924e98B65303DDaa3030a81",
28
+ new OmniversalChainID(Universe.ETHEREUM, 84532),
29
+ "0xA7458040272226378397C3036eda862D60C3b307",
26
30
  ],
27
31
  [
28
- new OmniversalChainID(Universe.ETHEREUM, 84532),
29
- "0xEFF0C81eC6D7c2a3B924e98B65303DDaa3030a81",
32
+ new OmniversalChainID(Universe.ETHEREUM, 5115),
33
+ "0x10B69f0E3c21C1187526940A615959E9ee6012F9",
30
34
  ],
31
35
  [
32
- new OmniversalChainID(Universe.ETHEREUM, 11155111),
36
+ new OmniversalChainID(Universe.ETHEREUM, 80002),
33
37
  "0xEFF0C81eC6D7c2a3B924e98B65303DDaa3030a81",
34
38
  ],
35
39
  [
@@ -57,6 +61,10 @@ const dataSets = new Map([
57
61
  new OmniversalChainID(Universe.ETHEREUM, 8453),
58
62
  "0x111111eA4f8BdfB5AE22c37ebC3eE17b82072F57",
59
63
  ],
64
+ [
65
+ new OmniversalChainID(Universe.ETHEREUM, 4326),
66
+ "0x10B69f0E3c21C1187526940A615959E9ee6012F9",
67
+ ],
60
68
  [
61
69
  new OmniversalChainID(Universe.ETHEREUM, 534352),
62
70
  "0x111111eA4f8BdfB5AE22c37ebC3eE17b82072F57",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avail-project/ca-common",
3
- "version": "1.0.0-beta.8",
3
+ "version": "1.0.0-beta.9",
4
4
  "description": "common utilities for CA",
5
5
  "files": [
6
6
  "dist"