mirror of
https://github.com/tornadocash/deployer.git
synced 2025-01-15 15:28:43 +01:00
emit deploy event in constructor
This commit is contained in:
parent
defd06b700
commit
bd9e621622
@ -11,6 +11,7 @@ contract Deployer {
|
||||
constructor(IDeployer _deployer) public {
|
||||
// Use EIP-2470 SingletonFactory address by default
|
||||
deployer = address(_deployer) == address(0) ? IDeployer(0xce0042B868300000d44A59004Da54A005ffdcf9f) : _deployer;
|
||||
emit Deployed(msg.sender, address(this));
|
||||
}
|
||||
|
||||
event Deployed(address indexed sender, address indexed addr);
|
||||
|
Loading…
Reference in New Issue
Block a user