logs

package
v0.3.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventLog

type EventLog struct {
	Log   *Log   `json:"log"`
	Error string `json:"error"`
}

func (EventLog) MarshalEasyJSON

func (v EventLog) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventLog) MarshalJSON

func (v EventLog) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventLog) UnmarshalEasyJSON

func (v *EventLog) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventLog) UnmarshalJSON

func (v *EventLog) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Log

type Log struct {
	Address     *bytes.Address `json:"address"`
	Topics      []*bytes.Hash  `json:"topics"`
	Data        []byte         `json:"data"`
	BlockNumber uint64         `json:"blockNumber"`
	TxHash      *bytes.Hash    `json:"transactionHash"`
	TxIndex     uint           `json:"transactionIndex"`
	BlockHash   *bytes.Hash    `json:"blockHash"`
	Index       uint           `json:"logIndex"`
	Removed     bool           `json:"removed"`
}

func (Log) MarshalEasyJSON

func (v Log) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Log) MarshalJSON

func (v Log) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Log) Unmarshal

func (l *Log) Unmarshal(data []byte) error

func (*Log) UnmarshalEasyJSON

func (v *Log) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Log) UnmarshalJSON

func (v *Log) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL