# Functions
CheckPermission checks whether the given permissions contain the specified permission.
CombinePermissions combines all the given permissions into a single Permission object using the OR operator.
DefaultGenesisState returns a default GenesisState.
DefaultUserGroup returns the default user group for the given subspace.
No description provided by the author
No description provided by the author
GetGroupIDBytes returns the byte representation of the groupID.
GetGroupIDFromBytes returns groupID in uint32 format from a byte array.
GetSubspaceIDBytes returns the byte representation of the subspaceID.
GetSubspaceIDFromBytes returns subspaceID in uint64 format from a byte array.
GroupIDStoreKey returns the store key that is used to store the group id to be used next for the given subspace.
GroupMembersStoreKey returns the key used to store all the members of the given group inside the given subspace.
GroupMemberStoreKey returns the key used to store the membership of the given user to the specified group inside the provided subspace.
GroupsStoreKey returns the key used to store all the groups of a given subspace.
GroupStoreKey returns the key used to store a group for a subspace.
IsPermissionValid checks whether the given value represents a valid permission or not.
MarshalPermission marshals the given permission to a byte array.
NewACLEntry returns a new ACLEntry instance.
NewGenesisState creates a new genesis state.
NewGenesisSubspace returns a new GenesisSubspace instance.
NewGroupUpdate builds a new SubspaceUpdate instance containing the given data.
NewMsgAddUserToUserGroup creates a new MsgAddUserToUserGroup instance.
No description provided by the author
NewMsgCreateSubspace creates a new MsgCreateSubspace instance.
NewMsgCreateUserGroup creates a new MsgCreateUserGroup instance.
NewMsgDeleteSubspace returns a new MsgDeleteSubspace instance.
NewMsgDeleteUserGroup creates a new MsgDeleteUserGroup instance.
NewMsgEditSubspace creates a new MsgEditSubspace instance.
NewMsgEditUserGroup returns a new NewMsgEditUserGroup instance.
NewMsgRemoveUserFromUserGroup creates a new MsgRemoveUserFromUserGroup instance.
NewMsgSetUserGroupPermissions returns a new MsgSetUserGroupPermissions instance.
NewMsgSetUserPermissions creates a new MsgSetUserPermissions instance.
No description provided by the author
NewPermissionDetailGroup returns a new PermissionDetail for the user with the given id and permission value.
NewPermissionDetailUser returns a new PermissionDetail for the user with the given address and permission value.
No description provided by the author
NewQuerySubspaceRequest returns a new QuerySubspaceRequest instance.
NewQuerySubspacesRequest returns a new QuerySubspacesRequest instance.
NewQueryUserGroupMembersRequest returns a new QueryUserGroupMembersRequest instance.
NewQueryUserGroupRequest returns a new QueryUserGroupRequest instance.
NewQueryUserGroupsRequest returns a new QueryUserGroupsRequest instance.
NewQueryUserPermissionsRequest returns a new QueryPermissionsRequest instance.
NewSubspace is a constructor for the Subspace type.
NewSubspaceUpdate builds a new SubspaceUpdate instance containing the given data.
NewUserGroup returns a new UserGroup instance.
NewUserGroupMembersEntry returns a new UserGroupMembersEntry instance.
ParseGroupID parses the given value as a group id, returning an error if it's invalid.
ParsePermission parses the given permission string as a single Permissions instance.
ParseSubspaceID parses the given value as a subspace id, returning an error if it's invalid.
PermissionsStoreKey returns the key used to store the entire ACL for a given subspace.
No description provided by the author
No description provided by the author
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
SanitizePermission sanitizes the given permission to remove any unwanted bits set to 1.
SerializePermission serializes the given permission to a string value.
SubspaceKey returns the key for a specific subspace.
UnmarshalPermission reads the given byte array as a Permission object.
UserPermissionStoreKey returns the key used to store the permission for the given user inside the given subspace.
ValidateGenesis validates the given genesis state and returns an error if something is invalid.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Subspaces module event types.
Subspaces module event types.
Subspaces module event types.
Subspaces module event types.
Subspaces module event types.
Subspaces module event types.
Subspaces module event types.
No description provided by the author
Subspaces module event types.
Subspaces module event types.
Subspaces module event types.
Subspaces module event types.
Subspaces module event types.
Subspaces module event types.
Subspaces module event types.
Subspaces module event types.
Subspaces module event types.
Subspaces module event types.
No description provided by the author
PermissionChangeInfo allows to change the information of the subspace.
PermissionDeleteSubspace allows users to delete the subspace.
PermissionEverything allows to do everything.
PermissionManageGroups allows users to manage user groups and members.
PermissionModerateContent allows users to moderate contents of other users (e.g.
PermissionNothing represents the permission to do nothing.
PermissionSetPermissions allows users to set other users' permissions (except PermissionSetPermissions).
PermissionWrite identifies users that can create content inside the subspace.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
AminoCodec references the global x/subspaces module codec.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrPermissionDenied is returned if a user cannot perform a specific action inside a subspace.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
ACLEntry represents a single Access Control List entry.
GenesisState contains the data of the genesis state for the subspaces module.
GenesisSubspace contains the genesis data for a single subspace.
GroupUpdate contains all the data that can be updated about a group.
MsgAddUserToUserGroup represents the message used to add a user to a user group.
MsgAddUserToUserGroupResponse defines the Msg/AddUserToUserGroupResponse response type.
MsgCreateSubspace represents the message used to create a subspace.
MsgCreateSubspaceResponse defines the Msg/CreateSubspace response type.
MsgCreateUserGroup represents the message used to create a user group.
MsgCreateUserGroupResponse defines the Msg/CreateUserGroup response type.
MsgDeleteSubspace represents the message used to delete a subspace.
MsgDeleteSubspaceResponse defines the Msg/DeleteSubspace response type.
MsgDeleteUserGroup represents the message used to delete a user group.
MsgDeleteUserGroupResponse defines the Msg/DeleteUserGroup response type.
MsgEditSubspace represents the message used to edit a subspace fields.
MsgEditSubspaceResponse defines the Msg/EditSubspace response type.
MsgEditUserGroup represents the message used to edit a user group.
MsgEditUserGroupResponse defines the Msg/EditUserGroup response type.
MsgRemoveUserFromUserGroup represents the message used to remove a user from a user group.
MsgRemoveUserFromUserGroupResponse defines the Msg/RemoveUserFromUserGroupResponse response type.
MsgSetUserGroupPermissions represents the message used to set the permissions of a user group.
MsgSetUserGroupPermissionsResponse defines the Msg/SetUserGroupPermissionsResponse response type.
MsgSetUserPermissions represents the message used to set the permissions of a specific user.
MsgSetUserPermissionsResponse defines the Msg/SetPermissionsResponse response type.
PermissionDetail contains the details data of a permission.
Group is a permission that has been set to a user group.
No description provided by the author
User is a permission that has been set to a specific user.
No description provided by the author
QuerySubspace is the request type for the Query/Subspace RPC method.
QuerySubspaceResponse is the response type for the Query/Subspace method.
QuerySubspacesRequest is the request type for the Query/Subspaces RPC method.
QuerySubspacesResponse is the response type for the Query/Subspaces RPC method.
QueryUserGroupMembersRequest is the request type for the Query/UserGroupMembers RPC method.
QueryUserGroupMembersResponse is the response type for the Query/UserGroupMembers RPC method.
QueryUserGroupRequest is the request type for the Query/UserGroup RPC method.
QueryUserGroupResponse is the response type for the Query/UserGroup RPC method.
QueryUserGroupsRequest is the request type for the Query/UserGroups RPC method.
QueryUserGroupsResponse is the response type for the Query/UserGroups RPC method.
QueryUserPermissionsRequest is the request type for the Query/UserPermissions RPC method.
QueryUserPermissionsRequest is the response type for the Query/UserPermissions method.
Subspace contains all the data of a Desmos subspace.
SubspaceUpdate contains all the data that can be updated about a subspace.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
UserGroup represents a group of users.
UserGroupMembersEntry contains all the members of a specific user group.
# Interfaces
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
SubspacesHooks event hooks for subspaces objects (noalias).
# Type aliases
MultiSubspacesHooks combines multiple subspaces hooks, all hook functions are run in array sequence.
Permission represents a permission that can be set to a user or user group.