verbs.abi.Event#

class Event[source]#

ABI event class

Class representing an ABI event with functionality to decode event byte data.

Parameters:

abi (dict) – Parsed ABI JSON of the event.

inputs#

List of event input types.

Type:

list

__init__(abi: Dict)[source]#
decode(data: bytes) Tuple[Any, ...][source]#

Decode data from this event type

Parameters:

data (bytes) – Data from an instance of this event.

Returns:

tuple – Tuple of python values parsed from this event type.