@lifi/data-types 4.5.1 → 4.6.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.
@@ -109,31 +109,6 @@ export const basicCoins = [
109
109
  address: '0x0000000000000000000000000000000000000000',
110
110
  decimals: 18,
111
111
  },
112
- // Testnets
113
- [ChainId.ONET]: {
114
- address: '0x268d6ff391b41b36a13b1693bd25f87fb4e4b392',
115
- decimals: 18,
116
- },
117
- [ChainId.BSCT]: {
118
- address: '0xd66c6b4f0be8ce5b39d52e0fd1344c389929b378',
119
- decimals: 18,
120
- },
121
- [ChainId.OPTG]: {
122
- address: '0x0000000000000000000000000000000000000000',
123
- decimals: 18,
124
- },
125
- [ChainId.ARBG]: {
126
- address: '0x0000000000000000000000000000000000000000',
127
- decimals: 18,
128
- },
129
- [ChainId.LNAT]: {
130
- address: '0x0000000000000000000000000000000000000000',
131
- decimals: 18,
132
- },
133
- [ChainId.SCLT]: {
134
- address: '0x0000000000000000000000000000000000000000',
135
- decimals: 18,
136
- },
137
112
  },
138
113
  },
139
114
  // > MATIC
@@ -172,11 +147,6 @@ export const basicCoins = [
172
147
  address: '0x6ab0b8c1a35f9f4ce107ccbd05049cb1dbd99ec5',
173
148
  decimals: 18,
174
149
  },
175
- // Testnet
176
- [ChainId.LNAT]: {
177
- address: '0xa55C7E1274bE5db2275a0BDd055f81e8263b7954',
178
- decimals: 18,
179
- },
180
150
  },
181
151
  },
182
152
  // > BNB
@@ -223,19 +193,6 @@ export const basicCoins = [
223
193
  address: '0x2b8e9cd44c9e09d936149549a8d207c918ecb5c4',
224
194
  decimals: 18,
225
195
  },
226
- // Testnet
227
- [ChainId.BSCT]: {
228
- address: '0x0000000000000000000000000000000000000000',
229
- decimals: 18,
230
- },
231
- [ChainId.ONET]: {
232
- address: '0xbef55684b382bae72051813a898d17282066c007',
233
- decimals: 18,
234
- },
235
- [ChainId.LNAT]: {
236
- address: '0x5471ea8f739dd37E9B81Be9c5c77754D8AA953E4',
237
- decimals: 18,
238
- },
239
196
  },
240
197
  },
241
198
  // > DAI
@@ -339,8 +296,6 @@ export const basicCoins = [
339
296
  address: '0xcA77eB3fEFe3725Dc33bccB54eDEFc3D9f764f97',
340
297
  decimals: 18,
341
298
  },
342
- // Testnets
343
- // 42, 0x4f96fe3b7a6cf9725f59d353f723c1bdb64ca6aa, 18
344
299
  },
345
300
  },
346
301
  // > FTM
@@ -377,15 +332,6 @@ export const basicCoins = [
377
332
  decimals: 8,
378
333
  name: 'Avalanche (Wormhole)',
379
334
  },
380
- [ChainId.AVAT]: {
381
- address: '0x0000000000000000000000000000000000000000',
382
- decimals: 18,
383
- },
384
- // Testnets
385
- [ChainId.LNAT]: {
386
- address: '0x265B25e22bcd7f10a5bD6E6410F10537Cc7567e8',
387
- decimals: 18,
388
- },
389
335
  },
390
336
  },
391
337
  // > HT
@@ -417,11 +363,6 @@ export const basicCoins = [
417
363
  decimals: 18,
418
364
  name: 'Harmony ONE',
419
365
  },
420
- // Testnet
421
- [ChainId.ONET]: {
422
- address: '0x0000000000000000000000000000000000000000',
423
- decimals: 18,
424
- },
425
366
  },
426
367
  },
427
368
  // > FSN
@@ -618,136 +559,6 @@ export const basicCoins = [
618
559
  },
619
560
  },
620
561
  },
621
- // ======= STARGATE TESTNET TOKENS =======
622
- // stargate USDC testtoken
623
- {
624
- key: CoinKey.sgUSDC,
625
- name: CoinKey.sgUSDC,
626
- logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
627
- verified: true,
628
- chains: {
629
- [ChainId.ARBG]: {
630
- address: '0x6aad876244e7a1ad44ec4824ce813729e5b6c291',
631
- decimals: 6,
632
- },
633
- },
634
- },
635
- // stargate BUSD testtoken
636
- {
637
- key: CoinKey.sgBUSD,
638
- name: CoinKey.sgBUSD,
639
- logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
640
- verified: true,
641
- chains: {
642
- [ChainId.BSCT]: {
643
- address: '0x1010Bb1b9Dff29e6233E7947e045e0ba58f6E92e',
644
- decimals: 6,
645
- },
646
- },
647
- },
648
- // stargate USDT testtoken
649
- {
650
- key: CoinKey.sgUSDT,
651
- name: CoinKey.sgUSDT,
652
- logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
653
- verified: true,
654
- chains: {
655
- [ChainId.BSCT]: {
656
- address: '0xf49e250aeb5abdf660d643583adfd0be41464efd',
657
- decimals: 6,
658
- },
659
- [ChainId.ARBG]: {
660
- address: '0x533046f316590c19d99c74ee661c6d541b64471c',
661
- decimals: 6,
662
- },
663
- },
664
- },
665
- // stargate USDT testtoken
666
- {
667
- key: CoinKey.sgMETIS,
668
- name: CoinKey.sgMETIS,
669
- logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
670
- verified: true,
671
- chains: {
672
- [ChainId.BSCT]: {
673
- address: '0x8362af3426e6c7a77438f29bdc81c8f27cd541ab',
674
- decimals: 18,
675
- },
676
- },
677
- },
678
- // stargate WOO testtoken
679
- {
680
- key: CoinKey.sgWOO,
681
- name: CoinKey.sgWOO,
682
- logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
683
- verified: true,
684
- chains: {
685
- [ChainId.BSCT]: {
686
- address: '0x6df6db769dd1c845596f7e65a1c86c98d6147cc3',
687
- decimals: 18,
688
- },
689
- [ChainId.ARBG]: {
690
- address: '0xac9da6d889e82d08de63f5752f91b151ffe059fb',
691
- decimals: 18,
692
- },
693
- },
694
- },
695
- // cBridge CELER testtoken
696
- {
697
- key: CoinKey.cbtCELR,
698
- name: CoinKey.cbtCELR,
699
- logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
700
- verified: true,
701
- chains: {
702
- [ChainId.BSCT]: {
703
- address: '0x5471ea8f739dd37E9B81Be9c5c77754D8AA953E4',
704
- decimals: 18,
705
- },
706
- },
707
- },
708
- // cBridge USDT testtoken
709
- {
710
- key: CoinKey.cbtUSDT,
711
- name: CoinKey.cbtUSDT,
712
- logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
713
- verified: true,
714
- chains: {
715
- [ChainId.BSCT]: {
716
- address: '0x7d43AABC515C356145049227CeE54B608342c0ad',
717
- decimals: 6,
718
- },
719
- },
720
- },
721
- // cBridge WUSDT testtoken
722
- {
723
- key: CoinKey.cbtWUSDT,
724
- name: CoinKey.cbtWUSDT,
725
- logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
726
- verified: true,
727
- chains: {
728
- [ChainId.BSCT]: {
729
- address: '0xC826C23327098cd8A37f140114F2173A8F62DD29',
730
- decimals: 6,
731
- },
732
- },
733
- },
734
- // cBridge USDC testtoken
735
- {
736
- key: CoinKey.cbtUSDC,
737
- name: CoinKey.cbtUSDC,
738
- logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
739
- verified: true,
740
- chains: {
741
- [ChainId.AVAT]: {
742
- address: '0x2979a1cb90EEB9e75d7fB4f9813FCC40E4a7fD8b',
743
- decimals: 6,
744
- },
745
- [ChainId.BSCT]: {
746
- address: '0x317F8d18FB16E49a958Becd0EA72f8E153d25654',
747
- decimals: 6,
748
- },
749
- },
750
- },
751
562
  // USDC
752
563
  {
753
564
  key: CoinKey.USDC,
@@ -874,13 +685,6 @@ export const basicCoins = [
874
685
  address: '0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9',
875
686
  decimals: 6,
876
687
  },
877
- // Testnets
878
- [ChainId.LNAT]: {
879
- address: '0x964FF70695da981027c81020B1c58d833D49A640',
880
- decimals: 6,
881
- name: 'Linea USD Coin',
882
- },
883
- // 42, 0xb7a4f3e9097c08da09517b5ab877f7a917224ede, 6
884
688
  },
885
689
  },
886
690
  // USDC.e
@@ -968,15 +772,6 @@ export const basicCoins = [
968
772
  address: '0xe176ebe47d621b984a73036b9da5d834411ef734',
969
773
  decimals: 18,
970
774
  },
971
- // testnets
972
- [ChainId.BSCT]: {
973
- address: '0xeB3Eb991D39Dac92616da64b7c6D5af5cCFf1627',
974
- decimals: 18,
975
- },
976
- [ChainId.LNAT]: {
977
- address: '0x7d43AABC515C356145049227CeE54B608342c0ad',
978
- decimals: 18,
979
- },
980
775
  },
981
776
  },
982
777
  // USDB
@@ -992,40 +787,6 @@ export const basicCoins = [
992
787
  },
993
788
  },
994
789
  },
995
- // TEST COIN
996
- {
997
- key: CoinKey.TEST,
998
- name: CoinKey.TEST,
999
- logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
1000
- verified: false,
1001
- chains: {
1002
- [ChainId.BSCT]: {
1003
- address: '0xd86bcb7d85163fbc81756bb9cc22225d6abccadb',
1004
- decimals: 18,
1005
- },
1006
- },
1007
- },
1008
- // Connext testnet coins
1009
- {
1010
- key: CoinKey.CXTT,
1011
- name: CoinKey.CXTT,
1012
- logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
1013
- verified: false,
1014
- chains: {
1015
- [ChainId.LNAT]: {
1016
- address: '0xb706319d37b945727e71ae0d4353699d19112576',
1017
- decimals: 18,
1018
- },
1019
- [ChainId.ARBG]: {
1020
- address: '0xDC805eAaaBd6F68904cA706C221c72F8a8a68F9f',
1021
- decimals: 18,
1022
- },
1023
- [ChainId.OPTG]: {
1024
- address: '0x68Db1c8d85C09d546097C65ec7DCBFF4D6497CbF',
1025
- decimals: 18,
1026
- },
1027
- },
1028
- },
1029
790
  // > WBTC
1030
791
  {
1031
792
  key: CoinKey.WBTC,
@@ -1231,19 +992,6 @@ export const basicCoins = [
1231
992
  address: '0x4300000000000000000000000000000000000004',
1232
993
  decimals: 18,
1233
994
  },
1234
- // Testnets
1235
- [ChainId.OPTG]: {
1236
- address: '0x4200000000000000000000000000000000000006',
1237
- decimals: 18,
1238
- },
1239
- [ChainId.LNAT]: {
1240
- address: '0x2C1b868d6596a18e32E61B901E4060C872647b6C',
1241
- decimals: 18,
1242
- },
1243
- [ChainId.SCLT]: {
1244
- address: '0x5300000000000000000000000000000000000004',
1245
- decimals: 18,
1246
- },
1247
995
  },
1248
996
  },
1249
997
  // > SUSHI
@@ -1898,76 +1646,6 @@ export const wrappedTokens = {
1898
1646
  name: 'Wrapped BTC',
1899
1647
  logoURI: 'https://static.debank.com/image/rsk_token/logo_url/0x542fda317318ebf1d3deaf76e0b632741a7e677d/4785a26ef5bb5df987e67ad49fc62137.png',
1900
1648
  },
1901
- // Testnets
1902
- [ChainId.ONET]: {
1903
- address: '0x7466d7d0c21fa05f32f5a0fa27e12bdc06348ce2',
1904
- symbol: 'WONE',
1905
- decimals: 18,
1906
- chainId: ChainId.ONET,
1907
- coinKey: 'WONE',
1908
- name: 'WRAPPED ONE',
1909
- logoURI: 'https://assets.coingecko.com/coins/images/18183/small/wonelogo.png',
1910
- },
1911
- [ChainId.ARBG]: {
1912
- // https://goerli.arbiscan.io/token/0x42da9eE191833756c618778145A86E6709f70C9b
1913
- address: '0x42da9eE191833756c618778145A86E6709f70C9b',
1914
- symbol: 'WETH',
1915
- decimals: 18,
1916
- chainId: ChainId.ARBG,
1917
- coinKey: CoinKey.WETH,
1918
- name: 'WETH',
1919
- logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
1920
- },
1921
- [ChainId.OPTG]: {
1922
- // https://blockscout.com/optimism/goerli/address/0x4200000000000000000000000000000000000006
1923
- address: '0x4200000000000000000000000000000000000006',
1924
- symbol: 'WETH',
1925
- decimals: 18,
1926
- chainId: ChainId.OPTG,
1927
- coinKey: CoinKey.WETH,
1928
- name: 'WETH',
1929
- logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
1930
- },
1931
- [ChainId.BSCT]: {
1932
- // https://testnet.bscscan.com/token/0xae13d989dac2f0debff460ac112a837c89baa7cd
1933
- address: '0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd',
1934
- symbol: 'WBNB',
1935
- decimals: 18,
1936
- chainId: ChainId.BSCT,
1937
- coinKey: 'WBNB',
1938
- name: 'WBNB',
1939
- logoURI: 'https://static.debank.com/image/coin/logo_url/bnb/9784283a36f23a58982fc964574ea530.png',
1940
- },
1941
- [ChainId.LNAT]: {
1942
- // https://explorer.prealpha.zkevm.consensys.net/address/0x2C1b868d6596a18e32E61B901E4060C872647b6C
1943
- address: '0x2C1b868d6596a18e32E61B901E4060C872647b6C',
1944
- symbol: 'WETH',
1945
- decimals: 18,
1946
- chainId: ChainId.LNAT,
1947
- coinKey: CoinKey.WETH,
1948
- name: 'WETH',
1949
- logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
1950
- },
1951
- [ChainId.SCLT]: {
1952
- // https://sepolia.scrollscan.com/token/0x5300000000000000000000000000000000000004
1953
- address: '0x5300000000000000000000000000000000000004',
1954
- symbol: 'WETH',
1955
- decimals: 18,
1956
- chainId: ChainId.SCLT,
1957
- coinKey: CoinKey.WETH,
1958
- name: 'WETH',
1959
- logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
1960
- },
1961
- [ChainId.AVAT]: {
1962
- // https://testnet.snowtrace.io/token/0xd00ae08403B9bbb9124bB305C09058E32C39A48c
1963
- address: '0xd00ae08403B9bbb9124bB305C09058E32C39A48c',
1964
- symbol: 'WAVAX',
1965
- decimals: 18,
1966
- chainId: ChainId.AVA,
1967
- coinKey: 'WAVAX',
1968
- name: 'Wrapped AVAX',
1969
- logoURI: 'https://static.debank.com/image/avax_token/logo_url/0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7/753d82f0137617110f8dec56309b4065.png',
1970
- },
1971
1649
  };
1972
1650
  export const findDefaultCoin = (coinKey) => {
1973
1651
  const coin = defaultCoins.find((coin) => coin.key === coinKey);
package/dist/multicall.js CHANGED
@@ -51,24 +51,6 @@ export const multicallAddresses = {
51
51
  // [ChainId.TBW]: '', // TODO
52
52
  // [ChainId.PALM]: '0x0769fd68dFb93167989C6f7254cd0D766Fb2841F',
53
53
  // [ChainId.TELOS]: '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3',
54
- // Testnet
55
- [ChainId.BSCT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
56
- [ChainId.ONET]: '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3',
57
- [ChainId.AVAT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
58
- [ChainId.OPTG]: '0xcA11bde05977b3631167028862bE2a173976CA11',
59
- [ChainId.EVMT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
60
- [ChainId.MORT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
61
- [ChainId.FTMT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
62
- [ChainId.RSKT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
63
- [ChainId.ARBG]: '0xcA11bde05977b3631167028862bE2a173976CA11',
64
- [ChainId.LNAT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
65
- [ChainId.SCLT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
66
- // TODO
67
- // [ChainId.METT]: '', // TODO
68
- // [ChainId.DIOT]: '', // TODO
69
- // [ChainId.HECT]: '', // TODO
70
- // [ChainId.FUST]: '', // TODO
71
- // [ChainId.TLOT]: '', // TODO
72
54
  // none EVM
73
55
  // [ChainId.SOL]: '', // NOT NEEDED
74
56
  // [ChainId.TER]: '', // NOT NEEDED
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/data-types",
3
- "version": "4.5.1",
3
+ "version": "4.6.0",
4
4
  "description": "Data types for the LI.FI stack",
5
5
  "keywords": [
6
6
  "sdk",
@@ -63,7 +63,7 @@
63
63
  ]
64
64
  },
65
65
  "dependencies": {
66
- "@lifi/types": "^13.7.1"
66
+ "@lifi/types": "^13.10.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@commitlint/cli": "^17.7.1",