@startuml class EventSub { + {static} NewEventSub(bind.BoundContract, EventFactory, uint64) *EventSub, error + Read(ctx context.Context, sink chan<- *Event) error + Close() } class EventType { + Name string + Data interface{} + Query [][]interface{} } class Event { + EventType + Log types.Log } @enduml