2017-02-09 19:38:02 -05:00
|
|
|
{
|
|
|
|
"default": {
|
2017-07-05 08:35:51 -04:00
|
|
|
"versions": {
|
2018-04-20 19:45:57 -04:00
|
|
|
"web3": "1.0.0-beta.27",
|
2018-09-14 14:35:12 -04:00
|
|
|
"solc": "0.4.24"
|
2017-07-05 08:35:51 -04:00
|
|
|
},
|
|
|
|
"deployment": {
|
|
|
|
"host": "localhost",
|
2017-07-05 20:24:28 -04:00
|
|
|
"port": 8545,
|
|
|
|
"type": "rpc"
|
2017-07-05 08:35:51 -04:00
|
|
|
},
|
|
|
|
"dappConnection": [
|
|
|
|
"$WEB3",
|
2018-02-07 19:39:11 -05:00
|
|
|
"ws://localhost:8546",
|
2017-07-06 18:48:20 -04:00
|
|
|
"http://localhost:8550",
|
|
|
|
"http://localhost:8545",
|
|
|
|
"http://localhost:8550"
|
2017-07-05 08:35:51 -04:00
|
|
|
],
|
2017-02-09 19:38:02 -05:00
|
|
|
"gas": "auto",
|
|
|
|
"contracts": {
|
2017-07-16 14:11:37 -04:00
|
|
|
"Ownable": {
|
|
|
|
"deploy": false
|
|
|
|
},
|
2017-02-09 19:38:02 -05:00
|
|
|
"SimpleStorage": {
|
2018-02-07 19:39:11 -05:00
|
|
|
"fromIndex": 0,
|
2017-02-09 19:38:02 -05:00
|
|
|
"args": [
|
|
|
|
100
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"AnotherStorage": {
|
|
|
|
"args": [
|
|
|
|
"$SimpleStorage"
|
|
|
|
]
|
2017-02-09 21:05:45 -05:00
|
|
|
},
|
|
|
|
"Token": {
|
|
|
|
"deploy": false,
|
|
|
|
"args": [1000]
|
|
|
|
},
|
2017-12-20 09:41:52 -05:00
|
|
|
"Test": {
|
|
|
|
"onDeploy": [
|
2018-01-05 15:10:47 -05:00
|
|
|
"Test.methods.changeAddress('$MyToken')"
|
2017-12-20 09:41:52 -05:00
|
|
|
]
|
|
|
|
},
|
2017-02-09 21:05:45 -05:00
|
|
|
"MyToken": {
|
|
|
|
"instanceOf": "Token"
|
|
|
|
},
|
|
|
|
"MyToken2": {
|
|
|
|
"instanceOf": "Token",
|
2017-02-09 21:41:45 -05:00
|
|
|
"args": [200]
|
2017-02-09 21:05:45 -05:00
|
|
|
},
|
|
|
|
"AlreadyDeployedToken": {
|
2017-10-07 15:20:51 -04:00
|
|
|
"address": "0xece374063fe5cc7efbaca0a498477cada94e5ad6",
|
2017-02-09 21:05:45 -05:00
|
|
|
"instanceOf": "Token"
|
2017-12-19 14:07:48 -05:00
|
|
|
},
|
|
|
|
"MyToken3": {
|
|
|
|
"instanceOf": "Tokn"
|
2018-03-04 18:46:12 -05:00
|
|
|
},
|
2018-03-04 20:07:39 -05:00
|
|
|
"ContractArgs": {
|
|
|
|
"args": {
|
|
|
|
"initialValue": 123,
|
|
|
|
"_addresses": ["$MyToken2", "$SimpleStorage"]
|
|
|
|
}
|
|
|
|
},
|
2018-03-04 18:46:12 -05:00
|
|
|
"SomeContract": {
|
|
|
|
"args": [
|
|
|
|
["$MyToken2", "$SimpleStorage"],
|
|
|
|
100
|
|
|
|
]
|
2017-02-09 19:38:02 -05:00
|
|
|
}
|
2017-12-21 11:21:36 -05:00
|
|
|
},
|
|
|
|
"afterDeploy": [
|
2018-01-05 15:10:47 -05:00
|
|
|
"Test.methods.changeAddress('$MyToken')",
|
|
|
|
"web3.eth.getAccounts((err, accounts) => Test.methods.changeAddress(accounts[0]))"
|
2017-12-21 11:21:36 -05:00
|
|
|
]
|
2017-02-09 21:41:45 -05:00
|
|
|
},
|
|
|
|
"development": {
|
|
|
|
"contracts": {
|
|
|
|
"MyToken2": {
|
|
|
|
"instanceOf": "Token",
|
|
|
|
"args": [2000]
|
|
|
|
}
|
|
|
|
}
|
2017-02-09 19:38:02 -05:00
|
|
|
}
|
|
|
|
}
|