Open code423n4 opened 3 years ago
cmichel
The NoteERC20.initialize function does not emit an initial OwnershipTransferred event.
NoteERC20.initialize
OwnershipTransferred
In initialize, emit OwnershipTransferred(address(0), owner_).
initialize
OwnershipTransferred(address(0), owner_)
Handle
cmichel
Vulnerability details
Vulnerability Details
The
NoteERC20.initialize
function does not emit an initialOwnershipTransferred
event.Recommended Mitigation Steps
In
initialize
, emitOwnershipTransferred(address(0), owner_)
.