Documentation ¶ Index ¶ Variables func DecodeArguments(data []byte, args eth_abi.Arguments) iter.Seq2[*Event, error] func DecodeValue(data []byte, t eth_abi.Type) iter.Seq2[*Event, error] func Yield(fn YieldFunc, evt *Event) error type Event type EventType type YieldFunc Constants ¶ This section is empty. Variables ¶ View Source var ( ErrIterStop = errors.New("iter stop") ErrDynamicIndexedArgument = errors.New("dynamic indexed argument") ) Functions ¶ func DecodeArguments ¶ func DecodeArguments(data []byte, args eth_abi.Arguments) iter.Seq2[*Event, error] func DecodeValue ¶ func DecodeValue(data []byte, t eth_abi.Type) iter.Seq2[*Event, error] func Yield ¶ func Yield(fn YieldFunc, evt *Event) error Types ¶ type Event ¶ type Event struct { Type EventType ABIType eth_abi.Type Len int Index int Key string Value interface{} } type EventType ¶ type EventType string const ( TupleStart EventType = "TUPLE_START" TupleEnd EventType = "TUPLE_END" ArrayStart EventType = "ARRAY_START" ArrayEnd EventType = "ARRAY_END" Key EventType = "KEY" Value EventType = "VALUE" ) type YieldFunc ¶ type YieldFunc func(*Event, error) bool Source Files ¶ View all Source files decode.go errors.go iter.go utils.go Directories ¶ Show internal Expand all Path Synopsis fullsig json Click to show internal directories. Click to hide internal directories.