2018-09-12 15:50:32 +00:00
|
|
|
module.exports = {
|
2018-09-17 18:18:56 +00:00
|
|
|
"gasPrice": 5000000000,
|
2018-09-12 15:50:32 +00:00
|
|
|
"node": {
|
|
|
|
"local":{
|
|
|
|
"protocol": "ws",
|
|
|
|
"host": "localhost",
|
|
|
|
"port": 8546
|
|
|
|
},
|
|
|
|
"ganache": {
|
|
|
|
"protocol": "http",
|
|
|
|
"host": "localhost",
|
|
|
|
"port": 8545
|
|
|
|
},
|
|
|
|
"blockchain": {
|
2018-09-13 15:59:41 +00:00
|
|
|
"account": "0xb8d851486d1c953e31a44374aca11151d49b8bb3"
|
2018-09-12 15:50:32 +00:00
|
|
|
},
|
|
|
|
"whisper": {
|
|
|
|
"symKey": "0xd0d905c1c62b810b787141430417caf2b3f54cffadb395b7bb39fdeb8f17266b",
|
2018-09-13 03:28:01 +00:00
|
|
|
"ttl": 10,
|
|
|
|
"minPow": 0.002,
|
|
|
|
"powTime": 1
|
2018-09-12 15:50:32 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"tokens": {
|
|
|
|
"0x0000000000000000000000000000000000000000": {
|
|
|
|
"name": "Ethereum",
|
|
|
|
"symbol": "ETH",
|
2018-09-17 18:18:56 +00:00
|
|
|
"minAcceptedRate": 1
|
|
|
|
|
2018-09-12 15:50:32 +00:00
|
|
|
},
|
2018-09-14 17:30:26 +00:00
|
|
|
"0x121a430A73Fc13e2D6d4a9dc3E943de647c30f8f": {
|
|
|
|
"name": "Status Gas Relayer Test Token",
|
2018-09-12 15:50:32 +00:00
|
|
|
"symbol": "SNT",
|
2018-09-17 18:18:56 +00:00
|
|
|
"minAcceptedRate": 0.0001500,
|
2018-09-12 15:50:32 +00:00
|
|
|
"pricePlugin": "../plugins/token-utils.js"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"contracts":{
|
|
|
|
"IdentityGasRelay": {
|
|
|
|
"abiFile": "../abi/IdentityGasRelay.json",
|
|
|
|
"isIdentity": true,
|
2018-09-14 17:30:26 +00:00
|
|
|
"factoryAddress": "0x89976FeEC7CFDF2DF5194e363FD2a3388e2DC91A",
|
2018-09-12 15:50:32 +00:00
|
|
|
"kernelVerification": "isKernel(bytes32)",
|
|
|
|
"allowedFunctions": [
|
|
|
|
{
|
|
|
|
"function": "approveAndCallGasRelayed(address,address,uint256,bytes,uint256,uint256,uint256,address,bytes)",
|
|
|
|
"isToken": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"function": "callGasRelayed(address,uint256,bytes,uint256,uint256,uint256,address,bytes)",
|
|
|
|
"isToken": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"strategy": "../src/strategy/IdentityStrategy.js"
|
|
|
|
},
|
|
|
|
"SNTController": {
|
|
|
|
"abiFile": "../abi/SNTController.json",
|
|
|
|
"isIdentity": false,
|
2018-09-14 17:30:26 +00:00
|
|
|
"address": "0xf558aC91312821B0E1802567BC785355AA811783",
|
2018-09-12 15:50:32 +00:00
|
|
|
"allowedFunctions": [
|
|
|
|
{
|
|
|
|
"function":"transferSNT(address,uint256,uint256,uint256,bytes)"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"function":"executeGasRelayed(address,bytes,uint256,uint256,uint256,bytes)"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"strategy": "../src/strategy/SNTStrategy.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|