Documentation ¶
Overview ¶
Package event contains data structures that are attached to events in the relay. Though many of these events are triggered on-chain, that is not an inherent requirement of structures in this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DKGResultSubmission ¶
type DKGResultSubmission struct { MemberIndex uint32 GroupPublicKey []byte Misbehaved []byte BlockNumber uint64 }
DKGResultSubmission represents a DKG result submission event. It is emitted after a submitted DKG result is positively validated on the chain. It contains the index of the member who submitted the result and a final public key of the group.
type EntryGenerated ¶
EntryGenerated indicates that new relay entry has ben generated by threshold relay. This event is intended to be used by threshold relay consumers.
type EntrySubmitted ¶
type EntrySubmitted struct {
BlockNumber uint64
}
EntrySubmitted indicates that valid relay entry has been submitted to the chain for the currently processed relay request. This event is intended to be used by operators for tracking entry generation and submission progress.
type GroupRegistration ¶
GroupRegistration represents an event of registering a new group with the given public key.
type GroupSelectionStart ¶
GroupSelectionStart represents a group selection start event.
type GroupTicketSubmission ¶
GroupTicketSubmission represents a group selection ticket submission event.