@lifi/data-types 5.0.2 → 5.2.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.
@@ -92,11 +92,6 @@ export const basicCoins: BasicCoin[] = [
92
92
  address: '0x6983d1e6def3690c4d616b13597a09e6193ea013',
93
93
  decimals: 18,
94
94
  },
95
- [ChainId.HEC]: {
96
- address: '0x64ff637fb478863b7468bc97d30a5bf3a428a1fd',
97
- decimals: 18,
98
- name: 'Heco-Peg ETH Token',
99
- },
100
95
  [ChainId.BOB]: {
101
96
  address: '0x0000000000000000000000000000000000000000',
102
97
  decimals: 18,
@@ -128,6 +123,10 @@ export const basicCoins: BasicCoin[] = [
128
123
  address: '0x0000000000000000000000000000000000000000',
129
124
  decimals: 18,
130
125
  },
126
+ [ChainId.TAI]: {
127
+ address: '0x0000000000000000000000000000000000000000',
128
+ decimals: 18,
129
+ },
131
130
  },
132
131
  },
133
132
  // > MATIC
@@ -358,20 +357,6 @@ export const basicCoins: BasicCoin[] = [
358
357
  },
359
358
  },
360
359
  },
361
- // > HT
362
- {
363
- key: CoinKey.HT,
364
- name: CoinKey.HT,
365
- logoURI:
366
- 'https://static.debank.com/image/heco_token/logo_url/heco/c399dcddde07e1944c4dd8f922832b53.png',
367
- verified: true,
368
- chains: {
369
- [ChainId.HEC]: {
370
- address: '0x0000000000000000000000000000000000000000',
371
- decimals: 18,
372
- },
373
- },
374
- },
375
360
  // > ONE
376
361
  {
377
362
  key: CoinKey.ONE,
@@ -515,10 +500,6 @@ export const basicCoins: BasicCoin[] = [
515
500
  address: '0x66e428c3f67a68878562e79a0234c1f83c208770',
516
501
  decimals: 6,
517
502
  },
518
- [ChainId.HEC]: {
519
- address: '0xa71edc38d189767582c38a3145b5873052c3e47a',
520
- decimals: 18,
521
- },
522
503
  [ChainId.FUS]: {
523
504
  address: '0xfadbbf8ce7d5b7041be672561bba99f79c532e10',
524
505
  decimals: 6,
@@ -592,6 +573,10 @@ export const basicCoins: BasicCoin[] = [
592
573
  address: '0xB75D0B03c06A926e488e2659DF1A861F860bD3d1',
593
574
  decimals: 6,
594
575
  },
576
+ [ChainId.TAI]: {
577
+ address: '0x2DEF195713CF4a606B49D07E520e22C17899a736',
578
+ decimals: 6,
579
+ },
595
580
  },
596
581
  },
597
582
 
@@ -661,10 +646,6 @@ export const basicCoins: BasicCoin[] = [
661
646
  address: '0xe3f5a90f9cb311505cd691a46596599aa1a0ad7d',
662
647
  decimals: 6,
663
648
  },
664
- [ChainId.HEC]: {
665
- address: '0x9362bbef4b8313a8aa9f0c9808b80577aa26b73b',
666
- decimals: 6,
667
- },
668
649
  [ChainId.CRO]: {
669
650
  address: '0xc21223249ca28397b4b6541dffaecc539bff0c59',
670
651
  decimals: 6,
@@ -726,6 +707,10 @@ export const basicCoins: BasicCoin[] = [
726
707
  address: '0x3894085Ef7Ff0f0aeDf52E2A2704928d1Ec074F1',
727
708
  decimals: 6,
728
709
  },
710
+ [ChainId.TAI]: {
711
+ address: '0x07d83526730c7438048D55A4fc0b850e2aaB6f0b',
712
+ decimals: 6,
713
+ },
729
714
  },
730
715
  },
731
716
  // USDC.e
@@ -1049,10 +1034,6 @@ export const basicCoins: BasicCoin[] = [
1049
1034
  address: '0x639a647fbe20b6c8ac19e48e2de44ea792c62c5c',
1050
1035
  decimals: 18,
1051
1036
  },
1052
- [ChainId.HEC]: {
1053
- address: '0x639a647fbe20b6c8ac19e48e2de44ea792c62c5c',
1054
- decimals: 18,
1055
- },
1056
1037
  [ChainId.CRO]: {
1057
1038
  address: '0xe44fd7fcb2b1581822d0c862b68222998a0c299a',
1058
1039
  decimals: 18,
@@ -1154,10 +1135,6 @@ export const basicCoins: BasicCoin[] = [
1154
1135
  address: '0xf390830df829cf22c53c8840554b98eafc5dcbc2',
1155
1136
  decimals: 18,
1156
1137
  },
1157
- [ChainId.HEC]: {
1158
- address: '0x52e00b2da5bd7940ffe26b609a42f957f31118d5',
1159
- decimals: 18,
1160
- },
1161
1138
  [ChainId.FUS]: {
1162
1139
  address: '0x90708b20ccc1eb95a4fa7c8b18fd2c22a0ff9e78',
1163
1140
  decimals: 18,
@@ -1720,16 +1697,6 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = {
1720
1697
  name: 'WMOVR',
1721
1698
  logoURI: 'https://assets.coingecko.com/coins/images/17984/small/9285.png',
1722
1699
  },
1723
- [ChainId.HEC]: {
1724
- address: '0x5545153ccfca01fbd7dd11c0b23ba694d9509a6f',
1725
- symbol: 'wHT',
1726
- decimals: 18,
1727
- chainId: ChainId.HEC,
1728
- coinKey: 'wHT' as CoinKey,
1729
- name: 'wHT',
1730
- logoURI:
1731
- 'https://static.debank.com/image/heco_token/logo_url/heco/c399dcddde07e1944c4dd8f922832b53.png',
1732
- },
1733
1700
  [ChainId.CRO]: {
1734
1701
  address: '0x5c7f8a570d578ed84e63fdfa7b1ee72deae1ae23',
1735
1702
  symbol: 'WCRO',
@@ -1893,6 +1860,17 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = {
1893
1860
  logoURI:
1894
1861
  'https://static.debank.com/image/frax_token/logo_url/0xfc00000000000000000000000000000000000006/4313f25f6c5196e8fce2c80fa34c73d0.png',
1895
1862
  },
1863
+ [ChainId.TAI]: {
1864
+ // https://taikoscan.io/address/0xa51894664a773981c6c112c43ce576f315d5b1b6
1865
+ address: '0xa51894664a773981c6c112c43ce576f315d5b1b6',
1866
+ symbol: 'WETH',
1867
+ decimals: 18,
1868
+ chainId: ChainId.TAI,
1869
+ coinKey: CoinKey.WETH,
1870
+ name: 'WETH',
1871
+ logoURI:
1872
+ 'https://static.debank.com/image/mtr_token/logo_url/0x79a61d3a28f8c8537a3df63092927cfa1150fb3c/61844453e63cf81301f845d7864236f6.png',
1873
+ },
1896
1874
  }
1897
1875
 
1898
1876
  export const findDefaultCoin = (coinKey: CoinKey): Coin => {
package/src/multicall.ts CHANGED
@@ -16,7 +16,6 @@ export const multicallAddresses: { [ChainId: number]: string } = {
16
16
  [ChainId.FTM]: '0xcA11bde05977b3631167028862bE2a173976CA11', // '0x22D4cF72C45F8198CfbF4B568dBdB5A85e8DC0B5',
17
17
  [ChainId.AVA]: '0xcA11bde05977b3631167028862bE2a173976CA11', // '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3',
18
18
  [ChainId.ARB]: '0xcA11bde05977b3631167028862bE2a173976CA11', // '0x80C7DD17B01855a6D2347444a0FCC36136a314de',
19
- [ChainId.HEC]: '0xcA11bde05977b3631167028862bE2a173976CA11', // '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3',
20
19
  [ChainId.OPT]: '0xcA11bde05977b3631167028862bE2a173976CA11', // '0x2DC0E2aa608532Da689e89e237dF582B783E552C',
21
20
  [ChainId.ONE]: '0xcA11bde05977b3631167028862bE2a173976CA11', // '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3',
22
21
  [ChainId.FSN]: '0x0769fd68dFb93167989C6f7254cd0D766Fb2841F',
@@ -29,7 +28,6 @@ export const multicallAddresses: { [ChainId: number]: string } = {
29
28
  [ChainId.MAM]: '0xcA11bde05977b3631167028862bE2a173976CA11',
30
29
  [ChainId.AUR]: '0xcA11bde05977b3631167028862bE2a173976CA11',
31
30
  [ChainId.EVM]: '0xcA11bde05977b3631167028862bE2a173976CA11',
32
- [ChainId.MET]: '0xcA11bde05977b3631167028862bE2a173976CA11',
33
31
  [ChainId.RSK]: '0xcA11bde05977b3631167028862bE2a173976CA11',
34
32
  [ChainId.VEL]: '0x6ede559F2Bd951777470595761672091CCD21Ac6',
35
33
  [ChainId.PZE]: '0xcA11bde05977b3631167028862bE2a173976CA11',
@@ -43,6 +41,7 @@ export const multicallAddresses: { [ChainId: number]: string } = {
43
41
  [ChainId.BLS]: '0xcA11bde05977b3631167028862bE2a173976CA11',
44
42
  [ChainId.SEI]: '0xcA11bde05977b3631167028862bE2a173976CA11',
45
43
  [ChainId.FRA]: '0xcA11bde05977b3631167028862bE2a173976CA11',
44
+ [ChainId.TAI]: '0xcA11bde05977b3631167028862bE2a173976CA11',
46
45
 
47
46
  // TODO
48
47
  // [ChainId.EXP]: '', // TODO