@@ -14,7 +14,7 @@ type OperationConstraint interface {
1414 Ballot | Proposal | Activation | TransferTicket | TxRollupCommit | TxRollupDispatchTicket |
1515 TxRollupFinalizeCommitment | TxRollupOrigination | TxRollupRejection | TxRollupRemoveCommitment |
1616 TxRollupReturnBond | TxRollupSubmitBatch | NonceRevelation | DoubleBaking | DoubleEndorsing | SetDepositsLimit |
17- Baking | RevelationPenalty | EndorsingReward
17+ Baking | RevelationPenalty | EndorsingReward | VdfRevelation | IncreasePaidStorage
1818}
1919
2020// Operation -
@@ -623,3 +623,40 @@ type DoublePreendorsing struct {
623623 OffenderLostRewards int64 `json:"offenderLostRewards,omitempty"`
624624 OffenderLostFees int64 `json:"offenderLostFees,omitempty"`
625625}
626+
627+ // VdfRevelation -
628+ type VdfRevelation struct {
629+ Type string `json:"type"`
630+ ID uint64 `json:"id"`
631+ Level uint64 `json:"level"`
632+ Timestamp time.Time `json:"timestamp"`
633+ Block string `json:"block"`
634+ Hash string `json:"hash"`
635+ Baker * Account `json:"baker"`
636+ Cycle uint64 `json:"cycle"`
637+ Solution string `json:"solution"`
638+ Proof string `json:"proof"`
639+ Reward uint64 `json:"reward"`
640+ Quote * Quote `json:"quote,omitempty"`
641+ }
642+
643+ // IncreasePaidStorage -
644+ type IncreasePaidStorage struct {
645+ Type string `json:"type"`
646+ ID uint64 `json:"id"`
647+ Level uint64 `json:"level"`
648+ Timestamp time.Time `json:"timestamp"`
649+ Block string `json:"block"`
650+ Hash string `json:"hash"`
651+ Sender Account `json:"sender"`
652+ Counter uint64 `json:"counter"`
653+ GasLimit uint64 `json:"gasLimit"`
654+ GasUsed uint64 `json:"gasUsed"`
655+ StorageLimit uint64 `json:"storageLimit"`
656+ StorageUsed uint64 `json:"storageUsed"`
657+ BakerFee uint64 `json:"bakerFee"`
658+ StorageFee uint64 `json:"storageFee"`
659+ Status string `json:"status"`
660+ Contract Account `json:"contract"`
661+ Amount decimal.Decimal `json:"amount"`
662+ }
0 commit comments