Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttestationEventReporter ¶
type AttestationEventReporter struct {
// contains filtered or unexported fields
}
func EventListener ¶
func EventListener(logger *zap.Logger) *AttestationEventReporter
func (*AttestationEventReporter) ReportMessagePublication ¶
func (re *AttestationEventReporter) ReportMessagePublication(msg *MessagePublication)
ReportMessagePublication is invoked when an on-chain message is observed.
func (*AttestationEventReporter) ReportVAAQuorum ¶
func (re *AttestationEventReporter) ReportVAAQuorum(msg *vaa.VAA)
ReportVAAQuorum is invoked when quorum is reached.
func (*AttestationEventReporter) Subscribe ¶
func (re *AttestationEventReporter) Subscribe() *activeSubscription
func (*AttestationEventReporter) Unsubscribe ¶
func (re *AttestationEventReporter) Unsubscribe(clientId int)
Click to show internal directories.
Click to hide internal directories.