eventslegacy

package
v0.0.0-...-75aef46 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2019 License: GPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventsLegacy

type EventsLegacy struct {
	// contains filtered or unexported fields
}

func New

func New(db *logdb.LogDB) *EventsLegacy

func (*EventsLegacy) Mount

func (e *EventsLegacy) Mount(root *mux.Router, pathPrefix string)

type FilterLegacy

type FilterLegacy struct {
	Address   *powerplay.Address
	TopicSets []*TopicSet
	Range     *logdb.Range
	Options   *logdb.Options
	Order     logdb.Order
}

type FilteredEvent

type FilteredEvent struct {
	Address powerplay.Address    `json:"address"`
	Topics  []*powerplay.Bytes32 `json:"topics"`
	Data    string               `json:"data"`
	Meta    transactions.LogMeta `json:"meta"`
}

FilteredEvent only comes from one contract

func (*FilteredEvent) String

func (e *FilteredEvent) String() string

type TopicSet

type TopicSet struct {
	Topic0 *powerplay.Bytes32 `json:"topic0"`
	Topic1 *powerplay.Bytes32 `json:"topic1"`
	Topic2 *powerplay.Bytes32 `json:"topic2"`
	Topic3 *powerplay.Bytes32 `json:"topic3"`
	Topic4 *powerplay.Bytes32 `json:"topic4"`
}

Jump to

Keyboard shortcuts

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