chore: tk pr review changes

xeno/zero-warp-deploys
xeno097 3 days ago
parent ced89b6ae1
commit 8417abf142
  1. 9
      typescript/infra/config/environments/mainnet3/warp/configGetters/getArbitrumBaseBlastBscEthereumGnosisMantleModeOptimismPolygonScrollZeroNetworkZoraMainnetETHWarpConfig.ts
  2. 12
      typescript/infra/config/environments/mainnet3/warp/configGetters/getArbitrumBaseEthereumOptimismPolygonZeroNetworkUSDCWarpConfig.ts
  3. 9
      typescript/infra/config/environments/mainnet3/warp/configGetters/getArbitrumBscEthereumMantleModePolygonScrollZeronetworkUSDTWarpConfig.ts
  4. 9
      typescript/infra/config/environments/mainnet3/warp/configGetters/getBaseZeroNetworkCBBTCWarpConfig.ts
  5. 3
      typescript/infra/src/config/warp.ts

@ -1,7 +1,8 @@
import { ethers } from 'ethers';
import {
ChainMap,
IsmConfig,
IsmType,
RouterConfig,
TokenRouterConfig,
TokenType,
@ -13,11 +14,7 @@ export const getArbitrumBaseBlastBscEthereumGnosisMantleModeOptimismPolygonScrol
async (
routerConfig: ChainMap<RouterConfig>,
): Promise<ChainMap<TokenRouterConfig>> => {
const ISM_CONFIG: IsmConfig = {
type: IsmType.FALLBACK_ROUTING,
owner: '0x3f13C1351AC66ca0f4827c607a94c93c82AD0913',
domains: {},
};
const ISM_CONFIG: IsmConfig = ethers.constants.AddressZero;
const arbitrum: TokenRouterConfig = {
...routerConfig.arbitrum,

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

@ -1,7 +1,8 @@
import { ethers } from 'ethers';
import {
ChainMap,
IsmConfig,
IsmType,
RouterConfig,
TokenRouterConfig,
TokenType,
@ -13,11 +14,7 @@ export const getArbitrumBscEthereumMantleModePolygonScrollZeroNetworkUSDTWarpCon
async (
routerConfig: ChainMap<RouterConfig>,
): Promise<ChainMap<TokenRouterConfig>> => {
const ISM_CONFIG: IsmConfig = {
type: IsmType.FALLBACK_ROUTING,
owner: '0x3f13C1351AC66ca0f4827c607a94c93c82AD0913',
domains: {},
};
const ISM_CONFIG: IsmConfig = ethers.constants.AddressZero;
const arbitrum: TokenRouterConfig = {
...routerConfig.arbitrum,

@ -1,7 +1,8 @@
import { ethers } from 'ethers';
import {
ChainMap,
IsmConfig,
IsmType,
RouterConfig,
TokenRouterConfig,
TokenType,
@ -12,11 +13,7 @@ import { tokens } from '../../../../../src/config/warp.js';
export const getBaseZeroNetworkCBBTCWarpConfig = async (
routerConfig: ChainMap<RouterConfig>,
): Promise<ChainMap<TokenRouterConfig>> => {
const ISM_CONFIG: IsmConfig = {
type: IsmType.FALLBACK_ROUTING,
owner: '0x3f13C1351AC66ca0f4827c607a94c93c82AD0913',
domains: {},
};
const ISM_CONFIG: IsmConfig = ethers.constants.AddressZero;
const base: TokenRouterConfig = {
...routerConfig.base,

@ -47,4 +47,7 @@ export const tokens: ChainMap<Record<string, Address>> = {
gnosis: {
WETH: '0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1',
},
zeronetwork: {
USDC: '0x6a6394F47DD0BAF794808F2749C09bd4Ee874E70',
},
};

Loading…
Cancel
Save