Deploy LL + CircleBridgeAdapter to mainnet (#2166)
### Description Deploy LL + CircleBridgeAdapter to mainnet with the relevant changes and artifactspull/2190/head
parent
95d8fdd330
commit
85a1bf0fba
@ -0,0 +1,49 @@ |
|||||||
|
import { |
||||||
|
AgentConnectionType, |
||||||
|
BridgeAdapterConfig, |
||||||
|
BridgeAdapterType, |
||||||
|
ChainMap, |
||||||
|
Chains, |
||||||
|
chainMetadata, |
||||||
|
} from '@hyperlane-xyz/sdk'; |
||||||
|
|
||||||
|
import { LiquidityLayerRelayerConfig } from '../../../src/config/middleware'; |
||||||
|
|
||||||
|
import { environment } from './chains'; |
||||||
|
|
||||||
|
const circleDomainMapping = [ |
||||||
|
{ hyperlaneDomain: chainMetadata[Chains.ethereum].chainId, circleDomain: 0 }, |
||||||
|
{ hyperlaneDomain: chainMetadata[Chains.avalanche].chainId, circleDomain: 1 }, |
||||||
|
]; |
||||||
|
|
||||||
|
export const bridgeAdapterConfigs: ChainMap<BridgeAdapterConfig> = { |
||||||
|
[Chains.ethereum]: { |
||||||
|
circle: { |
||||||
|
type: BridgeAdapterType.Circle, |
||||||
|
tokenMessengerAddress: '0xBd3fa81B58Ba92a82136038B25aDec7066af3155', |
||||||
|
messageTransmitterAddress: '0x0a992d191DEeC32aFe36203Ad87D7d289a738F81', |
||||||
|
usdcAddress: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', |
||||||
|
circleDomainMapping, |
||||||
|
}, |
||||||
|
}, |
||||||
|
[Chains.avalanche]: { |
||||||
|
circle: { |
||||||
|
type: BridgeAdapterType.Circle, |
||||||
|
tokenMessengerAddress: '0x6B25532e1060CE10cc3B0A99e5683b91BFDe6982', |
||||||
|
messageTransmitterAddress: '0x8186359af5f57fbb40c6b14a588d2a59c0c29880', |
||||||
|
usdcAddress: '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E', |
||||||
|
circleDomainMapping, |
||||||
|
}, |
||||||
|
}, |
||||||
|
}; |
||||||
|
|
||||||
|
export const relayerConfig: LiquidityLayerRelayerConfig = { |
||||||
|
docker: { |
||||||
|
repo: 'gcr.io/abacus-labs-dev/hyperlane-monorepo', |
||||||
|
tag: '59410cd-20230420-091923', |
||||||
|
}, |
||||||
|
namespace: environment, |
||||||
|
prometheusPushGateway: |
||||||
|
'http://prometheus-pushgateway.monitoring.svc.cluster.local:9091', |
||||||
|
connectionType: AgentConnectionType.Http, |
||||||
|
}; |
@ -0,0 +1,12 @@ |
|||||||
|
{ |
||||||
|
"ethereum": { |
||||||
|
"proxyAdmin": "0x75EE15Ee1B4A75Fa3e2fDF5DF3253c25599cc659", |
||||||
|
"liquidityLayerRouter": "0x9954A0d5C9ac7e4a3687f9B08c0FF272f9d0dc71", |
||||||
|
"circleBridgeAdapter": "0xf7Cb9e767247144D89bcf36614D56C33FD4Db562" |
||||||
|
}, |
||||||
|
"avalanche": { |
||||||
|
"proxyAdmin": "0xd7CF8c05fd81b8cA7CfF8E6C49B08a9D63265c9B", |
||||||
|
"liquidityLayerRouter": "0xEff8C988b9F9f606059c436F5C1Cc431571C8B03", |
||||||
|
"circleBridgeAdapter": "0x0BFf79f395A73817df1d3c80D78bb3C57Fbbc2Ed" |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,42 @@ |
|||||||
|
{ |
||||||
|
"ethereum": [ |
||||||
|
{ |
||||||
|
"name": "LiquidityLayerRouter", |
||||||
|
"address": "0x9954A0d5C9ac7e4a3687f9B08c0FF272f9d0dc71", |
||||||
|
"constructorArguments": "", |
||||||
|
"isProxy": false |
||||||
|
}, |
||||||
|
{ |
||||||
|
"name": "TransparentUpgradeableProxy", |
||||||
|
"address": "0x75FE1c9cf9CD1f49bD655F4a173FE5CA7C22D8E1", |
||||||
|
"constructorArguments": "0000000000000000000000009954a0d5c9ac7e4a3687f9b08c0ff272f9d0dc7100000000000000000000000075ee15ee1b4a75fa3e2fdf5df3253c25599cc65900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000084f8c8765e00000000000000000000000035231d4c2d8b8adcb5617a638a0c4548684c7c7000000000000000000000000056f52c0a1ddcd557285f7cbc782d3d83096ce1cc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a7eccdb9be08178f896c26b7bbd8c3d4e844d9ba00000000000000000000000000000000000000000000000000000000", |
||||||
|
"isProxy": true |
||||||
|
}, |
||||||
|
{ |
||||||
|
"name": "CircleBridgeAdapter", |
||||||
|
"address": "0xf7Cb9e767247144D89bcf36614D56C33FD4Db562", |
||||||
|
"constructorArguments": "", |
||||||
|
"isProxy": false |
||||||
|
} |
||||||
|
], |
||||||
|
"avalanche": [ |
||||||
|
{ |
||||||
|
"name": "LiquidityLayerRouter", |
||||||
|
"address": "0xDc68A5829F7Edfe2954EEe1bff23C3C994197596", |
||||||
|
"constructorArguments": "", |
||||||
|
"isProxy": false |
||||||
|
}, |
||||||
|
{ |
||||||
|
"name": "TransparentUpgradeableProxy", |
||||||
|
"address": "0xEff8C988b9F9f606059c436F5C1Cc431571C8B03", |
||||||
|
"constructorArguments": "000000000000000000000000dc68a5829f7edfe2954eee1bff23c3c994197596000000000000000000000000d7cf8c05fd81b8ca7cff8e6c49b08a9d63265c9b00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000084f8c8765e00000000000000000000000035231d4c2d8b8adcb5617a638a0c4548684c7c7000000000000000000000000056f52c0a1ddcd557285f7cbc782d3d83096ce1cc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a7eccdb9be08178f896c26b7bbd8c3d4e844d9ba00000000000000000000000000000000000000000000000000000000", |
||||||
|
"isProxy": true |
||||||
|
}, |
||||||
|
{ |
||||||
|
"name": "CircleBridgeAdapter", |
||||||
|
"address": "0x0BFf79f395A73817df1d3c80D78bb3C57Fbbc2Ed", |
||||||
|
"constructorArguments": "", |
||||||
|
"isProxy": false |
||||||
|
} |
||||||
|
] |
||||||
|
} |
Loading…
Reference in new issue