add neon-test && remove mixSwap

This commit is contained in:
owen05
2021-09-10 16:08:32 +08:00
parent e9bc72ae9b
commit 34705cb21b
5 changed files with 83 additions and 67 deletions

View File

@@ -8,6 +8,7 @@ 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");
exports.GetConfig = function (network, accounts) {
var CONFIG = {}
@@ -41,6 +42,11 @@ exports.GetConfig = function (network, accounts) {
CONFIG.multiSigAddress = accounts[0]
CONFIG.defaultMaintainer = accounts[0]
break;
case "neon_test":
CONFIG = NEON_TEST_CONFIG
CONFIG.multiSigAddress = accounts[0]
CONFIG.defaultMaintainer = accounts[0]
break;
case "mbtestnet":
CONFIG = MBTEST_CONFIG
CONFIG.multiSigAddress = accounts[0]