|
|
@ -1,3 +1,5 @@ |
|
|
|
|
|
|
|
import { objMap } from '../../utils/objects'; |
|
|
|
|
|
|
|
|
|
|
|
import mainnet from './mainnet.json'; |
|
|
|
import mainnet from './mainnet.json'; |
|
|
|
import test from './test.json'; |
|
|
|
import test from './test.json'; |
|
|
|
import testnet2 from './testnet2.json'; |
|
|
|
import testnet2 from './testnet2.json'; |
|
|
@ -7,3 +9,18 @@ export const environments = { |
|
|
|
testnet2, |
|
|
|
testnet2, |
|
|
|
mainnet, |
|
|
|
mainnet, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Export developer-relevant addresses
|
|
|
|
|
|
|
|
export const hyperlaneCoreAddresses = objMap( |
|
|
|
|
|
|
|
{ ...testnet2, ...mainnet }, |
|
|
|
|
|
|
|
(_chain, addresses) => ({ |
|
|
|
|
|
|
|
outbox: addresses.outbox.proxy, |
|
|
|
|
|
|
|
connectionManager: addresses.connectionManager, |
|
|
|
|
|
|
|
interchainGasPaymaster: addresses.interchainGasPaymaster.proxy, |
|
|
|
|
|
|
|
inboxes: objMap( |
|
|
|
|
|
|
|
// @ts-ignore
|
|
|
|
|
|
|
|
addresses.inboxes, |
|
|
|
|
|
|
|
(_remoteChain, inboxAddresses) => inboxAddresses.inbox.proxy, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
); |
|
|
|