-
Notifications
You must be signed in to change notification settings - Fork 44
/
events.go
38 lines (36 loc) · 1.76 KB
/
events.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
package types
// Subspaces module event types
const (
EventTypeCreateSubspace = "create_subspace"
EventTypeEditSubspace = "edit_subspace"
EventTypeDeleteSubspace = "delete_subspace"
EventTypeCreateSection = "create_section"
EventTypeEditSection = "edit_section"
EventTypeMoveSection = "move_section"
EventTypeDeleteSection = "delete_section"
EventTypeCreateUserGroup = "create_user_group"
EventTypeEditUserGroup = "edit_user_group"
EvenTypeMoveUserGroup = "move_user_group"
EventTypeSetUserGroupPermissions = "set_user_group_permissions"
EventTypeDeleteUserGroup = "delete_user_group"
EventTypeAddUserToGroup = "add_group_member"
EventTypeRemoveUserFromGroup = "remove_group_member"
EventTypeSetUserPermissions = "set_user_permissions"
EventTypeGrantTreasuryAuthorization = "grant_treasury_authorization"
EventTypeRevokeTreasuryAuthorization = "revoke_treasury_authorization"
EventTypeGrantAllowance = "grant_allowance"
EventTypeRevokeAllowance = "revoke_allowance"
EventTypeUpdateSubspaceFeeToken = "update_subspace_fee_token"
AttributeValueCategory = ModuleName
AttributeKeySubspaceID = "subspace_id"
AttributeKeySubspaceName = "subspace_name"
AttributeKeySubspaceCreator = "subspace_creator"
AttributeKeyCreationTime = "creation_date"
AttributeKeySectionID = "section_id"
AttributeKeyUserGroupID = "user_group_id"
AttributeKeyUser = "user"
AttributeKeyGranter = "granter"
AttributeKeyGrantee = "grantee"
AttributeKeyUserGrantee = "user_grantee"
AttributeKeyGroupGrantee = "group_grantee"
)