pub trait ToLog {
// Required method
;
}
Expand description
Implementation of this trait should not be written manually,
instead use crate::ToLog
proc macros.
See also evm_coder_procedural::ToLog
, solidity docs on events
Required Methods§
source
Convert event to ethereum::Log
.
Because event by itself doesn’t contains current contract
address, it should be specified manually.