@lifi/types 5.1.0 → 5.2.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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [5.2.1](https://github.com/lifinance/types/compare/v5.2.0...v5.2.1) (2023-05-02)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * add cbridge tokens ([#168](https://github.com/lifinance/types/issues/168)) ([6702984](https://github.com/lifinance/types/commit/67029845bc68b2b1a083ecfe26268c478b8d3d61))
11
+
12
+ ## [5.2.0](https://github.com/lifinance/types/compare/v5.1.0...v5.2.0) (2023-04-28)
13
+
14
+
15
+ ### Features
16
+
17
+ * add Polygon zkEVM and zkSync Era ([#167](https://github.com/lifinance/types/issues/167)) ([922dc70](https://github.com/lifinance/types/commit/922dc70c92a085391a2fc5e5c8b4407d487a4a2f))
18
+
5
19
  ## [5.1.0](https://github.com/lifinance/types/compare/v5.0.0...v5.1.0) (2023-04-28)
6
20
 
7
21
 
package/dist/base.d.ts CHANGED
@@ -33,6 +33,10 @@ export declare enum CoinKey {
33
33
  USDT = "USDT",
34
34
  USDC = "USDC",
35
35
  cbtUSDC = "cbtUSDC",
36
+ cbtUSDT = "cbtUSDT",
37
+ cbtWUSDT = "cbtWUSDT",
38
+ cbtWUSDC = "cbtWUSDC",
39
+ cbtCELR = "cbtCELR",
36
40
  BUSD = "BUSD",
37
41
  TEST = "TEST",
38
42
  KAL = "KAL",
@@ -85,6 +89,8 @@ export declare enum ChainKey {
85
89
  SOL = "sol",
86
90
  EVM = "evm",
87
91
  ARN = "arn",
92
+ ERA = "era",
93
+ PZE = "pze",
88
94
  GOR = "gor",
89
95
  METT = "mett",
90
96
  DIOT = "diot",
@@ -143,6 +149,8 @@ export declare enum ChainId {
143
149
  OAS = 111971151099710,
144
150
  EVM = 9001,
145
151
  ARN = 42170,
152
+ ERA = 324,
153
+ PZE = 1101,
146
154
  GOR = 5,
147
155
  METT = 12,
148
156
  DIOT = 13,
package/dist/base.js CHANGED
@@ -33,6 +33,10 @@ export var CoinKey;
33
33
  CoinKey["USDT"] = "USDT";
34
34
  CoinKey["USDC"] = "USDC";
35
35
  CoinKey["cbtUSDC"] = "cbtUSDC";
36
+ CoinKey["cbtUSDT"] = "cbtUSDT";
37
+ CoinKey["cbtWUSDT"] = "cbtWUSDT";
38
+ CoinKey["cbtWUSDC"] = "cbtWUSDC";
39
+ CoinKey["cbtCELR"] = "cbtCELR";
36
40
  CoinKey["BUSD"] = "BUSD";
37
41
  // Testnet
38
42
  CoinKey["TEST"] = "TEST";
@@ -88,6 +92,8 @@ export var ChainKey;
88
92
  ChainKey["SOL"] = "sol";
89
93
  ChainKey["EVM"] = "evm";
90
94
  ChainKey["ARN"] = "arn";
95
+ ChainKey["ERA"] = "era";
96
+ ChainKey["PZE"] = "pze";
91
97
  // Testnets
92
98
  ChainKey["GOR"] = "gor";
93
99
  ChainKey["METT"] = "mett";
@@ -148,6 +154,8 @@ export var ChainId;
148
154
  ChainId[ChainId["OAS"] = 111971151099710] = "OAS";
149
155
  ChainId[ChainId["EVM"] = 9001] = "EVM";
150
156
  ChainId[ChainId["ARN"] = 42170] = "ARN";
157
+ ChainId[ChainId["ERA"] = 324] = "ERA";
158
+ ChainId[ChainId["PZE"] = 1101] = "PZE";
151
159
  // Testnets
152
160
  ChainId[ChainId["GOR"] = 5] = "GOR";
153
161
  ChainId[ChainId["METT"] = 12] = "METT";
@@ -764,6 +764,49 @@ export const supportedEVMChains = [
764
764
  rpcUrls: ['https://eth.bd.evmos.org:8545'],
765
765
  },
766
766
  },
767
+ // 324 - zksync ERA
768
+ {
769
+ key: ChainKey.ERA,
770
+ chainType: ChainType.EVM,
771
+ name: 'zkSync Era',
772
+ coin: CoinKey.ETH,
773
+ id: 324,
774
+ mainnet: true,
775
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/zksync.png',
776
+ metamask: {
777
+ chainId: prefixChainId(324),
778
+ blockExplorerUrls: ['https://zkscan.io/'],
779
+ chainName: 'zkSync Era Mainnet',
780
+ nativeCurrency: {
781
+ name: 'ETH',
782
+ symbol: 'ETH',
783
+ decimals: 18,
784
+ },
785
+ rpcUrls: ['https://mainnet.era.zksync.io'],
786
+ },
787
+ },
788
+ // 1101 - Polygon zkEVM
789
+ {
790
+ key: ChainKey.PZE,
791
+ chainType: ChainType.EVM,
792
+ name: 'Polygon zkEVM',
793
+ coin: CoinKey.ETH,
794
+ id: 1101,
795
+ mainnet: true,
796
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/zkevm.png',
797
+ multicallAddress: multicallAddresses[ChainId.PZE],
798
+ metamask: {
799
+ chainId: prefixChainId(1101),
800
+ blockExplorerUrls: ['https://zkevm.polygonscan.com'],
801
+ chainName: 'Polygon zkEVM',
802
+ nativeCurrency: {
803
+ name: 'ETH',
804
+ symbol: 'ETH',
805
+ decimals: 18,
806
+ },
807
+ rpcUrls: ['https://polygon-rpc.com/zkevm'],
808
+ },
809
+ },
767
810
  // TESTNETS
768
811
  // 5 - Goerli
769
812
  {
@@ -33,6 +33,10 @@ export declare enum CoinKey {
33
33
  USDT = "USDT",
34
34
  USDC = "USDC",
35
35
  cbtUSDC = "cbtUSDC",
36
+ cbtUSDT = "cbtUSDT",
37
+ cbtWUSDT = "cbtWUSDT",
38
+ cbtWUSDC = "cbtWUSDC",
39
+ cbtCELR = "cbtCELR",
36
40
  BUSD = "BUSD",
37
41
  TEST = "TEST",
38
42
  KAL = "KAL",
@@ -85,6 +89,8 @@ export declare enum ChainKey {
85
89
  SOL = "sol",
86
90
  EVM = "evm",
87
91
  ARN = "arn",
92
+ ERA = "era",
93
+ PZE = "pze",
88
94
  GOR = "gor",
89
95
  METT = "mett",
90
96
  DIOT = "diot",
@@ -143,6 +149,8 @@ export declare enum ChainId {
143
149
  OAS = 111971151099710,
144
150
  EVM = 9001,
145
151
  ARN = 42170,
152
+ ERA = 324,
153
+ PZE = 1101,
146
154
  GOR = 5,
147
155
  METT = 12,
148
156
  DIOT = 13,
package/dist/cjs/base.js CHANGED
@@ -36,6 +36,10 @@ var CoinKey;
36
36
  CoinKey["USDT"] = "USDT";
37
37
  CoinKey["USDC"] = "USDC";
38
38
  CoinKey["cbtUSDC"] = "cbtUSDC";
39
+ CoinKey["cbtUSDT"] = "cbtUSDT";
40
+ CoinKey["cbtWUSDT"] = "cbtWUSDT";
41
+ CoinKey["cbtWUSDC"] = "cbtWUSDC";
42
+ CoinKey["cbtCELR"] = "cbtCELR";
39
43
  CoinKey["BUSD"] = "BUSD";
40
44
  // Testnet
41
45
  CoinKey["TEST"] = "TEST";
@@ -91,6 +95,8 @@ var ChainKey;
91
95
  ChainKey["SOL"] = "sol";
92
96
  ChainKey["EVM"] = "evm";
93
97
  ChainKey["ARN"] = "arn";
98
+ ChainKey["ERA"] = "era";
99
+ ChainKey["PZE"] = "pze";
94
100
  // Testnets
95
101
  ChainKey["GOR"] = "gor";
96
102
  ChainKey["METT"] = "mett";
@@ -151,6 +157,8 @@ var ChainId;
151
157
  ChainId[ChainId["OAS"] = 111971151099710] = "OAS";
152
158
  ChainId[ChainId["EVM"] = 9001] = "EVM";
153
159
  ChainId[ChainId["ARN"] = 42170] = "ARN";
160
+ ChainId[ChainId["ERA"] = 324] = "ERA";
161
+ ChainId[ChainId["PZE"] = 1101] = "PZE";
154
162
  // Testnets
155
163
  ChainId[ChainId["GOR"] = 5] = "GOR";
156
164
  ChainId[ChainId["METT"] = 12] = "METT";
@@ -767,6 +767,49 @@ exports.supportedEVMChains = [
767
767
  rpcUrls: ['https://eth.bd.evmos.org:8545'],
768
768
  },
769
769
  },
770
+ // 324 - zksync ERA
771
+ {
772
+ key: base_1.ChainKey.ERA,
773
+ chainType: Chain_1.ChainType.EVM,
774
+ name: 'zkSync Era',
775
+ coin: base_1.CoinKey.ETH,
776
+ id: 324,
777
+ mainnet: true,
778
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/zksync.png',
779
+ metamask: {
780
+ chainId: (0, EVMChain_1.prefixChainId)(324),
781
+ blockExplorerUrls: ['https://zkscan.io/'],
782
+ chainName: 'zkSync Era Mainnet',
783
+ nativeCurrency: {
784
+ name: 'ETH',
785
+ symbol: 'ETH',
786
+ decimals: 18,
787
+ },
788
+ rpcUrls: ['https://mainnet.era.zksync.io'],
789
+ },
790
+ },
791
+ // 1101 - Polygon zkEVM
792
+ {
793
+ key: base_1.ChainKey.PZE,
794
+ chainType: Chain_1.ChainType.EVM,
795
+ name: 'Polygon zkEVM',
796
+ coin: base_1.CoinKey.ETH,
797
+ id: 1101,
798
+ mainnet: true,
799
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/zkevm.png',
800
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.PZE],
801
+ metamask: {
802
+ chainId: (0, EVMChain_1.prefixChainId)(1101),
803
+ blockExplorerUrls: ['https://zkevm.polygonscan.com'],
804
+ chainName: 'Polygon zkEVM',
805
+ nativeCurrency: {
806
+ name: 'ETH',
807
+ symbol: 'ETH',
808
+ decimals: 18,
809
+ },
810
+ rpcUrls: ['https://polygon-rpc.com/zkevm'],
811
+ },
812
+ },
770
813
  // TESTNETS
771
814
  // 5 - Goerli
772
815
  {
package/dist/cjs/coins.js CHANGED
@@ -42,6 +42,14 @@ const basicCoins = [
42
42
  address: '0x0000000000000000000000000000000000000000',
43
43
  decimals: 18,
44
44
  },
45
+ [base_1.ChainId.ERA]: {
46
+ address: '0x0000000000000000000000000000000000000000',
47
+ decimals: 18,
48
+ },
49
+ [base_1.ChainId.PZE]: {
50
+ address: '0x0000000000000000000000000000000000000000',
51
+ decimals: 18,
52
+ },
45
53
  [base_1.ChainId.FTM]: {
46
54
  address: '0x74b23882a30290451a17c44f4f05243b6b58c76d',
47
55
  decimals: 18,
@@ -257,6 +265,10 @@ const basicCoins = [
257
265
  address: '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
258
266
  decimals: 18,
259
267
  },
268
+ [base_1.ChainId.ERA]: {
269
+ address: '0x4bef76b6b7f2823c6c1f4fcfeacd85c24548ad7e',
270
+ decimals: 18,
271
+ },
260
272
  [base_1.ChainId.FTM]: {
261
273
  address: '0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e',
262
274
  decimals: 18,
@@ -550,6 +562,70 @@ const basicCoins = [
550
562
  },
551
563
  },
552
564
  },
565
+ // cBridge CELER testtoken
566
+ {
567
+ key: base_1.CoinKey.cbtCELR,
568
+ name: base_1.CoinKey.cbtCELR,
569
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
570
+ verified: true,
571
+ chains: {
572
+ [base_1.ChainId.GOR]: {
573
+ address: '0x5D3c0F4cA5EE99f8E8F59Ff9A5fAb04F6a7e007f',
574
+ decimals: 18,
575
+ },
576
+ [base_1.ChainId.BSCT]: {
577
+ address: '0x5471ea8f739dd37E9B81Be9c5c77754D8AA953E4',
578
+ decimals: 18,
579
+ },
580
+ },
581
+ },
582
+ // cBridge USDT testtoken
583
+ {
584
+ key: base_1.CoinKey.cbtUSDT,
585
+ name: base_1.CoinKey.cbtUSDT,
586
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
587
+ verified: true,
588
+ chains: {
589
+ [base_1.ChainId.GOR]: {
590
+ address: '0xf4b2cbc3ba04c478f0dc824f4806ac39982dce73',
591
+ decimals: 6,
592
+ },
593
+ [base_1.ChainId.BSCT]: {
594
+ address: '0x7d43AABC515C356145049227CeE54B608342c0ad',
595
+ decimals: 6,
596
+ },
597
+ },
598
+ },
599
+ // cBridge WUSDT testtoken
600
+ {
601
+ key: base_1.CoinKey.cbtWUSDT,
602
+ name: base_1.CoinKey.cbtWUSDT,
603
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
604
+ verified: true,
605
+ chains: {
606
+ [base_1.ChainId.GOR]: {
607
+ address: '0x9D39Fc627A6d9d9F8C831c16995b209548cc3401',
608
+ decimals: 6,
609
+ },
610
+ [base_1.ChainId.BSCT]: {
611
+ address: '0xC826C23327098cd8A37f140114F2173A8F62DD29',
612
+ decimals: 6,
613
+ },
614
+ },
615
+ },
616
+ // cBridge WUSDC testtoken
617
+ {
618
+ key: base_1.CoinKey.cbtWUSDC,
619
+ name: base_1.CoinKey.cbtWUSDC,
620
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
621
+ verified: true,
622
+ chains: {
623
+ [base_1.ChainId.GOR]: {
624
+ address: '0x4a63Afc71427807586dA190Bb0D3adB461fF9589',
625
+ decimals: 6,
626
+ },
627
+ },
628
+ },
553
629
  // cBridge USDC testtoken
554
630
  {
555
631
  key: base_1.CoinKey.cbtUSDC,
@@ -569,6 +645,10 @@ const basicCoins = [
569
645
  address: '0x317F8d18FB16E49a958Becd0EA72f8E153d25654',
570
646
  decimals: 6,
571
647
  },
648
+ [base_1.ChainId.GOR]: {
649
+ address: '0xCbE56b00d173A26a5978cE90Db2E33622fD95A28',
650
+ decimals: 6,
651
+ },
572
652
  },
573
653
  },
574
654
  // USDC
@@ -603,6 +683,14 @@ const basicCoins = [
603
683
  address: '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
604
684
  decimals: 6,
605
685
  },
686
+ [base_1.ChainId.ERA]: {
687
+ address: '0x3355df6d4c9c3035724fd0e3914de96a5a83aaf4',
688
+ decimals: 6,
689
+ },
690
+ [base_1.ChainId.PZE]: {
691
+ address: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035',
692
+ decimals: 6,
693
+ },
606
694
  [base_1.ChainId.FTM]: {
607
695
  address: '0x04068da6c83afcfa0e13ba15a6696662335d5b75',
608
696
  decimals: 6,
@@ -1349,6 +1437,26 @@ exports.wrappedTokens = {
1349
1437
  name: 'Wrapped ETH',
1350
1438
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1351
1439
  },
1440
+ [base_1.ChainId.ERA]: {
1441
+ // https://explorer.zksync.io/address/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91
1442
+ address: '0x5aea5775959fbc2557cc8789bc1bf90a239d9a91',
1443
+ symbol: 'WETH',
1444
+ decimals: 18,
1445
+ chainId: base_1.ChainId.ERA,
1446
+ coinKey: base_1.CoinKey.WETH,
1447
+ name: 'Wrapped Ether',
1448
+ logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
1449
+ },
1450
+ [base_1.ChainId.PZE]: {
1451
+ // https://zkevm.polygonscan.com/token/0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9
1452
+ address: '0x5aea5775959fbc2557cc8789bc1bf90a239d9a91',
1453
+ symbol: 'WETH',
1454
+ decimals: 18,
1455
+ chainId: base_1.ChainId.PZE,
1456
+ coinKey: base_1.CoinKey.WETH,
1457
+ name: 'Wrapped Ether',
1458
+ logoURI: 'https://static.debank.com/image/pze_token/logo_url/0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9/61844453e63cf81301f845d7864236f6.png',
1459
+ },
1352
1460
  [base_1.ChainId.FTM]: {
1353
1461
  //
1354
1462
  address: '0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83',
@@ -34,6 +34,8 @@ exports.multicallAddresses = {
34
34
  [_1.ChainId.MET]: '0xcA11bde05977b3631167028862bE2a173976CA11',
35
35
  [_1.ChainId.RSK]: '0xcA11bde05977b3631167028862bE2a173976CA11',
36
36
  [_1.ChainId.VEL]: '0x6ede559F2Bd951777470595761672091CCD21Ac6',
37
+ [_1.ChainId.PZE]: '0xcA11bde05977b3631167028862bE2a173976CA11',
38
+ // [ChainId.ERA]: '', // not available
37
39
  // TODO
38
40
  // [ChainId.ARN]: '', // TODO
39
41
  // [ChainId.EXP]: '', // TODO
package/dist/coins.js CHANGED
@@ -39,6 +39,14 @@ const basicCoins = [
39
39
  address: '0x0000000000000000000000000000000000000000',
40
40
  decimals: 18,
41
41
  },
42
+ [ChainId.ERA]: {
43
+ address: '0x0000000000000000000000000000000000000000',
44
+ decimals: 18,
45
+ },
46
+ [ChainId.PZE]: {
47
+ address: '0x0000000000000000000000000000000000000000',
48
+ decimals: 18,
49
+ },
42
50
  [ChainId.FTM]: {
43
51
  address: '0x74b23882a30290451a17c44f4f05243b6b58c76d',
44
52
  decimals: 18,
@@ -254,6 +262,10 @@ const basicCoins = [
254
262
  address: '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
255
263
  decimals: 18,
256
264
  },
265
+ [ChainId.ERA]: {
266
+ address: '0x4bef76b6b7f2823c6c1f4fcfeacd85c24548ad7e',
267
+ decimals: 18,
268
+ },
257
269
  [ChainId.FTM]: {
258
270
  address: '0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e',
259
271
  decimals: 18,
@@ -547,6 +559,70 @@ const basicCoins = [
547
559
  },
548
560
  },
549
561
  },
562
+ // cBridge CELER testtoken
563
+ {
564
+ key: CoinKey.cbtCELR,
565
+ name: CoinKey.cbtCELR,
566
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
567
+ verified: true,
568
+ chains: {
569
+ [ChainId.GOR]: {
570
+ address: '0x5D3c0F4cA5EE99f8E8F59Ff9A5fAb04F6a7e007f',
571
+ decimals: 18,
572
+ },
573
+ [ChainId.BSCT]: {
574
+ address: '0x5471ea8f739dd37E9B81Be9c5c77754D8AA953E4',
575
+ decimals: 18,
576
+ },
577
+ },
578
+ },
579
+ // cBridge USDT testtoken
580
+ {
581
+ key: CoinKey.cbtUSDT,
582
+ name: CoinKey.cbtUSDT,
583
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
584
+ verified: true,
585
+ chains: {
586
+ [ChainId.GOR]: {
587
+ address: '0xf4b2cbc3ba04c478f0dc824f4806ac39982dce73',
588
+ decimals: 6,
589
+ },
590
+ [ChainId.BSCT]: {
591
+ address: '0x7d43AABC515C356145049227CeE54B608342c0ad',
592
+ decimals: 6,
593
+ },
594
+ },
595
+ },
596
+ // cBridge WUSDT testtoken
597
+ {
598
+ key: CoinKey.cbtWUSDT,
599
+ name: CoinKey.cbtWUSDT,
600
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
601
+ verified: true,
602
+ chains: {
603
+ [ChainId.GOR]: {
604
+ address: '0x9D39Fc627A6d9d9F8C831c16995b209548cc3401',
605
+ decimals: 6,
606
+ },
607
+ [ChainId.BSCT]: {
608
+ address: '0xC826C23327098cd8A37f140114F2173A8F62DD29',
609
+ decimals: 6,
610
+ },
611
+ },
612
+ },
613
+ // cBridge WUSDC testtoken
614
+ {
615
+ key: CoinKey.cbtWUSDC,
616
+ name: CoinKey.cbtWUSDC,
617
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
618
+ verified: true,
619
+ chains: {
620
+ [ChainId.GOR]: {
621
+ address: '0x4a63Afc71427807586dA190Bb0D3adB461fF9589',
622
+ decimals: 6,
623
+ },
624
+ },
625
+ },
550
626
  // cBridge USDC testtoken
551
627
  {
552
628
  key: CoinKey.cbtUSDC,
@@ -566,6 +642,10 @@ const basicCoins = [
566
642
  address: '0x317F8d18FB16E49a958Becd0EA72f8E153d25654',
567
643
  decimals: 6,
568
644
  },
645
+ [ChainId.GOR]: {
646
+ address: '0xCbE56b00d173A26a5978cE90Db2E33622fD95A28',
647
+ decimals: 6,
648
+ },
569
649
  },
570
650
  },
571
651
  // USDC
@@ -600,6 +680,14 @@ const basicCoins = [
600
680
  address: '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
601
681
  decimals: 6,
602
682
  },
683
+ [ChainId.ERA]: {
684
+ address: '0x3355df6d4c9c3035724fd0e3914de96a5a83aaf4',
685
+ decimals: 6,
686
+ },
687
+ [ChainId.PZE]: {
688
+ address: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035',
689
+ decimals: 6,
690
+ },
603
691
  [ChainId.FTM]: {
604
692
  address: '0x04068da6c83afcfa0e13ba15a6696662335d5b75',
605
693
  decimals: 6,
@@ -1346,6 +1434,26 @@ export const wrappedTokens = {
1346
1434
  name: 'Wrapped ETH',
1347
1435
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1348
1436
  },
1437
+ [ChainId.ERA]: {
1438
+ // https://explorer.zksync.io/address/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91
1439
+ address: '0x5aea5775959fbc2557cc8789bc1bf90a239d9a91',
1440
+ symbol: 'WETH',
1441
+ decimals: 18,
1442
+ chainId: ChainId.ERA,
1443
+ coinKey: CoinKey.WETH,
1444
+ name: 'Wrapped Ether',
1445
+ logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
1446
+ },
1447
+ [ChainId.PZE]: {
1448
+ // https://zkevm.polygonscan.com/token/0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9
1449
+ address: '0x5aea5775959fbc2557cc8789bc1bf90a239d9a91',
1450
+ symbol: 'WETH',
1451
+ decimals: 18,
1452
+ chainId: ChainId.PZE,
1453
+ coinKey: CoinKey.WETH,
1454
+ name: 'Wrapped Ether',
1455
+ logoURI: 'https://static.debank.com/image/pze_token/logo_url/0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9/61844453e63cf81301f845d7864236f6.png',
1456
+ },
1349
1457
  [ChainId.FTM]: {
1350
1458
  //
1351
1459
  address: '0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83',
package/dist/multicall.js CHANGED
@@ -31,6 +31,8 @@ export const multicallAddresses = {
31
31
  [ChainId.MET]: '0xcA11bde05977b3631167028862bE2a173976CA11',
32
32
  [ChainId.RSK]: '0xcA11bde05977b3631167028862bE2a173976CA11',
33
33
  [ChainId.VEL]: '0x6ede559F2Bd951777470595761672091CCD21Ac6',
34
+ [ChainId.PZE]: '0xcA11bde05977b3631167028862bE2a173976CA11',
35
+ // [ChainId.ERA]: '', // not available
34
36
  // TODO
35
37
  // [ChainId.ARN]: '', // TODO
36
38
  // [ChainId.EXP]: '', // TODO
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/types",
3
- "version": "5.1.0",
3
+ "version": "5.2.1",
4
4
  "description": "Types for the LI.FI stack",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/index.js",