|
|
@ -1,7 +1,7 @@ |
|
|
|
|
|
|
|
import { ethers } from 'ethers'; |
|
|
|
|
|
|
|
|
|
|
|
import { |
|
|
|
import { |
|
|
|
ChainMap, |
|
|
|
ChainMap, |
|
|
|
IsmConfig, |
|
|
|
|
|
|
|
IsmType, |
|
|
|
|
|
|
|
RouterConfig, |
|
|
|
RouterConfig, |
|
|
|
TokenRouterConfig, |
|
|
|
TokenRouterConfig, |
|
|
|
TokenType, |
|
|
|
TokenType, |
|
|
@ -12,11 +12,7 @@ import { tokens } from '../../../../../src/config/warp.js'; |
|
|
|
export const getArbitrumBaseEthereumOptimismPolygonZeroNetworkUSDC = async ( |
|
|
|
export const getArbitrumBaseEthereumOptimismPolygonZeroNetworkUSDC = async ( |
|
|
|
routerConfig: ChainMap<RouterConfig>, |
|
|
|
routerConfig: ChainMap<RouterConfig>, |
|
|
|
): Promise<ChainMap<TokenRouterConfig>> => { |
|
|
|
): Promise<ChainMap<TokenRouterConfig>> => { |
|
|
|
const ISM_CONFIG: IsmConfig = { |
|
|
|
const ISM_CONFIG = ethers.constants.AddressZero; |
|
|
|
type: IsmType.FALLBACK_ROUTING, |
|
|
|
|
|
|
|
owner: '0x3f13C1351AC66ca0f4827c607a94c93c82AD0913', |
|
|
|
|
|
|
|
domains: {}, |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const arbitrum: TokenRouterConfig = { |
|
|
|
const arbitrum: TokenRouterConfig = { |
|
|
|
...routerConfig.arbitrum, |
|
|
|
...routerConfig.arbitrum, |
|
|
@ -49,7 +45,7 @@ export const getArbitrumBaseEthereumOptimismPolygonZeroNetworkUSDC = async ( |
|
|
|
const zeronetwork: TokenRouterConfig = { |
|
|
|
const zeronetwork: TokenRouterConfig = { |
|
|
|
...routerConfig.zeronetwork, |
|
|
|
...routerConfig.zeronetwork, |
|
|
|
type: TokenType.collateral, |
|
|
|
type: TokenType.collateral, |
|
|
|
token: '0x6a6394F47DD0BAF794808F2749C09bd4Ee874E70', |
|
|
|
token: tokens.zeronetwork.USDC, |
|
|
|
interchainSecurityModule: ISM_CONFIG, |
|
|
|
interchainSecurityModule: ISM_CONFIG, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|