Michal Iskierko 6d31343205 feat: Waku v2 bridge
Issue #12610
2024-02-22 17:07:59 +01:00

20 lines
484 B
Go

package accountsevent
import "github.com/ethereum/go-ethereum/common"
// EventType type for event types.
type EventType string
// Event is a type for accounts events.
type Event struct {
Type EventType `json:"type"`
Accounts []common.Address `json:"accounts"`
}
const (
// EventTypeAdded is emitted when a new account is added.
EventTypeAdded EventType = "added"
// EventTypeRemoved is emitted when an account is removed.
EventTypeRemoved EventType = "removed"
)