Skip to content

Instantly share code, notes, and snippets.

@andytudhope andytudhope/deployer
Created Oct 28, 2017

Embed
What would you like to do?
module.exports = function(deployer) {
deployer.deploy(MiniMeTokenFactory)
.then(() => {
return MiniMeTokenFactory.deployed()
.then(f => {
return SCB.new(f.address)
})
.then(t => {
token = t
console.log('SCT:', token.address)
return SCBController.new(token.address)
})
.then(c => {
controller = c;
console.log('Controller:', c.address)
token.changeController(c.address).then((res) => {
console.log('Changed controller!', res.tx);
});
return MultiSig.new([Andy, Ben, Jonny], 2);
})
.then(ms => {
console.log('Multisig:', ms.address);
})
})
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.