deploy moonriver ing
This commit is contained in:
@@ -2,13 +2,12 @@ const { ETH_CONFIG } = require("./config/eth-config");
|
||||
const { BSC_CONFIG } = require("./config/bsc-config");
|
||||
const { HECO_CONFIG } = require("./config/heco-config");
|
||||
const { KOVAN_CONFIG } = require("./config/kovan-config");
|
||||
const { MBTEST_CONFIG } = require("./config/mbtest-config");
|
||||
const { MBTESTNET_CONFIG } = require("./config/mbtestnet-config");
|
||||
const { MATIC_CONFIG } = require("./config/matic-config");
|
||||
const { ARB_CONFIG } = require("./config/arb-config");
|
||||
const { RINKEBY_CONFIG } = require("./config/rinkeby-config");
|
||||
const { OK_CONFIG } = require("./config/ok-config");
|
||||
const { NEON_TEST_CONFIG } = require("./config/neon-test-config");
|
||||
const { MOONRIVER_CONFIG } = require("./config/moonriver-config");
|
||||
|
||||
exports.GetConfig = function (network, accounts) {
|
||||
var CONFIG = {}
|
||||
@@ -31,6 +30,9 @@ exports.GetConfig = function (network, accounts) {
|
||||
case "ok":
|
||||
CONFIG = OK_CONFIG
|
||||
break;
|
||||
case "moonriver":
|
||||
CONFIG = MOONRIVER_CONFIG
|
||||
break;
|
||||
//testnet
|
||||
case "kovan":
|
||||
CONFIG = KOVAN_CONFIG
|
||||
@@ -47,16 +49,6 @@ exports.GetConfig = function (network, accounts) {
|
||||
CONFIG.multiSigAddress = accounts[0]
|
||||
CONFIG.defaultMaintainer = accounts[0]
|
||||
break;
|
||||
case "mbtestnet":
|
||||
CONFIG = MBTEST_CONFIG
|
||||
CONFIG.multiSigAddress = accounts[0]
|
||||
CONFIG.defaultMaintainer = accounts[0]
|
||||
break;
|
||||
case "mbtestnet_offical":
|
||||
CONFIG = MBTESTNET_CONFIG
|
||||
CONFIG.multiSigAddress = accounts[0]
|
||||
CONFIG.defaultMaintainer = accounts[0]
|
||||
break;
|
||||
}
|
||||
return CONFIG
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user