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

equals

fun equals(other: Any?): Boolean

getData

Provides the data of the log

fun getData(): Bytes!

getLogger

Provides the logger's address

fun getLogger(): Address!

getTopics

Provides the topics of the log

fun getTopics(): MutableList<Bytes32!>!

hashCode

fun hashCode(): Int

readFrom

Reads the log entry from the provided RLP input.

static fun readFrom(in: RLPReader!): Log!

toBytes

Encodes log to RLP.

fun toBytes(): Bytes!

toString

fun toString(): String

writeTo

Writes the log entry to the provided RLP output.

fun writeTo(writer: RLPWriter!): Unit