Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PythFilter ¶
PythFilter filter vaa event from pyth chain.
Types ¶
type ConsumerMessage ¶
ConsumerMessage defition.
type FilterConsumeFunc ¶
FilterConsumeFunc filter vaaa func definition.
type SQS ¶
type SQS struct {
// contains filtered or unexported fields
}
SQS represents a VAA queue in SQS.
type SQSOption ¶
type SQSOption func(*SQS)
SQSOption represents a VAA queue in SQS option function.
func WithChannelSize ¶
WithChannelSize allows to specify an channel size when setting a value.
type VAAConsumeFunc ¶
type VAAConsumeFunc func(context.Context) <-chan ConsumerMessage
VAAConsumeFunc is a function to consume VAAEvent.
type VaaEvent ¶
type VaaEvent struct { ID string `json:"id"` ChainID uint16 `json:"emitterChain"` EmitterAddress string `json:"emitterAddr"` Sequence string `json:"sequence"` PhylaxSetIndex uint32 `json:"phylaxSetIndex"` Vaa []byte `json:"vaas"` IndexedAt time.Time `json:"indexedAt"` Timestamp *time.Time `json:"timestamp"` UpdatedAt *time.Time `json:"updatedAt"` TxHash string `json:"txHash"` Version uint16 `json:"version"` Revision uint16 `json:"revision"` }
VaaEvent represents a vaa data to be handle by the pipeline.
Click to show internal directories.
Click to hide internal directories.