update contracts config

This commit is contained in:
Ricardo Guilherme Schmidt 2018-07-05 13:56:25 -03:00
parent 618a7fb221
commit ef392e3bc2
No known key found for this signature in database
GPG Key ID: 3F95A3AD0B607030
2 changed files with 56 additions and 82 deletions

View File

@ -15,6 +15,9 @@ module.exports = {
], ],
gas: "auto", gas: "auto",
contracts: { contracts: {
SafeMath: {
deploy: false
},
TestToken: { TestToken: {
deploy: false deploy: false
}, },
@ -27,6 +30,9 @@ module.exports = {
Instance: { Instance: {
deploy: false deploy: false
}, },
InstanceStorage: {
deploy: false
},
UpdatableInstance: { UpdatableInstance: {
deploy: false deploy: false
}, },
@ -34,15 +40,62 @@ module.exports = {
deploy: false deploy: false
}, },
MiniMeTokenFactory: { MiniMeTokenFactory: {
deploy: true deploy: false
},
DelegationProxy: {
deploy: false
},
DelegationProxyFactory: {
deploy: false
},
DelegationProxyView: {
deploy: false
},
DelegationProxyKernel: {
deploy: false
},
TrustNetwork: {
deploy: false
},
ProposalCuration: {
deploy: false
},
ProposalManager: {
deploy: false
},
Democracy: {
deploy: false
} }
} }
}, },
development: { development: {
contracts: { contracts: {
TestToken: { MiniMeTokenFactory : {
deploy: true deploy: true
},
DelegationProxyFactory: {
deploy: true
},
SNT: {
deploy: true,
instanceOf: "MiniMeToken",
args: [
"$MiniMeTokenFactory",
0,
0,
"TestMiniMeToken",
18,
"TST",
true
]
} }
},
Democracy: {
deploy: true,
args: [
"$SNT",
"$DelegationProxyFactory"
]
} }
} }
}; };

View File

@ -1,79 +0,0 @@
{
"default": {
"versions": {
"web3.js": "1.0.0-beta",
"solc": "0.4.23"
},
"deployment": {
"host": "localhost",
"port": 8545,
"type": "rpc"
},
"dappConnection": [
"$WEB3",
"http://localhost:8545"
],
"gas": "auto",
"contracts": {
"ERC20Receiver": {
"deploy": false
},
"MiniMeToken": {
"deploy": false
},
"MiniMeTokenFactory": {
"deploy": true
},
"Factory": {
"deploy": false
},
"Instance": {
"deploy": false
},
"UpdatableInstance": {
"deploy": false
},
"SNT": {
"instanceOf": "MiniMeToken",
"deploy": true,
"args": [
"$MiniMeTokenFactory",
0,
0,
"TestMiniMeToken",
18,
"TST",
true
]
},
"DelegationProxyFactory": {
"deploy": true
},
"DelegationProxy": {
"deploy": false
},
"DelegationProxyView": {
"deploy": false
},
"DelegationProxyKernel": {
"deploy": false
},
"TrustNetwork": {
"deploy" : false
},
"ProposalCuration": {
"deploy": false
},
"ProposalManager": {
"deploy": false
},
"Democracy": {
"deploy": true,
"args": [
"$SNT",
"$DelegationProxyFactory"
]
}
}
}
}