withdraw event

This commit is contained in:
Alexey 2020-04-16 13:59:29 +03:00
parent 3e89d53d25
commit 66320e9dbb

View File

@ -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