Skip to content

Commit 0af7800

Browse files
committed
TzKT v1.16.0: added fields to DoubleConsensus
1 parent f434b67 commit 0af7800

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

tzkt/data/operations.go

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -522,16 +522,21 @@ type DoubleBaking struct {
522522

523523
// DoubleConsensus -
524524
type DoubleConsensus struct {
525-
Type string `json:"type"`
526-
ID uint64 `json:"id"`
527-
Level uint64 `json:"level"`
528-
Timestamp time.Time `json:"timestamp"`
529-
Block string `json:"block"`
530-
Hash string `json:"hash"`
531-
AccusedLevel uint64 `json:"accusedLevel"`
532-
Accuser *Address `json:"accuser"`
533-
Offender *Address `json:"offender"`
534-
Quote *Quote `json:"quote,omitempty"`
525+
Type string `json:"type"`
526+
ID uint64 `json:"id"`
527+
Level uint64 `json:"level"`
528+
Timestamp time.Time `json:"timestamp"`
529+
Block string `json:"block"`
530+
Hash string `json:"hash"`
531+
AccusedLevel uint64 `json:"accusedLevel"`
532+
Accuser *Address `json:"accuser"`
533+
Reward uint64 `json:"reward"`
534+
Offender *Address `json:"offender"`
535+
LostStaked uint64 `json:"lostStaked"`
536+
LostUnstaked uint64 `json:"lostUnstaked"`
537+
LostExternalStaked uint64 `json:"lostExternalStaked"`
538+
LostExternalUnstaked uint64 `json:"lostExternalUnstaked"`
539+
Quote *Quote `json:"quote,omitempty"`
535540
}
536541

537542
// Quote -

0 commit comments

Comments
 (0)