@lifi/data-types 4.5.2 → 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.
@@ -924,306 +924,4 @@ export const supportedEVMChains = [
924
924
  rpcUrls: ['https://public-node.rsk.co', 'https://mycrypto.rsk.co'],
925
925
  },
926
926
  },
927
- // TESTNETS
928
- // 12 - Metadium Testnet
929
- {
930
- key: ChainKey.METT,
931
- chainType: ChainType.EVM,
932
- name: 'Metadium Testnet',
933
- coin: CoinKey.KAL,
934
- id: 12,
935
- mainnet: false,
936
- multicallAddress: multicallAddresses[ChainId.METT],
937
- metamask: {
938
- chainId: prefixChainId(12),
939
- blockExplorerUrls: ['https://metadium.com/'],
940
- chainName: 'Metadium Testnet',
941
- nativeCurrency: {
942
- name: 'KAL',
943
- symbol: 'KAL',
944
- decimals: 18,
945
- },
946
- rpcUrls: ['https://api.metadium.com/dev'],
947
- },
948
- },
949
- // 13 - Diode Testnet Staging
950
- {
951
- key: ChainKey.DIOT,
952
- chainType: ChainType.EVM,
953
- name: 'DIODE',
954
- coin: CoinKey.SDIODE,
955
- id: 13,
956
- mainnet: false,
957
- multicallAddress: multicallAddresses[ChainId.DIOT],
958
- metamask: {
959
- chainId: prefixChainId(13),
960
- blockExplorerUrls: ['https://diode.io/staging/'],
961
- chainName: 'Diode Testnet Staging',
962
- nativeCurrency: {
963
- name: 'Staging Diodes',
964
- symbol: 'sDIODE',
965
- decimals: 18,
966
- },
967
- rpcUrls: ['https://staging.diode.io:8443/'],
968
- },
969
- },
970
- {
971
- key: ChainKey.ARBG,
972
- chainType: ChainType.EVM,
973
- name: 'Arbitrum Görli',
974
- coin: CoinKey.ETH,
975
- id: 421613,
976
- mainnet: false,
977
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/arbitrum_test.png',
978
- faucetUrls: ['https://bridge.arbitrum.io/'],
979
- multicallAddress: multicallAddresses[ChainId.ARBG],
980
- metamask: {
981
- chainId: prefixChainId(421613),
982
- blockExplorerUrls: ['https://goerli-rollup-explorer.arbitrum.io/'],
983
- chainName: 'Arbitrum Görli',
984
- nativeCurrency: {
985
- name: 'AGOR',
986
- symbol: 'AGOR',
987
- decimals: 18,
988
- },
989
- rpcUrls: ['https://goerli-rollup.arbitrum.io/rpc/ '],
990
- },
991
- },
992
- // 420 - Optimistic Ethereum (Goerli)
993
- {
994
- key: ChainKey.OPTG,
995
- chainType: ChainType.EVM,
996
- name: 'Optimistic Ethereum Testnet Goerli',
997
- coin: CoinKey.ETH,
998
- id: 420,
999
- mainnet: false,
1000
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/optimism_test.png',
1001
- faucetUrls: ['https://gateway.optimism.io/'],
1002
- multicallAddress: multicallAddresses[ChainId.OPTG],
1003
- metamask: {
1004
- chainId: prefixChainId(420),
1005
- blockExplorerUrls: ['https://blockscout.com/optimism/goerli/'],
1006
- chainName: 'Optimistic Ethereum Testnet Goerli',
1007
- nativeCurrency: {
1008
- name: 'tETH',
1009
- symbol: 'tETH',
1010
- decimals: 18,
1011
- },
1012
- rpcUrls: ['https://goerli.optimism.io/'],
1013
- },
1014
- },
1015
- // 97 - Binance Smart Chain Testnet
1016
- {
1017
- key: ChainKey.BSCT,
1018
- chainType: ChainType.EVM,
1019
- name: 'Binance Smart Chain Testnet',
1020
- coin: CoinKey.BNB,
1021
- id: 97,
1022
- mainnet: false,
1023
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/bsc_test.png',
1024
- faucetUrls: ['https://testnet.binance.org/faucet-smart'],
1025
- multicallAddress: multicallAddresses[ChainId.BSCT],
1026
- metamask: {
1027
- chainId: prefixChainId(97),
1028
- blockExplorerUrls: ['https://testnet.bscscan.com/'],
1029
- chainName: 'Binance Smart Chain Testnet',
1030
- nativeCurrency: {
1031
- name: 'tBNB',
1032
- symbol: 'tBNB',
1033
- decimals: 18,
1034
- },
1035
- rpcUrls: ['https://data-seed-prebsc-1-s1.binance.org:8545/'],
1036
- },
1037
- },
1038
- // 256 - Huobi ECO Chain Testnet
1039
- {
1040
- key: ChainKey.HECT,
1041
- chainType: ChainType.EVM,
1042
- name: 'Huobi ECO Chain Testnet',
1043
- coin: 'HTT',
1044
- id: 256,
1045
- mainnet: false,
1046
- faucetUrls: ['https://scan-testnet.hecochain.com/faucet'],
1047
- multicallAddress: multicallAddresses[ChainId.HECT],
1048
- metamask: {
1049
- chainId: prefixChainId(256),
1050
- blockExplorerUrls: ['https://scan-testnet.hecochain.com/'],
1051
- chainName: 'Huobi ECO Chain Testnet',
1052
- nativeCurrency: {
1053
- name: 'HT',
1054
- symbol: 'HT',
1055
- decimals: 18,
1056
- },
1057
- rpcUrls: ['https://http-testnet.hecochain.com'],
1058
- },
1059
- },
1060
- // 1666700000 - Harmony Testnet 0
1061
- {
1062
- key: ChainKey.ONET,
1063
- chainType: ChainType.EVM,
1064
- name: 'Harmony Testnet',
1065
- coin: CoinKey.ONE,
1066
- id: 1666700000,
1067
- mainnet: false,
1068
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/harmony_test.png',
1069
- // https://docs.harmony.one/home/developers/wallets/metamask/connect-metamask-to-the-harmony-chain
1070
- multicallAddress: multicallAddresses[ChainId.ONET],
1071
- metamask: {
1072
- chainId: prefixChainId(1666700000),
1073
- blockExplorerUrls: [
1074
- 'https://explorer.pops.one/',
1075
- 'https://explorer.testnet.harmony.one/',
1076
- ],
1077
- chainName: 'Harmony Testnet Shard 0',
1078
- nativeCurrency: {
1079
- name: 'ONE',
1080
- symbol: 'ONE',
1081
- decimals: 18,
1082
- },
1083
- rpcUrls: ['https://api.s0.b.hmny.io'],
1084
- },
1085
- },
1086
- // 123 Fuse Sparknet
1087
- {
1088
- key: ChainKey.FUST,
1089
- chainType: ChainType.EVM,
1090
- name: 'SPARK',
1091
- coin: CoinKey.SPARK,
1092
- id: 123,
1093
- mainnet: false,
1094
- multicallAddress: multicallAddresses[ChainId.FUST],
1095
- metamask: {
1096
- chainId: prefixChainId(123),
1097
- blockExplorerUrls: ['https://explorer.fusespark.io/'],
1098
- chainName: 'Fuse Sparknet',
1099
- nativeCurrency: {
1100
- name: 'Spark',
1101
- symbol: 'SPARK',
1102
- decimals: 18,
1103
- },
1104
- rpcUrls: ['https://rpc.fusespark.io'],
1105
- },
1106
- },
1107
- // 41 Telos EVM Testnet
1108
- {
1109
- key: ChainKey.TLOT,
1110
- chainType: ChainType.EVM,
1111
- name: 'Telos Testnet',
1112
- coin: CoinKey.TLOS,
1113
- id: 41,
1114
- mainnet: false,
1115
- faucetUrls: ['https://app.telos.net/testnet/developers'],
1116
- multicallAddress: multicallAddresses[ChainId.TLOT],
1117
- metamask: {
1118
- chainId: prefixChainId(41),
1119
- blockExplorerUrls: ['https://telos.net/'],
1120
- chainName: 'Telos EVM Mainnet',
1121
- nativeCurrency: {
1122
- name: 'Telos',
1123
- symbol: 'TLOS',
1124
- decimals: 18,
1125
- },
1126
- rpcUrls: ['https://testnet.telos.net/evm'],
1127
- },
1128
- },
1129
- // 31 RSK Testnet
1130
- {
1131
- key: ChainKey.RSKT,
1132
- chainType: ChainType.EVM,
1133
- name: 'RSK Testnet',
1134
- coin: CoinKey.TRBTC,
1135
- id: 31,
1136
- mainnet: true,
1137
- multicallAddress: multicallAddresses[ChainId.RSKT],
1138
- metamask: {
1139
- chainId: prefixChainId(31),
1140
- blockExplorerUrls: ['https://rsk.co/'],
1141
- chainName: 'RSK Testnet',
1142
- nativeCurrency: {
1143
- name: 'tRBTC',
1144
- symbol: 'TRBTC',
1145
- decimals: 18,
1146
- },
1147
- rpcUrls: ['https://public-node.testnet.rsk.co'],
1148
- },
1149
- },
1150
- // 43113 - Avalanche Fuji Testnet
1151
- {
1152
- key: ChainKey.AVAT,
1153
- chainType: ChainType.EVM,
1154
- name: 'Avalanche Fuji Testnet',
1155
- coin: CoinKey.AVAX,
1156
- id: 43113,
1157
- mainnet: false,
1158
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/avalanche_test.png',
1159
- multicallAddress: multicallAddresses[ChainId.AVAT],
1160
- faucetUrls: ['https://faucet.avax-test.network/'],
1161
- // https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-43113.json
1162
- metamask: {
1163
- chainId: prefixChainId(43113),
1164
- blockExplorerUrls: ['https://testnet.snowtrace.io/'],
1165
- chainName: 'Avalanche Fuji Testnet',
1166
- nativeCurrency: {
1167
- name: 'AVAX',
1168
- symbol: 'AVAX',
1169
- decimals: 18,
1170
- },
1171
- rpcUrls: ['https://api.avax-test.network/ext/bc/C/rpc'],
1172
- },
1173
- },
1174
- // 59140 - Linea (formerly ConsenSys zkEVM) Testnet
1175
- {
1176
- key: ChainKey.LNAT,
1177
- chainType: ChainType.EVM,
1178
- name: 'Linea Testnet',
1179
- coin: CoinKey.ETH,
1180
- id: 59140,
1181
- mainnet: false,
1182
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/linea.svg',
1183
- multicallAddress: multicallAddresses[ChainId.LNAT],
1184
- faucetUrls: ['https://faucetlink.to/goerli'],
1185
- metamask: {
1186
- chainId: prefixChainId(59140),
1187
- blockExplorerUrls: ['https://explorer.goerli.linea.build/'],
1188
- chainName: 'Linea Testnet',
1189
- nativeCurrency: {
1190
- name: 'crETH',
1191
- symbol: 'crETH',
1192
- decimals: 18,
1193
- },
1194
- rpcUrls: ['https://rpc.goerli.linea.build'],
1195
- },
1196
- },
1197
- // 534351 - Scroll Sepolia Testnet
1198
- {
1199
- key: ChainKey.SCLT,
1200
- chainType: ChainType.EVM,
1201
- name: 'Scroll Sepolia Testnet',
1202
- coin: CoinKey.ETH,
1203
- id: 534351,
1204
- mainnet: false,
1205
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/scroll.png',
1206
- multicallAddress: multicallAddresses[ChainId.SCLT],
1207
- metamask: {
1208
- chainId: prefixChainId(534351),
1209
- blockExplorerUrls: ['https://sepolia.scrollscan.com/'],
1210
- chainName: 'Scroll Sepolia Testnet',
1211
- nativeCurrency: {
1212
- name: 'ETH',
1213
- symbol: 'ETH',
1214
- decimals: 18,
1215
- },
1216
- rpcUrls: [
1217
- 'https://rpc.ankr.com/scroll_sepolia_testnet',
1218
- 'https://sepolia-rpc.scroll.io',
1219
- 'https://scroll-sepolia.drpc.org',
1220
- ],
1221
- },
1222
- },
1223
- // TODO: Add
1224
- // EVMT = 9000,
1225
- // MORT = 1287,
1226
- // FTMT = 4002,
1227
- // https://faucet.buni.finance/
1228
- // kucoin faucet: https://stakely.io/faucet/kucoin-kcc-kcs
1229
927
  ];
@@ -23,12 +23,6 @@ test('native token defined for all chains', () => {
23
23
  ChainId.GL1,
24
24
  ChainId.RSK,
25
25
  ChainId.TBW,
26
- ChainId.METT,
27
- ChainId.DIOT,
28
- ChainId.HECT,
29
- ChainId.FUST,
30
- ChainId.TLOT,
31
- ChainId.RSKT,
32
26
  ];
33
27
  const ignoredChainsForWrappedToken = [
34
28
  ...ignoredChainsForNativeToken,
@@ -63,7 +57,7 @@ test('native token defined for all chains', () => {
63
57
  describe('findTokenByChainIdAndAddress', () => {
64
58
  describe('token has no name override', () => {
65
59
  it('returns a token with the coin name', () => {
66
- expect(findTokenByChainIdAndAddress(ChainId.LNAT, '0xb706319d37b945727e71ae0d4353699d19112576').name).toEqual(CoinKey.CXTT);
60
+ expect(findTokenByChainIdAndAddress(ChainId.LNA, '0xa219439258ca9da29e9cc4ce5596924745e12b93').name).toEqual(CoinKey.USDT);
67
61
  });
68
62
  });
69
63
  describe('token has a name override', () => {
@@ -927,306 +927,4 @@ exports.supportedEVMChains = [
927
927
  rpcUrls: ['https://public-node.rsk.co', 'https://mycrypto.rsk.co'],
928
928
  },
929
929
  },
930
- // TESTNETS
931
- // 12 - Metadium Testnet
932
- {
933
- key: types_1.ChainKey.METT,
934
- chainType: types_1.ChainType.EVM,
935
- name: 'Metadium Testnet',
936
- coin: types_1.CoinKey.KAL,
937
- id: 12,
938
- mainnet: false,
939
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.METT],
940
- metamask: {
941
- chainId: (0, utils_1.prefixChainId)(12),
942
- blockExplorerUrls: ['https://metadium.com/'],
943
- chainName: 'Metadium Testnet',
944
- nativeCurrency: {
945
- name: 'KAL',
946
- symbol: 'KAL',
947
- decimals: 18,
948
- },
949
- rpcUrls: ['https://api.metadium.com/dev'],
950
- },
951
- },
952
- // 13 - Diode Testnet Staging
953
- {
954
- key: types_1.ChainKey.DIOT,
955
- chainType: types_1.ChainType.EVM,
956
- name: 'DIODE',
957
- coin: types_1.CoinKey.SDIODE,
958
- id: 13,
959
- mainnet: false,
960
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.DIOT],
961
- metamask: {
962
- chainId: (0, utils_1.prefixChainId)(13),
963
- blockExplorerUrls: ['https://diode.io/staging/'],
964
- chainName: 'Diode Testnet Staging',
965
- nativeCurrency: {
966
- name: 'Staging Diodes',
967
- symbol: 'sDIODE',
968
- decimals: 18,
969
- },
970
- rpcUrls: ['https://staging.diode.io:8443/'],
971
- },
972
- },
973
- {
974
- key: types_1.ChainKey.ARBG,
975
- chainType: types_1.ChainType.EVM,
976
- name: 'Arbitrum Görli',
977
- coin: types_1.CoinKey.ETH,
978
- id: 421613,
979
- mainnet: false,
980
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/arbitrum_test.png',
981
- faucetUrls: ['https://bridge.arbitrum.io/'],
982
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.ARBG],
983
- metamask: {
984
- chainId: (0, utils_1.prefixChainId)(421613),
985
- blockExplorerUrls: ['https://goerli-rollup-explorer.arbitrum.io/'],
986
- chainName: 'Arbitrum Görli',
987
- nativeCurrency: {
988
- name: 'AGOR',
989
- symbol: 'AGOR',
990
- decimals: 18,
991
- },
992
- rpcUrls: ['https://goerli-rollup.arbitrum.io/rpc/ '],
993
- },
994
- },
995
- // 420 - Optimistic Ethereum (Goerli)
996
- {
997
- key: types_1.ChainKey.OPTG,
998
- chainType: types_1.ChainType.EVM,
999
- name: 'Optimistic Ethereum Testnet Goerli',
1000
- coin: types_1.CoinKey.ETH,
1001
- id: 420,
1002
- mainnet: false,
1003
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/optimism_test.png',
1004
- faucetUrls: ['https://gateway.optimism.io/'],
1005
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.OPTG],
1006
- metamask: {
1007
- chainId: (0, utils_1.prefixChainId)(420),
1008
- blockExplorerUrls: ['https://blockscout.com/optimism/goerli/'],
1009
- chainName: 'Optimistic Ethereum Testnet Goerli',
1010
- nativeCurrency: {
1011
- name: 'tETH',
1012
- symbol: 'tETH',
1013
- decimals: 18,
1014
- },
1015
- rpcUrls: ['https://goerli.optimism.io/'],
1016
- },
1017
- },
1018
- // 97 - Binance Smart Chain Testnet
1019
- {
1020
- key: types_1.ChainKey.BSCT,
1021
- chainType: types_1.ChainType.EVM,
1022
- name: 'Binance Smart Chain Testnet',
1023
- coin: types_1.CoinKey.BNB,
1024
- id: 97,
1025
- mainnet: false,
1026
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/bsc_test.png',
1027
- faucetUrls: ['https://testnet.binance.org/faucet-smart'],
1028
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.BSCT],
1029
- metamask: {
1030
- chainId: (0, utils_1.prefixChainId)(97),
1031
- blockExplorerUrls: ['https://testnet.bscscan.com/'],
1032
- chainName: 'Binance Smart Chain Testnet',
1033
- nativeCurrency: {
1034
- name: 'tBNB',
1035
- symbol: 'tBNB',
1036
- decimals: 18,
1037
- },
1038
- rpcUrls: ['https://data-seed-prebsc-1-s1.binance.org:8545/'],
1039
- },
1040
- },
1041
- // 256 - Huobi ECO Chain Testnet
1042
- {
1043
- key: types_1.ChainKey.HECT,
1044
- chainType: types_1.ChainType.EVM,
1045
- name: 'Huobi ECO Chain Testnet',
1046
- coin: 'HTT',
1047
- id: 256,
1048
- mainnet: false,
1049
- faucetUrls: ['https://scan-testnet.hecochain.com/faucet'],
1050
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.HECT],
1051
- metamask: {
1052
- chainId: (0, utils_1.prefixChainId)(256),
1053
- blockExplorerUrls: ['https://scan-testnet.hecochain.com/'],
1054
- chainName: 'Huobi ECO Chain Testnet',
1055
- nativeCurrency: {
1056
- name: 'HT',
1057
- symbol: 'HT',
1058
- decimals: 18,
1059
- },
1060
- rpcUrls: ['https://http-testnet.hecochain.com'],
1061
- },
1062
- },
1063
- // 1666700000 - Harmony Testnet 0
1064
- {
1065
- key: types_1.ChainKey.ONET,
1066
- chainType: types_1.ChainType.EVM,
1067
- name: 'Harmony Testnet',
1068
- coin: types_1.CoinKey.ONE,
1069
- id: 1666700000,
1070
- mainnet: false,
1071
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/harmony_test.png',
1072
- // https://docs.harmony.one/home/developers/wallets/metamask/connect-metamask-to-the-harmony-chain
1073
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.ONET],
1074
- metamask: {
1075
- chainId: (0, utils_1.prefixChainId)(1666700000),
1076
- blockExplorerUrls: [
1077
- 'https://explorer.pops.one/',
1078
- 'https://explorer.testnet.harmony.one/',
1079
- ],
1080
- chainName: 'Harmony Testnet Shard 0',
1081
- nativeCurrency: {
1082
- name: 'ONE',
1083
- symbol: 'ONE',
1084
- decimals: 18,
1085
- },
1086
- rpcUrls: ['https://api.s0.b.hmny.io'],
1087
- },
1088
- },
1089
- // 123 Fuse Sparknet
1090
- {
1091
- key: types_1.ChainKey.FUST,
1092
- chainType: types_1.ChainType.EVM,
1093
- name: 'SPARK',
1094
- coin: types_1.CoinKey.SPARK,
1095
- id: 123,
1096
- mainnet: false,
1097
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.FUST],
1098
- metamask: {
1099
- chainId: (0, utils_1.prefixChainId)(123),
1100
- blockExplorerUrls: ['https://explorer.fusespark.io/'],
1101
- chainName: 'Fuse Sparknet',
1102
- nativeCurrency: {
1103
- name: 'Spark',
1104
- symbol: 'SPARK',
1105
- decimals: 18,
1106
- },
1107
- rpcUrls: ['https://rpc.fusespark.io'],
1108
- },
1109
- },
1110
- // 41 Telos EVM Testnet
1111
- {
1112
- key: types_1.ChainKey.TLOT,
1113
- chainType: types_1.ChainType.EVM,
1114
- name: 'Telos Testnet',
1115
- coin: types_1.CoinKey.TLOS,
1116
- id: 41,
1117
- mainnet: false,
1118
- faucetUrls: ['https://app.telos.net/testnet/developers'],
1119
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.TLOT],
1120
- metamask: {
1121
- chainId: (0, utils_1.prefixChainId)(41),
1122
- blockExplorerUrls: ['https://telos.net/'],
1123
- chainName: 'Telos EVM Mainnet',
1124
- nativeCurrency: {
1125
- name: 'Telos',
1126
- symbol: 'TLOS',
1127
- decimals: 18,
1128
- },
1129
- rpcUrls: ['https://testnet.telos.net/evm'],
1130
- },
1131
- },
1132
- // 31 RSK Testnet
1133
- {
1134
- key: types_1.ChainKey.RSKT,
1135
- chainType: types_1.ChainType.EVM,
1136
- name: 'RSK Testnet',
1137
- coin: types_1.CoinKey.TRBTC,
1138
- id: 31,
1139
- mainnet: true,
1140
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.RSKT],
1141
- metamask: {
1142
- chainId: (0, utils_1.prefixChainId)(31),
1143
- blockExplorerUrls: ['https://rsk.co/'],
1144
- chainName: 'RSK Testnet',
1145
- nativeCurrency: {
1146
- name: 'tRBTC',
1147
- symbol: 'TRBTC',
1148
- decimals: 18,
1149
- },
1150
- rpcUrls: ['https://public-node.testnet.rsk.co'],
1151
- },
1152
- },
1153
- // 43113 - Avalanche Fuji Testnet
1154
- {
1155
- key: types_1.ChainKey.AVAT,
1156
- chainType: types_1.ChainType.EVM,
1157
- name: 'Avalanche Fuji Testnet',
1158
- coin: types_1.CoinKey.AVAX,
1159
- id: 43113,
1160
- mainnet: false,
1161
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/avalanche_test.png',
1162
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.AVAT],
1163
- faucetUrls: ['https://faucet.avax-test.network/'],
1164
- // https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-43113.json
1165
- metamask: {
1166
- chainId: (0, utils_1.prefixChainId)(43113),
1167
- blockExplorerUrls: ['https://testnet.snowtrace.io/'],
1168
- chainName: 'Avalanche Fuji Testnet',
1169
- nativeCurrency: {
1170
- name: 'AVAX',
1171
- symbol: 'AVAX',
1172
- decimals: 18,
1173
- },
1174
- rpcUrls: ['https://api.avax-test.network/ext/bc/C/rpc'],
1175
- },
1176
- },
1177
- // 59140 - Linea (formerly ConsenSys zkEVM) Testnet
1178
- {
1179
- key: types_1.ChainKey.LNAT,
1180
- chainType: types_1.ChainType.EVM,
1181
- name: 'Linea Testnet',
1182
- coin: types_1.CoinKey.ETH,
1183
- id: 59140,
1184
- mainnet: false,
1185
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/linea.svg',
1186
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.LNAT],
1187
- faucetUrls: ['https://faucetlink.to/goerli'],
1188
- metamask: {
1189
- chainId: (0, utils_1.prefixChainId)(59140),
1190
- blockExplorerUrls: ['https://explorer.goerli.linea.build/'],
1191
- chainName: 'Linea Testnet',
1192
- nativeCurrency: {
1193
- name: 'crETH',
1194
- symbol: 'crETH',
1195
- decimals: 18,
1196
- },
1197
- rpcUrls: ['https://rpc.goerli.linea.build'],
1198
- },
1199
- },
1200
- // 534351 - Scroll Sepolia Testnet
1201
- {
1202
- key: types_1.ChainKey.SCLT,
1203
- chainType: types_1.ChainType.EVM,
1204
- name: 'Scroll Sepolia Testnet',
1205
- coin: types_1.CoinKey.ETH,
1206
- id: 534351,
1207
- mainnet: false,
1208
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/scroll.png',
1209
- multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.SCLT],
1210
- metamask: {
1211
- chainId: (0, utils_1.prefixChainId)(534351),
1212
- blockExplorerUrls: ['https://sepolia.scrollscan.com/'],
1213
- chainName: 'Scroll Sepolia Testnet',
1214
- nativeCurrency: {
1215
- name: 'ETH',
1216
- symbol: 'ETH',
1217
- decimals: 18,
1218
- },
1219
- rpcUrls: [
1220
- 'https://rpc.ankr.com/scroll_sepolia_testnet',
1221
- 'https://sepolia-rpc.scroll.io',
1222
- 'https://scroll-sepolia.drpc.org',
1223
- ],
1224
- },
1225
- },
1226
- // TODO: Add
1227
- // EVMT = 9000,
1228
- // MORT = 1287,
1229
- // FTMT = 4002,
1230
- // https://faucet.buni.finance/
1231
- // kucoin faucet: https://stakely.io/faucet/kucoin-kcc-kcs
1232
930
  ];
@@ -25,12 +25,6 @@ test('native token defined for all chains', () => {
25
25
  types_1.ChainId.GL1,
26
26
  types_1.ChainId.RSK,
27
27
  types_1.ChainId.TBW,
28
- types_1.ChainId.METT,
29
- types_1.ChainId.DIOT,
30
- types_1.ChainId.HECT,
31
- types_1.ChainId.FUST,
32
- types_1.ChainId.TLOT,
33
- types_1.ChainId.RSKT,
34
28
  ];
35
29
  const ignoredChainsForWrappedToken = [
36
30
  ...ignoredChainsForNativeToken,
@@ -65,7 +59,7 @@ test('native token defined for all chains', () => {
65
59
  describe('findTokenByChainIdAndAddress', () => {
66
60
  describe('token has no name override', () => {
67
61
  it('returns a token with the coin name', () => {
68
- expect((0, coins_1.findTokenByChainIdAndAddress)(types_1.ChainId.LNAT, '0xb706319d37b945727e71ae0d4353699d19112576').name).toEqual(types_1.CoinKey.CXTT);
62
+ expect((0, coins_1.findTokenByChainIdAndAddress)(types_1.ChainId.LNA, '0xa219439258ca9da29e9cc4ce5596924745e12b93').name).toEqual(types_1.CoinKey.USDT);
69
63
  });
70
64
  });
71
65
  describe('token has a name override', () => {