mirror of
https://github.com/tornadocash/tornado-anonymity-mining.git
synced 2024-11-22 01:37:08 +01:00
Rename event
This commit is contained in:
parent
15eaac2f2e
commit
adf675edd9
@ -13,7 +13,7 @@ contract TornadoProxy {
|
|||||||
using SafeERC20 for IERC20;
|
using SafeERC20 for IERC20;
|
||||||
|
|
||||||
event EncryptedNote(address indexed sender, bytes encryptedNote);
|
event EncryptedNote(address indexed sender, bytes encryptedNote);
|
||||||
event InstanceStateUpdate(ITornadoInstance indexed instance, InstanceState state);
|
event InstanceStateUpdated(ITornadoInstance indexed instance, InstanceState state);
|
||||||
event TornadoTreesUpdated(ITornadoTrees addr);
|
event TornadoTreesUpdated(ITornadoTrees addr);
|
||||||
|
|
||||||
enum InstanceState { Disabled, Enabled, Mineable }
|
enum InstanceState { Disabled, Enabled, Mineable }
|
||||||
@ -139,6 +139,6 @@ contract TornadoProxy {
|
|||||||
token.safeApprove(address(_tornado.addr), 0);
|
token.safeApprove(address(_tornado.addr), 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
emit InstanceStateUpdate(_tornado.addr, _tornado.instance.state);
|
emit InstanceStateUpdated(_tornado.addr, _tornado.instance.state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user