tuweni / org.apache.tuweni.eth / Log

Log

class Log (source)

A log entry is a tuple of a logger’s address (the address of the contract that added the logs), a series of 32-bytes log topics, and some number of bytes of data.

Constructors

<init>

Log(logger: Address, data: Bytes, topics: MutableList<Bytes32>)

Functions

data

fun data(): Bytes

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

logger

fun logger(): Address

readFrom

static fun readFrom(in: RLPReader): Log

Reads the log entry from the provided RLP input.

toString

fun toString(): String

topics

fun topics(): MutableList<Bytes32>

writeTo

fun writeTo(writer: RLPWriter): Unit

Writes the log entry to the provided RLP output.