-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path2_deployer.js
20 lines (19 loc) · 868 Bytes
/
2_deployer.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
var Deployer = artifacts.require("./Deployer.sol");
var Challenge1 = artifacts.require("./UpdateableOwnable.sol");
var Challenge2 = artifacts.require("./UpdateableOwnable.sol");
var Challenge3 = artifacts.require("./UpdateableOwnable.sol");
var Challenge4 = artifacts.require("./UpdateableOwnable.sol");
var Challenge5 = artifacts.require("./UpdateableOwnable.sol");
module.exports = function(deployer) {
deployer.deploy(Challenge1).then(() => {
return deployer.deploy(Challenge2).then(() => {
return deployer.deploy(Challenge3).then(() => {
return deployer.deploy(Challenge4).then(() => {
return deployer.deploy(Challenge5).then(() => {
return deployer.deploy(Deployer, Challenge1.address, Challenge2.address, Challenge3.address, Challenge4.address, Challenge5.address);
});
});
});
});
});
};