Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParsedEvent ¶ added in v0.33.1
type ParsedEvent struct { Type ParsedEventType EventType flow.EventType Address string Contract string ContractName string Name string }
func ParseEvent ¶ added in v0.33.1
func ParseEvent(eventType flow.EventType) (*ParsedEvent, error)
ParseEvent parses an event type into its parts. There are 3 valid EventType formats: - flow.[EventName] - evm.[EventName] - A.[Address].[Contract].[EventName] Any other format results in an error.
func ValidateEvent ¶ added in v0.33.1
ValidateEvent validates an event type is properly formed and for the correct network, and returns a parsed event. If the event type is invalid, an error is returned.
type ParsedEventType ¶ added in v0.33.1
type ParsedEventType int
const ( ProtocolEventType ParsedEventType = iota + 1 AccountEventType )
type SyncedBlock ¶
type SyncedBlock struct { OriginID flow.Identifier Block messages.UntrustedBlock }
type SyncedClusterBlock ¶
type SyncedClusterBlock struct { OriginID flow.Identifier Block messages.UntrustedClusterBlock }
Click to show internal directories.
Click to hide internal directories.