refactor contrats with aragonos
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
var Registry = artifacts.require('./upgradeable/Registry.sol');
|
||||
|
||||
module.exports = function(deployer) {
|
||||
deployer.deploy(Registry);
|
||||
};
|
||||
@@ -1,15 +0,0 @@
|
||||
var Registry = artifacts.require('./Registry.sol');
|
||||
var Token = artifacts.require('./Token.sol');
|
||||
|
||||
module.exports = function(deployer) {
|
||||
deployer.deploy(Token).then(function(token) {
|
||||
console.log('Registry address: ', Registry.address);
|
||||
console.log('Token address: ', Token.address);
|
||||
Registry.deployed().then(function(registry) {
|
||||
registry.addVersion('Token', Token.address);
|
||||
registry.createProxy('Token', 1);
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
var Registry = artifacts.require('./Registry.sol');
|
||||
var Contributors = artifacts.require('./Contributors.sol');
|
||||
|
||||
module.exports = function(deployer) {
|
||||
deployer.deploy(Contributors).then(function(contributors) {
|
||||
console.log('Registry address: ', Registry.address);
|
||||
console.log('Contributors address: ', Contributors.address);
|
||||
Registry.deployed().then(function(registry) {
|
||||
registry.addVersion('Contributors', Contributors.address);
|
||||
registry.createProxy('Contributors', 1);
|
||||
});
|
||||
});
|
||||
};
|
||||
@@ -1,13 +0,0 @@
|
||||
var Registry = artifacts.require('./Registry.sol');
|
||||
var Operator = artifacts.require('./Operator.sol');
|
||||
|
||||
module.exports = function(deployer) {
|
||||
deployer.deploy(Operator).then(function(operator) {
|
||||
console.log('Registry address: ', Registry.address);
|
||||
console.log('Operator address: ', Operator.address);
|
||||
Registry.deployed().then(function(registry) {
|
||||
registry.addVersion('Operator', Operator.address);
|
||||
registry.createProxy('Operator', 1);
|
||||
});
|
||||
});
|
||||
};
|
||||
@@ -1,13 +0,0 @@
|
||||
var Registry = artifacts.require('./Registry.sol');
|
||||
var Contribution = artifacts.require('./Contribution.sol');
|
||||
|
||||
module.exports = function(deployer) {
|
||||
deployer.deploy(Contribution).then(function(contribution) {
|
||||
console.log('Registry address: ', Registry.address);
|
||||
console.log('Contribution address: ', Contribution.address);
|
||||
Registry.deployed().then(function(registry) {
|
||||
registry.addVersion('Contribution', Contribution.address);
|
||||
registry.createProxy('Contribution', 1);
|
||||
});
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user