mirror of
https://github.com/tornadocash/tornado-nova
synced 2024-02-02 14:53:56 +01:00
withdraw event
This commit is contained in:
parent
3e89d53d25
commit
66320e9dbb
@ -29,6 +29,7 @@ contract TornadoPool is ReentrancyGuard {
|
|||||||
// todo: event Transaction();
|
// todo: event Transaction();
|
||||||
event NewCommitment(bytes32 commitment, uint index);
|
event NewCommitment(bytes32 commitment, uint index);
|
||||||
event NewNullifier(bytes32 nullifier);
|
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
|
@dev The constructor
|
||||||
|
Loading…
Reference in New Issue
Block a user