accountsevent

package
v0.158.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Type     EventType        `json:"type"`
	Accounts []common.Address `json:"accounts"`
}

Event is a type for accounts events.

type EventType

type EventType string

EventType type for event types.

const (
	// EventTypeAdded is emitted when a new account is added.
	EventTypeAdded EventType = "added"
	// EventTypeRemoved is emitted when an account is removed.
	EventTypeRemoved EventType = "removed"
)

Jump to

Keyboard shortcuts

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