mirror of
https://github.com/status-im/snt-gas-relay.git
synced 2025-01-23 20:59:07 +00:00
85 lines
2.7 KiB
JSON
85 lines
2.7 KiB
JSON
{
|
|
"gasPrice": 20,
|
|
"node": {
|
|
"local":{
|
|
"protocol": "ws",
|
|
"host": "localhost",
|
|
"port": 8546
|
|
},
|
|
"ganache": {
|
|
"protocol": "http",
|
|
"host": "localhost",
|
|
"port": "8545"
|
|
},
|
|
"blockchain": {
|
|
"account": "0x1847ab5a71eaa95315c3fc2d3dfb53b7e6e8f313"
|
|
},
|
|
"whisper": {
|
|
"symKey": "0xd0d905c1c62b810b787141430417caf2b3f54cffadb395b7bb39fdeb8f17266b",
|
|
"ttl": 20,
|
|
"minPow": 0.8,
|
|
"powTime": 1000
|
|
}
|
|
},
|
|
|
|
"tokens": {
|
|
"0x0000000000000000000000000000000000000000": {
|
|
"name": "Ethereum",
|
|
"symbol": "ETH"
|
|
},
|
|
"0xD10e6dAe987Dcc0B3ADaA375C9f59690a4C97a27": {
|
|
"name": "Status Network Token",
|
|
"symbol": "SNT"
|
|
}
|
|
},
|
|
|
|
"contracts":{
|
|
"IdentityGasRelay": {
|
|
"abiFile": "../abi/IdentityGasRelay.json",
|
|
"isIdentity": true,
|
|
"factoryAddress": "0x6202a2b202Ccf859fd93Ecee33C2D20f20462836",
|
|
"kernelVerification": "isKernel(bytes32)",
|
|
"allowedFunctions": [
|
|
{
|
|
"function": "approveAndCallGasRelayed(address,address,uint256,bytes,uint256,uint256,uint256,address,bytes)",
|
|
"to": "_to",
|
|
"value": "_value",
|
|
"data": "_data",
|
|
"gasPrice": "_gasPrice",
|
|
"gasToken": "_gasToken",
|
|
"gasLimit": "_gasLimit",
|
|
"isToken": true,
|
|
"token": "_baseToken"
|
|
},
|
|
{
|
|
"function": "callGasRelayed(address,uint256,bytes,uint256,uint256,uint256,address,bytes)",
|
|
"to": "_to",
|
|
"value": "_value",
|
|
"data": "_data",
|
|
"gasPrice": "_gasPrice",
|
|
"gasToken": "_gasToken",
|
|
"gasLimit": "_gasLimit",
|
|
"isToken": false
|
|
}
|
|
]
|
|
},
|
|
"SNTController": {
|
|
"abiFile": "../abi/SNTController.json",
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|