From 0aeb3f475ad91ecdd1575983cf2a70660519be60 Mon Sep 17 00:00:00 2001 From: Aleksandr Kuperman Date: Tue, 15 Oct 2024 15:41:58 +0100 Subject: [PATCH] chore: deployment on Mode --- docs/configuration.json | 11 +++++++++++ hardhat.config.js | 4 ++-- .../bridges/optimistic/globals_mode_mainnet.json | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/docs/configuration.json b/docs/configuration.json index dca9c5a..c56f0d0 100644 --- a/docs/configuration.json +++ b/docs/configuration.json @@ -225,5 +225,16 @@ "address": "0xadBBC3FE82836366Bb178Fd210d4dd915e9B3415" } ] + }, + { + "name": "mode", + "chainId": "34443", + "contracts": [ + { + "name": "OptimismMessenger", + "artifact": "abis/0.8.28/OptimismMessenger.json", + "address": "0x9338b5153AE39BB89f50468E608eD9d764B755fD" + } + ] } ] \ No newline at end of file diff --git a/hardhat.config.js b/hardhat.config.js index fc397cb..8523895 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -216,8 +216,8 @@ module.exports = { network: "mode", chainId: 34443, urls: { - apiURL: "https://explorer.mode.network/api", - browserURL: "https://explorer.mode.network" + apiURL: "https://api.routescan.io/v2/network/mainnet/evm/34443/etherscan", + browserURL: "https://modescan.io" }, }, { diff --git a/scripts/deployment/bridges/optimistic/globals_mode_mainnet.json b/scripts/deployment/bridges/optimistic/globals_mode_mainnet.json index a3a0332..d160020 100644 --- a/scripts/deployment/bridges/optimistic/globals_mode_mainnet.json +++ b/scripts/deployment/bridges/optimistic/globals_mode_mainnet.json @@ -1 +1 @@ -{"contractVerification":true,"useLedger":true,"derivationPath":"m/44'/60'/2'/0/0","providerName":"mode","gasPriceInGwei":"1","networkURL":"https://mainnet.mode.network","L1CrossDomainMessengerProxyAddress":"0x95bDCA6c8EdEB69C98Bd5bd17660BaCef1298A6f","timelockAddress":"0x3C1fF68f5aa342D296d4DEe4Bb1cACCA912D95fE","L2CrossDomainMessengerAddress":"0x4200000000000000000000000000000000000007","optimismMessengerAddress":""} \ No newline at end of file +{"contractVerification":true,"useLedger":true,"derivationPath":"m/44'/60'/2'/0/0","providerName":"mode","gasPriceInGwei":"1","networkURL":"https://mainnet.mode.network","L1CrossDomainMessengerProxyAddress":"0x95bDCA6c8EdEB69C98Bd5bd17660BaCef1298A6f","timelockAddress":"0x3C1fF68f5aa342D296d4DEe4Bb1cACCA912D95fE","L2CrossDomainMessengerAddress":"0x4200000000000000000000000000000000000007","optimismMessengerAddress":"0x9338b5153AE39BB89f50468E608eD9d764B755fD"} \ No newline at end of file