-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtopics.go
42 lines (40 loc) · 2.74 KB
/
topics.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package topics
//go:generate stringer -type=ObservableTopic
type ObservableTopic int
const (
NewEVMBlock ObservableTopic = iota // *types.Block
BorStateSync // *observer.StateSync
BlockInterval // uint64
CheckpointSignatures // *observer.CheckpointSignatures
ValidatorWallet // *observer.ValidatorWalletBalances
HeimdallBlockInterval // uint64
NewHeimdallBlock // *observer.HeimdallBlock
Milestone // *observer.HeimdallMilestone
Reorg // *observer.DatastoreReorg
SensorBlocks // *observer.SensorBlocks
SensorBlockEvents // *observer.SensorBlockEvents
BorMissedBlockProposal // *observer.MissedBlockProposal
HeimdallMissedBlockProposal // *observer.HeimdallMissedBlockProposal
Checkpoint // *observer.HeimdallCheckpoint
MissedCheckpointProposal // []string
MissedMilestoneProposal // []string
TransactionPool // *observer.TransactionPool
StolenBlock // *types.Block
HashDivergence // *observer.HashDivergence
System // *observer.System
RefreshStateTime // *time.Duration
ZkEVMBatches // observer.ZkEVMBatches
ExitRoots // *observer.ExitRoots
BridgeEvent // *contracts.PolygonZkEVMBridgeV2BridgeEvent
ClaimEvent // *contracts.PolygonZkEVMBridgeV2ClaimEvent
DepositCounts // *observer.DepositCounts
BridgeEventTimes // *observer.BridgeEventTimes
ClaimEventTimes // *observer.ClaimEventTimes
RollupManager // *observer.RollupManager
Span // *observer.HeimdallSpan
TimeToMine // float64
AccountBalances // observer.AccountBalances
TrustedBatch // *zkevmtypes.Batch
ExchangeRate // observer.ExchangeRate
TimeToFinalized // uint64
)