2018-04-10 11:42:36 -04:00
|
|
|
{
|
2018-05-14 10:58:22 -04:00
|
|
|
"gasPrice": 20,
|
2018-04-20 20:48:09 -04:00
|
|
|
"node": {
|
2018-05-14 10:58:22 -04:00
|
|
|
"local":{
|
|
|
|
"protocol": "ws",
|
|
|
|
"host": "localhost",
|
|
|
|
"port": 8546
|
|
|
|
},
|
2018-05-03 10:59:28 -04:00
|
|
|
"ganache": {
|
|
|
|
"protocol": "http",
|
|
|
|
"host": "localhost",
|
2018-07-19 12:55:00 -04:00
|
|
|
"port": 8545
|
2018-05-03 10:59:28 -04:00
|
|
|
},
|
2018-04-20 20:48:09 -04:00
|
|
|
"blockchain": {
|
2018-08-06 23:25:39 -04:00
|
|
|
"account": "0xb8d851486d1c953e31a44374aca11151d49b8bb3"
|
2018-04-20 20:48:09 -04:00
|
|
|
},
|
|
|
|
"whisper": {
|
|
|
|
"symKey": "0xd0d905c1c62b810b787141430417caf2b3f54cffadb395b7bb39fdeb8f17266b",
|
2018-08-06 22:28:53 -04:00
|
|
|
"ttl": 1000,
|
|
|
|
"minPow": 0.2,
|
2018-04-20 20:48:09 -04:00
|
|
|
"powTime": 1000
|
|
|
|
}
|
2018-04-10 11:42:36 -04:00
|
|
|
},
|
|
|
|
|
2018-05-31 08:46:31 -04:00
|
|
|
"heartbeat": {
|
|
|
|
"enabled": true,
|
|
|
|
"symKey": "0xd0d905c1c62b810b787141430417caf2b3f54cffadb395b7bb39fdeb8f17266b"
|
|
|
|
},
|
|
|
|
|
2018-04-11 09:56:25 -04:00
|
|
|
"tokens": {
|
2018-04-11 11:17:08 -04:00
|
|
|
"0x0000000000000000000000000000000000000000": {
|
2018-04-11 09:56:25 -04:00
|
|
|
"name": "Ethereum",
|
2018-05-31 08:46:31 -04:00
|
|
|
"symbol": "ETH",
|
|
|
|
"minAccepted":{
|
|
|
|
"value": 1,
|
|
|
|
"currency": "USD"
|
|
|
|
}
|
2018-04-11 09:56:25 -04:00
|
|
|
},
|
2018-08-06 23:28:09 -04:00
|
|
|
"%STTAddress%": {
|
2018-08-06 23:25:39 -04:00
|
|
|
"name": "Status Test Token",
|
|
|
|
"symbol": "STT",
|
2018-05-31 08:46:31 -04:00
|
|
|
"minAccepted":{
|
|
|
|
"value": 1,
|
|
|
|
"currency": "USD"
|
|
|
|
},
|
|
|
|
"pricePlugin": "../plugins/token-utils.js"
|
2018-04-11 09:56:25 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2018-04-10 11:42:36 -04:00
|
|
|
"contracts":{
|
|
|
|
"IdentityGasRelay": {
|
2018-04-25 14:49:13 -04:00
|
|
|
"abiFile": "../abi/IdentityGasRelay.json",
|
2018-04-10 11:42:36 -04:00
|
|
|
"isIdentity": true,
|
2018-08-06 23:25:52 -04:00
|
|
|
"factoryAddress": "%IdentityFactoryAddress%",
|
2018-05-03 15:41:25 -04:00
|
|
|
"kernelVerification": "isKernel(bytes32)",
|
2018-04-10 11:42:36 -04:00
|
|
|
"allowedFunctions": [
|
|
|
|
{
|
|
|
|
"function": "approveAndCallGasRelayed(address,address,uint256,bytes,uint256,uint256,uint256,address,bytes)",
|
2018-07-19 12:55:00 -04:00
|
|
|
"isToken": true
|
2018-04-10 11:42:36 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"function": "callGasRelayed(address,uint256,bytes,uint256,uint256,uint256,address,bytes)",
|
|
|
|
"isToken": false
|
|
|
|
}
|
2018-07-19 12:55:00 -04:00
|
|
|
],
|
|
|
|
"strategy": "../src/strategy/IdentityGasRelay.js"
|
2018-04-10 11:42:36 -04:00
|
|
|
},
|
|
|
|
"SNTController": {
|
2018-04-25 14:49:13 -04:00
|
|
|
"abiFile": "../abi/SNTController.json",
|
2018-04-10 11:42:36 -04:00
|
|
|
"isIdentity": false,
|
|
|
|
"address": "0x96f0811c6484c59c2674da1f64e725c01d82c1b5",
|
|
|
|
"allowedFunctions": [
|
|
|
|
{
|
2018-07-19 12:55:00 -04:00
|
|
|
"function":"transferSNT(address,uint256,uint256,uint256,bytes)"
|
2018-04-10 11:42:36 -04:00
|
|
|
},
|
|
|
|
{
|
2018-07-19 12:55:00 -04:00
|
|
|
"function":"executeGasRelayed(address,bytes,uint256,uint256,uint256,bytes)"
|
2018-04-10 11:42:36 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|