-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathevent.go
More file actions
20 lines (19 loc) · 780 Bytes
/
event.go
File metadata and controls
20 lines (19 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package data
// LogEvent is the dto for the log event structure
type LogEvent struct {
UUID string `json:"uuid"`
ID string `json:"-"`
TxHash string `json:"txHash"`
OriginalTxHash string `json:"originalTxHash,omitempty"`
LogAddress string `json:"logAddress"`
Address string `json:"address"`
Identifier string `json:"identifier"`
Data string `json:"data,omitempty"`
AdditionalData []string `json:"additionalData,omitempty"`
Topics []string `json:"topics"`
Order int `json:"order"`
TxOrder int `json:"txOrder"`
ShardID uint32 `json:"shardID"`
Timestamp uint64 `json:"timestamp,omitempty"`
TimestampMs uint64 `json:"timestampMs,omitempty"`
}