Skip to content

Commit 8c23cfc

Browse files
committed
some additions
1 parent 64268e6 commit 8c23cfc

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

core/transaction/entity.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,14 @@ const (
110110

111111
ADD_FREE_ALLOCATION_ASSIGNER = "add_free_storage_assigner"
112112

113+
// Vesting SC
114+
VESTING_TRIGGER = "trigger"
115+
VESTING_STOP = "stop"
116+
VESTING_UNLOCK = "unlock"
117+
VESTING_ADD = "add"
118+
VESTING_DELETE = "delete"
119+
VESTING_UPDATE_SETTINGS = "vestingsc-update-settings"
120+
113121
// Storage SC
114122
STORAGESC_FINALIZE_ALLOCATION = "finalize_allocation"
115123
STORAGESC_CANCEL_ALLOCATION = "cancel_allocation"

zboxcore/fileref/fileref.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ type Ref struct {
104104
ChildrenLoaded bool
105105
Children []RefEntity `json:"-" mapstructure:"-"`
106106
AllocationRoot string `json:"allocation_root" mapstructure:"allocation_root"`
107+
AllocationVersion int64 `json:"allocation_version" mapstructure:"allocation_version"`
107108
CreatedAt common.Timestamp `json:"created_at" mapstructure:"created_at"`
108109
UpdatedAt common.Timestamp `json:"updated_at" mapstructure:"updated_at"`
109110
}

0 commit comments

Comments
 (0)