diff --git a/config/contracts.js b/config/contracts.js index 63eb6fd..d8f6ef9 100644 --- a/config/contracts.js +++ b/config/contracts.js @@ -15,6 +15,9 @@ module.exports = { ], gas: "auto", contracts: { + SafeMath: { + deploy: false + }, TestToken: { deploy: false }, @@ -27,6 +30,9 @@ module.exports = { Instance: { deploy: false }, + InstanceStorage: { + deploy: false + }, UpdatableInstance: { deploy: false }, @@ -34,15 +40,62 @@ module.exports = { deploy: false }, 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: { contracts: { - TestToken: { + MiniMeTokenFactory : { deploy: true + }, + DelegationProxyFactory: { + deploy: true + }, + SNT: { + deploy: true, + instanceOf: "MiniMeToken", + args: [ + "$MiniMeTokenFactory", + 0, + 0, + "TestMiniMeToken", + 18, + "TST", + true + ] } + }, + Democracy: { + deploy: true, + args: [ + "$SNT", + "$DelegationProxyFactory" + ] } } }; diff --git a/config/contracts.json b/config/contracts.json deleted file mode 100644 index be22fb5..0000000 --- a/config/contracts.json +++ /dev/null @@ -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" - ] - } - } - } -}