new kovan contract

This commit is contained in:
Alexey 2019-07-22 14:22:47 +03:00
parent 3ec4b6c7ec
commit 1462313b14
3 changed files with 7 additions and 24 deletions

@ -1,6 +1,6 @@
NET_ID=42
RPC_URL=https://kovan.infura.io/v3/a3f4d001c1fc4a359ea70dd27fd9cb51
PRIVATE_KEY=
MIXER_ADDRESS=0x30AF2e92263C5387A8A689322BbfE60b6B0855C4
MIXER_ADDRESS=0xa01dCfABF44674f2f60e064e9F4B1300a87753c8
# in wei
DESIRED_FEE=10000000000000000

@ -24,7 +24,7 @@ const gasPrices = { fast: defaultGasPrice }
app.get('/', function (req, res) {
// just for testing purposes
res.send(`Tornado mixer relayer. Gas Price is ${JSON.stringify(gasPrices)}`)
res.send(`Tornado mixer relayer. Gas Price is ${JSON.stringify(gasPrices)}. Mixer address is ${mixerAddress}`)
})
app.post('/relay', async (req, resp) => {

@ -218,13 +218,13 @@
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "from",
"type": "address"
"indexed": true,
"name": "commitment",
"type": "uint256"
},
{
"indexed": false,
"name": "commitment",
"name": "leafIndex",
"type": "uint256"
}
],
@ -253,23 +253,6 @@
"name": "Withdraw",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "leaf",
"type": "uint256"
},
{
"indexed": false,
"name": "leaf_index",
"type": "uint32"
}
],
"name": "LeafAdded",
"type": "event"
},
{
"constant": false,
"inputs": [
@ -329,4 +312,4 @@
"stateMutability": "view",
"type": "function"
}
]
]