tuweni / org.apache.tuweni.evm / TransactionalEVMHostContext / emitLog

emitLog

fun emitLog(address: Address, data: Bytes, topics: List<Bytes32>): Unit (source)

Log function.

This function is used by an EVM to inform about a LOG that happened during an EVM bytecode execution.

Parameters

address - The address of the contract that generated the log.

data - The unindexed data attached to the log.

dataSize - The length of the data.

topics - The list of topics attached to the log.