@@ -2,8 +2,8 @@ import { BridgeAdapter, PartialContractEventParams } from "../../helpers/bridgeA
2
2
import { constructTransferParams } from "../../helpers/eventParams" ;
3
3
import { getTxDataFromEVMEventLogs } from "../../helpers/processTransactions" ;
4
4
import { BigNumber } from "ethers" ;
5
- import { fetchAssets , getTokenAddress } from "../squid/utils" ;
6
- import { getItsTokens } from "./utils" ;
5
+ import { getTokenAddress } from "../squid/utils" ;
6
+ import { getAssets , getItsTokens } from "./utils" ;
7
7
8
8
9
9
@@ -242,7 +242,7 @@ const constructParams = (chain: SupportedChains) => {
242
242
243
243
return async ( fromBlock : number , toBlock : number ) => {
244
244
245
- const assets = await fetchAssets ( ) ;
245
+ const assets = await getAssets ( ) ;
246
246
const itsAssets = await getItsTokens ( ) ;
247
247
248
248
@@ -348,24 +348,24 @@ const constructParams = (chain: SupportedChains) => {
348
348
} ;
349
349
const adapter : BridgeAdapter = {
350
350
arbitrum : constructParams ( "arbitrum" ) ,
351
- // avalanche: constructParams("avax"),
352
- // base: constructParams("base"),
353
- // blast: constructParams("blast"),
354
- // bsc: constructParams("bsc"),
355
- // celo: constructParams("celo"),
356
- // cfg: constructParams("cfg"), //centrifuge
357
- // ethereum: constructParams("ethereum"),
358
- // fantom: constructParams("fantom"),
359
- // filecoin: constructParams("filecoin"),
360
- // fraxtal: constructParams("fraxtal"),
361
- // // imx: constructParams("imx"), //immutable >>> TODO we call it immutable they call it imx
362
- // kava: constructParams("kava"),
363
- // linea: constructParams("linea"),
364
- // mantle: constructParams("mantle"),
365
- // moonbeam: constructParams("moonbeam"),
366
- // optimism: constructParams("optimism"),
367
- // polygon: constructParams("polygon"),
368
- // scroll: constructParams("scroll"),
351
+ avalanche : constructParams ( "avax" ) ,
352
+ base : constructParams ( "base" ) ,
353
+ blast : constructParams ( "blast" ) ,
354
+ bsc : constructParams ( "bsc" ) ,
355
+ celo : constructParams ( "celo" ) ,
356
+ cfg : constructParams ( "cfg" ) , //cfg
357
+ ethereum : constructParams ( "ethereum" ) ,
358
+ fantom : constructParams ( "fantom" ) ,
359
+ filecoin : constructParams ( "filecoin" ) ,
360
+ fraxtal : constructParams ( "fraxtal" ) ,
361
+ imx : constructParams ( "imx" ) ,
362
+ kava : constructParams ( "kava" ) ,
363
+ linea : constructParams ( "linea" ) ,
364
+ mantle : constructParams ( "mantle" ) ,
365
+ moonbeam : constructParams ( "moonbeam" ) ,
366
+ optimism : constructParams ( "optimism" ) ,
367
+ polygon : constructParams ( "polygon" ) ,
368
+ scroll : constructParams ( "scroll" ) ,
369
369
} ;
370
370
371
371
export default adapter ;
0 commit comments