@lifi/data-types 2.6.1 → 3.0.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.
@@ -111,9 +111,9 @@ export const supportedEVMChains = [
111
111
  decimals: 18,
112
112
  },
113
113
  rpcUrls: [
114
- 'https://rpc.gnosis.gateway.fm',
115
- 'https://rpc.gnosischain.com',
114
+ 'https://gnosis-rpc.publicnode.com',
116
115
  'https://rpc.ankr.com/gnosis',
116
+ 'https://rpc.gnosischain.com',
117
117
  ],
118
118
  },
119
119
  },
@@ -875,30 +875,6 @@ export const supportedEVMChains = [
875
875
  },
876
876
  },
877
877
  // TESTNETS
878
- // 5 - Goerli
879
- {
880
- key: ChainKey.GOR,
881
- chainType: ChainType.EVM,
882
- name: 'Goerli',
883
- coin: CoinKey.ETH,
884
- id: 5,
885
- mainnet: false,
886
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum_goerli.png',
887
- tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
888
- faucetUrls: ['https://goerli-faucet.slock.it/'],
889
- multicallAddress: multicallAddresses[ChainId.GOR],
890
- metamask: {
891
- chainId: prefixChainId(5),
892
- blockExplorerUrls: ['https://goerli.etherscan.io/'],
893
- chainName: 'Ethereum Testnet Görli',
894
- nativeCurrency: {
895
- name: 'ETH',
896
- symbol: 'ETH',
897
- decimals: 18,
898
- },
899
- rpcUrls: ['https://rpc.ankr.com/eth_goerli'],
900
- },
901
- },
902
878
  // 12 - Metadium Testnet
903
879
  {
904
880
  key: ChainKey.METT,
@@ -941,30 +917,6 @@ export const supportedEVMChains = [
941
917
  rpcUrls: ['https://staging.diode.io:8443/'],
942
918
  },
943
919
  },
944
- // 80001 - Mumbai Polygon Testnet
945
- {
946
- key: ChainKey.MUM,
947
- chainType: ChainType.EVM,
948
- name: 'Polygon Testnet',
949
- coin: CoinKey.MATIC,
950
- id: 80001,
951
- mainnet: false,
952
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/polygon_test.png',
953
- tokenlistUrl: 'https://raw.githubusercontent.com/elkfinance/tokens/main/mumbai.tokenlist.json',
954
- faucetUrls: ['https://faucet.matic.network/'],
955
- multicallAddress: multicallAddresses[ChainId.MUM],
956
- metamask: {
957
- chainId: prefixChainId(80001),
958
- blockExplorerUrls: ['https://explorer-mumbai.maticvigil.com/'],
959
- chainName: 'Matic(Polygon) Testnet Mumbai',
960
- nativeCurrency: {
961
- name: 'MATIC',
962
- symbol: 'tMATIC',
963
- decimals: 18,
964
- },
965
- rpcUrls: ['https://rpc-mumbai.matic.today'],
966
- },
967
- },
968
920
  {
969
921
  key: ChainKey.ARBG,
970
922
  chainType: ChainType.EVM,
@@ -68,7 +68,7 @@ describe('findTokenByChainIdAndAddress', () => {
68
68
  });
69
69
  describe('token has a name override', () => {
70
70
  it('returns a token with the overrode name', () => {
71
- expect(findTokenByChainIdAndAddress(ChainId.GOR, '0x7ea6eA49B0b0Ae9c5db7907d139D9Cd3439862a1').name).toEqual('Goerli CXTT');
71
+ expect(findTokenByChainIdAndAddress(ChainId.SOL, '33fsBLA8djQm82RpHmE3SuVrPGtZBWNYExsEUeKX1HXX').name).toEqual('Binance USD (Wormhole from Ethereum)');
72
72
  });
73
73
  });
74
74
  });
@@ -114,9 +114,9 @@ exports.supportedEVMChains = [
114
114
  decimals: 18,
115
115
  },
116
116
  rpcUrls: [
117
- 'https://rpc.gnosis.gateway.fm',
118
- 'https://rpc.gnosischain.com',
117
+ 'https://gnosis-rpc.publicnode.com',
119
118
  'https://rpc.ankr.com/gnosis',
119
+ 'https://rpc.gnosischain.com',
120
120
  ],
121
121
  },
122
122
  },
@@ -878,30 +878,6 @@ exports.supportedEVMChains = [
878
878
  },
879
879
  },
880
880
  // TESTNETS
881
- // 5 - Goerli
882
- {
883
- key: types_1.ChainKey.GOR,
884
- chainType: types_1.ChainType.EVM,
885
- name: 'Goerli',
886
- coin: types_1.CoinKey.ETH,
887
- id: 5,
888
- mainnet: false,
889
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum_goerli.png',
890
- tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
891
- faucetUrls: ['https://goerli-faucet.slock.it/'],
892
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.GOR],
893
- metamask: {
894
- chainId: (0, utils_1.prefixChainId)(5),
895
- blockExplorerUrls: ['https://goerli.etherscan.io/'],
896
- chainName: 'Ethereum Testnet Görli',
897
- nativeCurrency: {
898
- name: 'ETH',
899
- symbol: 'ETH',
900
- decimals: 18,
901
- },
902
- rpcUrls: ['https://rpc.ankr.com/eth_goerli'],
903
- },
904
- },
905
881
  // 12 - Metadium Testnet
906
882
  {
907
883
  key: types_1.ChainKey.METT,
@@ -944,30 +920,6 @@ exports.supportedEVMChains = [
944
920
  rpcUrls: ['https://staging.diode.io:8443/'],
945
921
  },
946
922
  },
947
- // 80001 - Mumbai Polygon Testnet
948
- {
949
- key: types_1.ChainKey.MUM,
950
- chainType: types_1.ChainType.EVM,
951
- name: 'Polygon Testnet',
952
- coin: types_1.CoinKey.MATIC,
953
- id: 80001,
954
- mainnet: false,
955
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/polygon_test.png',
956
- tokenlistUrl: 'https://raw.githubusercontent.com/elkfinance/tokens/main/mumbai.tokenlist.json',
957
- faucetUrls: ['https://faucet.matic.network/'],
958
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.MUM],
959
- metamask: {
960
- chainId: (0, utils_1.prefixChainId)(80001),
961
- blockExplorerUrls: ['https://explorer-mumbai.maticvigil.com/'],
962
- chainName: 'Matic(Polygon) Testnet Mumbai',
963
- nativeCurrency: {
964
- name: 'MATIC',
965
- symbol: 'tMATIC',
966
- decimals: 18,
967
- },
968
- rpcUrls: ['https://rpc-mumbai.matic.today'],
969
- },
970
- },
971
923
  {
972
924
  key: types_1.ChainKey.ARBG,
973
925
  chainType: types_1.ChainType.EVM,
@@ -70,7 +70,7 @@ describe('findTokenByChainIdAndAddress', () => {
70
70
  });
71
71
  describe('token has a name override', () => {
72
72
  it('returns a token with the overrode name', () => {
73
- expect((0, coins_1.findTokenByChainIdAndAddress)(types_1.ChainId.GOR, '0x7ea6eA49B0b0Ae9c5db7907d139D9Cd3439862a1').name).toEqual('Goerli CXTT');
73
+ expect((0, coins_1.findTokenByChainIdAndAddress)(types_1.ChainId.SOL, '33fsBLA8djQm82RpHmE3SuVrPGtZBWNYExsEUeKX1HXX').name).toEqual('Binance USD (Wormhole from Ethereum)');
74
74
  });
75
75
  });
76
76
  });
@@ -111,10 +111,6 @@ exports.basicCoins = [
111
111
  decimals: 18,
112
112
  },
113
113
  // Testnets
114
- [types_1.ChainId.GOR]: {
115
- address: '0x0000000000000000000000000000000000000000',
116
- decimals: 18,
117
- },
118
114
  [types_1.ChainId.ONET]: {
119
115
  address: '0x268d6ff391b41b36a13b1693bd25f87fb4e4b392',
120
116
  decimals: 18,
@@ -178,10 +174,6 @@ exports.basicCoins = [
178
174
  decimals: 18,
179
175
  },
180
176
  // Testnet
181
- [types_1.ChainId.MUM]: {
182
- address: '0x0000000000000000000000000000000000000000',
183
- decimals: 18,
184
- },
185
177
  [types_1.ChainId.LNAT]: {
186
178
  address: '0xa55C7E1274bE5db2275a0BDd055f81e8263b7954',
187
179
  decimals: 18,
@@ -354,14 +346,6 @@ exports.basicCoins = [
354
346
  decimals: 18,
355
347
  },
356
348
  // Testnets
357
- [types_1.ChainId.GOR]: {
358
- address: '0xdc31ee1784292379fbb2964b3b9c4124d8f89c60',
359
- decimals: 18,
360
- },
361
- [types_1.ChainId.MUM]: {
362
- address: '0xb224913ce3851b0a0d7c0fb461eef40f2e31ddb8',
363
- decimals: 18,
364
- },
365
349
  // 42, 0x4f96fe3b7a6cf9725f59d353f723c1bdb64ca6aa, 18
366
350
  },
367
351
  },
@@ -611,11 +595,6 @@ exports.basicCoins = [
611
595
  address: '0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df',
612
596
  decimals: 6,
613
597
  },
614
- // Testnets
615
- [types_1.ChainId.GOR]: {
616
- address: '0x509ee0d083ddf8ac028f2a56731412edd63223b9',
617
- decimals: 6,
618
- },
619
598
  },
620
599
  },
621
600
  // ======= STARGATE TESTNET TOKENS =======
@@ -626,14 +605,6 @@ exports.basicCoins = [
626
605
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
627
606
  verified: true,
628
607
  chains: {
629
- [types_1.ChainId.GOR]: {
630
- address: '0xDf0360Ad8C5ccf25095Aa97ee5F2785c8d848620',
631
- decimals: 6,
632
- },
633
- [types_1.ChainId.MUM]: {
634
- address: '0x742DfA5Aa70a8212857966D491D67B09Ce7D6ec7',
635
- decimals: 6,
636
- },
637
608
  [types_1.ChainId.ARBG]: {
638
609
  address: '0x6aad876244e7a1ad44ec4824ce813729e5b6c291',
639
610
  decimals: 6,
@@ -660,14 +631,6 @@ exports.basicCoins = [
660
631
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
661
632
  verified: true,
662
633
  chains: {
663
- [types_1.ChainId.GOR]: {
664
- address: '0x5bcc22abec37337630c0e0dd41d64fd86caee951',
665
- decimals: 6,
666
- },
667
- [types_1.ChainId.MUM]: {
668
- address: '0x6fc340be8e378c2ff56476409ef48da9a3b781a0',
669
- decimals: 6,
670
- },
671
634
  [types_1.ChainId.BSCT]: {
672
635
  address: '0xf49e250aeb5abdf660d643583adfd0be41464efd',
673
636
  decimals: 6,
@@ -685,10 +648,6 @@ exports.basicCoins = [
685
648
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
686
649
  verified: true,
687
650
  chains: {
688
- [types_1.ChainId.GOR]: {
689
- address: '0x9874a71b976daa037741d18b86bc6b2f9957fc8a',
690
- decimals: 18,
691
- },
692
651
  [types_1.ChainId.BSCT]: {
693
652
  address: '0x8362af3426e6c7a77438f29bdc81c8f27cd541ab',
694
653
  decimals: 18,
@@ -702,14 +661,6 @@ exports.basicCoins = [
702
661
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
703
662
  verified: true,
704
663
  chains: {
705
- [types_1.ChainId.GOR]: {
706
- address: '0xc9ba30be110864264577ad091c47f986318b213e',
707
- decimals: 18,
708
- },
709
- [types_1.ChainId.MUM]: {
710
- address: '0xb9C468f4308f3f937B4Fc79946244459bBC3cf65',
711
- decimals: 18,
712
- },
713
664
  [types_1.ChainId.BSCT]: {
714
665
  address: '0x6df6db769dd1c845596f7e65a1c86c98d6147cc3',
715
666
  decimals: 18,
@@ -727,10 +678,6 @@ exports.basicCoins = [
727
678
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
728
679
  verified: true,
729
680
  chains: {
730
- [types_1.ChainId.GOR]: {
731
- address: '0x5D3c0F4cA5EE99f8E8F59Ff9A5fAb04F6a7e007f',
732
- decimals: 18,
733
- },
734
681
  [types_1.ChainId.BSCT]: {
735
682
  address: '0x5471ea8f739dd37E9B81Be9c5c77754D8AA953E4',
736
683
  decimals: 18,
@@ -744,10 +691,6 @@ exports.basicCoins = [
744
691
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
745
692
  verified: true,
746
693
  chains: {
747
- [types_1.ChainId.GOR]: {
748
- address: '0xf4b2cbc3ba04c478f0dc824f4806ac39982dce73',
749
- decimals: 6,
750
- },
751
694
  [types_1.ChainId.BSCT]: {
752
695
  address: '0x7d43AABC515C356145049227CeE54B608342c0ad',
753
696
  decimals: 6,
@@ -761,29 +704,12 @@ exports.basicCoins = [
761
704
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
762
705
  verified: true,
763
706
  chains: {
764
- [types_1.ChainId.GOR]: {
765
- address: '0x9D39Fc627A6d9d9F8C831c16995b209548cc3401',
766
- decimals: 6,
767
- },
768
707
  [types_1.ChainId.BSCT]: {
769
708
  address: '0xC826C23327098cd8A37f140114F2173A8F62DD29',
770
709
  decimals: 6,
771
710
  },
772
711
  },
773
712
  },
774
- // cBridge WUSDC testtoken
775
- {
776
- key: types_1.CoinKey.cbtWUSDC,
777
- name: types_1.CoinKey.cbtWUSDC,
778
- logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
779
- verified: true,
780
- chains: {
781
- [types_1.ChainId.GOR]: {
782
- address: '0x4a63Afc71427807586dA190Bb0D3adB461fF9589',
783
- decimals: 6,
784
- },
785
- },
786
- },
787
713
  // cBridge USDC testtoken
788
714
  {
789
715
  key: types_1.CoinKey.cbtUSDC,
@@ -791,10 +717,6 @@ exports.basicCoins = [
791
717
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
792
718
  verified: true,
793
719
  chains: {
794
- [types_1.ChainId.MUM]: {
795
- address: '0x6de33698e9e9b787e09d3bd7771ef63557e148bb',
796
- decimals: 6,
797
- },
798
720
  [types_1.ChainId.AVAT]: {
799
721
  address: '0x2979a1cb90EEB9e75d7fB4f9813FCC40E4a7fD8b',
800
722
  decimals: 6,
@@ -803,10 +725,6 @@ exports.basicCoins = [
803
725
  address: '0x317F8d18FB16E49a958Becd0EA72f8E153d25654',
804
726
  decimals: 6,
805
727
  },
806
- [types_1.ChainId.GOR]: {
807
- address: '0xCbE56b00d173A26a5978cE90Db2E33622fD95A28',
808
- decimals: 6,
809
- },
810
728
  },
811
729
  },
812
730
  // USDC
@@ -932,14 +850,6 @@ exports.basicCoins = [
932
850
  decimals: 6,
933
851
  },
934
852
  // Testnets
935
- [types_1.ChainId.GOR]: {
936
- address: '0xd87ba7a50b2e7e660f678a895e4b72e7cb4ccd9c',
937
- decimals: 6,
938
- },
939
- [types_1.ChainId.MUM]: {
940
- address: '0x6d4dd09982853f08d9966ac3ca4eb5885f16f2b2',
941
- decimals: 6,
942
- },
943
853
  [types_1.ChainId.LNAT]: {
944
854
  address: '0x964FF70695da981027c81020B1c58d833D49A640',
945
855
  decimals: 6,
@@ -1051,14 +961,6 @@ exports.basicCoins = [
1051
961
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
1052
962
  verified: false,
1053
963
  chains: {
1054
- [types_1.ChainId.GOR]: {
1055
- address: '0x8a1cad3703e0beae0e0237369b4fcd04228d1682',
1056
- decimals: 18,
1057
- },
1058
- [types_1.ChainId.MUM]: {
1059
- address: '0xe71678794fff8846bff855f716b0ce9d9a78e844',
1060
- decimals: 18,
1061
- },
1062
964
  [types_1.ChainId.BSCT]: {
1063
965
  address: '0xd86bcb7d85163fbc81756bb9cc22225d6abccadb',
1064
966
  decimals: 18,
@@ -1072,19 +974,10 @@ exports.basicCoins = [
1072
974
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
1073
975
  verified: false,
1074
976
  chains: {
1075
- [types_1.ChainId.GOR]: {
1076
- address: '0x7ea6eA49B0b0Ae9c5db7907d139D9Cd3439862a1',
1077
- name: 'Goerli CXTT',
1078
- decimals: 18,
1079
- },
1080
977
  [types_1.ChainId.LNAT]: {
1081
978
  address: '0xb706319d37b945727e71ae0d4353699d19112576',
1082
979
  decimals: 18,
1083
980
  },
1084
- [types_1.ChainId.MUM]: {
1085
- address: '0xeDb95D8037f769B72AAab41deeC92903A98C9E16',
1086
- decimals: 18,
1087
- },
1088
981
  [types_1.ChainId.ARBG]: {
1089
982
  address: '0xDC805eAaaBd6F68904cA706C221c72F8a8a68F9f',
1090
983
  decimals: 18,
@@ -1284,14 +1177,6 @@ exports.basicCoins = [
1284
1177
  decimals: 18,
1285
1178
  },
1286
1179
  // Testnets
1287
- [types_1.ChainId.GOR]: {
1288
- address: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6',
1289
- decimals: 18,
1290
- },
1291
- [types_1.ChainId.MUM]: {
1292
- address: '0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa',
1293
- decimals: 18,
1294
- },
1295
1180
  [types_1.ChainId.OPTG]: {
1296
1181
  address: '0x4200000000000000000000000000000000000006',
1297
1182
  decimals: 18,
@@ -1933,26 +1818,6 @@ exports.wrappedTokens = {
1933
1818
  logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
1934
1819
  },
1935
1820
  // Testnets
1936
- [types_1.ChainId.GOR]: {
1937
- // https://goerli.etherscan.io/token/0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6
1938
- address: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6',
1939
- symbol: 'WETH',
1940
- decimals: 18,
1941
- chainId: types_1.ChainId.GOR,
1942
- coinKey: types_1.CoinKey.WETH,
1943
- name: 'WETH',
1944
- logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
1945
- },
1946
- [types_1.ChainId.MUM]: {
1947
- // https://mumbai.polygonscan.com/token/0x9c3c9283d3e44854697cd22d3faa240cfb032889
1948
- address: '0x9c3c9283d3e44854697cd22d3faa240cfb032889',
1949
- symbol: 'WMATIC',
1950
- decimals: 18,
1951
- chainId: types_1.ChainId.MUM,
1952
- coinKey: 'WMATIC',
1953
- name: 'WMATIC',
1954
- logoURI: 'https://static.debank.com/image/matic_token/logo_url/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270/f6e604ba0324726a3d687c618aa4f163.png',
1955
- },
1956
1821
  [types_1.ChainId.ONET]: {
1957
1822
  address: '0x7466d7d0c21fa05f32f5a0fa27e12bdc06348ce2',
1958
1823
  symbol: 'WONE',
@@ -53,8 +53,6 @@ exports.multicallAddresses = {
53
53
  // [ChainId.PALM]: '0x0769fd68dFb93167989C6f7254cd0D766Fb2841F',
54
54
  // [ChainId.TELOS]: '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3',
55
55
  // Testnet
56
- [types_1.ChainId.GOR]: '0xcA11bde05977b3631167028862bE2a173976CA11',
57
- [types_1.ChainId.MUM]: '0xcA11bde05977b3631167028862bE2a173976CA11',
58
56
  [types_1.ChainId.BSCT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
59
57
  [types_1.ChainId.ONET]: '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3',
60
58
  [types_1.ChainId.AVAT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
@@ -108,10 +108,6 @@ export const basicCoins = [
108
108
  decimals: 18,
109
109
  },
110
110
  // Testnets
111
- [ChainId.GOR]: {
112
- address: '0x0000000000000000000000000000000000000000',
113
- decimals: 18,
114
- },
115
111
  [ChainId.ONET]: {
116
112
  address: '0x268d6ff391b41b36a13b1693bd25f87fb4e4b392',
117
113
  decimals: 18,
@@ -175,10 +171,6 @@ export const basicCoins = [
175
171
  decimals: 18,
176
172
  },
177
173
  // Testnet
178
- [ChainId.MUM]: {
179
- address: '0x0000000000000000000000000000000000000000',
180
- decimals: 18,
181
- },
182
174
  [ChainId.LNAT]: {
183
175
  address: '0xa55C7E1274bE5db2275a0BDd055f81e8263b7954',
184
176
  decimals: 18,
@@ -351,14 +343,6 @@ export const basicCoins = [
351
343
  decimals: 18,
352
344
  },
353
345
  // Testnets
354
- [ChainId.GOR]: {
355
- address: '0xdc31ee1784292379fbb2964b3b9c4124d8f89c60',
356
- decimals: 18,
357
- },
358
- [ChainId.MUM]: {
359
- address: '0xb224913ce3851b0a0d7c0fb461eef40f2e31ddb8',
360
- decimals: 18,
361
- },
362
346
  // 42, 0x4f96fe3b7a6cf9725f59d353f723c1bdb64ca6aa, 18
363
347
  },
364
348
  },
@@ -608,11 +592,6 @@ export const basicCoins = [
608
592
  address: '0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df',
609
593
  decimals: 6,
610
594
  },
611
- // Testnets
612
- [ChainId.GOR]: {
613
- address: '0x509ee0d083ddf8ac028f2a56731412edd63223b9',
614
- decimals: 6,
615
- },
616
595
  },
617
596
  },
618
597
  // ======= STARGATE TESTNET TOKENS =======
@@ -623,14 +602,6 @@ export const basicCoins = [
623
602
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
624
603
  verified: true,
625
604
  chains: {
626
- [ChainId.GOR]: {
627
- address: '0xDf0360Ad8C5ccf25095Aa97ee5F2785c8d848620',
628
- decimals: 6,
629
- },
630
- [ChainId.MUM]: {
631
- address: '0x742DfA5Aa70a8212857966D491D67B09Ce7D6ec7',
632
- decimals: 6,
633
- },
634
605
  [ChainId.ARBG]: {
635
606
  address: '0x6aad876244e7a1ad44ec4824ce813729e5b6c291',
636
607
  decimals: 6,
@@ -657,14 +628,6 @@ export const basicCoins = [
657
628
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
658
629
  verified: true,
659
630
  chains: {
660
- [ChainId.GOR]: {
661
- address: '0x5bcc22abec37337630c0e0dd41d64fd86caee951',
662
- decimals: 6,
663
- },
664
- [ChainId.MUM]: {
665
- address: '0x6fc340be8e378c2ff56476409ef48da9a3b781a0',
666
- decimals: 6,
667
- },
668
631
  [ChainId.BSCT]: {
669
632
  address: '0xf49e250aeb5abdf660d643583adfd0be41464efd',
670
633
  decimals: 6,
@@ -682,10 +645,6 @@ export const basicCoins = [
682
645
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
683
646
  verified: true,
684
647
  chains: {
685
- [ChainId.GOR]: {
686
- address: '0x9874a71b976daa037741d18b86bc6b2f9957fc8a',
687
- decimals: 18,
688
- },
689
648
  [ChainId.BSCT]: {
690
649
  address: '0x8362af3426e6c7a77438f29bdc81c8f27cd541ab',
691
650
  decimals: 18,
@@ -699,14 +658,6 @@ export const basicCoins = [
699
658
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
700
659
  verified: true,
701
660
  chains: {
702
- [ChainId.GOR]: {
703
- address: '0xc9ba30be110864264577ad091c47f986318b213e',
704
- decimals: 18,
705
- },
706
- [ChainId.MUM]: {
707
- address: '0xb9C468f4308f3f937B4Fc79946244459bBC3cf65',
708
- decimals: 18,
709
- },
710
661
  [ChainId.BSCT]: {
711
662
  address: '0x6df6db769dd1c845596f7e65a1c86c98d6147cc3',
712
663
  decimals: 18,
@@ -724,10 +675,6 @@ export const basicCoins = [
724
675
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
725
676
  verified: true,
726
677
  chains: {
727
- [ChainId.GOR]: {
728
- address: '0x5D3c0F4cA5EE99f8E8F59Ff9A5fAb04F6a7e007f',
729
- decimals: 18,
730
- },
731
678
  [ChainId.BSCT]: {
732
679
  address: '0x5471ea8f739dd37E9B81Be9c5c77754D8AA953E4',
733
680
  decimals: 18,
@@ -741,10 +688,6 @@ export const basicCoins = [
741
688
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
742
689
  verified: true,
743
690
  chains: {
744
- [ChainId.GOR]: {
745
- address: '0xf4b2cbc3ba04c478f0dc824f4806ac39982dce73',
746
- decimals: 6,
747
- },
748
691
  [ChainId.BSCT]: {
749
692
  address: '0x7d43AABC515C356145049227CeE54B608342c0ad',
750
693
  decimals: 6,
@@ -758,29 +701,12 @@ export const basicCoins = [
758
701
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
759
702
  verified: true,
760
703
  chains: {
761
- [ChainId.GOR]: {
762
- address: '0x9D39Fc627A6d9d9F8C831c16995b209548cc3401',
763
- decimals: 6,
764
- },
765
704
  [ChainId.BSCT]: {
766
705
  address: '0xC826C23327098cd8A37f140114F2173A8F62DD29',
767
706
  decimals: 6,
768
707
  },
769
708
  },
770
709
  },
771
- // cBridge WUSDC testtoken
772
- {
773
- key: CoinKey.cbtWUSDC,
774
- name: CoinKey.cbtWUSDC,
775
- logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
776
- verified: true,
777
- chains: {
778
- [ChainId.GOR]: {
779
- address: '0x4a63Afc71427807586dA190Bb0D3adB461fF9589',
780
- decimals: 6,
781
- },
782
- },
783
- },
784
710
  // cBridge USDC testtoken
785
711
  {
786
712
  key: CoinKey.cbtUSDC,
@@ -788,10 +714,6 @@ export const basicCoins = [
788
714
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
789
715
  verified: true,
790
716
  chains: {
791
- [ChainId.MUM]: {
792
- address: '0x6de33698e9e9b787e09d3bd7771ef63557e148bb',
793
- decimals: 6,
794
- },
795
717
  [ChainId.AVAT]: {
796
718
  address: '0x2979a1cb90EEB9e75d7fB4f9813FCC40E4a7fD8b',
797
719
  decimals: 6,
@@ -800,10 +722,6 @@ export const basicCoins = [
800
722
  address: '0x317F8d18FB16E49a958Becd0EA72f8E153d25654',
801
723
  decimals: 6,
802
724
  },
803
- [ChainId.GOR]: {
804
- address: '0xCbE56b00d173A26a5978cE90Db2E33622fD95A28',
805
- decimals: 6,
806
- },
807
725
  },
808
726
  },
809
727
  // USDC
@@ -929,14 +847,6 @@ export const basicCoins = [
929
847
  decimals: 6,
930
848
  },
931
849
  // Testnets
932
- [ChainId.GOR]: {
933
- address: '0xd87ba7a50b2e7e660f678a895e4b72e7cb4ccd9c',
934
- decimals: 6,
935
- },
936
- [ChainId.MUM]: {
937
- address: '0x6d4dd09982853f08d9966ac3ca4eb5885f16f2b2',
938
- decimals: 6,
939
- },
940
850
  [ChainId.LNAT]: {
941
851
  address: '0x964FF70695da981027c81020B1c58d833D49A640',
942
852
  decimals: 6,
@@ -1048,14 +958,6 @@ export const basicCoins = [
1048
958
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
1049
959
  verified: false,
1050
960
  chains: {
1051
- [ChainId.GOR]: {
1052
- address: '0x8a1cad3703e0beae0e0237369b4fcd04228d1682',
1053
- decimals: 18,
1054
- },
1055
- [ChainId.MUM]: {
1056
- address: '0xe71678794fff8846bff855f716b0ce9d9a78e844',
1057
- decimals: 18,
1058
- },
1059
961
  [ChainId.BSCT]: {
1060
962
  address: '0xd86bcb7d85163fbc81756bb9cc22225d6abccadb',
1061
963
  decimals: 18,
@@ -1069,19 +971,10 @@ export const basicCoins = [
1069
971
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
1070
972
  verified: false,
1071
973
  chains: {
1072
- [ChainId.GOR]: {
1073
- address: '0x7ea6eA49B0b0Ae9c5db7907d139D9Cd3439862a1',
1074
- name: 'Goerli CXTT',
1075
- decimals: 18,
1076
- },
1077
974
  [ChainId.LNAT]: {
1078
975
  address: '0xb706319d37b945727e71ae0d4353699d19112576',
1079
976
  decimals: 18,
1080
977
  },
1081
- [ChainId.MUM]: {
1082
- address: '0xeDb95D8037f769B72AAab41deeC92903A98C9E16',
1083
- decimals: 18,
1084
- },
1085
978
  [ChainId.ARBG]: {
1086
979
  address: '0xDC805eAaaBd6F68904cA706C221c72F8a8a68F9f',
1087
980
  decimals: 18,
@@ -1281,14 +1174,6 @@ export const basicCoins = [
1281
1174
  decimals: 18,
1282
1175
  },
1283
1176
  // Testnets
1284
- [ChainId.GOR]: {
1285
- address: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6',
1286
- decimals: 18,
1287
- },
1288
- [ChainId.MUM]: {
1289
- address: '0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa',
1290
- decimals: 18,
1291
- },
1292
1177
  [ChainId.OPTG]: {
1293
1178
  address: '0x4200000000000000000000000000000000000006',
1294
1179
  decimals: 18,
@@ -1930,26 +1815,6 @@ export const wrappedTokens = {
1930
1815
  logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
1931
1816
  },
1932
1817
  // Testnets
1933
- [ChainId.GOR]: {
1934
- // https://goerli.etherscan.io/token/0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6
1935
- address: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6',
1936
- symbol: 'WETH',
1937
- decimals: 18,
1938
- chainId: ChainId.GOR,
1939
- coinKey: CoinKey.WETH,
1940
- name: 'WETH',
1941
- logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
1942
- },
1943
- [ChainId.MUM]: {
1944
- // https://mumbai.polygonscan.com/token/0x9c3c9283d3e44854697cd22d3faa240cfb032889
1945
- address: '0x9c3c9283d3e44854697cd22d3faa240cfb032889',
1946
- symbol: 'WMATIC',
1947
- decimals: 18,
1948
- chainId: ChainId.MUM,
1949
- coinKey: 'WMATIC',
1950
- name: 'WMATIC',
1951
- logoURI: 'https://static.debank.com/image/matic_token/logo_url/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270/f6e604ba0324726a3d687c618aa4f163.png',
1952
- },
1953
1818
  [ChainId.ONET]: {
1954
1819
  address: '0x7466d7d0c21fa05f32f5a0fa27e12bdc06348ce2',
1955
1820
  symbol: 'WONE',
package/dist/multicall.js CHANGED
@@ -50,8 +50,6 @@ export const multicallAddresses = {
50
50
  // [ChainId.PALM]: '0x0769fd68dFb93167989C6f7254cd0D766Fb2841F',
51
51
  // [ChainId.TELOS]: '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3',
52
52
  // Testnet
53
- [ChainId.GOR]: '0xcA11bde05977b3631167028862bE2a173976CA11',
54
- [ChainId.MUM]: '0xcA11bde05977b3631167028862bE2a173976CA11',
55
53
  [ChainId.BSCT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
56
54
  [ChainId.ONET]: '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3',
57
55
  [ChainId.AVAT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/data-types",
3
- "version": "2.6.1",
3
+ "version": "3.0.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": "^11.4.1"
66
+ "@lifi/types": "^12.0.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@commitlint/cli": "^17.7.1",