Skip to content

Commit

Permalink
Add mode deployment info
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolev-igor committed Sep 13, 2024
1 parent 1caff84 commit 28dfb65
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
12 changes: 12 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ const config: HardhatUserConfig = {
mantle: {
url: 'https://rpc.zerion.io/v1/mantle',
},
mode: {
url: 'https://rpc.zerion.io/v1/mode',
},
opera: {
url: 'https://rpc.zerion.io/v1/fantom',
},
Expand Down Expand Up @@ -124,6 +127,7 @@ const config: HardhatUserConfig = {
linea: process.env.LINEA_API_KEY ? process.env.LINEA_API_KEY.toString() : '',
mainnet: process.env.ETHEREUM_API_KEY ? process.env.ETHEREUM_API_KEY.toString() : '',
mantle: process.env.MANTLE_API_KEY ? process.env.MANTLE_API_KEY.toString() : '',
mode: 'mode',
opera: process.env.FANTOM_API_KEY ? process.env.FANTOM_API_KEY.toString() : '',
optimisticEthereum: process.env.OPTIMISM_API_KEY ? process.env.OPTIMISM_API_KEY.toString() : '',
polygon: process.env.POLYGON_API_KEY ? process.env.POLYGON_API_KEY.toString() : '',
Expand Down Expand Up @@ -197,6 +201,14 @@ const config: HardhatUserConfig = {
browserURL: "https://mantlescan.xyz"
}
},
{
network: "mode",
chainId: 34443,
urls: {
apiURL: "https://explorer.mode.network/api",
browserURL: "https://explorer.mode.network"
}
},
],
},
docgen: {
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"lint": "npm run lint:solhint && npm run lint:eslint",
"slither": "slither . --filter-paths \"node_modules\"",
"truffle-dashboard": "npx truffle dashboard",
"deploy:router": "npx hardhat run scripts/1_deploy_router.js --network truffle-dashboard",
"deploy:sc": "npx hardhat run scripts/0_deploy_simple_caller.js --network truffle-dashboard",
"deploy:univ2caller": "npx hardhat run scripts/3_deploy_uniswap_v2_caller.js --network truffle-dashboard",
"initialize:router": "npx hardhat run scripts/2_setup_router_fee.js --network truffle-dashboard",
"verify": "npx hardhat run scripts/4_verify.js --network mantle",
"deploy:router": "npx hardhat run scripts/0_deploy_router.js --network truffle-dashboard",
"deploy:sc": "npx hardhat run scripts/1_deploy_simple_caller.js --network truffle-dashboard",
"deploy:univ2caller": "npx hardhat run scripts/2_deploy_uniswap_v2_caller.js --network truffle-dashboard",
"initialize:router": "npx hardhat run scripts/3_setup_router_fee.js --network truffle-dashboard",
"verify": "npx hardhat run scripts/4_verify.js --network mode",
"docs:serve": "npx @techdocs/cli serve:mkdocs -p 3333"
},
"lint-staged": {
Expand Down
5 changes: 5 additions & 0 deletions scripts/deployment.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const deploymentAddresses = {
1101: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
5000: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
8453: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
34443: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
42161: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
42220: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
43114: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
Expand All @@ -30,6 +31,7 @@ const deploymentAddresses = {
1101: '0xC629Bf86f02ef13E8F1f5F75adE8a8165587998F',
5000: '0xe76BA87E04555e1a5afcCb0c8c5AC4d0b29e3dBE',
8453: '0xC629Bf86f02ef13E8F1f5F75adE8a8165587998F',
34443: '0xe76BA87E04555e1a5afcCb0c8c5AC4d0b29e3dBE',
42161: '0xC629Bf86f02ef13E8F1f5F75adE8a8165587998F',
42220: '0xC629Bf86f02ef13E8F1f5F75adE8a8165587998F',
43114: '0xC629Bf86f02ef13E8F1f5F75adE8a8165587998F',
Expand All @@ -44,6 +46,7 @@ const deploymentAddresses = {
uniswapV2Caller: {
1101: '0xe76BA87E04555e1a5afcCb0c8c5AC4d0b29e3dBE',
5000: '0xE81B24bcD0a706ae3Ece36C42CF96c010EEeF37a',
34443: '0xE81B24bcD0a706ae3Ece36C42CF96c010EEeF37a',
59144: '0xe76BA87E04555e1a5afcCb0c8c5AC4d0b29e3dBE',
81457: '0xC0AC45d01a64660629506b5889722C6dA25F4084',
167000: '0xE81B24bcD0a706ae3Ece36C42CF96c010EEeF37a',
Expand All @@ -54,6 +57,7 @@ const deploymentAddresses = {
weth: {
1101: '0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9',
5000: '0xdEAddEaDdeadDEadDEADDEAddEADDEAddead1111',
34443: '0x4200000000000000000000000000000000000006',
59144: '0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f',
81457: '0x4300000000000000000000000000000000000004',
167000: '0xA51894664A773981C6C112C43ce576f315d5b1B6',
Expand All @@ -71,6 +75,7 @@ const deploymentAddresses = {
1101: '0x4a183b7ED67B9E14b3f45Abfb2Cf44ed22c29E54',
5000: '0x4a183b7ED67B9E14b3f45Abfb2Cf44ed22c29E54',
8453: '0x7d20Ab6D8aF50d87A5E8DeF46e48F4d7dC2Ea5c7',
34443: '0x4a183b7ED67B9E14b3f45Abfb2Cf44ed22c29E54',
42161: '0x4a183b7ED67B9E14b3f45Abfb2Cf44ed22c29E54',
42220: '0x7d20ab6d8af50d87a5e8def46e48f4d7dc2ea5c7',
43114: '0x7d20Ab6D8aF50d87A5E8DeF46e48F4d7dC2Ea5c7',
Expand Down

0 comments on commit 28dfb65

Please sign in to comment.