更新发布脚本
This commit is contained in:
parent
c27f6db714
commit
6b0be435e5
@ -23,10 +23,16 @@ module.exports = async function (deployer, network, accounts) {
|
|||||||
const marketInstance = await MarketPlace.deployed();
|
const marketInstance = await MarketPlace.deployed();
|
||||||
await marketInstance.transferOwnership(timelockInstance.address);
|
await marketInstance.transferOwnership(timelockInstance.address);
|
||||||
console.log('MarketPlace onwer has change to: ', timelockInstance.address);
|
console.log('MarketPlace onwer has change to: ', timelockInstance.address);
|
||||||
console.log('============= begin generate config ==============')
|
|
||||||
const heroInstance = await Hero.deployed();
|
const heroInstance = await Hero.deployed();
|
||||||
|
await heroInstance.transferOwnership(timelockInstance.address);
|
||||||
|
console.log('Hero onwer has change to: ', timelockInstance.address);
|
||||||
const equipInstance = await Equip.deployed();
|
const equipInstance = await Equip.deployed();
|
||||||
|
await equipInstance.transferOwnership(timelockInstance.address);
|
||||||
|
console.log('Equip onwer has change to: ', timelockInstance.address);
|
||||||
const chipInstance = await Chip.deployed();
|
const chipInstance = await Chip.deployed();
|
||||||
|
await chipInstance.transferOwnership(timelockInstance.address);
|
||||||
|
console.log('Chip onwer has change to: ', timelockInstance.address);
|
||||||
|
console.log('============= begin generate config ==============')
|
||||||
const coinInstance = await Coin.deployed();
|
const coinInstance = await Coin.deployed();
|
||||||
const factoryInstance = await Factory.deployed();
|
const factoryInstance = await Factory.deployed();
|
||||||
const proxyInstance = await EvolveProxy.deployed();
|
const proxyInstance = await EvolveProxy.deployed();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user