diff --git a/typescript/infra/config/environments/mainnet3/warp/configGetters/getEthereumBaseJackieChainWarpConfig.ts b/typescript/infra/config/environments/mainnet3/warp/configGetters/getEthereumBaseJackieChainWarpConfig.ts new file mode 100644 index 0000000000..69575185af --- /dev/null +++ b/typescript/infra/config/environments/mainnet3/warp/configGetters/getEthereumBaseJackieChainWarpConfig.ts @@ -0,0 +1,40 @@ +import { ethers } from 'ethers'; + +import { + ChainMap, + HypTokenRouterConfig, + OwnableConfig, + TokenType, +} from '@hyperlane-xyz/sdk'; + +import { + RouterConfigWithoutOwner, + tokens, +} from '../../../../../src/config/warp.js'; + +const ISM_CONFIG = ethers.constants.AddressZero; // Default ISM + +export const getBasezeronetworkRe7LRTWarpConfig = async ( + routerConfig: ChainMap, + abacusWorksEnvOwnerConfig: ChainMap, +): Promise> => { + const base: HypTokenRouterConfig = { + ...routerConfig.base, + ...abacusWorksEnvOwnerConfig.base, + type: TokenType.collateral, + token: tokens.base.jackieChain, + interchainSecurityModule: ISM_CONFIG, + }; + + const zeronetwork: HypTokenRouterConfig = { + ...routerConfig.zeronetwork, + ...abacusWorksEnvOwnerConfig.zeronetwork, + type: TokenType.synthetic, + interchainSecurityModule: ISM_CONFIG, + }; + + return { + base, + zeronetwork, + }; +};