From 0ec48b9122395df1f469270f238a67b20bb24dfd Mon Sep 17 00:00:00 2001 From: owen05 Date: Thu, 3 Jun 2021 21:35:55 +0800 Subject: [PATCH] deploy routeProxy --- config/arb-config.js | 2 +- config/bsc-config.js | 1 + config/eth-config.js | 1 + config/heco-config.js | 1 + config/matic-config.js | 1 + contracts/SmartRoute/proxies/DODORouteProxy.sol | 2 +- deploy-detail-periphery.txt | 15 +++++++++++++++ truffle-config.js | 8 ++++---- 8 files changed, 25 insertions(+), 6 deletions(-) diff --git a/config/arb-config.js b/config/arb-config.js index bc6f3a1..554cb5a 100644 --- a/config/arb-config.js +++ b/config/arb-config.js @@ -45,7 +45,7 @@ module.exports = { DODOV2Proxy: "0xeCEaDe494FD5F913Fd937C5CAc4577236395Dc32", DSPProxy: "0x3a343F2e4e142412c5dD130359edb765a6054965", CpProxy: "0x2cD18557E14aF72DAA8090BcAA95b231ffC9ea26", - RouteProxy: "", + RouteProxy: "0x3E64F18168651d140AaE57e0cF325874d066bA9E", //Account multiSigAddress: "0x1e0D4043C0CD3ed15F3c2AfE60B0F213c9b5E30d", diff --git a/config/bsc-config.js b/config/bsc-config.js index d68bb0c..7221337 100644 --- a/config/bsc-config.js +++ b/config/bsc-config.js @@ -48,6 +48,7 @@ module.exports = { DODOV2Proxy: "", DSPProxy: "0x2442A8B5cdf1E659F3F949A7E454Caa554D4E65a", CpProxy: "0xA867241cDC8d3b0C07C85cC06F25a0cD3b5474d8", + RouteProxy: "0x6B3D817814eABc984d51896b1015C0b89E9737Ca", //vDODO DODOCirculationHelper: "", diff --git a/config/eth-config.js b/config/eth-config.js index 77b7da4..ebf3101 100644 --- a/config/eth-config.js +++ b/config/eth-config.js @@ -47,6 +47,7 @@ module.exports = { DODOV2Proxy: "", DSPProxy: "0x4599ed18F34cFE06820E3684bF0aACB8D75c644d", CpProxy: "0x048B8926bb0eE9c52e05D61fDffbCCffbeE06Fc2", + RouteProxy: "0xa2398842F37465f89540430bDC00219fA9E4D28a", //vDODO DODOCirculationHelper: "0x357c5e9cfa8b834edcef7c7aabd8f9db09119d11", diff --git a/config/heco-config.js b/config/heco-config.js index d079183..8deb374 100644 --- a/config/heco-config.js +++ b/config/heco-config.js @@ -47,6 +47,7 @@ module.exports = { DODOV2Proxy: "0xAc7cC7d2374492De2D1ce21e2FEcA26EB0d113e7", DSPProxy: "0x9951CdEc21F42ab69D02daAAFEF4C3fc810B36FF", CpProxy: "0x8930101c6cFbe0f3cb31E7526a16E72255388E97", + RouteProxy: "0xEc0fA5746E37dE75bDA9C1F874F2B75C12e505F6", //vDODO DODOCirculationHelper: "", diff --git a/config/matic-config.js b/config/matic-config.js index 7349b42..804c0fd 100644 --- a/config/matic-config.js +++ b/config/matic-config.js @@ -45,6 +45,7 @@ module.exports = { DODOV2Proxy: "0x45894C062E6f4E58B257e0826675355305dfef0d", DSPProxy: "0xfDDCA6ffCE24dF5bE3e8AaD32081822f86178048", CpProxy: "0x5480B32c03647ff5E5A653F0465E798DBe558B57", + RouteProxy: "0x53eE28b9F0A6416857C1e7503032E27e80F52DA0", //Account multiSigAddress: "0x3CD6D7F5fF977bf8069548eA1F9441b061162b42", diff --git a/contracts/SmartRoute/proxies/DODORouteProxy.sol b/contracts/SmartRoute/proxies/DODORouteProxy.sol index dc01ae7..bdfe9a6 100644 --- a/contracts/SmartRoute/proxies/DODORouteProxy.sol +++ b/contracts/SmartRoute/proxies/DODORouteProxy.sol @@ -1,6 +1,6 @@ /* - Copyright 2020 DODO ZOO. + Copyright 2021 DODO ZOO. SPDX-License-Identifier: Apache-2.0 */ diff --git a/deploy-detail-periphery.txt b/deploy-detail-periphery.txt index 4479db6..680b2e5 100644 --- a/deploy-detail-periphery.txt +++ b/deploy-detail-periphery.txt @@ -486,3 +486,18 @@ Deploy time: 2021/6/2 上午11:20:42 Deploy type: FeeRateImpl FeeRateImplAddress: 0x4F57F6929E58AE564F6AB090fE0AEEcb39B0f270 Init feeRateImpl Tx: 0xbafcadf128e2d5fbab1927e32bc87d0db8d905b7bee5c8e3edc40f137942e6a9 +==================================================== +network type: bsclive +Deploy time: 2021/6/3 下午2:24:18 +Deploy type: DODORouteProxy +DODORouteProxy Address: 0x6B3D817814eABc984d51896b1015C0b89E9737Ca +==================================================== +network type: live +Deploy time: 2021/6/3 下午2:29:00 +Deploy type: DODORouteProxy +DODORouteProxy Address: 0xa2398842F37465f89540430bDC00219fA9E4D28a +==================================================== +network type: arb +Deploy time: 2021/6/3 下午4:23:04 +Deploy type: DODORouteProxy +DODORouteProxy Address: 0x3E64F18168651d140AaE57e0cF325874d066bA9E diff --git a/truffle-config.js b/truffle-config.js index 9716c56..0a1d4ed 100644 --- a/truffle-config.js +++ b/truffle-config.js @@ -93,7 +93,7 @@ module.exports = { return new HDWalletProvider(privKey, "https://mainnet.infura.io/v3/" + infuraId); }, gas: 6000000, - gasPrice: 80000000000, + gasPrice: 25000000000, network_id: 1, skipDryRun: true }, @@ -165,10 +165,10 @@ module.exports = { matic: { provider: () => { - return new HDWalletProvider(privKey, 'https://matic-mainnet-archive-rpc.bwarelabs.com') + return new HDWalletProvider(privKey, 'https://rpc-mainnet.matic.network') }, - network_id: 137, - gasPrice: 1000000000, + network_id: '137', + gasPrice: 2000000000, confirmations: 2, timeoutBlocks: 200, skipDryRun: true