Skip to content

Commit 244134e

Browse files
chore: update USDC/radix ISM (#7267)
1 parent 14031bc commit 244134e

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

typescript/infra/config/environments/mainnet3/warp/configGetters/getRadixUSDCWarpConfig.ts

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
import {
22
ChainMap,
33
HypTokenRouterConfig,
4-
IsmType,
54
OwnableConfig,
6-
RoutingIsmConfig,
75
TokenType,
8-
buildAggregationIsmConfigs,
9-
defaultMultisigConfigs,
106
} from '@hyperlane-xyz/sdk';
117

128
import {
@@ -16,18 +12,6 @@ import {
1612

1713
import { getUSDCRebalancingBridgesConfigFor } from './utils.js';
1814

19-
const getIsm = (local: keyof typeof owners): RoutingIsmConfig => {
20-
return {
21-
type: IsmType.FALLBACK_ROUTING,
22-
owner: owners[local],
23-
domains: buildAggregationIsmConfigs(
24-
local,
25-
['radix'],
26-
defaultMultisigConfigs,
27-
),
28-
};
29-
};
30-
3115
const owners = {
3216
ethereum: '0xA365Bf3Da1f1B01E2a80f9261Ec717B305b2Eb8F',
3317
arbitrum: '0xA365Bf3Da1f1B01E2a80f9261Ec717B305b2Eb8F',
@@ -39,7 +23,7 @@ const owners = {
3923

4024
export const getRadixUSDCWarpConfig = async (
4125
routerConfig: ChainMap<RouterConfigWithoutOwner>,
42-
abacusWorksEnvOwnerConfig: ChainMap<OwnableConfig>,
26+
_: ChainMap<OwnableConfig>,
4327
): Promise<ChainMap<HypTokenRouterConfig>> => {
4428
const rebalancingConfig = getUSDCRebalancingBridgesConfigFor(
4529
Object.keys(owners),
@@ -48,7 +32,6 @@ export const getRadixUSDCWarpConfig = async (
4832
const ethereum: HypTokenRouterConfig = {
4933
...routerConfig.ethereum,
5034
decimals: 6,
51-
interchainSecurityModule: getIsm('ethereum'),
5235
owner: owners.ethereum,
5336
type: TokenType.collateral,
5437
token: tokens.ethereum.USDC,
@@ -58,7 +41,6 @@ export const getRadixUSDCWarpConfig = async (
5841
const arbitrum: HypTokenRouterConfig = {
5942
...routerConfig.arbitrum,
6043
decimals: 6,
61-
interchainSecurityModule: getIsm('arbitrum'),
6244
owner: owners.arbitrum,
6345
type: TokenType.collateral,
6446
token: tokens.arbitrum.USDC,
@@ -68,7 +50,6 @@ export const getRadixUSDCWarpConfig = async (
6850
const base: HypTokenRouterConfig = {
6951
...routerConfig.base,
7052
decimals: 6,
71-
interchainSecurityModule: getIsm('base'),
7253
owner: owners.base,
7354
type: TokenType.collateral,
7455
token: tokens.base.USDC,
@@ -88,7 +69,6 @@ export const getRadixUSDCWarpConfig = async (
8869
const solanamainnet: HypTokenRouterConfig = {
8970
...routerConfig.solanamainnet,
9071
decimals: 6,
91-
interchainSecurityModule: getIsm('solanamainnet'),
9272
owner: owners.solanamainnet,
9373
type: TokenType.collateral,
9474
token: tokens.solanamainnet.USDC,

0 commit comments

Comments
 (0)