From 66320e9dbb28b5157db2dfe8f7377934866db3c2 Mon Sep 17 00:00:00 2001 From: Alexey Date: Thu, 16 Apr 2020 13:59:29 +0300 Subject: [PATCH] withdraw event --- contracts/TornadoPool.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/TornadoPool.sol b/contracts/TornadoPool.sol index 1a246d1..1fc59e7 100644 --- a/contracts/TornadoPool.sol +++ b/contracts/TornadoPool.sol @@ -29,6 +29,7 @@ contract TornadoPool is ReentrancyGuard { // todo: event Transaction(); event NewCommitment(bytes32 commitment, uint index); event NewNullifier(bytes32 nullifier); + event Withdraw(bytes32 indexed nullifier); // todo emit it on withdraw so we can easily find the withdraw tx for user on UI /** @dev The constructor