Function eei::ethereum_log [−][src]
pub unsafe extern "C" fn ethereum_log(
data_ptr: *const u8,
data_length: i32,
number_of_topics: i32,
topic_0_ptr: *const Data,
topic_1_ptr: *const Data,
topic_2_ptr: *const Data,
topic_3_ptr: *const Data
)
Expand description
Create a log on the current block
Arguments:
data_ptr
: the pointer to memory where where the log message begins.data_length
: the length of data in bytes of the log message.number_of_topics
: the number of topics to send this log to.topic_0_ptr
: the pointer to memory where the topic 0 value is.topic_1_ptr
: the pointer to memory where the topic 1 value is.topic_2_ptr
: the pointer to memory where the topic 2 value is.topic_3_ptr
: the pointer to memory where the topic 3 value is.