From c7e9fc2bb21a28d64839f771701ed09d749abba1 Mon Sep 17 00:00:00 2001 From: poma Date: Tue, 16 Mar 2021 01:08:51 +0300 Subject: [PATCH] update abi --- .env.example | 1 - abi/tornadoTrees.json | 32 ++++++++++++++++++++------------ 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/.env.example b/.env.example index 7e50fe2..b1a0a9c 100644 --- a/.env.example +++ b/.env.example @@ -3,7 +3,6 @@ RPC_URL= BROADCAST_NODES=https://api.taichi.network:10001/rpc/public,https://cloudflare-eth.com REDIS_URL=redis://127.0.0.1:6379 -AGGREGATOR=0x8cb1436F64a3c33aD17bb42F94e255c4c0E871b2 PRIVATE_KEY= MERKLE_TREE_LEVELS=20 diff --git a/abi/tornadoTrees.json b/abi/tornadoTrees.json index 1294bf9..e2aaf45 100644 --- a/abi/tornadoTrees.json +++ b/abi/tornadoTrees.json @@ -6,21 +6,11 @@ "name": "_governance", "type": "address" }, - { - "internalType": "address", - "name": "_tornadoProxy", - "type": "address" - }, { "internalType": "contract ITornadoTreesV1", "name": "_tornadoTreesV1", "type": "address" }, - { - "internalType": "contract IBatchTreeUpdateVerifier", - "name": "_treeUpdateVerifier", - "type": "address" - }, { "components": [ { @@ -352,6 +342,24 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address", + "name": "_tornadoProxy", + "type": "address" + }, + { + "internalType": "contract IBatchTreeUpdateVerifier", + "name": "_treeUpdateVerifier", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [], "name": "lastProcessedDepositLeaf", @@ -583,9 +591,9 @@ "type": "bytes32" }, { - "internalType": "uint256", + "internalType": "uint32", "name": "_pathIndices", - "type": "uint256" + "type": "uint32" }, { "components": [