暂时屏蔽一些未发布合约
This commit is contained in:
parent
8b559c7948
commit
9b79d1d6a5
@ -5,24 +5,24 @@ const Gold = artifacts.require('tokens/erc20/BEGold')
|
||||
const Chip = artifacts.require('tokens/erc1155/BEChip')
|
||||
const Shard = artifacts.require('tokens/erc1155/BEShard')
|
||||
const MarketPlace = artifacts.require('market/MarketPlace')
|
||||
const Box = artifacts.require('market/BEBoxMall')
|
||||
// const Box = artifacts.require('market/BEBoxMall')
|
||||
const Factory = artifacts.require('logic/MinterFactory')
|
||||
const EvolveProxy = artifacts.require('logic/EvolveProxy')
|
||||
const TimelockController = artifacts.require('core/BETimelockController')
|
||||
// const EvolveProxy = artifacts.require('logic/EvolveProxy')
|
||||
// const TimelockController = artifacts.require('core/BETimelockController')
|
||||
|
||||
|
||||
module.exports = async function main(callback) {
|
||||
try {
|
||||
const accounts = await web3.eth.getAccounts();
|
||||
const timelockInstance = await TimelockController.deployed();
|
||||
// const timelockInstance = await TimelockController.deployed();
|
||||
const marketInstance = await MarketPlace.deployed();
|
||||
const heroInstance = await Hero.deployed();
|
||||
const equipInstance = await Equip.deployed();
|
||||
const chipInstance = await Chip.deployed();
|
||||
const shardInstance = await Shard.deployed();
|
||||
const factoryInstance = await Factory.deployed()
|
||||
const boxInstance = await Box.deployed()
|
||||
const proxyInstance = await EvolveProxy.deployed()
|
||||
// const boxInstance = await Box.deployed()
|
||||
// const proxyInstance = await EvolveProxy.deployed()
|
||||
const coinInstance = await Coin.deployed();
|
||||
const goldInstance = await Gold.deployed();
|
||||
let jsons = []
|
||||
@ -33,9 +33,9 @@ module.exports = async function main(callback) {
|
||||
jsons.push({name: 'chip', json: 'assets/contracts/BEChip.json', address: chipInstance.address})
|
||||
jsons.push({name: 'factory', json: 'assets/contracts/MinterFactory.json', address: factoryInstance.address})
|
||||
jsons.push({name: 'market', json: 'assets/contracts/MarketPlace.json', address: marketInstance.address})
|
||||
jsons.push({name: 'mall', json: 'assets/contracts/BEBoxMall.json', address: boxInstance.address})
|
||||
jsons.push({name: 'proxy', json: 'assets/contracts/EvolveProxy.json', address: proxyInstance.address})
|
||||
jsons.push({name: 'timelock', json: 'assets/contracts/BETimelockController.json', address: timelockInstance.address})
|
||||
// jsons.push({name: 'mall', json: 'assets/contracts/BEBoxMall.json', address: boxInstance.address})
|
||||
// jsons.push({name: 'proxy', json: 'assets/contracts/EvolveProxy.json', address: proxyInstance.address})
|
||||
// jsons.push({name: 'timelock', json: 'assets/contracts/BETimelockController.json', address: timelockInstance.address})
|
||||
jsons.push({name: 'shard', json: 'assets/contracts/BEShard.json', address: shardInstance.address})
|
||||
console.log(JSON.stringify(jsons));
|
||||
console.log(`export const userAddress = '${accounts[0]}';`)
|
||||
|
Loading…
x
Reference in New Issue
Block a user