From fedce962a327ee0db288dcc4bf341dc1fe692d6f Mon Sep 17 00:00:00 2001 From: Alexey Date: Thu, 25 Jul 2019 17:09:42 +0300 Subject: [PATCH] new contract --- .env.example | 2 +- mixerABI.json | 45 +++++++++++++++++++++++++-------------------- 2 files changed, 26 insertions(+), 21 deletions(-) diff --git a/.env.example b/.env.example index e106a3e..3905067 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,4 @@ NET_ID=42 RPC_URL=https://kovan.infura.io/v3/a3f4d001c1fc4a359ea70dd27fd9cb51 PRIVATE_KEY= -MIXER_ADDRESS=0xBDee9B99f044b8C0bDD45c4560c9653028da586B \ No newline at end of file +MIXER_ADDRESS=0xedB235296eB9f28282A3552472FCe84387BB7197 \ No newline at end of file diff --git a/mixerABI.json b/mixerABI.json index c81ce38..fd08e03 100644 --- a/mixerABI.json +++ b/mixerABI.json @@ -13,6 +13,25 @@ "stateMutability": "view", "type": "function" }, + { + "constant": true, + "inputs": [ + { + "name": "", + "type": "uint256" + } + ], + "name": "nullifierHashes", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, { "constant": true, "inputs": [], @@ -172,25 +191,6 @@ "stateMutability": "view", "type": "function" }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "uint256" - } - ], - "name": "nullifiers", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -226,6 +226,11 @@ "indexed": false, "name": "leafIndex", "type": "uint256" + }, + { + "indexed": false, + "name": "timestamp", + "type": "uint256" } ], "name": "Deposit", @@ -241,7 +246,7 @@ }, { "indexed": false, - "name": "nullifier", + "name": "nullifierHash", "type": "uint256" }, {