Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event 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"` }
Event represents a vaa data to be handle by the pipeline.
type SNS ¶
type SNS struct {
// contains filtered or unexported fields
}
SQS represents a VAA queue in SNS.
type VAAInMemory ¶
type VAAInMemory struct {
// contains filtered or unexported fields
}
VAAInMemory represents VAA queue in memory.
func NewVAAInMemory ¶
func NewVAAInMemory(logger *zap.Logger) *VAAInMemory
NewVAAInMemory creates a VAA queue in memory instances.
type VAAInMemoryOption ¶
type VAAInMemoryOption func(*VAAInMemory)
VAAInMemoryOption represents a VAA queue in memory option function.
Click to show internal directories.
Click to hide internal directories.