From 6ddbd8017efac5210603cf039014c1cecd31e894 Mon Sep 17 00:00:00 2001 From: CounterFire2023 <136581895+CounterFire2023@users.noreply.github.com> Date: Mon, 25 Dec 2023 11:29:32 +0800 Subject: [PATCH] add combo testnet --- config/config_combo_testnet.js | 33 +++++++++++++++++++++++++ out/combo_testnet_dev.json | 44 ++++++++++++++++++++++++++++++++++ truffle-config.js | 18 ++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 config/config_combo_testnet.js create mode 100644 out/combo_testnet_dev.json diff --git a/config/config_combo_testnet.js b/config/config_combo_testnet.js new file mode 100644 index 0000000..3058b9e --- /dev/null +++ b/config/config_combo_testnet.js @@ -0,0 +1,33 @@ +const market = { + feeToAddress: "0x50A8e60041A206AcaA5F844a1104896224be6F39", + mallFeeAddress: "0x50A8e60041A206AcaA5F844a1104896224be6F39", + paymentTokens: [ + "0x514609B71340E149Cb81A80A953D07A7Fe41bd4F", // USDT + ], +}; + +const admins = { + admin: "0x50A8e60041A206AcaA5F844a1104896224be6F39", + proposers: [ + "0x50A8e60041A206AcaA5F844a1104896224be6F39", + "0x746338765a8FbDD1c5aB61bfb92CD6D960C3C662", + ], + confirmers: ["0x50A8e60041A206AcaA5F844a1104896224be6F39"], + executors: [ + "0x50A8e60041A206AcaA5F844a1104896224be6F39", + "0x746338765a8FbDD1c5aB61bfb92CD6D960C3C662", + "0x22d491Bde2303f2f43325b2108D26f1eAbA1e32b", + ], +}; + +const token = { + baseTokenURI: "https://market.cebg.games/api/nft/info/", +}; + +var config = { + market, + admins, + token, +}; + +module.exports = config; diff --git a/out/combo_testnet_dev.json b/out/combo_testnet_dev.json new file mode 100644 index 0000000..ed62dc6 --- /dev/null +++ b/out/combo_testnet_dev.json @@ -0,0 +1,44 @@ +[ + { + "name": "BEBadge", + "type": "erc721", + "json": "assets/contracts/BEBadge.json", + "address": "0xB469331cEC98E52b7Eab07dFB586253bE232BBF7" + }, + { + "name": "BEMultiSigWallet", + "type": "logic", + "json": "assets/contracts/BEMultiSigWallet.json", + "address": "0xaa34B79A0Ab433eaC900fB3CB9f191F5Cd27501D" + }, + { + "name": "NftDistributor", + "type": "logic", + "json": "assets/contracts/NftDistributor.json", + "address": "0xFd42bfb03212dA7e1A4608a44d7658641D99CF34" + }, + { + "name": "CEC", + "type": "erc20", + "json": "assets/contracts/FT.json", + "address": "0x41E5A5705c456c8bE5aa9E2c0e2A68fD460a4AbB" + }, + { + "name": "CEG", + "type": "erc20", + "json": "assets/contracts/FT.json", + "address": "0x437a9970e711f7611B35300887d8C6316AE0E392" + }, + { + "name": "BEUSDC", + "type": "erc20", + "json": "assets/contracts/FT.json", + "address": "0x877d90e87Fd3810CE5469c1fFC3228107ca80C74" + }, + { + "name": "BEUSDT", + "type": "erc20", + "json": "assets/contracts/FT.json", + "address": "0x049b5Fe2Fa0229EcA6b5c8b41Ba8cA0bb4f57E45" + } +] \ No newline at end of file diff --git a/truffle-config.js b/truffle-config.js index 3a5fb96..fd16bbb 100644 --- a/truffle-config.js +++ b/truffle-config.js @@ -199,6 +199,24 @@ module.exports = { explorerUrl: "https://goerli.arbiscan.io/address", }, }, + combo_testnet: { + provider: () => + new HDWalletProvider({ + privateKeys: [kccTestnetKey], + // providerOrUrl: `https://arbitrum-goerli.public.blastapi.io`, + providerOrUrl: "https://test-rpc.combonetwork.io", + pollingInterval: 8000, + }), + network_id: 91715, + confirmations: 6, + timeoutBlocks: 5000, + networkCheckTimeout: 10000000, + deploymentPollingInterval: 8000, + skipDryRun: true, + production: true, + disableConfirmationListener: true, + from: "0x50A8e60041A206AcaA5F844a1104896224be6F39" + }, // arbitrum_one: { // provider: () => // new HDWalletProvider({