topic-democracy/config/contracts.js

102 lines
2.0 KiB
JavaScript
Raw Normal View History

2018-07-03 02:31:39 -03:00
module.exports = {
// default applies to all environments
default: {
// Blockchain node to deploy the contracts
deployment: {
host: "localhost", // Host of the blockchain node
port: 8545, // Port of the blockchain node
type: "rpc" // Type of connection (ws or rpc),
},
// order of connections the dapp should connect to
dappConnection: [
"$WEB3", // uses pre existing web3 object if available (e.g in Mist)
"ws://localhost:8546",
"http://localhost:8545"
],
gas: "auto",
contracts: {
2018-07-05 13:56:25 -03:00
SafeMath: {
deploy: false
},
2018-07-03 02:31:39 -03:00
TestToken: {
deploy: false
},
ERC20Receiver: {
deploy: false
},
Factory: {
deploy: false
},
Instance: {
deploy: false
},
2018-07-05 13:56:25 -03:00
InstanceStorage: {
deploy: false
},
2018-07-03 02:31:39 -03:00
UpdatableInstance: {
deploy: false
2018-07-03 02:33:29 -03:00
},
2018-06-30 02:25:07 -03:00
MiniMeToken: {
deploy: false
},
MiniMeTokenFactory: {
2018-07-05 13:56:25 -03:00
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
}
2018-07-03 02:31:39 -03:00
}
},
development: {
contracts: {
2018-07-05 13:56:25 -03:00
MiniMeTokenFactory : {
2018-07-03 02:31:39 -03:00
deploy: true
2018-07-05 13:56:25 -03:00
},
DelegationProxyFactory: {
deploy: true
},
SNT: {
deploy: true,
instanceOf: "MiniMeToken",
args: [
"$MiniMeTokenFactory",
0,
0,
"TestMiniMeToken",
18,
"TST",
true
]
2018-07-03 02:31:39 -03:00
}
2018-07-05 13:56:25 -03:00
},
Democracy: {
deploy: true,
args: [
"$SNT",
"$DelegationProxyFactory"
]
2018-07-03 02:31:39 -03:00
}
}
};