diff --git a/typescript/infra/config/environments/mainnet3/warp/configGetters/getUBTCWarpConfig.ts b/typescript/infra/config/environments/mainnet3/warp/configGetters/getUBTCWarpConfig.ts new file mode 100644 index 0000000000..ec4034a04e --- /dev/null +++ b/typescript/infra/config/environments/mainnet3/warp/configGetters/getUBTCWarpConfig.ts @@ -0,0 +1,25 @@ +import { ChainMap, HypTokenRouterConfig, TokenType } from '@hyperlane-xyz/sdk'; + +import { RouterConfigWithoutOwner } from '../../../../../src/config/warp.js'; + +export const getUBTCWarpConfig = async ( + routerConfig: ChainMap, +): Promise> => { + const bsquared: HypTokenRouterConfig = { + ...routerConfig.bsquared, + owner: '0x7A363efD42305BeDBA307d25351F8ea157b69A1A', + type: TokenType.collateral, + token: '0x796e4D53067FF374B89b2Ac101ce0c1f72ccaAc2', + }; + + const swell: HypTokenRouterConfig = { + ...routerConfig.swell, + owner: '0xC11e22A31787394950B31e2DEb1d2b5546689B65', + type: TokenType.synthetic, + }; + + return { + bsquared, + swell, + }; +}; diff --git a/typescript/infra/config/environments/mainnet3/warp/warpIds.ts b/typescript/infra/config/environments/mainnet3/warp/warpIds.ts index 3d23bdc087..ad61927fbe 100644 --- a/typescript/infra/config/environments/mainnet3/warp/warpIds.ts +++ b/typescript/infra/config/environments/mainnet3/warp/warpIds.ts @@ -26,6 +26,7 @@ export enum WarpRouteIds { EthereumVictionUSDT = 'USDT/ethereum-viction', EthereumZircuitPZETH = 'PZETH/ethereum-zircuit', EthereumBscLumiaLUMIA = 'LUMIA/bsc-ethereum-lumia', + BsquaredSwellUBTC = 'UBTC/bsquared-swell', InevmInjectiveINJ = 'INJ/inevm-injective', MantapacificNeutronTIA = 'TIA/mantapacific-neutron', BaseZeroNetworkCBBTC = 'CBBTC/base-zeronetwork', diff --git a/typescript/infra/config/warp.ts b/typescript/infra/config/warp.ts index 5c9049eb7d..0be05ca6f7 100644 --- a/typescript/infra/config/warp.ts +++ b/typescript/infra/config/warp.ts @@ -38,6 +38,7 @@ import { getInevmInjectiveINJWarpConfig } from './environments/mainnet3/warp/con import { getMantapacificNeutronTiaWarpConfig } from './environments/mainnet3/warp/configGetters/getMantapacificNeutronTiaWarpConfig.js'; import { getRenzoEZETHWarpConfig } from './environments/mainnet3/warp/configGetters/getRenzoEZETHWarpConfig.js'; import { getRenzoPZETHWarpConfig } from './environments/mainnet3/warp/configGetters/getRenzoPZETHWarpConfig.js'; +import { getUBTCWarpConfig } from './environments/mainnet3/warp/configGetters/getUBTCWarpConfig.js'; import { WarpRouteIds } from './environments/mainnet3/warp/warpIds.js'; type WarpConfigGetter = ( @@ -69,6 +70,7 @@ export const warpConfigGetterMap: Record = { getEclipseEthereumSolanaUSDTWarpConfig, [WarpRouteIds.EclipseEthereumWBTC]: getEclipseEthereumWBTCWarpConfig, [WarpRouteIds.EclipseEthereumWeETHs]: getEclipseEthereumWeEthsWarpConfig, + [WarpRouteIds.BsquaredSwellUBTC]: getUBTCWarpConfig, [WarpRouteIds.BaseZeroNetworkCBBTC]: getBaseZeroNetworkCBBTCWarpConfig, [WarpRouteIds.ArbitrumEthereumMantleModePolygonScrollZeroNetworkUSDT]: getArbitrumEthereumMantleModePolygonScrollZeroNetworkUSDTWarpConfig,