Rename event

This commit is contained in:
poma 2021-03-21 01:01:44 +03:00
parent 15eaac2f2e
commit adf675edd9
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657

@ -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);
} }
} }