81 lines
2.7 KiB
JSON
Raw Normal View History

2018-04-10 11:42:36 -04:00
{
2018-04-20 20:48:09 -04:00
"node": {
2018-04-10 11:42:36 -04:00
"protocol": "ws",
"host": "localhost",
"port": 8546,
2018-04-20 20:48:09 -04:00
"blockchain": {
"account": "0xad7ace64197d216d89a1a5c0b730d20b4aa3cbf8",
"gasPrice": 100000000000
2018-04-20 20:48:09 -04:00
},
"whisper": {
"symKey": "0xd0d905c1c62b810b787141430417caf2b3f54cffadb395b7bb39fdeb8f17266b",
"ttl": 20,
"minPow": 0.8,
"powTime": 1000
}
2018-04-10 11:42:36 -04:00
},
2018-04-11 09:56:25 -04:00
"tokens": {
"0x0000000000000000000000000000000000000000": {
2018-04-11 09:56:25 -04:00
"minRelayFactor": 1,
"name": "Ethereum",
"symbol": "ETH"
},
"0x04936bA0aFC438b653E312298D11c7750f4b74cF": {
2018-05-03 09:36:44 -04:00
"minRelayFactor": 10000,
"name": "Random Test Token",
2018-04-11 09:56:25 -04:00
"symbol": "RDN",
"pricePlugin": "../plugins/token-utils.js"
2018-04-11 09:56:25 -04:00
}
},
2018-04-10 11:42:36 -04:00
"contracts":{
"IdentityGasRelay": {
"abiFile": "../abi/IdentityGasRelay.json",
2018-04-10 11:42:36 -04:00
"isIdentity": true,
"factoryAddress": "0x0e34619748Aa612A11d6c2F31783384eb2b47366",
"kernelVerification": "isKernel(address _addr)",
2018-04-10 11:42:36 -04:00
"allowedFunctions": [
{
"function": "approveAndCallGasRelayed(address,address,uint256,bytes,uint256,uint256,uint256,address,bytes)",
"to": "_to",
"value": "_value",
"data": "_data",
2018-04-11 09:56:25 -04:00
"gasPrice": "_gasPrice",
2018-04-11 15:31:14 -04:00
"gasToken": "_gasToken",
2018-04-17 13:25:25 -04:00
"gasLimit": "_gasLimit",
2018-04-10 11:42:36 -04:00
"isToken": true,
"token": "_baseToken"
},
{
"function": "callGasRelayed(address,uint256,bytes,uint256,uint256,uint256,address,bytes)",
"to": "_to",
"value": "_value",
"data": "_data",
2018-04-11 09:56:25 -04:00
"gasPrice": "_gasPrice",
2018-04-11 15:31:14 -04:00
"gasToken": "_gasToken",
2018-04-17 13:25:25 -04:00
"gasLimit": "_gasLimit",
2018-04-10 11:42:36 -04:00
"isToken": false
}
]
},
"SNTController": {
"abiFile": "../abi/SNTController.json",
2018-04-10 11:42:36 -04:00
"isIdentity": false,
"address": "0x96f0811c6484c59c2674da1f64e725c01d82c1b5",
"allowedFunctions": [
{
"function":"transferSNT(address,uint256,uint256,uint256,bytes)",
"to": "_to",
"value": "_amount"
},
{
"function":"executeGasRelayed(address,bytes,uint256,uint256,uint256,bytes)",
"to": "_to",
"value": "_amount"
}
]
}
}
}