Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ArePermissionsValid(permissions Permissions) bool
- func CheckPermission(permissions Permissions, permission Permission) bool
- func CheckPermissions(permissions Permissions, toCheck Permissions) bool
- func ExpiringAllowanceKey(expiration *time.Time, key []byte) []byte
- func ExpiringAllowanceTimePrefix(expiration *time.Time) []byte
- func GetAddressBytes(user string) []byte
- func GetAddressFromBytes(bz []byte) string
- func GetGroupIDBytes(groupID uint32) (groupIDBz []byte)
- func GetGroupIDFromBytes(bz []byte) (subspaceID uint32)
- func GetSectionIDBytes(sectionID uint32) (sectionIDBz []byte)
- func GetSectionIDFromBytes(bz []byte) (sectionID uint32)
- func GetSubspaceIDBytes(subspaceID uint64) (subspaceIDBz []byte)
- func GetSubspaceIDFromBytes(bz []byte) (subspaceID uint64)
- func GetTreasuryAddress(subspaceID uint64) sdk.AccAddress
- func GroupAllowanceKey(subspaceID uint64, groupID uint32) []byte
- func GroupMemberStoreKey(subspaceID uint64, groupID uint32, user string) []byte
- func GroupMembersPrefix(subspaceID uint64, groupID uint32) []byte
- func GroupStoreKey(subspaceID uint64, sectionID uint32, groupID uint32) []byte
- func NextGroupIDStoreKey(subspaceID uint64) []byte
- func NextSectionIDStoreKey(subspaceID uint64) []byte
- func ParseAllowanceKeyFromExpiringKey(key []byte) []byte
- func ParseGroupID(value string) (uint32, error)
- func ParseSectionID(value string) (uint32, error)
- func ParseSubspaceID(value string) (uint64, error)
- func ParseSubspacesIDs(value string) (ids []uint64, err error)
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func SectionGroupsPrefix(subspaceID uint64, sectionID uint32) []byte
- func SectionPermissionsPrefix(subspaceID uint64, sectionID uint32) []byte
- func SectionStoreKey(subspaceID uint64, sectionID uint32) []byte
- func SerializePermission(permission Permission) string
- func SplitGroupMemberStoreKey(key []byte) (subspaceID uint64, groupID uint32, user string)
- func SplitUserAddressPermissionKey(key []byte) (subspaceID uint64, sectionID uint32, user string)
- func SubspaceGroupAllowancePrefix(subspaceID uint64) []byte
- func SubspaceGroupsMembersPrefix(subspaceID uint64) []byte
- func SubspaceGroupsPrefix(subspaceID uint64) []byte
- func SubspacePermissionsPrefix(subspaceID uint64) []byte
- func SubspaceSectionsPrefix(subspaceID uint64) []byte
- func SubspaceStoreKey(subspaceID uint64) []byte
- func SubspaceUserAllowancePrefix(subspaceID uint64) []byte
- func UserAllowanceKey(subspaceID uint64, grantee string) []byte
- func UserPermissionStoreKey(subspaceID uint64, sectionID uint32, user string) []byte
- func ValidateGenesis(data *GenesisState) error
- type AccountKeeper
- type AdditionalFeeTokensUpdate
- type AuthzKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (this *GenesisState) Equal(that interface{}) bool
- func (m *GenesisState) GetGrants() []Grant
- func (m *GenesisState) GetInitialSubspaceID() uint64
- func (m *GenesisState) GetSections() []Section
- func (m *GenesisState) GetSubspaces() []Subspace
- func (m *GenesisState) GetSubspacesData() []SubspaceData
- func (m *GenesisState) GetUserGroups() []UserGroup
- func (m *GenesisState) GetUserGroupsMembers() []UserGroupMemberEntry
- func (m *GenesisState) GetUserPermissions() []UserPermission
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (data GenesisState) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type Grant
- func (*Grant) Descriptor() ([]byte, []int)
- func (this *Grant) Equal(that interface{}) bool
- func (m *Grant) GetAllowance() *types1.Any
- func (g Grant) GetExpiration() *time.Time
- func (m *Grant) GetGrantee() *types1.Any
- func (m *Grant) GetGranter() string
- func (m *Grant) GetSubspaceID() uint64
- func (g Grant) GetUnpackedAllowance() (feegranttypes.FeeAllowanceI, error)
- func (m *Grant) Marshal() (dAtA []byte, err error)
- func (m *Grant) MarshalTo(dAtA []byte) (int, error)
- func (m *Grant) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Grant) ProtoMessage()
- func (m *Grant) Reset()
- func (m *Grant) Size() (n int)
- func (m *Grant) String() string
- func (m *Grant) Unmarshal(dAtA []byte) error
- func (g Grant) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (g Grant) Validate() error
- func (m *Grant) XXX_DiscardUnknown()
- func (m *Grant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Grant) XXX_Merge(src proto.Message)
- func (m *Grant) XXX_Size() int
- func (m *Grant) XXX_Unmarshal(b []byte) error
- type Grantee
- type GroupGrantee
- func (*GroupGrantee) Descriptor() ([]byte, []int)
- func (this *GroupGrantee) Equal(that interface{}) bool
- func (m *GroupGrantee) GetGroupID() uint32
- func (m *GroupGrantee) Marshal() (dAtA []byte, err error)
- func (m *GroupGrantee) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupGrantee) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GroupGrantee) ProtoMessage()
- func (m *GroupGrantee) Reset()
- func (m *GroupGrantee) Size() (n int)
- func (m *GroupGrantee) String() string
- func (m *GroupGrantee) Unmarshal(dAtA []byte) error
- func (t *GroupGrantee) Validate() error
- func (m *GroupGrantee) XXX_DiscardUnknown()
- func (m *GroupGrantee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupGrantee) XXX_Merge(src proto.Message)
- func (m *GroupGrantee) XXX_Size() int
- func (m *GroupGrantee) XXX_Unmarshal(b []byte) error
- type GroupUpdate
- type ManageSubspaceMsg
- type MsgAddUserToUserGroup
- func (*MsgAddUserToUserGroup) Descriptor() ([]byte, []int)
- func (m *MsgAddUserToUserGroup) GetGroupID() uint32
- func (msg *MsgAddUserToUserGroup) GetSignBytes() []byte
- func (m *MsgAddUserToUserGroup) GetSigner() string
- func (msg *MsgAddUserToUserGroup) GetSigners() []sdk.AccAddress
- func (m *MsgAddUserToUserGroup) GetSubspaceID() uint64
- func (m *MsgAddUserToUserGroup) GetUser() string
- func (msg *MsgAddUserToUserGroup) IsManageSubspaceMsg()
- func (m *MsgAddUserToUserGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgAddUserToUserGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddUserToUserGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddUserToUserGroup) ProtoMessage()
- func (m *MsgAddUserToUserGroup) Reset()
- func (msg *MsgAddUserToUserGroup) Route() string
- func (m *MsgAddUserToUserGroup) Size() (n int)
- func (m *MsgAddUserToUserGroup) String() string
- func (msg *MsgAddUserToUserGroup) Type() string
- func (m *MsgAddUserToUserGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgAddUserToUserGroup) ValidateBasic() error
- func (m *MsgAddUserToUserGroup) XXX_DiscardUnknown()
- func (m *MsgAddUserToUserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddUserToUserGroup) XXX_Merge(src proto.Message)
- func (m *MsgAddUserToUserGroup) XXX_Size() int
- func (m *MsgAddUserToUserGroup) XXX_Unmarshal(b []byte) error
- type MsgAddUserToUserGroupResponse
- func (*MsgAddUserToUserGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddUserToUserGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddUserToUserGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddUserToUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddUserToUserGroupResponse) ProtoMessage()
- func (m *MsgAddUserToUserGroupResponse) Reset()
- func (m *MsgAddUserToUserGroupResponse) Size() (n int)
- func (m *MsgAddUserToUserGroupResponse) String() string
- func (m *MsgAddUserToUserGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddUserToUserGroupResponse) XXX_DiscardUnknown()
- func (m *MsgAddUserToUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddUserToUserGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddUserToUserGroupResponse) XXX_Size() int
- func (m *MsgAddUserToUserGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateSection
- func (*MsgCreateSection) Descriptor() ([]byte, []int)
- func (m *MsgCreateSection) GetCreator() string
- func (m *MsgCreateSection) GetDescription() string
- func (m *MsgCreateSection) GetName() string
- func (m *MsgCreateSection) GetParentID() uint32
- func (msg *MsgCreateSection) GetSignBytes() []byte
- func (msg *MsgCreateSection) GetSigners() []sdk.AccAddress
- func (m *MsgCreateSection) GetSubspaceID() uint64
- func (msg *MsgCreateSection) IsManageSubspaceMsg()
- func (m *MsgCreateSection) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateSection) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateSection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateSection) ProtoMessage()
- func (m *MsgCreateSection) Reset()
- func (msg *MsgCreateSection) Route() string
- func (m *MsgCreateSection) Size() (n int)
- func (m *MsgCreateSection) String() string
- func (msg *MsgCreateSection) Type() string
- func (m *MsgCreateSection) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateSection) ValidateBasic() error
- func (m *MsgCreateSection) XXX_DiscardUnknown()
- func (m *MsgCreateSection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateSection) XXX_Merge(src proto.Message)
- func (m *MsgCreateSection) XXX_Size() int
- func (m *MsgCreateSection) XXX_Unmarshal(b []byte) error
- type MsgCreateSectionResponse
- func (*MsgCreateSectionResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateSectionResponse) GetSectionID() uint32
- func (m *MsgCreateSectionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateSectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateSectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateSectionResponse) ProtoMessage()
- func (m *MsgCreateSectionResponse) Reset()
- func (m *MsgCreateSectionResponse) Size() (n int)
- func (m *MsgCreateSectionResponse) String() string
- func (m *MsgCreateSectionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateSectionResponse) XXX_DiscardUnknown()
- func (m *MsgCreateSectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateSectionResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateSectionResponse) XXX_Size() int
- func (m *MsgCreateSectionResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateSubspace
- func (*MsgCreateSubspace) Descriptor() ([]byte, []int)
- func (m *MsgCreateSubspace) GetCreator() string
- func (m *MsgCreateSubspace) GetDescription() string
- func (m *MsgCreateSubspace) GetName() string
- func (m *MsgCreateSubspace) GetOwner() string
- func (msg *MsgCreateSubspace) GetSignBytes() []byte
- func (msg *MsgCreateSubspace) GetSigners() []sdk.AccAddress
- func (m *MsgCreateSubspace) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateSubspace) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateSubspace) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateSubspace) ProtoMessage()
- func (m *MsgCreateSubspace) Reset()
- func (msg *MsgCreateSubspace) Route() string
- func (m *MsgCreateSubspace) Size() (n int)
- func (m *MsgCreateSubspace) String() string
- func (msg *MsgCreateSubspace) Type() string
- func (m *MsgCreateSubspace) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateSubspace) ValidateBasic() error
- func (m *MsgCreateSubspace) XXX_DiscardUnknown()
- func (m *MsgCreateSubspace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateSubspace) XXX_Merge(src proto.Message)
- func (m *MsgCreateSubspace) XXX_Size() int
- func (m *MsgCreateSubspace) XXX_Unmarshal(b []byte) error
- type MsgCreateSubspaceResponse
- func (*MsgCreateSubspaceResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateSubspaceResponse) GetSubspaceID() uint64
- func (m *MsgCreateSubspaceResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateSubspaceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateSubspaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateSubspaceResponse) ProtoMessage()
- func (m *MsgCreateSubspaceResponse) Reset()
- func (m *MsgCreateSubspaceResponse) Size() (n int)
- func (m *MsgCreateSubspaceResponse) String() string
- func (m *MsgCreateSubspaceResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateSubspaceResponse) XXX_DiscardUnknown()
- func (m *MsgCreateSubspaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateSubspaceResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateSubspaceResponse) XXX_Size() int
- func (m *MsgCreateSubspaceResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateUserGroup
- func (*MsgCreateUserGroup) Descriptor() ([]byte, []int)
- func (m *MsgCreateUserGroup) GetCreator() string
- func (m *MsgCreateUserGroup) GetDefaultPermissions() []string
- func (m *MsgCreateUserGroup) GetDescription() string
- func (m *MsgCreateUserGroup) GetInitialMembers() []string
- func (m *MsgCreateUserGroup) GetName() string
- func (m *MsgCreateUserGroup) GetSectionID() uint32
- func (msg *MsgCreateUserGroup) GetSignBytes() []byte
- func (msg *MsgCreateUserGroup) GetSigners() []sdk.AccAddress
- func (m *MsgCreateUserGroup) GetSubspaceID() uint64
- func (msg *MsgCreateUserGroup) IsManageSubspaceMsg()
- func (m *MsgCreateUserGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateUserGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateUserGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateUserGroup) ProtoMessage()
- func (m *MsgCreateUserGroup) Reset()
- func (msg *MsgCreateUserGroup) Route() string
- func (m *MsgCreateUserGroup) Size() (n int)
- func (m *MsgCreateUserGroup) String() string
- func (msg *MsgCreateUserGroup) Type() string
- func (m *MsgCreateUserGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateUserGroup) ValidateBasic() error
- func (m *MsgCreateUserGroup) XXX_DiscardUnknown()
- func (m *MsgCreateUserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateUserGroup) XXX_Merge(src proto.Message)
- func (m *MsgCreateUserGroup) XXX_Size() int
- func (m *MsgCreateUserGroup) XXX_Unmarshal(b []byte) error
- type MsgCreateUserGroupResponse
- func (*MsgCreateUserGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateUserGroupResponse) GetGroupID() uint32
- func (m *MsgCreateUserGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateUserGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateUserGroupResponse) ProtoMessage()
- func (m *MsgCreateUserGroupResponse) Reset()
- func (m *MsgCreateUserGroupResponse) Size() (n int)
- func (m *MsgCreateUserGroupResponse) String() string
- func (m *MsgCreateUserGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateUserGroupResponse) XXX_DiscardUnknown()
- func (m *MsgCreateUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateUserGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateUserGroupResponse) XXX_Size() int
- func (m *MsgCreateUserGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteSection
- func (*MsgDeleteSection) Descriptor() ([]byte, []int)
- func (m *MsgDeleteSection) GetSectionID() uint32
- func (msg *MsgDeleteSection) GetSignBytes() []byte
- func (m *MsgDeleteSection) GetSigner() string
- func (msg *MsgDeleteSection) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteSection) GetSubspaceID() uint64
- func (msg *MsgDeleteSection) IsManageSubspaceMsg()
- func (m *MsgDeleteSection) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteSection) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteSection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteSection) ProtoMessage()
- func (m *MsgDeleteSection) Reset()
- func (msg *MsgDeleteSection) Route() string
- func (m *MsgDeleteSection) Size() (n int)
- func (m *MsgDeleteSection) String() string
- func (msg *MsgDeleteSection) Type() string
- func (m *MsgDeleteSection) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteSection) ValidateBasic() error
- func (m *MsgDeleteSection) XXX_DiscardUnknown()
- func (m *MsgDeleteSection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteSection) XXX_Merge(src proto.Message)
- func (m *MsgDeleteSection) XXX_Size() int
- func (m *MsgDeleteSection) XXX_Unmarshal(b []byte) error
- type MsgDeleteSectionResponse
- func (*MsgDeleteSectionResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteSectionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteSectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteSectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteSectionResponse) ProtoMessage()
- func (m *MsgDeleteSectionResponse) Reset()
- func (m *MsgDeleteSectionResponse) Size() (n int)
- func (m *MsgDeleteSectionResponse) String() string
- func (m *MsgDeleteSectionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteSectionResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteSectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteSectionResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteSectionResponse) XXX_Size() int
- func (m *MsgDeleteSectionResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteSubspace
- func (*MsgDeleteSubspace) Descriptor() ([]byte, []int)
- func (msg *MsgDeleteSubspace) GetSignBytes() []byte
- func (m *MsgDeleteSubspace) GetSigner() string
- func (msg *MsgDeleteSubspace) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteSubspace) GetSubspaceID() uint64
- func (msg *MsgDeleteSubspace) IsManageSubspaceMsg()
- func (m *MsgDeleteSubspace) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteSubspace) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteSubspace) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteSubspace) ProtoMessage()
- func (m *MsgDeleteSubspace) Reset()
- func (msg *MsgDeleteSubspace) Route() string
- func (m *MsgDeleteSubspace) Size() (n int)
- func (m *MsgDeleteSubspace) String() string
- func (msg *MsgDeleteSubspace) Type() string
- func (m *MsgDeleteSubspace) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteSubspace) ValidateBasic() error
- func (m *MsgDeleteSubspace) XXX_DiscardUnknown()
- func (m *MsgDeleteSubspace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteSubspace) XXX_Merge(src proto.Message)
- func (m *MsgDeleteSubspace) XXX_Size() int
- func (m *MsgDeleteSubspace) XXX_Unmarshal(b []byte) error
- type MsgDeleteSubspaceResponse
- func (*MsgDeleteSubspaceResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteSubspaceResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteSubspaceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteSubspaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteSubspaceResponse) ProtoMessage()
- func (m *MsgDeleteSubspaceResponse) Reset()
- func (m *MsgDeleteSubspaceResponse) Size() (n int)
- func (m *MsgDeleteSubspaceResponse) String() string
- func (m *MsgDeleteSubspaceResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteSubspaceResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteSubspaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteSubspaceResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteSubspaceResponse) XXX_Size() int
- func (m *MsgDeleteSubspaceResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteUserGroup
- func (*MsgDeleteUserGroup) Descriptor() ([]byte, []int)
- func (m *MsgDeleteUserGroup) GetGroupID() uint32
- func (msg *MsgDeleteUserGroup) GetSignBytes() []byte
- func (m *MsgDeleteUserGroup) GetSigner() string
- func (msg *MsgDeleteUserGroup) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteUserGroup) GetSubspaceID() uint64
- func (msg *MsgDeleteUserGroup) IsManageSubspaceMsg()
- func (m *MsgDeleteUserGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteUserGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteUserGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteUserGroup) ProtoMessage()
- func (m *MsgDeleteUserGroup) Reset()
- func (msg *MsgDeleteUserGroup) Route() string
- func (m *MsgDeleteUserGroup) Size() (n int)
- func (m *MsgDeleteUserGroup) String() string
- func (msg *MsgDeleteUserGroup) Type() string
- func (m *MsgDeleteUserGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteUserGroup) ValidateBasic() error
- func (m *MsgDeleteUserGroup) XXX_DiscardUnknown()
- func (m *MsgDeleteUserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteUserGroup) XXX_Merge(src proto.Message)
- func (m *MsgDeleteUserGroup) XXX_Size() int
- func (m *MsgDeleteUserGroup) XXX_Unmarshal(b []byte) error
- type MsgDeleteUserGroupResponse
- func (*MsgDeleteUserGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteUserGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteUserGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteUserGroupResponse) ProtoMessage()
- func (m *MsgDeleteUserGroupResponse) Reset()
- func (m *MsgDeleteUserGroupResponse) Size() (n int)
- func (m *MsgDeleteUserGroupResponse) String() string
- func (m *MsgDeleteUserGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteUserGroupResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteUserGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteUserGroupResponse) XXX_Size() int
- func (m *MsgDeleteUserGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgEditSection
- func (*MsgEditSection) Descriptor() ([]byte, []int)
- func (m *MsgEditSection) GetDescription() string
- func (m *MsgEditSection) GetEditor() string
- func (m *MsgEditSection) GetName() string
- func (m *MsgEditSection) GetSectionID() uint32
- func (msg *MsgEditSection) GetSignBytes() []byte
- func (msg *MsgEditSection) GetSigners() []sdk.AccAddress
- func (m *MsgEditSection) GetSubspaceID() uint64
- func (msg *MsgEditSection) IsManageSubspaceMsg()
- func (m *MsgEditSection) Marshal() (dAtA []byte, err error)
- func (m *MsgEditSection) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditSection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditSection) ProtoMessage()
- func (m *MsgEditSection) Reset()
- func (msg *MsgEditSection) Route() string
- func (m *MsgEditSection) Size() (n int)
- func (m *MsgEditSection) String() string
- func (msg *MsgEditSection) Type() string
- func (m *MsgEditSection) Unmarshal(dAtA []byte) error
- func (msg *MsgEditSection) ValidateBasic() error
- func (m *MsgEditSection) XXX_DiscardUnknown()
- func (m *MsgEditSection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditSection) XXX_Merge(src proto.Message)
- func (m *MsgEditSection) XXX_Size() int
- func (m *MsgEditSection) XXX_Unmarshal(b []byte) error
- type MsgEditSectionResponse
- func (*MsgEditSectionResponse) Descriptor() ([]byte, []int)
- func (m *MsgEditSectionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEditSectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditSectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditSectionResponse) ProtoMessage()
- func (m *MsgEditSectionResponse) Reset()
- func (m *MsgEditSectionResponse) Size() (n int)
- func (m *MsgEditSectionResponse) String() string
- func (m *MsgEditSectionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEditSectionResponse) XXX_DiscardUnknown()
- func (m *MsgEditSectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditSectionResponse) XXX_Merge(src proto.Message)
- func (m *MsgEditSectionResponse) XXX_Size() int
- func (m *MsgEditSectionResponse) XXX_Unmarshal(b []byte) error
- type MsgEditSubspace
- func (*MsgEditSubspace) Descriptor() ([]byte, []int)
- func (m *MsgEditSubspace) GetDescription() string
- func (m *MsgEditSubspace) GetName() string
- func (m *MsgEditSubspace) GetOwner() string
- func (msg *MsgEditSubspace) GetSignBytes() []byte
- func (m *MsgEditSubspace) GetSigner() string
- func (msg *MsgEditSubspace) GetSigners() []sdk.AccAddress
- func (m *MsgEditSubspace) GetSubspaceID() uint64
- func (msg *MsgEditSubspace) IsManageSubspaceMsg()
- func (m *MsgEditSubspace) Marshal() (dAtA []byte, err error)
- func (m *MsgEditSubspace) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditSubspace) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditSubspace) ProtoMessage()
- func (m *MsgEditSubspace) Reset()
- func (msg *MsgEditSubspace) Route() string
- func (m *MsgEditSubspace) Size() (n int)
- func (m *MsgEditSubspace) String() string
- func (msg *MsgEditSubspace) Type() string
- func (m *MsgEditSubspace) Unmarshal(dAtA []byte) error
- func (msg *MsgEditSubspace) ValidateBasic() error
- func (m *MsgEditSubspace) XXX_DiscardUnknown()
- func (m *MsgEditSubspace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditSubspace) XXX_Merge(src proto.Message)
- func (m *MsgEditSubspace) XXX_Size() int
- func (m *MsgEditSubspace) XXX_Unmarshal(b []byte) error
- type MsgEditSubspaceResponse
- func (*MsgEditSubspaceResponse) Descriptor() ([]byte, []int)
- func (m *MsgEditSubspaceResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEditSubspaceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditSubspaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditSubspaceResponse) ProtoMessage()
- func (m *MsgEditSubspaceResponse) Reset()
- func (m *MsgEditSubspaceResponse) Size() (n int)
- func (m *MsgEditSubspaceResponse) String() string
- func (m *MsgEditSubspaceResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEditSubspaceResponse) XXX_DiscardUnknown()
- func (m *MsgEditSubspaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditSubspaceResponse) XXX_Merge(src proto.Message)
- func (m *MsgEditSubspaceResponse) XXX_Size() int
- func (m *MsgEditSubspaceResponse) XXX_Unmarshal(b []byte) error
- type MsgEditUserGroup
- func (*MsgEditUserGroup) Descriptor() ([]byte, []int)
- func (m *MsgEditUserGroup) GetDescription() string
- func (m *MsgEditUserGroup) GetGroupID() uint32
- func (m *MsgEditUserGroup) GetName() string
- func (msg *MsgEditUserGroup) GetSignBytes() []byte
- func (m *MsgEditUserGroup) GetSigner() string
- func (msg *MsgEditUserGroup) GetSigners() []sdk.AccAddress
- func (m *MsgEditUserGroup) GetSubspaceID() uint64
- func (msg *MsgEditUserGroup) IsManageSubspaceMsg()
- func (m *MsgEditUserGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgEditUserGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditUserGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditUserGroup) ProtoMessage()
- func (m *MsgEditUserGroup) Reset()
- func (msg *MsgEditUserGroup) Route() string
- func (m *MsgEditUserGroup) Size() (n int)
- func (m *MsgEditUserGroup) String() string
- func (msg *MsgEditUserGroup) Type() string
- func (m *MsgEditUserGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgEditUserGroup) ValidateBasic() error
- func (m *MsgEditUserGroup) XXX_DiscardUnknown()
- func (m *MsgEditUserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditUserGroup) XXX_Merge(src proto.Message)
- func (m *MsgEditUserGroup) XXX_Size() int
- func (m *MsgEditUserGroup) XXX_Unmarshal(b []byte) error
- type MsgEditUserGroupResponse
- func (*MsgEditUserGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgEditUserGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEditUserGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditUserGroupResponse) ProtoMessage()
- func (m *MsgEditUserGroupResponse) Reset()
- func (m *MsgEditUserGroupResponse) Size() (n int)
- func (m *MsgEditUserGroupResponse) String() string
- func (m *MsgEditUserGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEditUserGroupResponse) XXX_DiscardUnknown()
- func (m *MsgEditUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditUserGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgEditUserGroupResponse) XXX_Size() int
- func (m *MsgEditUserGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgGrantAllowance
- func (*MsgGrantAllowance) Descriptor() ([]byte, []int)
- func (m *MsgGrantAllowance) GetAllowance() *types.Any
- func (m *MsgGrantAllowance) GetGrantee() *types.Any
- func (m *MsgGrantAllowance) GetGranter() string
- func (msg *MsgGrantAllowance) GetSignBytes() []byte
- func (msg *MsgGrantAllowance) GetSigners() []sdk.AccAddress
- func (m *MsgGrantAllowance) GetSubspaceID() uint64
- func (msg *MsgGrantAllowance) GetUnpackedAllowance() (feegranttypes.FeeAllowanceI, error)
- func (msg *MsgGrantAllowance) IsManageSubspaceMsg()
- func (m *MsgGrantAllowance) Marshal() (dAtA []byte, err error)
- func (m *MsgGrantAllowance) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGrantAllowance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGrantAllowance) ProtoMessage()
- func (m *MsgGrantAllowance) Reset()
- func (msg *MsgGrantAllowance) Route() string
- func (m *MsgGrantAllowance) Size() (n int)
- func (m *MsgGrantAllowance) String() string
- func (msg *MsgGrantAllowance) Type() string
- func (m *MsgGrantAllowance) Unmarshal(dAtA []byte) error
- func (msg *MsgGrantAllowance) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (msg *MsgGrantAllowance) ValidateBasic() error
- func (m *MsgGrantAllowance) XXX_DiscardUnknown()
- func (m *MsgGrantAllowance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGrantAllowance) XXX_Merge(src proto.Message)
- func (m *MsgGrantAllowance) XXX_Size() int
- func (m *MsgGrantAllowance) XXX_Unmarshal(b []byte) error
- type MsgGrantAllowanceResponse
- func (*MsgGrantAllowanceResponse) Descriptor() ([]byte, []int)
- func (m *MsgGrantAllowanceResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgGrantAllowanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGrantAllowanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGrantAllowanceResponse) ProtoMessage()
- func (m *MsgGrantAllowanceResponse) Reset()
- func (m *MsgGrantAllowanceResponse) Size() (n int)
- func (m *MsgGrantAllowanceResponse) String() string
- func (m *MsgGrantAllowanceResponse) Unmarshal(dAtA []byte) error
- func (m *MsgGrantAllowanceResponse) XXX_DiscardUnknown()
- func (m *MsgGrantAllowanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGrantAllowanceResponse) XXX_Merge(src proto.Message)
- func (m *MsgGrantAllowanceResponse) XXX_Size() int
- func (m *MsgGrantAllowanceResponse) XXX_Unmarshal(b []byte) error
- type MsgGrantTreasuryAuthorization
- func (*MsgGrantTreasuryAuthorization) Descriptor() ([]byte, []int)
- func (m *MsgGrantTreasuryAuthorization) GetGrant() authz.Grant
- func (m *MsgGrantTreasuryAuthorization) GetGrantee() string
- func (m *MsgGrantTreasuryAuthorization) GetGranter() string
- func (msg *MsgGrantTreasuryAuthorization) GetSignBytes() []byte
- func (msg *MsgGrantTreasuryAuthorization) GetSigners() []sdk.AccAddress
- func (m *MsgGrantTreasuryAuthorization) GetSubspaceID() uint64
- func (msg *MsgGrantTreasuryAuthorization) IsManageSubspaceMsg()
- func (m *MsgGrantTreasuryAuthorization) Marshal() (dAtA []byte, err error)
- func (m *MsgGrantTreasuryAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGrantTreasuryAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGrantTreasuryAuthorization) ProtoMessage()
- func (m *MsgGrantTreasuryAuthorization) Reset()
- func (msg *MsgGrantTreasuryAuthorization) Route() string
- func (m *MsgGrantTreasuryAuthorization) Size() (n int)
- func (m *MsgGrantTreasuryAuthorization) String() string
- func (msg *MsgGrantTreasuryAuthorization) Type() string
- func (m *MsgGrantTreasuryAuthorization) Unmarshal(dAtA []byte) error
- func (msg *MsgGrantTreasuryAuthorization) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (msg *MsgGrantTreasuryAuthorization) ValidateBasic() error
- func (m *MsgGrantTreasuryAuthorization) XXX_DiscardUnknown()
- func (m *MsgGrantTreasuryAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGrantTreasuryAuthorization) XXX_Merge(src proto.Message)
- func (m *MsgGrantTreasuryAuthorization) XXX_Size() int
- func (m *MsgGrantTreasuryAuthorization) XXX_Unmarshal(b []byte) error
- type MsgGrantTreasuryAuthorizationResponse
- func (*MsgGrantTreasuryAuthorizationResponse) Descriptor() ([]byte, []int)
- func (m *MsgGrantTreasuryAuthorizationResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgGrantTreasuryAuthorizationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGrantTreasuryAuthorizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGrantTreasuryAuthorizationResponse) ProtoMessage()
- func (m *MsgGrantTreasuryAuthorizationResponse) Reset()
- func (m *MsgGrantTreasuryAuthorizationResponse) Size() (n int)
- func (m *MsgGrantTreasuryAuthorizationResponse) String() string
- func (m *MsgGrantTreasuryAuthorizationResponse) Unmarshal(dAtA []byte) error
- func (m *MsgGrantTreasuryAuthorizationResponse) XXX_DiscardUnknown()
- func (m *MsgGrantTreasuryAuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGrantTreasuryAuthorizationResponse) XXX_Merge(src proto.Message)
- func (m *MsgGrantTreasuryAuthorizationResponse) XXX_Size() int
- func (m *MsgGrantTreasuryAuthorizationResponse) XXX_Unmarshal(b []byte) error
- type MsgMoveSection
- func (*MsgMoveSection) Descriptor() ([]byte, []int)
- func (m *MsgMoveSection) GetNewParentID() uint32
- func (m *MsgMoveSection) GetSectionID() uint32
- func (msg *MsgMoveSection) GetSignBytes() []byte
- func (m *MsgMoveSection) GetSigner() string
- func (msg *MsgMoveSection) GetSigners() []sdk.AccAddress
- func (m *MsgMoveSection) GetSubspaceID() uint64
- func (msg *MsgMoveSection) IsManageSubspaceMsg()
- func (m *MsgMoveSection) Marshal() (dAtA []byte, err error)
- func (m *MsgMoveSection) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMoveSection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMoveSection) ProtoMessage()
- func (m *MsgMoveSection) Reset()
- func (msg *MsgMoveSection) Route() string
- func (m *MsgMoveSection) Size() (n int)
- func (m *MsgMoveSection) String() string
- func (msg *MsgMoveSection) Type() string
- func (m *MsgMoveSection) Unmarshal(dAtA []byte) error
- func (msg *MsgMoveSection) ValidateBasic() error
- func (m *MsgMoveSection) XXX_DiscardUnknown()
- func (m *MsgMoveSection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMoveSection) XXX_Merge(src proto.Message)
- func (m *MsgMoveSection) XXX_Size() int
- func (m *MsgMoveSection) XXX_Unmarshal(b []byte) error
- type MsgMoveSectionResponse
- func (*MsgMoveSectionResponse) Descriptor() ([]byte, []int)
- func (m *MsgMoveSectionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMoveSectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMoveSectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMoveSectionResponse) ProtoMessage()
- func (m *MsgMoveSectionResponse) Reset()
- func (m *MsgMoveSectionResponse) Size() (n int)
- func (m *MsgMoveSectionResponse) String() string
- func (m *MsgMoveSectionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMoveSectionResponse) XXX_DiscardUnknown()
- func (m *MsgMoveSectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMoveSectionResponse) XXX_Merge(src proto.Message)
- func (m *MsgMoveSectionResponse) XXX_Size() int
- func (m *MsgMoveSectionResponse) XXX_Unmarshal(b []byte) error
- type MsgMoveUserGroup
- func (*MsgMoveUserGroup) Descriptor() ([]byte, []int)
- func (m *MsgMoveUserGroup) GetGroupID() uint32
- func (m *MsgMoveUserGroup) GetNewSectionID() uint32
- func (msg *MsgMoveUserGroup) GetSignBytes() []byte
- func (m *MsgMoveUserGroup) GetSigner() string
- func (msg *MsgMoveUserGroup) GetSigners() []sdk.AccAddress
- func (m *MsgMoveUserGroup) GetSubspaceID() uint64
- func (msg *MsgMoveUserGroup) IsManageSubspaceMsg()
- func (m *MsgMoveUserGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgMoveUserGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMoveUserGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMoveUserGroup) ProtoMessage()
- func (m *MsgMoveUserGroup) Reset()
- func (msg *MsgMoveUserGroup) Route() string
- func (m *MsgMoveUserGroup) Size() (n int)
- func (m *MsgMoveUserGroup) String() string
- func (msg *MsgMoveUserGroup) Type() string
- func (m *MsgMoveUserGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgMoveUserGroup) ValidateBasic() error
- func (m *MsgMoveUserGroup) XXX_DiscardUnknown()
- func (m *MsgMoveUserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMoveUserGroup) XXX_Merge(src proto.Message)
- func (m *MsgMoveUserGroup) XXX_Size() int
- func (m *MsgMoveUserGroup) XXX_Unmarshal(b []byte) error
- type MsgMoveUserGroupResponse
- func (*MsgMoveUserGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgMoveUserGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMoveUserGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMoveUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMoveUserGroupResponse) ProtoMessage()
- func (m *MsgMoveUserGroupResponse) Reset()
- func (m *MsgMoveUserGroupResponse) Size() (n int)
- func (m *MsgMoveUserGroupResponse) String() string
- func (m *MsgMoveUserGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMoveUserGroupResponse) XXX_DiscardUnknown()
- func (m *MsgMoveUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMoveUserGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgMoveUserGroupResponse) XXX_Size() int
- func (m *MsgMoveUserGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgRemoveUserFromUserGroup
- func (*MsgRemoveUserFromUserGroup) Descriptor() ([]byte, []int)
- func (m *MsgRemoveUserFromUserGroup) GetGroupID() uint32
- func (msg *MsgRemoveUserFromUserGroup) GetSignBytes() []byte
- func (m *MsgRemoveUserFromUserGroup) GetSigner() string
- func (msg *MsgRemoveUserFromUserGroup) GetSigners() []sdk.AccAddress
- func (m *MsgRemoveUserFromUserGroup) GetSubspaceID() uint64
- func (m *MsgRemoveUserFromUserGroup) GetUser() string
- func (msg *MsgRemoveUserFromUserGroup) IsManageSubspaceMsg()
- func (m *MsgRemoveUserFromUserGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveUserFromUserGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveUserFromUserGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveUserFromUserGroup) ProtoMessage()
- func (m *MsgRemoveUserFromUserGroup) Reset()
- func (msg *MsgRemoveUserFromUserGroup) Route() string
- func (m *MsgRemoveUserFromUserGroup) Size() (n int)
- func (m *MsgRemoveUserFromUserGroup) String() string
- func (msg *MsgRemoveUserFromUserGroup) Type() string
- func (m *MsgRemoveUserFromUserGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgRemoveUserFromUserGroup) ValidateBasic() error
- func (m *MsgRemoveUserFromUserGroup) XXX_DiscardUnknown()
- func (m *MsgRemoveUserFromUserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveUserFromUserGroup) XXX_Merge(src proto.Message)
- func (m *MsgRemoveUserFromUserGroup) XXX_Size() int
- func (m *MsgRemoveUserFromUserGroup) XXX_Unmarshal(b []byte) error
- type MsgRemoveUserFromUserGroupResponse
- func (*MsgRemoveUserFromUserGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveUserFromUserGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveUserFromUserGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveUserFromUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveUserFromUserGroupResponse) ProtoMessage()
- func (m *MsgRemoveUserFromUserGroupResponse) Reset()
- func (m *MsgRemoveUserFromUserGroupResponse) Size() (n int)
- func (m *MsgRemoveUserFromUserGroupResponse) String() string
- func (m *MsgRemoveUserFromUserGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveUserFromUserGroupResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveUserFromUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveUserFromUserGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveUserFromUserGroupResponse) XXX_Size() int
- func (m *MsgRemoveUserFromUserGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgRevokeAllowance
- func (*MsgRevokeAllowance) Descriptor() ([]byte, []int)
- func (m *MsgRevokeAllowance) GetGrantee() *types.Any
- func (m *MsgRevokeAllowance) GetGranter() string
- func (msg *MsgRevokeAllowance) GetSignBytes() []byte
- func (msg *MsgRevokeAllowance) GetSigners() []sdk.AccAddress
- func (m *MsgRevokeAllowance) GetSubspaceID() uint64
- func (msg *MsgRevokeAllowance) IsManageSubspaceMsg()
- func (m *MsgRevokeAllowance) Marshal() (dAtA []byte, err error)
- func (m *MsgRevokeAllowance) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRevokeAllowance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRevokeAllowance) ProtoMessage()
- func (m *MsgRevokeAllowance) Reset()
- func (msg *MsgRevokeAllowance) Route() string
- func (m *MsgRevokeAllowance) Size() (n int)
- func (m *MsgRevokeAllowance) String() string
- func (msg *MsgRevokeAllowance) Type() string
- func (m *MsgRevokeAllowance) Unmarshal(dAtA []byte) error
- func (msg *MsgRevokeAllowance) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (msg *MsgRevokeAllowance) ValidateBasic() error
- func (m *MsgRevokeAllowance) XXX_DiscardUnknown()
- func (m *MsgRevokeAllowance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRevokeAllowance) XXX_Merge(src proto.Message)
- func (m *MsgRevokeAllowance) XXX_Size() int
- func (m *MsgRevokeAllowance) XXX_Unmarshal(b []byte) error
- type MsgRevokeAllowanceResponse
- func (*MsgRevokeAllowanceResponse) Descriptor() ([]byte, []int)
- func (m *MsgRevokeAllowanceResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRevokeAllowanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRevokeAllowanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRevokeAllowanceResponse) ProtoMessage()
- func (m *MsgRevokeAllowanceResponse) Reset()
- func (m *MsgRevokeAllowanceResponse) Size() (n int)
- func (m *MsgRevokeAllowanceResponse) String() string
- func (m *MsgRevokeAllowanceResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRevokeAllowanceResponse) XXX_DiscardUnknown()
- func (m *MsgRevokeAllowanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRevokeAllowanceResponse) XXX_Merge(src proto.Message)
- func (m *MsgRevokeAllowanceResponse) XXX_Size() int
- func (m *MsgRevokeAllowanceResponse) XXX_Unmarshal(b []byte) error
- type MsgRevokeTreasuryAuthorization
- func (*MsgRevokeTreasuryAuthorization) Descriptor() ([]byte, []int)
- func (m *MsgRevokeTreasuryAuthorization) GetGrantee() string
- func (m *MsgRevokeTreasuryAuthorization) GetGranter() string
- func (m *MsgRevokeTreasuryAuthorization) GetMsgTypeUrl() string
- func (msg *MsgRevokeTreasuryAuthorization) GetSignBytes() []byte
- func (msg *MsgRevokeTreasuryAuthorization) GetSigners() []sdk.AccAddress
- func (m *MsgRevokeTreasuryAuthorization) GetSubspaceID() uint64
- func (msg *MsgRevokeTreasuryAuthorization) IsManageSubspaceMsg()
- func (m *MsgRevokeTreasuryAuthorization) Marshal() (dAtA []byte, err error)
- func (m *MsgRevokeTreasuryAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRevokeTreasuryAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRevokeTreasuryAuthorization) ProtoMessage()
- func (m *MsgRevokeTreasuryAuthorization) Reset()
- func (msg *MsgRevokeTreasuryAuthorization) Route() string
- func (m *MsgRevokeTreasuryAuthorization) Size() (n int)
- func (m *MsgRevokeTreasuryAuthorization) String() string
- func (msg *MsgRevokeTreasuryAuthorization) Type() string
- func (m *MsgRevokeTreasuryAuthorization) Unmarshal(dAtA []byte) error
- func (msg *MsgRevokeTreasuryAuthorization) ValidateBasic() error
- func (m *MsgRevokeTreasuryAuthorization) XXX_DiscardUnknown()
- func (m *MsgRevokeTreasuryAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRevokeTreasuryAuthorization) XXX_Merge(src proto.Message)
- func (m *MsgRevokeTreasuryAuthorization) XXX_Size() int
- func (m *MsgRevokeTreasuryAuthorization) XXX_Unmarshal(b []byte) error
- type MsgRevokeTreasuryAuthorizationResponse
- func (*MsgRevokeTreasuryAuthorizationResponse) Descriptor() ([]byte, []int)
- func (m *MsgRevokeTreasuryAuthorizationResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRevokeTreasuryAuthorizationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRevokeTreasuryAuthorizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRevokeTreasuryAuthorizationResponse) ProtoMessage()
- func (m *MsgRevokeTreasuryAuthorizationResponse) Reset()
- func (m *MsgRevokeTreasuryAuthorizationResponse) Size() (n int)
- func (m *MsgRevokeTreasuryAuthorizationResponse) String() string
- func (m *MsgRevokeTreasuryAuthorizationResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRevokeTreasuryAuthorizationResponse) XXX_DiscardUnknown()
- func (m *MsgRevokeTreasuryAuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRevokeTreasuryAuthorizationResponse) XXX_Merge(src proto.Message)
- func (m *MsgRevokeTreasuryAuthorizationResponse) XXX_Size() int
- func (m *MsgRevokeTreasuryAuthorizationResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetUserGroupPermissions
- func (*MsgSetUserGroupPermissions) Descriptor() ([]byte, []int)
- func (m *MsgSetUserGroupPermissions) GetGroupID() uint32
- func (m *MsgSetUserGroupPermissions) GetPermissions() []string
- func (msg *MsgSetUserGroupPermissions) GetSignBytes() []byte
- func (m *MsgSetUserGroupPermissions) GetSigner() string
- func (msg *MsgSetUserGroupPermissions) GetSigners() []sdk.AccAddress
- func (m *MsgSetUserGroupPermissions) GetSubspaceID() uint64
- func (msg *MsgSetUserGroupPermissions) IsManageSubspaceMsg()
- func (m *MsgSetUserGroupPermissions) Marshal() (dAtA []byte, err error)
- func (m *MsgSetUserGroupPermissions) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetUserGroupPermissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetUserGroupPermissions) ProtoMessage()
- func (m *MsgSetUserGroupPermissions) Reset()
- func (msg *MsgSetUserGroupPermissions) Route() string
- func (m *MsgSetUserGroupPermissions) Size() (n int)
- func (m *MsgSetUserGroupPermissions) String() string
- func (msg *MsgSetUserGroupPermissions) Type() string
- func (m *MsgSetUserGroupPermissions) Unmarshal(dAtA []byte) error
- func (msg *MsgSetUserGroupPermissions) ValidateBasic() error
- func (m *MsgSetUserGroupPermissions) XXX_DiscardUnknown()
- func (m *MsgSetUserGroupPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetUserGroupPermissions) XXX_Merge(src proto.Message)
- func (m *MsgSetUserGroupPermissions) XXX_Size() int
- func (m *MsgSetUserGroupPermissions) XXX_Unmarshal(b []byte) error
- type MsgSetUserGroupPermissionsResponse
- func (*MsgSetUserGroupPermissionsResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetUserGroupPermissionsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetUserGroupPermissionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetUserGroupPermissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetUserGroupPermissionsResponse) ProtoMessage()
- func (m *MsgSetUserGroupPermissionsResponse) Reset()
- func (m *MsgSetUserGroupPermissionsResponse) Size() (n int)
- func (m *MsgSetUserGroupPermissionsResponse) String() string
- func (m *MsgSetUserGroupPermissionsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetUserGroupPermissionsResponse) XXX_DiscardUnknown()
- func (m *MsgSetUserGroupPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetUserGroupPermissionsResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetUserGroupPermissionsResponse) XXX_Size() int
- func (m *MsgSetUserGroupPermissionsResponse) XXX_Unmarshal(b []byte) error
- type MsgSetUserPermissions
- func (*MsgSetUserPermissions) Descriptor() ([]byte, []int)
- func (m *MsgSetUserPermissions) GetPermissions() []string
- func (m *MsgSetUserPermissions) GetSectionID() uint32
- func (msg *MsgSetUserPermissions) GetSignBytes() []byte
- func (m *MsgSetUserPermissions) GetSigner() string
- func (msg *MsgSetUserPermissions) GetSigners() []sdk.AccAddress
- func (m *MsgSetUserPermissions) GetSubspaceID() uint64
- func (m *MsgSetUserPermissions) GetUser() string
- func (msg *MsgSetUserPermissions) IsManageSubspaceMsg()
- func (m *MsgSetUserPermissions) Marshal() (dAtA []byte, err error)
- func (m *MsgSetUserPermissions) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetUserPermissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetUserPermissions) ProtoMessage()
- func (m *MsgSetUserPermissions) Reset()
- func (msg *MsgSetUserPermissions) Route() string
- func (m *MsgSetUserPermissions) Size() (n int)
- func (m *MsgSetUserPermissions) String() string
- func (msg *MsgSetUserPermissions) Type() string
- func (m *MsgSetUserPermissions) Unmarshal(dAtA []byte) error
- func (msg *MsgSetUserPermissions) ValidateBasic() error
- func (m *MsgSetUserPermissions) XXX_DiscardUnknown()
- func (m *MsgSetUserPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetUserPermissions) XXX_Merge(src proto.Message)
- func (m *MsgSetUserPermissions) XXX_Size() int
- func (m *MsgSetUserPermissions) XXX_Unmarshal(b []byte) error
- type MsgSetUserPermissionsResponse
- func (*MsgSetUserPermissionsResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetUserPermissionsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetUserPermissionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetUserPermissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetUserPermissionsResponse) ProtoMessage()
- func (m *MsgSetUserPermissionsResponse) Reset()
- func (m *MsgSetUserPermissionsResponse) Size() (n int)
- func (m *MsgSetUserPermissionsResponse) String() string
- func (m *MsgSetUserPermissionsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetUserPermissionsResponse) XXX_DiscardUnknown()
- func (m *MsgSetUserPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetUserPermissionsResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetUserPermissionsResponse) XXX_Size() int
- func (m *MsgSetUserPermissionsResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateSubspaceFeeTokens
- func (*MsgUpdateSubspaceFeeTokens) Descriptor() ([]byte, []int)
- func (m *MsgUpdateSubspaceFeeTokens) GetAdditionalFeeTokens() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgUpdateSubspaceFeeTokens) GetAuthority() string
- func (msg *MsgUpdateSubspaceFeeTokens) GetSignBytes() []byte
- func (msg *MsgUpdateSubspaceFeeTokens) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateSubspaceFeeTokens) GetSubspaceID() uint64
- func (m *MsgUpdateSubspaceFeeTokens) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateSubspaceFeeTokens) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateSubspaceFeeTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateSubspaceFeeTokens) ProtoMessage()
- func (m *MsgUpdateSubspaceFeeTokens) Reset()
- func (msg *MsgUpdateSubspaceFeeTokens) Route() string
- func (m *MsgUpdateSubspaceFeeTokens) Size() (n int)
- func (m *MsgUpdateSubspaceFeeTokens) String() string
- func (msg *MsgUpdateSubspaceFeeTokens) Type() string
- func (m *MsgUpdateSubspaceFeeTokens) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateSubspaceFeeTokens) ValidateBasic() error
- func (m *MsgUpdateSubspaceFeeTokens) XXX_DiscardUnknown()
- func (m *MsgUpdateSubspaceFeeTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateSubspaceFeeTokens) XXX_Merge(src proto.Message)
- func (m *MsgUpdateSubspaceFeeTokens) XXX_Size() int
- func (m *MsgUpdateSubspaceFeeTokens) XXX_Unmarshal(b []byte) error
- type MsgUpdateSubspaceFeeTokensResponse
- func (*MsgUpdateSubspaceFeeTokensResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateSubspaceFeeTokensResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateSubspaceFeeTokensResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateSubspaceFeeTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateSubspaceFeeTokensResponse) ProtoMessage()
- func (m *MsgUpdateSubspaceFeeTokensResponse) Reset()
- func (m *MsgUpdateSubspaceFeeTokensResponse) Size() (n int)
- func (m *MsgUpdateSubspaceFeeTokensResponse) String() string
- func (m *MsgUpdateSubspaceFeeTokensResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateSubspaceFeeTokensResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateSubspaceFeeTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateSubspaceFeeTokensResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateSubspaceFeeTokensResponse) XXX_Size() int
- func (m *MsgUpdateSubspaceFeeTokensResponse) XXX_Unmarshal(b []byte) error
- type MultiSubspacesHooks
- func (h MultiSubspacesHooks) AfterSubspaceDeleted(ctx sdk.Context, subspaceID uint64)
- func (h MultiSubspacesHooks) AfterSubspaceGroupDeleted(ctx sdk.Context, subspaceID uint64, groupID uint32)
- func (h MultiSubspacesHooks) AfterSubspaceGroupMemberAdded(ctx sdk.Context, subspaceID uint64, groupID uint32, user string)
- func (h MultiSubspacesHooks) AfterSubspaceGroupMemberRemoved(ctx sdk.Context, subspaceID uint64, groupID uint32, user string)
- func (h MultiSubspacesHooks) AfterSubspaceGroupSaved(ctx sdk.Context, subspaceID uint64, groupID uint32)
- func (h MultiSubspacesHooks) AfterSubspaceSaved(ctx sdk.Context, subspaceID uint64)
- func (h MultiSubspacesHooks) AfterSubspaceSectionDeleted(ctx sdk.Context, subspaceID uint64, sectionID uint32)
- func (h MultiSubspacesHooks) AfterSubspaceSectionSaved(ctx sdk.Context, subspaceID uint64, sectionID uint32)
- func (h MultiSubspacesHooks) AfterUserPermissionRemoved(ctx sdk.Context, subspaceID uint64, sectionID uint32, user string)
- func (h MultiSubspacesHooks) AfterUserPermissionSet(ctx sdk.Context, subspaceID uint64, sectionID uint32, user string, ...)
- type Permission
- type PermissionDetail
- func (*PermissionDetail) Descriptor() ([]byte, []int)
- func (this *PermissionDetail) Equal(that interface{}) bool
- func (m *PermissionDetail) GetGroup() *PermissionDetail_Group
- func (m *PermissionDetail) GetSum() isPermissionDetail_Sum
- func (m *PermissionDetail) GetUser() *PermissionDetail_User
- func (m *PermissionDetail) Marshal() (dAtA []byte, err error)
- func (m *PermissionDetail) MarshalTo(dAtA []byte) (int, error)
- func (m *PermissionDetail) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PermissionDetail) ProtoMessage()
- func (m *PermissionDetail) Reset()
- func (m *PermissionDetail) Size() (n int)
- func (m *PermissionDetail) String() string
- func (m *PermissionDetail) Unmarshal(dAtA []byte) error
- func (m *PermissionDetail) XXX_DiscardUnknown()
- func (m *PermissionDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PermissionDetail) XXX_Merge(src proto.Message)
- func (*PermissionDetail) XXX_OneofWrappers() []interface{}
- func (m *PermissionDetail) XXX_Size() int
- func (m *PermissionDetail) XXX_Unmarshal(b []byte) error
- type PermissionDetail_Group
- func (*PermissionDetail_Group) Descriptor() ([]byte, []int)
- func (this *PermissionDetail_Group) Equal(that interface{}) bool
- func (m *PermissionDetail_Group) Marshal() (dAtA []byte, err error)
- func (m *PermissionDetail_Group) MarshalTo(dAtA []byte) (int, error)
- func (m *PermissionDetail_Group) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PermissionDetail_Group) ProtoMessage()
- func (m *PermissionDetail_Group) Reset()
- func (m *PermissionDetail_Group) Size() (n int)
- func (m *PermissionDetail_Group) String() string
- func (m *PermissionDetail_Group) Unmarshal(dAtA []byte) error
- func (m *PermissionDetail_Group) XXX_DiscardUnknown()
- func (m *PermissionDetail_Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PermissionDetail_Group) XXX_Merge(src proto.Message)
- func (m *PermissionDetail_Group) XXX_Size() int
- func (m *PermissionDetail_Group) XXX_Unmarshal(b []byte) error
- type PermissionDetail_Group_
- type PermissionDetail_User
- func (*PermissionDetail_User) Descriptor() ([]byte, []int)
- func (this *PermissionDetail_User) Equal(that interface{}) bool
- func (m *PermissionDetail_User) Marshal() (dAtA []byte, err error)
- func (m *PermissionDetail_User) MarshalTo(dAtA []byte) (int, error)
- func (m *PermissionDetail_User) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PermissionDetail_User) ProtoMessage()
- func (m *PermissionDetail_User) Reset()
- func (m *PermissionDetail_User) Size() (n int)
- func (m *PermissionDetail_User) String() string
- func (m *PermissionDetail_User) Unmarshal(dAtA []byte) error
- func (m *PermissionDetail_User) XXX_DiscardUnknown()
- func (m *PermissionDetail_User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PermissionDetail_User) XXX_Merge(src proto.Message)
- func (m *PermissionDetail_User) XXX_Size() int
- func (m *PermissionDetail_User) XXX_Unmarshal(b []byte) error
- type PermissionDetail_User_
- type Permissions
- type QueryClient
- type QueryGroupAllowancesRequest
- func (*QueryGroupAllowancesRequest) Descriptor() ([]byte, []int)
- func (m *QueryGroupAllowancesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupAllowancesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupAllowancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupAllowancesRequest) ProtoMessage()
- func (m *QueryGroupAllowancesRequest) Reset()
- func (m *QueryGroupAllowancesRequest) Size() (n int)
- func (m *QueryGroupAllowancesRequest) String() string
- func (m *QueryGroupAllowancesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGroupAllowancesRequest) XXX_DiscardUnknown()
- func (m *QueryGroupAllowancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupAllowancesRequest) XXX_Merge(src proto.Message)
- func (m *QueryGroupAllowancesRequest) XXX_Size() int
- func (m *QueryGroupAllowancesRequest) XXX_Unmarshal(b []byte) error
- type QueryGroupAllowancesResponse
- func (*QueryGroupAllowancesResponse) Descriptor() ([]byte, []int)
- func (m *QueryGroupAllowancesResponse) GetGrants() []Grant
- func (m *QueryGroupAllowancesResponse) GetPagination() *query.PageResponse
- func (m *QueryGroupAllowancesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupAllowancesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupAllowancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupAllowancesResponse) ProtoMessage()
- func (m *QueryGroupAllowancesResponse) Reset()
- func (m *QueryGroupAllowancesResponse) Size() (n int)
- func (m *QueryGroupAllowancesResponse) String() string
- func (m *QueryGroupAllowancesResponse) Unmarshal(dAtA []byte) error
- func (r *QueryGroupAllowancesResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *QueryGroupAllowancesResponse) XXX_DiscardUnknown()
- func (m *QueryGroupAllowancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupAllowancesResponse) XXX_Merge(src proto.Message)
- func (m *QueryGroupAllowancesResponse) XXX_Size() int
- func (m *QueryGroupAllowancesResponse) XXX_Unmarshal(b []byte) error
- type QuerySectionRequest
- func (*QuerySectionRequest) Descriptor() ([]byte, []int)
- func (m *QuerySectionRequest) GetSectionId() uint32
- func (m *QuerySectionRequest) GetSubspaceId() uint64
- func (m *QuerySectionRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySectionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySectionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySectionRequest) ProtoMessage()
- func (m *QuerySectionRequest) Reset()
- func (m *QuerySectionRequest) Size() (n int)
- func (m *QuerySectionRequest) String() string
- func (m *QuerySectionRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySectionRequest) XXX_DiscardUnknown()
- func (m *QuerySectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySectionRequest) XXX_Merge(src proto.Message)
- func (m *QuerySectionRequest) XXX_Size() int
- func (m *QuerySectionRequest) XXX_Unmarshal(b []byte) error
- type QuerySectionResponse
- func (*QuerySectionResponse) Descriptor() ([]byte, []int)
- func (m *QuerySectionResponse) GetSection() Section
- func (m *QuerySectionResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySectionResponse) ProtoMessage()
- func (m *QuerySectionResponse) Reset()
- func (m *QuerySectionResponse) Size() (n int)
- func (m *QuerySectionResponse) String() string
- func (m *QuerySectionResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySectionResponse) XXX_DiscardUnknown()
- func (m *QuerySectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySectionResponse) XXX_Merge(src proto.Message)
- func (m *QuerySectionResponse) XXX_Size() int
- func (m *QuerySectionResponse) XXX_Unmarshal(b []byte) error
- type QuerySectionsRequest
- func (*QuerySectionsRequest) Descriptor() ([]byte, []int)
- func (m *QuerySectionsRequest) GetPagination() *query.PageRequest
- func (m *QuerySectionsRequest) GetSubspaceId() uint64
- func (m *QuerySectionsRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySectionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySectionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySectionsRequest) ProtoMessage()
- func (m *QuerySectionsRequest) Reset()
- func (m *QuerySectionsRequest) Size() (n int)
- func (m *QuerySectionsRequest) String() string
- func (m *QuerySectionsRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySectionsRequest) XXX_DiscardUnknown()
- func (m *QuerySectionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySectionsRequest) XXX_Merge(src proto.Message)
- func (m *QuerySectionsRequest) XXX_Size() int
- func (m *QuerySectionsRequest) XXX_Unmarshal(b []byte) error
- type QuerySectionsResponse
- func (*QuerySectionsResponse) Descriptor() ([]byte, []int)
- func (m *QuerySectionsResponse) GetPagination() *query.PageResponse
- func (m *QuerySectionsResponse) GetSections() []Section
- func (m *QuerySectionsResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySectionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySectionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySectionsResponse) ProtoMessage()
- func (m *QuerySectionsResponse) Reset()
- func (m *QuerySectionsResponse) Size() (n int)
- func (m *QuerySectionsResponse) String() string
- func (m *QuerySectionsResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySectionsResponse) XXX_DiscardUnknown()
- func (m *QuerySectionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySectionsResponse) XXX_Merge(src proto.Message)
- func (m *QuerySectionsResponse) XXX_Size() int
- func (m *QuerySectionsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QuerySubspaceRequest
- func (*QuerySubspaceRequest) Descriptor() ([]byte, []int)
- func (m *QuerySubspaceRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySubspaceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubspaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubspaceRequest) ProtoMessage()
- func (m *QuerySubspaceRequest) Reset()
- func (m *QuerySubspaceRequest) Size() (n int)
- func (m *QuerySubspaceRequest) String() string
- func (m *QuerySubspaceRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySubspaceRequest) XXX_DiscardUnknown()
- func (m *QuerySubspaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubspaceRequest) XXX_Merge(src proto.Message)
- func (m *QuerySubspaceRequest) XXX_Size() int
- func (m *QuerySubspaceRequest) XXX_Unmarshal(b []byte) error
- type QuerySubspaceResponse
- func (*QuerySubspaceResponse) Descriptor() ([]byte, []int)
- func (m *QuerySubspaceResponse) GetSubspace() Subspace
- func (m *QuerySubspaceResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySubspaceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubspaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubspaceResponse) ProtoMessage()
- func (m *QuerySubspaceResponse) Reset()
- func (m *QuerySubspaceResponse) Size() (n int)
- func (m *QuerySubspaceResponse) String() string
- func (m *QuerySubspaceResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySubspaceResponse) XXX_DiscardUnknown()
- func (m *QuerySubspaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubspaceResponse) XXX_Merge(src proto.Message)
- func (m *QuerySubspaceResponse) XXX_Size() int
- func (m *QuerySubspaceResponse) XXX_Unmarshal(b []byte) error
- type QuerySubspacesRequest
- func (*QuerySubspacesRequest) Descriptor() ([]byte, []int)
- func (m *QuerySubspacesRequest) GetPagination() *query.PageRequest
- func (m *QuerySubspacesRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySubspacesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubspacesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubspacesRequest) ProtoMessage()
- func (m *QuerySubspacesRequest) Reset()
- func (m *QuerySubspacesRequest) Size() (n int)
- func (m *QuerySubspacesRequest) String() string
- func (m *QuerySubspacesRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySubspacesRequest) XXX_DiscardUnknown()
- func (m *QuerySubspacesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubspacesRequest) XXX_Merge(src proto.Message)
- func (m *QuerySubspacesRequest) XXX_Size() int
- func (m *QuerySubspacesRequest) XXX_Unmarshal(b []byte) error
- type QuerySubspacesResponse
- func (*QuerySubspacesResponse) Descriptor() ([]byte, []int)
- func (m *QuerySubspacesResponse) GetPagination() *query.PageResponse
- func (m *QuerySubspacesResponse) GetSubspaces() []Subspace
- func (m *QuerySubspacesResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySubspacesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubspacesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubspacesResponse) ProtoMessage()
- func (m *QuerySubspacesResponse) Reset()
- func (m *QuerySubspacesResponse) Size() (n int)
- func (m *QuerySubspacesResponse) String() string
- func (m *QuerySubspacesResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySubspacesResponse) XXX_DiscardUnknown()
- func (m *QuerySubspacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubspacesResponse) XXX_Merge(src proto.Message)
- func (m *QuerySubspacesResponse) XXX_Size() int
- func (m *QuerySubspacesResponse) XXX_Unmarshal(b []byte) error
- type QueryUserAllowancesRequest
- func (*QueryUserAllowancesRequest) Descriptor() ([]byte, []int)
- func (m *QueryUserAllowancesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUserAllowancesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserAllowancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserAllowancesRequest) ProtoMessage()
- func (m *QueryUserAllowancesRequest) Reset()
- func (m *QueryUserAllowancesRequest) Size() (n int)
- func (m *QueryUserAllowancesRequest) String() string
- func (m *QueryUserAllowancesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUserAllowancesRequest) XXX_DiscardUnknown()
- func (m *QueryUserAllowancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserAllowancesRequest) XXX_Merge(src proto.Message)
- func (m *QueryUserAllowancesRequest) XXX_Size() int
- func (m *QueryUserAllowancesRequest) XXX_Unmarshal(b []byte) error
- type QueryUserAllowancesResponse
- func (*QueryUserAllowancesResponse) Descriptor() ([]byte, []int)
- func (m *QueryUserAllowancesResponse) GetGrants() []Grant
- func (m *QueryUserAllowancesResponse) GetPagination() *query.PageResponse
- func (m *QueryUserAllowancesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUserAllowancesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserAllowancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserAllowancesResponse) ProtoMessage()
- func (m *QueryUserAllowancesResponse) Reset()
- func (m *QueryUserAllowancesResponse) Size() (n int)
- func (m *QueryUserAllowancesResponse) String() string
- func (m *QueryUserAllowancesResponse) Unmarshal(dAtA []byte) error
- func (r *QueryUserAllowancesResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *QueryUserAllowancesResponse) XXX_DiscardUnknown()
- func (m *QueryUserAllowancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserAllowancesResponse) XXX_Merge(src proto.Message)
- func (m *QueryUserAllowancesResponse) XXX_Size() int
- func (m *QueryUserAllowancesResponse) XXX_Unmarshal(b []byte) error
- type QueryUserGroupMembersRequest
- func (*QueryUserGroupMembersRequest) Descriptor() ([]byte, []int)
- func (m *QueryUserGroupMembersRequest) GetGroupId() uint32
- func (m *QueryUserGroupMembersRequest) GetPagination() *query.PageRequest
- func (m *QueryUserGroupMembersRequest) GetSubspaceId() uint64
- func (m *QueryUserGroupMembersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUserGroupMembersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserGroupMembersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserGroupMembersRequest) ProtoMessage()
- func (m *QueryUserGroupMembersRequest) Reset()
- func (m *QueryUserGroupMembersRequest) Size() (n int)
- func (m *QueryUserGroupMembersRequest) String() string
- func (m *QueryUserGroupMembersRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUserGroupMembersRequest) XXX_DiscardUnknown()
- func (m *QueryUserGroupMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserGroupMembersRequest) XXX_Merge(src proto.Message)
- func (m *QueryUserGroupMembersRequest) XXX_Size() int
- func (m *QueryUserGroupMembersRequest) XXX_Unmarshal(b []byte) error
- type QueryUserGroupMembersResponse
- func (*QueryUserGroupMembersResponse) Descriptor() ([]byte, []int)
- func (m *QueryUserGroupMembersResponse) GetMembers() []string
- func (m *QueryUserGroupMembersResponse) GetPagination() *query.PageResponse
- func (m *QueryUserGroupMembersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUserGroupMembersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserGroupMembersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserGroupMembersResponse) ProtoMessage()
- func (m *QueryUserGroupMembersResponse) Reset()
- func (m *QueryUserGroupMembersResponse) Size() (n int)
- func (m *QueryUserGroupMembersResponse) String() string
- func (m *QueryUserGroupMembersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUserGroupMembersResponse) XXX_DiscardUnknown()
- func (m *QueryUserGroupMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserGroupMembersResponse) XXX_Merge(src proto.Message)
- func (m *QueryUserGroupMembersResponse) XXX_Size() int
- func (m *QueryUserGroupMembersResponse) XXX_Unmarshal(b []byte) error
- type QueryUserGroupRequest
- func (*QueryUserGroupRequest) Descriptor() ([]byte, []int)
- func (m *QueryUserGroupRequest) GetGroupId() uint32
- func (m *QueryUserGroupRequest) GetSubspaceId() uint64
- func (m *QueryUserGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUserGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserGroupRequest) ProtoMessage()
- func (m *QueryUserGroupRequest) Reset()
- func (m *QueryUserGroupRequest) Size() (n int)
- func (m *QueryUserGroupRequest) String() string
- func (m *QueryUserGroupRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUserGroupRequest) XXX_DiscardUnknown()
- func (m *QueryUserGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserGroupRequest) XXX_Merge(src proto.Message)
- func (m *QueryUserGroupRequest) XXX_Size() int
- func (m *QueryUserGroupRequest) XXX_Unmarshal(b []byte) error
- type QueryUserGroupResponse
- func (*QueryUserGroupResponse) Descriptor() ([]byte, []int)
- func (m *QueryUserGroupResponse) GetGroup() UserGroup
- func (m *QueryUserGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUserGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserGroupResponse) ProtoMessage()
- func (m *QueryUserGroupResponse) Reset()
- func (m *QueryUserGroupResponse) Size() (n int)
- func (m *QueryUserGroupResponse) String() string
- func (m *QueryUserGroupResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUserGroupResponse) XXX_DiscardUnknown()
- func (m *QueryUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserGroupResponse) XXX_Merge(src proto.Message)
- func (m *QueryUserGroupResponse) XXX_Size() int
- func (m *QueryUserGroupResponse) XXX_Unmarshal(b []byte) error
- type QueryUserGroupsRequest
- func (*QueryUserGroupsRequest) Descriptor() ([]byte, []int)
- func (m *QueryUserGroupsRequest) GetPagination() *query.PageRequest
- func (m *QueryUserGroupsRequest) GetSectionId() uint32
- func (m *QueryUserGroupsRequest) GetSubspaceId() uint64
- func (m *QueryUserGroupsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUserGroupsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserGroupsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserGroupsRequest) ProtoMessage()
- func (m *QueryUserGroupsRequest) Reset()
- func (m *QueryUserGroupsRequest) Size() (n int)
- func (m *QueryUserGroupsRequest) String() string
- func (m *QueryUserGroupsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUserGroupsRequest) XXX_DiscardUnknown()
- func (m *QueryUserGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserGroupsRequest) XXX_Merge(src proto.Message)
- func (m *QueryUserGroupsRequest) XXX_Size() int
- func (m *QueryUserGroupsRequest) XXX_Unmarshal(b []byte) error
- type QueryUserGroupsResponse
- func (*QueryUserGroupsResponse) Descriptor() ([]byte, []int)
- func (m *QueryUserGroupsResponse) GetGroups() []UserGroup
- func (m *QueryUserGroupsResponse) GetPagination() *query.PageResponse
- func (m *QueryUserGroupsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUserGroupsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserGroupsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserGroupsResponse) ProtoMessage()
- func (m *QueryUserGroupsResponse) Reset()
- func (m *QueryUserGroupsResponse) Size() (n int)
- func (m *QueryUserGroupsResponse) String() string
- func (m *QueryUserGroupsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUserGroupsResponse) XXX_DiscardUnknown()
- func (m *QueryUserGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserGroupsResponse) XXX_Merge(src proto.Message)
- func (m *QueryUserGroupsResponse) XXX_Size() int
- func (m *QueryUserGroupsResponse) XXX_Unmarshal(b []byte) error
- type QueryUserPermissionsRequest
- func (*QueryUserPermissionsRequest) Descriptor() ([]byte, []int)
- func (m *QueryUserPermissionsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUserPermissionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserPermissionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserPermissionsRequest) ProtoMessage()
- func (m *QueryUserPermissionsRequest) Reset()
- func (m *QueryUserPermissionsRequest) Size() (n int)
- func (m *QueryUserPermissionsRequest) String() string
- func (m *QueryUserPermissionsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUserPermissionsRequest) XXX_DiscardUnknown()
- func (m *QueryUserPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserPermissionsRequest) XXX_Merge(src proto.Message)
- func (m *QueryUserPermissionsRequest) XXX_Size() int
- func (m *QueryUserPermissionsRequest) XXX_Unmarshal(b []byte) error
- type QueryUserPermissionsResponse
- func (*QueryUserPermissionsResponse) Descriptor() ([]byte, []int)
- func (m *QueryUserPermissionsResponse) GetDetails() []PermissionDetail
- func (m *QueryUserPermissionsResponse) GetPermissions() []string
- func (m *QueryUserPermissionsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUserPermissionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserPermissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserPermissionsResponse) ProtoMessage()
- func (m *QueryUserPermissionsResponse) Reset()
- func (m *QueryUserPermissionsResponse) Size() (n int)
- func (m *QueryUserPermissionsResponse) String() string
- func (m *QueryUserPermissionsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUserPermissionsResponse) XXX_DiscardUnknown()
- func (m *QueryUserPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserPermissionsResponse) XXX_Merge(src proto.Message)
- func (m *QueryUserPermissionsResponse) XXX_Size() int
- func (m *QueryUserPermissionsResponse) XXX_Unmarshal(b []byte) error
- type Section
- func (*Section) Descriptor() ([]byte, []int)
- func (this *Section) Equal(that interface{}) bool
- func (m *Section) GetDescription() string
- func (m *Section) GetID() uint32
- func (m *Section) GetName() string
- func (m *Section) GetParentID() uint32
- func (m *Section) GetSubspaceID() uint64
- func (m *Section) Marshal() (dAtA []byte, err error)
- func (m *Section) MarshalTo(dAtA []byte) (int, error)
- func (m *Section) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Section) ProtoMessage()
- func (m *Section) Reset()
- func (m *Section) Size() (n int)
- func (m *Section) String() string
- func (m *Section) Unmarshal(dAtA []byte) error
- func (s Section) Update(update SectionUpdate) Section
- func (s Section) Validate() error
- func (m *Section) XXX_DiscardUnknown()
- func (m *Section) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Section) XXX_Merge(src proto.Message)
- func (m *Section) XXX_Size() int
- func (m *Section) XXX_Unmarshal(b []byte) error
- type SectionUpdate
- type Subspace
- func (*Subspace) Descriptor() ([]byte, []int)
- func (this *Subspace) Equal(that interface{}) bool
- func (m *Subspace) GetAdditionalFeeTokens() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Subspace) GetCreationTime() time.Time
- func (m *Subspace) GetCreator() string
- func (m *Subspace) GetDescription() string
- func (m *Subspace) GetID() uint64
- func (m *Subspace) GetName() string
- func (m *Subspace) GetOwner() string
- func (m *Subspace) GetTreasury() string
- func (m *Subspace) Marshal() (dAtA []byte, err error)
- func (m *Subspace) MarshalTo(dAtA []byte) (int, error)
- func (m *Subspace) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Subspace) ProtoMessage()
- func (m *Subspace) Reset()
- func (m *Subspace) Size() (n int)
- func (m *Subspace) String() string
- func (m *Subspace) Unmarshal(dAtA []byte) error
- func (sub Subspace) Update(update SubspaceUpdate) Subspace
- func (sub Subspace) Validate() error
- func (m *Subspace) XXX_DiscardUnknown()
- func (m *Subspace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Subspace) XXX_Merge(src proto.Message)
- func (m *Subspace) XXX_Size() int
- func (m *Subspace) XXX_Unmarshal(b []byte) error
- type SubspaceData
- func (*SubspaceData) Descriptor() ([]byte, []int)
- func (this *SubspaceData) Equal(that interface{}) bool
- func (m *SubspaceData) GetNextGroupID() uint32
- func (m *SubspaceData) GetNextSectionID() uint32
- func (m *SubspaceData) GetSubspaceID() uint64
- func (m *SubspaceData) Marshal() (dAtA []byte, err error)
- func (m *SubspaceData) MarshalTo(dAtA []byte) (int, error)
- func (m *SubspaceData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubspaceData) ProtoMessage()
- func (m *SubspaceData) Reset()
- func (m *SubspaceData) Size() (n int)
- func (m *SubspaceData) String() string
- func (m *SubspaceData) Unmarshal(dAtA []byte) error
- func (data SubspaceData) Validate() error
- func (m *SubspaceData) XXX_DiscardUnknown()
- func (m *SubspaceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubspaceData) XXX_Merge(src proto.Message)
- func (m *SubspaceData) XXX_Size() int
- func (m *SubspaceData) XXX_Unmarshal(b []byte) error
- type SubspaceMsg
- type SubspaceUpdate
- type SubspacesHooks
- type SubspacesHooksWrapper
- type SubspacesMsg
- type SubspacesQuery
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddUserToUserGroup(ctx context.Context, req *MsgAddUserToUserGroup) (*MsgAddUserToUserGroupResponse, error)
- func (*UnimplementedMsgServer) CreateSection(ctx context.Context, req *MsgCreateSection) (*MsgCreateSectionResponse, error)
- func (*UnimplementedMsgServer) CreateSubspace(ctx context.Context, req *MsgCreateSubspace) (*MsgCreateSubspaceResponse, error)
- func (*UnimplementedMsgServer) CreateUserGroup(ctx context.Context, req *MsgCreateUserGroup) (*MsgCreateUserGroupResponse, error)
- func (*UnimplementedMsgServer) DeleteSection(ctx context.Context, req *MsgDeleteSection) (*MsgDeleteSectionResponse, error)
- func (*UnimplementedMsgServer) DeleteSubspace(ctx context.Context, req *MsgDeleteSubspace) (*MsgDeleteSubspaceResponse, error)
- func (*UnimplementedMsgServer) DeleteUserGroup(ctx context.Context, req *MsgDeleteUserGroup) (*MsgDeleteUserGroupResponse, error)
- func (*UnimplementedMsgServer) EditSection(ctx context.Context, req *MsgEditSection) (*MsgEditSectionResponse, error)
- func (*UnimplementedMsgServer) EditSubspace(ctx context.Context, req *MsgEditSubspace) (*MsgEditSubspaceResponse, error)
- func (*UnimplementedMsgServer) EditUserGroup(ctx context.Context, req *MsgEditUserGroup) (*MsgEditUserGroupResponse, error)
- func (*UnimplementedMsgServer) GrantAllowance(ctx context.Context, req *MsgGrantAllowance) (*MsgGrantAllowanceResponse, error)
- func (*UnimplementedMsgServer) GrantTreasuryAuthorization(ctx context.Context, req *MsgGrantTreasuryAuthorization) (*MsgGrantTreasuryAuthorizationResponse, error)
- func (*UnimplementedMsgServer) MoveSection(ctx context.Context, req *MsgMoveSection) (*MsgMoveSectionResponse, error)
- func (*UnimplementedMsgServer) MoveUserGroup(ctx context.Context, req *MsgMoveUserGroup) (*MsgMoveUserGroupResponse, error)
- func (*UnimplementedMsgServer) RemoveUserFromUserGroup(ctx context.Context, req *MsgRemoveUserFromUserGroup) (*MsgRemoveUserFromUserGroupResponse, error)
- func (*UnimplementedMsgServer) RevokeAllowance(ctx context.Context, req *MsgRevokeAllowance) (*MsgRevokeAllowanceResponse, error)
- func (*UnimplementedMsgServer) RevokeTreasuryAuthorization(ctx context.Context, req *MsgRevokeTreasuryAuthorization) (*MsgRevokeTreasuryAuthorizationResponse, error)
- func (*UnimplementedMsgServer) SetUserGroupPermissions(ctx context.Context, req *MsgSetUserGroupPermissions) (*MsgSetUserGroupPermissionsResponse, error)
- func (*UnimplementedMsgServer) SetUserPermissions(ctx context.Context, req *MsgSetUserPermissions) (*MsgSetUserPermissionsResponse, error)
- func (*UnimplementedMsgServer) UpdateSubspaceFeeTokens(ctx context.Context, req *MsgUpdateSubspaceFeeTokens) (*MsgUpdateSubspaceFeeTokensResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) GroupAllowances(ctx context.Context, req *QueryGroupAllowancesRequest) (*QueryGroupAllowancesResponse, error)
- func (*UnimplementedQueryServer) Section(ctx context.Context, req *QuerySectionRequest) (*QuerySectionResponse, error)
- func (*UnimplementedQueryServer) Sections(ctx context.Context, req *QuerySectionsRequest) (*QuerySectionsResponse, error)
- func (*UnimplementedQueryServer) Subspace(ctx context.Context, req *QuerySubspaceRequest) (*QuerySubspaceResponse, error)
- func (*UnimplementedQueryServer) Subspaces(ctx context.Context, req *QuerySubspacesRequest) (*QuerySubspacesResponse, error)
- func (*UnimplementedQueryServer) UserAllowances(ctx context.Context, req *QueryUserAllowancesRequest) (*QueryUserAllowancesResponse, error)
- func (*UnimplementedQueryServer) UserGroup(ctx context.Context, req *QueryUserGroupRequest) (*QueryUserGroupResponse, error)
- func (*UnimplementedQueryServer) UserGroupMembers(ctx context.Context, req *QueryUserGroupMembersRequest) (*QueryUserGroupMembersResponse, error)
- func (*UnimplementedQueryServer) UserGroups(ctx context.Context, req *QueryUserGroupsRequest) (*QueryUserGroupsResponse, error)
- func (*UnimplementedQueryServer) UserPermissions(ctx context.Context, req *QueryUserPermissionsRequest) (*QueryUserPermissionsResponse, error)
- type UserGrantee
- func (*UserGrantee) Descriptor() ([]byte, []int)
- func (this *UserGrantee) Equal(that interface{}) bool
- func (m *UserGrantee) GetUser() string
- func (m *UserGrantee) Marshal() (dAtA []byte, err error)
- func (m *UserGrantee) MarshalTo(dAtA []byte) (int, error)
- func (m *UserGrantee) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserGrantee) ProtoMessage()
- func (m *UserGrantee) Reset()
- func (m *UserGrantee) Size() (n int)
- func (m *UserGrantee) String() string
- func (m *UserGrantee) Unmarshal(dAtA []byte) error
- func (t *UserGrantee) Validate() error
- func (m *UserGrantee) XXX_DiscardUnknown()
- func (m *UserGrantee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserGrantee) XXX_Merge(src proto.Message)
- func (m *UserGrantee) XXX_Size() int
- func (m *UserGrantee) XXX_Unmarshal(b []byte) error
- type UserGroup
- func (*UserGroup) Descriptor() ([]byte, []int)
- func (this *UserGroup) Equal(that interface{}) bool
- func (m *UserGroup) GetDescription() string
- func (m *UserGroup) GetID() uint32
- func (m *UserGroup) GetName() string
- func (m *UserGroup) GetPermissions() Permissions
- func (m *UserGroup) GetSectionID() uint32
- func (m *UserGroup) GetSubspaceID() uint64
- func (m *UserGroup) Marshal() (dAtA []byte, err error)
- func (m *UserGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *UserGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserGroup) ProtoMessage()
- func (m *UserGroup) Reset()
- func (m *UserGroup) Size() (n int)
- func (m *UserGroup) String() string
- func (m *UserGroup) Unmarshal(dAtA []byte) error
- func (group UserGroup) Update(update GroupUpdate) UserGroup
- func (group UserGroup) Validate() error
- func (m *UserGroup) XXX_DiscardUnknown()
- func (m *UserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserGroup) XXX_Merge(src proto.Message)
- func (m *UserGroup) XXX_Size() int
- func (m *UserGroup) XXX_Unmarshal(b []byte) error
- type UserGroupMemberEntry
- func (*UserGroupMemberEntry) Descriptor() ([]byte, []int)
- func (this *UserGroupMemberEntry) Equal(that interface{}) bool
- func (m *UserGroupMemberEntry) GetGroupID() uint32
- func (m *UserGroupMemberEntry) GetSubspaceID() uint64
- func (m *UserGroupMemberEntry) GetUser() string
- func (m *UserGroupMemberEntry) Marshal() (dAtA []byte, err error)
- func (m *UserGroupMemberEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *UserGroupMemberEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserGroupMemberEntry) ProtoMessage()
- func (m *UserGroupMemberEntry) Reset()
- func (m *UserGroupMemberEntry) Size() (n int)
- func (m *UserGroupMemberEntry) String() string
- func (m *UserGroupMemberEntry) Unmarshal(dAtA []byte) error
- func (entry UserGroupMemberEntry) Validate() error
- func (m *UserGroupMemberEntry) XXX_DiscardUnknown()
- func (m *UserGroupMemberEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserGroupMemberEntry) XXX_Merge(src proto.Message)
- func (m *UserGroupMemberEntry) XXX_Size() int
- func (m *UserGroupMemberEntry) XXX_Unmarshal(b []byte) error
- type UserPermission
- func (*UserPermission) Descriptor() ([]byte, []int)
- func (this *UserPermission) Equal(that interface{}) bool
- func (m *UserPermission) GetPermissions() Permissions
- func (m *UserPermission) GetSectionID() uint32
- func (m *UserPermission) GetSubspaceID() uint64
- func (m *UserPermission) GetUser() string
- func (m *UserPermission) Marshal() (dAtA []byte, err error)
- func (m *UserPermission) MarshalTo(dAtA []byte) (int, error)
- func (m *UserPermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserPermission) ProtoMessage()
- func (m *UserPermission) Reset()
- func (m *UserPermission) Size() (n int)
- func (m *UserPermission) String() string
- func (m *UserPermission) Unmarshal(dAtA []byte) error
- func (p UserPermission) Validate() error
- func (m *UserPermission) XXX_DiscardUnknown()
- func (m *UserPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserPermission) XXX_Merge(src proto.Message)
- func (m *UserPermission) XXX_Size() int
- func (m *UserPermission) XXX_Unmarshal(b []byte) error
Constants ¶
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" )
Subspaces module event types
const ( ModuleName = "subspaces" RouterKey = ModuleName StoreKey = ModuleName QuerierRoute = ModuleName ActionCreateSubspace = "create_subspace" ActionEditSubspace = "edit_subspace" ActionDeleteSubspace = "delete_subspace" ActionCreateSection = "create_section" ActionEditSection = "edit_section" ActionMoveSection = "move_section" ActionDeleteSection = "delete_section" ActionCreateUserGroup = "create_user_group" ActionEditUserGroup = "edit_user_group" ActionMoveUserGroup = "move_user_group" ActionSetUserGroupPermissions = "set_user_group_permissions" ActionDeleteUserGroup = "delete_user_group" ActionAddUserToUserGroup = "add_user_to_user_group" ActionRemoveUserFromUserGroup = "remove_user_from_user_group" ActionSetUserPermissions = "set_user_permissions" ActionUpdateSubspaceFeeTokens = "update_subspace_fee_tokens" ActionGrantTreasuryAuthorization = "grant_treasury_authorization" ActionRevokeTreasuryAuthorization = "revoke_treasury_authorization" ActionGrantAllowance = "grant_allowance" ActionRevokeAllowance = "revoke_allowance" DoNotModify = "[do-not-modify]" )
const ( // RootSectionID represents the id of the root section of each subspace RootSectionID = 0 // DefaultGroupID represents the id of the default group of each subspace DefaultGroupID = 0 )
Variables ¶
var ( // ErrPermissionDenied is returned if a user cannot perform a specific action inside a subspace ErrPermissionDenied = errors.Register(ModuleName, 1, "permissions denied for user") ErrInvalidGenesis = errors.Register(ModuleName, 2, "invalid genesis state") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( SubspaceIDKey = []byte{0x00} SubspacePrefix = []byte{0x01} GroupIDPrefix = []byte{0x02} GroupsPrefix = []byte{0x03} GroupsMembersPrefix = []byte{0x04} UserPermissionsStorePrefix = []byte{0x05} SectionIDPrefix = []byte{0x06} SectionsPrefix = []byte{0x07} UserAllowancePrefix = []byte{0x08} GroupAllowancePrefix = []byte{0x09} ExpiringAllowanceQueuePrefix = []byte{0x10} )
var ( ErrInvalidLengthModels = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowModels = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupModels = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgs = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgs = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgs = fmt.Errorf("proto: unexpected end of group") )
var ( // PermissionEditSubspace allows to change the information of the subspace PermissionEditSubspace = RegisterPermission("edit subspace") // PermissionDeleteSubspace allows users to delete the subspace. PermissionDeleteSubspace = RegisterPermission("delete subspace") // PermissionManageSections allows users to manage a subspace sections PermissionManageSections = RegisterPermission("manage sections") // PermissionManageGroups allows users to manage user groups and members PermissionManageGroups = RegisterPermission("manage groups") // PermissionSetPermissions allows users to set other users' permissions (except PermissionSetPermissions). // This includes managing user groups and the associated permissions PermissionSetPermissions = RegisterPermission("set permissions") // PermissionManageTreasuryAuthorization allows users to manage treasury authorization PermissionManageTreasuryAuthorization = RegisterPermission("manage treasury authorizations") // PermissionManageAllowances allows users to manage others fee allowances PermissionManageAllowances = RegisterPermission("manage allowances") // PermissionEverything allows to do everything. // This should usually be reserved only to the owner (which has it by default) PermissionEverything = RegisterPermission("everything") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( // AminoCodec references the global x/subspaces module codec. Note, the codec should // ONLY be used in certain instances of tests and for JSON encoding as Amino is // still used for that purpose. // // The actual codec used for serialization should be provided to x/subspaces and // defined at the application level. AminoCodec = codec.NewAminoCodec(amino) )
Functions ¶
func ArePermissionsValid ¶
func ArePermissionsValid(permissions Permissions) bool
ArePermissionsValid checks whether the given value represents a valid permissions or not
func CheckPermission ¶
func CheckPermission(permissions Permissions, permission Permission) bool
CheckPermission checks whether the given permissions contain the specified permissions
func CheckPermissions ¶
func CheckPermissions(permissions Permissions, toCheck Permissions) bool
func ExpiringAllowanceKey ¶
ExpiringAllowanceKey returns the key used to store the allowance to the expiring queue
func ExpiringAllowanceTimePrefix ¶
ExpiringAllowanceTimePrefix gets the expiring allowance prefix by expiration time
func GetAddressBytes ¶
GetAddressBytes returns the given user address as a byte array
func GetAddressFromBytes ¶
GetAddressFromBytes returns the sdk.AccAddress representation of the given user address
func GetGroupIDBytes ¶
GetGroupIDBytes returns the byte representation of the groupID
func GetGroupIDFromBytes ¶
GetGroupIDFromBytes returns groupID in uint32 format from a byte array
func GetSectionIDBytes ¶
GetSectionIDBytes returns the byte representation of the sectionID
func GetSectionIDFromBytes ¶
GetSectionIDFromBytes returns sectionID in uint32 format from a byte array
func GetSubspaceIDBytes ¶
GetSubspaceIDBytes returns the byte representation of the subspaceID
func GetSubspaceIDFromBytes ¶
GetSubspaceIDFromBytes returns subspaceID in uint64 format from a byte array
func GetTreasuryAddress ¶
func GetTreasuryAddress(subspaceID uint64) sdk.AccAddress
GetTreasuryAddress generates a treasury address from subspace id
func GroupAllowanceKey ¶
GroupAllowanceKey returns the key used to store the group allowance
func GroupMemberStoreKey ¶
GroupMemberStoreKey returns the key used to store the membership of the given user to the specified group inside the provided subspace
func GroupMembersPrefix ¶
GroupMembersPrefix returns the key used to store all the members of the given group inside the given subspace
func GroupStoreKey ¶
GroupStoreKey returns the key used to store the group having the given id inside the specified section
func NextGroupIDStoreKey ¶
NextGroupIDStoreKey returns the store key that is used to store the group id to be used next for the given subspace
func NextSectionIDStoreKey ¶
NextSectionIDStoreKey returns the key used to store the next section id for the given subspace
func ParseAllowanceKeyFromExpiringKey ¶
ParseAllowanceKeyFromExpiringKey parses allowance key from expiring key
func ParseGroupID ¶
ParseGroupID parses the given value as a group id, returning an error if it's invalid
func ParseSectionID ¶
ParseSectionID parses the given value as a section id, returning an error if it's invalid
func ParseSubspaceID ¶
ParseSubspaceID parses the given value as a subspace id, returning an error if it's invalid
func ParseSubspacesIDs ¶
ParseSubspacesIDs parses the given value as a list of subspace ids separated by a comma
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func SectionGroupsPrefix ¶
SectionGroupsPrefix returns the prefix used to store all the groups for the given section
func SectionPermissionsPrefix ¶
SectionPermissionsPrefix returns the prefix used to store the permissions for the given section
func SectionStoreKey ¶
SectionStoreKey returns the key used to store the given section
func SerializePermission ¶
func SerializePermission(permission Permission) string
SerializePermission serializes the given permissions to a string value
func SplitGroupMemberStoreKey ¶
SplitGroupMemberStoreKey splits the given group member store key into the associated subspace id, group id and user address
func SplitUserAddressPermissionKey ¶
SplitUserAddressPermissionKey splits a UserPermissionStoreKey into the subspace id, section id and user address
func SubspaceGroupAllowancePrefix ¶
SubspaceGroupAllowancePrefix returns the prefix used to store the group allowance for the given subspace
func SubspaceGroupsMembersPrefix ¶
SubspaceGroupsMembersPrefix returns the prefix used to store groups members for the subspace having the given id
func SubspaceGroupsPrefix ¶
SubspaceGroupsPrefix returns the store prefix used to store all the groups of a given subspace
func SubspacePermissionsPrefix ¶
SubspacePermissionsPrefix returns the prefix used to store user permissions for the given subspace
func SubspaceSectionsPrefix ¶
SubspaceSectionsPrefix returns the prefix used to store all the sections for the given subspace
func SubspaceStoreKey ¶
SubspaceStoreKey returns the key for a specific subspace
func SubspaceUserAllowancePrefix ¶
SubspaceUserAllowancePrefix returns the prefix used to store the user allowance for the given subspace
func UserAllowanceKey ¶
UserAllowanceKey returns the key used to store the user allowance
func UserPermissionStoreKey ¶
UserPermissionStoreKey returns the key used to store the permission for the given user inside the given subspace
func ValidateGenesis ¶
func ValidateGenesis(data *GenesisState) error
ValidateGenesis validates the given genesis state and returns an error if something is invalid
Types ¶
type AccountKeeper ¶
type AdditionalFeeTokensUpdate ¶
type AdditionalFeeTokensUpdate struct { // Additional fee tokens of the subspace AdditionalFeeTokens sdk.Coins }
AdditionalFeeTokensUpdate contains data related to a subspace that can be updated after update addition fee tokens proposal performed.
func NewAdditionalFeeTokensUpdate ¶
func NewAdditionalFeeTokensUpdate(tokens ...sdk.Coin) AdditionalFeeTokensUpdate
NewAdditionalFeeTokensUpdate returns a new AdditionalFeeTokensUpdate instance
func (AdditionalFeeTokensUpdate) Update ¶
func (update AdditionalFeeTokensUpdate) Update(sub Subspace) Subspace
Update updates the additional fee tokens field of a subspace without validating it. Before storing the updated subspace, a validation with Validate() should be performed.
type AuthzKeeper ¶
type AuthzKeeper interface { SaveGrant(ctx sdk.Context, grantee, granter sdk.AccAddress, authorization authztypes.Authorization, expiration *time.Time) error DeleteGrant(ctx sdk.Context, grantee sdk.AccAddress, granter sdk.AccAddress, msgType string) error }
type GenesisState ¶
type GenesisState struct { InitialSubspaceID uint64 `protobuf:"varint,1,opt,name=initial_subspace_id,json=initialSubspaceId,proto3" json:"initial_subspace_id,omitempty"` SubspacesData []SubspaceData `protobuf:"bytes,2,rep,name=subspaces_data,json=subspacesData,proto3" json:"subspaces_data"` Subspaces []Subspace `protobuf:"bytes,3,rep,name=subspaces,proto3" json:"subspaces"` Sections []Section `protobuf:"bytes,4,rep,name=sections,proto3" json:"sections"` UserPermissions []UserPermission `protobuf:"bytes,5,rep,name=user_permissions,json=userPermissions,proto3" json:"user_permissions"` UserGroups []UserGroup `protobuf:"bytes,6,rep,name=user_groups,json=userGroups,proto3" json:"user_groups"` UserGroupsMembers []UserGroupMemberEntry `protobuf:"bytes,7,rep,name=user_groups_members,json=userGroupsMembers,proto3" json:"user_groups_members"` Grants []Grant `protobuf:"bytes,8,rep,name=grants,proto3" json:"grants"` }
GenesisState contains the data of the genesis state for the subspaces module
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState returns a default GenesisState
func NewGenesisState ¶
func NewGenesisState( initialSubspaceID uint64, subspacesData []SubspaceData, subspaces []Subspace, sections []Section, userPermissions []UserPermission, userGroups []UserGroup, userGroupMembers []UserGroupMemberEntry, grants []Grant, ) *GenesisState
NewGenesisState creates a new genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) Equal ¶
func (this *GenesisState) Equal(that interface{}) bool
func (*GenesisState) GetGrants ¶
func (m *GenesisState) GetGrants() []Grant
func (*GenesisState) GetInitialSubspaceID ¶
func (m *GenesisState) GetInitialSubspaceID() uint64
func (*GenesisState) GetSections ¶
func (m *GenesisState) GetSections() []Section
func (*GenesisState) GetSubspaces ¶
func (m *GenesisState) GetSubspaces() []Subspace
func (*GenesisState) GetSubspacesData ¶
func (m *GenesisState) GetSubspacesData() []SubspaceData
func (*GenesisState) GetUserGroups ¶
func (m *GenesisState) GetUserGroups() []UserGroup
func (*GenesisState) GetUserGroupsMembers ¶
func (m *GenesisState) GetUserGroupsMembers() []UserGroupMemberEntry
func (*GenesisState) GetUserPermissions ¶
func (m *GenesisState) GetUserPermissions() []UserPermission
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) UnpackInterfaces ¶
func (data GenesisState) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type Grant ¶
type Grant struct { // Id of the subspace inside which the user was granted the allowance SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Address of the user that granted the allowance Granter string `protobuf:"bytes,2,opt,name=granter,proto3" json:"granter,omitempty" yaml:"granter"` // Target to which the allowance has been granted Grantee *types1.Any `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty" yaml:"grantee"` // Allowance can be any allowance type implementing the FeeAllowanceI // interface Allowance *types1.Any `protobuf:"bytes,4,opt,name=allowance,proto3" json:"allowance,omitempty" yaml:"allowance"` }
Grant represents a grant to a user or a group
func NewGrant ¶
func NewGrant(subspaceID uint64, granter string, grantee Grantee, feeAllowance feegranttypes.FeeAllowanceI) Grant
NewGrant is a constructor for the Grant type
func (*Grant) Descriptor ¶
func (*Grant) GetAllowance ¶
func (Grant) GetExpiration ¶
GetExpiration returns the expiration time
func (*Grant) GetGrantee ¶
func (*Grant) GetGranter ¶
func (*Grant) GetSubspaceID ¶
func (Grant) GetUnpackedAllowance ¶
func (g Grant) GetUnpackedAllowance() (feegranttypes.FeeAllowanceI, error)
GetUnpackedAllowance returns unpacked allowance
func (*Grant) ProtoMessage ¶
func (*Grant) ProtoMessage()
func (Grant) UnpackInterfaces ¶
func (g Grant) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (*Grant) XXX_DiscardUnknown ¶
func (m *Grant) XXX_DiscardUnknown()
func (*Grant) XXX_Marshal ¶
func (*Grant) XXX_Unmarshal ¶
type Grantee ¶
type Grantee interface { proto.Message Validate() error // contains filtered or unexported methods }
Grantee represents a generic grant grantee
type GroupGrantee ¶
type GroupGrantee struct {
GroupID uint32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty" yaml:"group_id"`
}
GroupGrantee contains the target of a grant about a group
func NewGroupGrantee ¶
func NewGroupGrantee(groupID uint32) *GroupGrantee
NewGroupGrantee is a constructor for the GroupGrantee type
func (*GroupGrantee) Descriptor ¶
func (*GroupGrantee) Descriptor() ([]byte, []int)
func (*GroupGrantee) Equal ¶
func (this *GroupGrantee) Equal(that interface{}) bool
func (*GroupGrantee) GetGroupID ¶
func (m *GroupGrantee) GetGroupID() uint32
func (*GroupGrantee) Marshal ¶
func (m *GroupGrantee) Marshal() (dAtA []byte, err error)
func (*GroupGrantee) MarshalToSizedBuffer ¶
func (m *GroupGrantee) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GroupGrantee) ProtoMessage ¶
func (*GroupGrantee) ProtoMessage()
func (*GroupGrantee) Reset ¶
func (m *GroupGrantee) Reset()
func (*GroupGrantee) Size ¶
func (m *GroupGrantee) Size() (n int)
func (*GroupGrantee) String ¶
func (m *GroupGrantee) String() string
func (*GroupGrantee) Unmarshal ¶
func (m *GroupGrantee) Unmarshal(dAtA []byte) error
func (*GroupGrantee) Validate ¶
func (t *GroupGrantee) Validate() error
isGrantee implements Grantee
func (*GroupGrantee) XXX_DiscardUnknown ¶
func (m *GroupGrantee) XXX_DiscardUnknown()
func (*GroupGrantee) XXX_Marshal ¶
func (m *GroupGrantee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupGrantee) XXX_Merge ¶
func (m *GroupGrantee) XXX_Merge(src proto.Message)
func (*GroupGrantee) XXX_Size ¶
func (m *GroupGrantee) XXX_Size() int
func (*GroupGrantee) XXX_Unmarshal ¶
func (m *GroupGrantee) XXX_Unmarshal(b []byte) error
type GroupUpdate ¶
GroupUpdate contains all the data that can be updated about a group. When performing an update, if a field should not be edited then it must be set to types.DoNotModify
func NewGroupUpdate ¶
func NewGroupUpdate(name, description string) GroupUpdate
NewGroupUpdate builds a new SubspaceUpdate instance containing the given data
type ManageSubspaceMsg ¶
type ManageSubspaceMsg interface { SubspaceMsg IsManageSubspaceMsg() }
ManageSubspaceMsg represents a generic message that is related to a management purpose
type MsgAddUserToUserGroup ¶
type MsgAddUserToUserGroup struct { // Id of the subspace inside which the group is SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Id of the group to which to add the user GroupID uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty" yaml:"group_id"` // User to be added to the group User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty" yaml:"user"` // User signing the message Signer string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"` }
MsgAddUserToUserGroup represents the message used to add a user to a user group
func NewMsgAddUserToUserGroup ¶
func NewMsgAddUserToUserGroup( subspaceID uint64, groupID uint32, user string, signer string, ) *MsgAddUserToUserGroup
NewMsgAddUserToUserGroup creates a new MsgAddUserToUserGroup instance
func (*MsgAddUserToUserGroup) Descriptor ¶
func (*MsgAddUserToUserGroup) Descriptor() ([]byte, []int)
func (*MsgAddUserToUserGroup) GetGroupID ¶
func (m *MsgAddUserToUserGroup) GetGroupID() uint32
func (*MsgAddUserToUserGroup) GetSignBytes ¶
func (msg *MsgAddUserToUserGroup) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgAddUserToUserGroup) GetSigner ¶
func (m *MsgAddUserToUserGroup) GetSigner() string
func (*MsgAddUserToUserGroup) GetSigners ¶
func (msg *MsgAddUserToUserGroup) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgAddUserToUserGroup) GetSubspaceID ¶
func (m *MsgAddUserToUserGroup) GetSubspaceID() uint64
func (*MsgAddUserToUserGroup) GetUser ¶
func (m *MsgAddUserToUserGroup) GetUser() string
func (*MsgAddUserToUserGroup) IsManageSubspaceMsg ¶
func (msg *MsgAddUserToUserGroup) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgAddUserToUserGroup) Marshal ¶
func (m *MsgAddUserToUserGroup) Marshal() (dAtA []byte, err error)
func (*MsgAddUserToUserGroup) MarshalTo ¶
func (m *MsgAddUserToUserGroup) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddUserToUserGroup) MarshalToSizedBuffer ¶
func (m *MsgAddUserToUserGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddUserToUserGroup) ProtoMessage ¶
func (*MsgAddUserToUserGroup) ProtoMessage()
func (*MsgAddUserToUserGroup) Reset ¶
func (m *MsgAddUserToUserGroup) Reset()
func (*MsgAddUserToUserGroup) Route ¶
func (msg *MsgAddUserToUserGroup) Route() string
Route implements sdk.Msg
func (*MsgAddUserToUserGroup) Size ¶
func (m *MsgAddUserToUserGroup) Size() (n int)
func (*MsgAddUserToUserGroup) String ¶
func (m *MsgAddUserToUserGroup) String() string
func (*MsgAddUserToUserGroup) Type ¶
func (msg *MsgAddUserToUserGroup) Type() string
Type implements sdk.Msg
func (*MsgAddUserToUserGroup) Unmarshal ¶
func (m *MsgAddUserToUserGroup) Unmarshal(dAtA []byte) error
func (*MsgAddUserToUserGroup) ValidateBasic ¶
func (msg *MsgAddUserToUserGroup) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgAddUserToUserGroup) XXX_DiscardUnknown ¶
func (m *MsgAddUserToUserGroup) XXX_DiscardUnknown()
func (*MsgAddUserToUserGroup) XXX_Marshal ¶
func (m *MsgAddUserToUserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddUserToUserGroup) XXX_Merge ¶
func (m *MsgAddUserToUserGroup) XXX_Merge(src proto.Message)
func (*MsgAddUserToUserGroup) XXX_Size ¶
func (m *MsgAddUserToUserGroup) XXX_Size() int
func (*MsgAddUserToUserGroup) XXX_Unmarshal ¶
func (m *MsgAddUserToUserGroup) XXX_Unmarshal(b []byte) error
type MsgAddUserToUserGroupResponse ¶
type MsgAddUserToUserGroupResponse struct { }
MsgAddUserToUserGroupResponse defines the Msg/AddUserToUserGroupResponse response type
func (*MsgAddUserToUserGroupResponse) Descriptor ¶
func (*MsgAddUserToUserGroupResponse) Descriptor() ([]byte, []int)
func (*MsgAddUserToUserGroupResponse) Marshal ¶
func (m *MsgAddUserToUserGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddUserToUserGroupResponse) MarshalTo ¶
func (m *MsgAddUserToUserGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddUserToUserGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgAddUserToUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddUserToUserGroupResponse) ProtoMessage ¶
func (*MsgAddUserToUserGroupResponse) ProtoMessage()
func (*MsgAddUserToUserGroupResponse) Reset ¶
func (m *MsgAddUserToUserGroupResponse) Reset()
func (*MsgAddUserToUserGroupResponse) Size ¶
func (m *MsgAddUserToUserGroupResponse) Size() (n int)
func (*MsgAddUserToUserGroupResponse) String ¶
func (m *MsgAddUserToUserGroupResponse) String() string
func (*MsgAddUserToUserGroupResponse) Unmarshal ¶
func (m *MsgAddUserToUserGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgAddUserToUserGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgAddUserToUserGroupResponse) XXX_DiscardUnknown()
func (*MsgAddUserToUserGroupResponse) XXX_Marshal ¶
func (m *MsgAddUserToUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddUserToUserGroupResponse) XXX_Merge ¶
func (m *MsgAddUserToUserGroupResponse) XXX_Merge(src proto.Message)
func (*MsgAddUserToUserGroupResponse) XXX_Size ¶
func (m *MsgAddUserToUserGroupResponse) XXX_Size() int
func (*MsgAddUserToUserGroupResponse) XXX_Unmarshal ¶
func (m *MsgAddUserToUserGroupResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // CreateSubspace allows to create a subspace CreateSubspace(ctx context.Context, in *MsgCreateSubspace, opts ...grpc.CallOption) (*MsgCreateSubspaceResponse, error) // EditSubspace allows to edit a subspace EditSubspace(ctx context.Context, in *MsgEditSubspace, opts ...grpc.CallOption) (*MsgEditSubspaceResponse, error) // DeleteSubspace allows to delete a subspace DeleteSubspace(ctx context.Context, in *MsgDeleteSubspace, opts ...grpc.CallOption) (*MsgDeleteSubspaceResponse, error) // CreateSection allows to create a new subspace section CreateSection(ctx context.Context, in *MsgCreateSection, opts ...grpc.CallOption) (*MsgCreateSectionResponse, error) // EditSection allows to edit an existing section EditSection(ctx context.Context, in *MsgEditSection, opts ...grpc.CallOption) (*MsgEditSectionResponse, error) // MoveSection allows to move an existing section to another parent MoveSection(ctx context.Context, in *MsgMoveSection, opts ...grpc.CallOption) (*MsgMoveSectionResponse, error) // DeleteSection allows to delete an existing section DeleteSection(ctx context.Context, in *MsgDeleteSection, opts ...grpc.CallOption) (*MsgDeleteSectionResponse, error) // CreateUserGroup allows to create a user group CreateUserGroup(ctx context.Context, in *MsgCreateUserGroup, opts ...grpc.CallOption) (*MsgCreateUserGroupResponse, error) // EditUserGroup allows to edit a user group EditUserGroup(ctx context.Context, in *MsgEditUserGroup, opts ...grpc.CallOption) (*MsgEditUserGroupResponse, error) // MoveUserGroup allows to move a user group from a section to another MoveUserGroup(ctx context.Context, in *MsgMoveUserGroup, opts ...grpc.CallOption) (*MsgMoveUserGroupResponse, error) // SetUserGroupPermissions allows to set the permissions for a specific group SetUserGroupPermissions(ctx context.Context, in *MsgSetUserGroupPermissions, opts ...grpc.CallOption) (*MsgSetUserGroupPermissionsResponse, error) // DeleteUserGroup allows to delete an existing user group DeleteUserGroup(ctx context.Context, in *MsgDeleteUserGroup, opts ...grpc.CallOption) (*MsgDeleteUserGroupResponse, error) // AddUserToUserGroup allows to add a specific user to a specific user group AddUserToUserGroup(ctx context.Context, in *MsgAddUserToUserGroup, opts ...grpc.CallOption) (*MsgAddUserToUserGroupResponse, error) // RemoveUserFromUserGroup allows to remove a specific user from a specific // user group RemoveUserFromUserGroup(ctx context.Context, in *MsgRemoveUserFromUserGroup, opts ...grpc.CallOption) (*MsgRemoveUserFromUserGroupResponse, error) // SetUserPermissions allows to set the permissions for a specific user SetUserPermissions(ctx context.Context, in *MsgSetUserPermissions, opts ...grpc.CallOption) (*MsgSetUserPermissionsResponse, error) // GrantTreasuryAuthorization allows managers who have the permission to grant // a treasury authorization to a user GrantTreasuryAuthorization(ctx context.Context, in *MsgGrantTreasuryAuthorization, opts ...grpc.CallOption) (*MsgGrantTreasuryAuthorizationResponse, error) // RevokeTreasuryAuthorization allows managers who have the permission to // revoke an existing treasury authorization RevokeTreasuryAuthorization(ctx context.Context, in *MsgRevokeTreasuryAuthorization, opts ...grpc.CallOption) (*MsgRevokeTreasuryAuthorizationResponse, error) // GrantAllowance allows the granter to grant a fee allowance to the // grantee GrantAllowance(ctx context.Context, in *MsgGrantAllowance, opts ...grpc.CallOption) (*MsgGrantAllowanceResponse, error) // RevokeAllowance allows a granter to revoke any existing treasury allowance // that has been granted to the grantee RevokeAllowance(ctx context.Context, in *MsgRevokeAllowance, opts ...grpc.CallOption) (*MsgRevokeAllowanceResponse, error) // UpdateSubspaceFeeTokens allows subspace admins to update the list of fee // tokens inside the subspace via a governance proposal // // Since: Desmos 6.0.0 UpdateSubspaceFeeTokens(ctx context.Context, in *MsgUpdateSubspaceFeeTokens, opts ...grpc.CallOption) (*MsgUpdateSubspaceFeeTokensResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCreateSection ¶
type MsgCreateSection struct { // Id of the subspace inside which the section will be placed SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Name of the section to be created Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" yaml:"name"` // (optional) Description of the section Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` // (optional) Id of the parent section ParentID uint32 `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty" yaml:"parent_id"` // User creating the section Creator string `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"` }
MsgCreateSection represents the message to be used when creating a subspace section
func NewMsgCreateSection ¶
func NewMsgCreateSection( subspaceID uint64, name string, description string, parentID uint32, creator string, ) *MsgCreateSection
NewMsgCreateSection returns a new MsgCreateSection instance
func (*MsgCreateSection) Descriptor ¶
func (*MsgCreateSection) Descriptor() ([]byte, []int)
func (*MsgCreateSection) GetCreator ¶
func (m *MsgCreateSection) GetCreator() string
func (*MsgCreateSection) GetDescription ¶
func (m *MsgCreateSection) GetDescription() string
func (*MsgCreateSection) GetName ¶
func (m *MsgCreateSection) GetName() string
func (*MsgCreateSection) GetParentID ¶
func (m *MsgCreateSection) GetParentID() uint32
func (*MsgCreateSection) GetSignBytes ¶
func (msg *MsgCreateSection) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgCreateSection) GetSigners ¶
func (msg *MsgCreateSection) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgCreateSection) GetSubspaceID ¶
func (m *MsgCreateSection) GetSubspaceID() uint64
func (*MsgCreateSection) IsManageSubspaceMsg ¶
func (msg *MsgCreateSection) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgCreateSection) Marshal ¶
func (m *MsgCreateSection) Marshal() (dAtA []byte, err error)
func (*MsgCreateSection) MarshalToSizedBuffer ¶
func (m *MsgCreateSection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateSection) ProtoMessage ¶
func (*MsgCreateSection) ProtoMessage()
func (*MsgCreateSection) Reset ¶
func (m *MsgCreateSection) Reset()
func (*MsgCreateSection) Route ¶
func (msg *MsgCreateSection) Route() string
Route implements sdk.Msg
func (*MsgCreateSection) Size ¶
func (m *MsgCreateSection) Size() (n int)
func (*MsgCreateSection) String ¶
func (m *MsgCreateSection) String() string
func (*MsgCreateSection) Unmarshal ¶
func (m *MsgCreateSection) Unmarshal(dAtA []byte) error
func (*MsgCreateSection) ValidateBasic ¶
func (msg *MsgCreateSection) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgCreateSection) XXX_DiscardUnknown ¶
func (m *MsgCreateSection) XXX_DiscardUnknown()
func (*MsgCreateSection) XXX_Marshal ¶
func (m *MsgCreateSection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateSection) XXX_Merge ¶
func (m *MsgCreateSection) XXX_Merge(src proto.Message)
func (*MsgCreateSection) XXX_Size ¶
func (m *MsgCreateSection) XXX_Size() int
func (*MsgCreateSection) XXX_Unmarshal ¶
func (m *MsgCreateSection) XXX_Unmarshal(b []byte) error
type MsgCreateSectionResponse ¶
type MsgCreateSectionResponse struct { // Id of the newly created section SectionID uint32 `protobuf:"varint,1,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty" yaml:"section_id"` }
MsgCreateSectionResponse represents the Msg/CreateSection response type
func (*MsgCreateSectionResponse) Descriptor ¶
func (*MsgCreateSectionResponse) Descriptor() ([]byte, []int)
func (*MsgCreateSectionResponse) GetSectionID ¶
func (m *MsgCreateSectionResponse) GetSectionID() uint32
func (*MsgCreateSectionResponse) Marshal ¶
func (m *MsgCreateSectionResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateSectionResponse) MarshalTo ¶
func (m *MsgCreateSectionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateSectionResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateSectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateSectionResponse) ProtoMessage ¶
func (*MsgCreateSectionResponse) ProtoMessage()
func (*MsgCreateSectionResponse) Reset ¶
func (m *MsgCreateSectionResponse) Reset()
func (*MsgCreateSectionResponse) Size ¶
func (m *MsgCreateSectionResponse) Size() (n int)
func (*MsgCreateSectionResponse) String ¶
func (m *MsgCreateSectionResponse) String() string
func (*MsgCreateSectionResponse) Unmarshal ¶
func (m *MsgCreateSectionResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateSectionResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateSectionResponse) XXX_DiscardUnknown()
func (*MsgCreateSectionResponse) XXX_Marshal ¶
func (m *MsgCreateSectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateSectionResponse) XXX_Merge ¶
func (m *MsgCreateSectionResponse) XXX_Merge(src proto.Message)
func (*MsgCreateSectionResponse) XXX_Size ¶
func (m *MsgCreateSectionResponse) XXX_Size() int
func (*MsgCreateSectionResponse) XXX_Unmarshal ¶
func (m *MsgCreateSectionResponse) XXX_Unmarshal(b []byte) error
type MsgCreateSubspace ¶
type MsgCreateSubspace struct { // Name of the subspace Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" yaml:"name"` // (optional) Description of the subspace Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` // (optional) Owner of this subspace. If not specified, the creator will be // the default owner. Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` // Address creating the subspace Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"` }
MsgCreateSubspace represents the message used to create a subspace
func NewMsgCreateSubspace ¶
func NewMsgCreateSubspace( name string, description string, owner string, creator string, ) *MsgCreateSubspace
NewMsgCreateSubspace creates a new MsgCreateSubspace instance
func (*MsgCreateSubspace) Descriptor ¶
func (*MsgCreateSubspace) Descriptor() ([]byte, []int)
func (*MsgCreateSubspace) GetCreator ¶
func (m *MsgCreateSubspace) GetCreator() string
func (*MsgCreateSubspace) GetDescription ¶
func (m *MsgCreateSubspace) GetDescription() string
func (*MsgCreateSubspace) GetName ¶
func (m *MsgCreateSubspace) GetName() string
func (*MsgCreateSubspace) GetOwner ¶
func (m *MsgCreateSubspace) GetOwner() string
func (*MsgCreateSubspace) GetSignBytes ¶
func (msg *MsgCreateSubspace) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgCreateSubspace) GetSigners ¶
func (msg *MsgCreateSubspace) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgCreateSubspace) Marshal ¶
func (m *MsgCreateSubspace) Marshal() (dAtA []byte, err error)
func (*MsgCreateSubspace) MarshalTo ¶
func (m *MsgCreateSubspace) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateSubspace) MarshalToSizedBuffer ¶
func (m *MsgCreateSubspace) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateSubspace) ProtoMessage ¶
func (*MsgCreateSubspace) ProtoMessage()
func (*MsgCreateSubspace) Reset ¶
func (m *MsgCreateSubspace) Reset()
func (*MsgCreateSubspace) Route ¶
func (msg *MsgCreateSubspace) Route() string
Route implements sdk.Msg
func (*MsgCreateSubspace) Size ¶
func (m *MsgCreateSubspace) Size() (n int)
func (*MsgCreateSubspace) String ¶
func (m *MsgCreateSubspace) String() string
func (*MsgCreateSubspace) Type ¶
func (msg *MsgCreateSubspace) Type() string
Type implements sdk.Msg
func (*MsgCreateSubspace) Unmarshal ¶
func (m *MsgCreateSubspace) Unmarshal(dAtA []byte) error
func (*MsgCreateSubspace) ValidateBasic ¶
func (msg *MsgCreateSubspace) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgCreateSubspace) XXX_DiscardUnknown ¶
func (m *MsgCreateSubspace) XXX_DiscardUnknown()
func (*MsgCreateSubspace) XXX_Marshal ¶
func (m *MsgCreateSubspace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateSubspace) XXX_Merge ¶
func (m *MsgCreateSubspace) XXX_Merge(src proto.Message)
func (*MsgCreateSubspace) XXX_Size ¶
func (m *MsgCreateSubspace) XXX_Size() int
func (*MsgCreateSubspace) XXX_Unmarshal ¶
func (m *MsgCreateSubspace) XXX_Unmarshal(b []byte) error
type MsgCreateSubspaceResponse ¶
type MsgCreateSubspaceResponse struct { // Id of the newly created subspace id SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` }
MsgCreateSubspaceResponse defines the Msg/CreateSubspace response type
func (*MsgCreateSubspaceResponse) Descriptor ¶
func (*MsgCreateSubspaceResponse) Descriptor() ([]byte, []int)
func (*MsgCreateSubspaceResponse) GetSubspaceID ¶
func (m *MsgCreateSubspaceResponse) GetSubspaceID() uint64
func (*MsgCreateSubspaceResponse) Marshal ¶
func (m *MsgCreateSubspaceResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateSubspaceResponse) MarshalTo ¶
func (m *MsgCreateSubspaceResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateSubspaceResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateSubspaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateSubspaceResponse) ProtoMessage ¶
func (*MsgCreateSubspaceResponse) ProtoMessage()
func (*MsgCreateSubspaceResponse) Reset ¶
func (m *MsgCreateSubspaceResponse) Reset()
func (*MsgCreateSubspaceResponse) Size ¶
func (m *MsgCreateSubspaceResponse) Size() (n int)
func (*MsgCreateSubspaceResponse) String ¶
func (m *MsgCreateSubspaceResponse) String() string
func (*MsgCreateSubspaceResponse) Unmarshal ¶
func (m *MsgCreateSubspaceResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateSubspaceResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateSubspaceResponse) XXX_DiscardUnknown()
func (*MsgCreateSubspaceResponse) XXX_Marshal ¶
func (m *MsgCreateSubspaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateSubspaceResponse) XXX_Merge ¶
func (m *MsgCreateSubspaceResponse) XXX_Merge(src proto.Message)
func (*MsgCreateSubspaceResponse) XXX_Size ¶
func (m *MsgCreateSubspaceResponse) XXX_Size() int
func (*MsgCreateSubspaceResponse) XXX_Unmarshal ¶
func (m *MsgCreateSubspaceResponse) XXX_Unmarshal(b []byte) error
type MsgCreateUserGroup ¶
type MsgCreateUserGroup struct { // Id of the subspace inside which the group will be created SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // (optional) Id of the section inside which the group will be created SectionID uint32 `protobuf:"varint,2,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty" yaml:"section_id"` // Name of the group Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" yaml:"name"` // (optional) Description of the group Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` // Default permissions to be applied to the group DefaultPermissions []string `` /* 142-byte string literal not displayed */ // Initial members to be put inside the group InitialMembers []string `` /* 126-byte string literal not displayed */ // Creator of the group Creator string `protobuf:"bytes,7,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"` }
MsgCreateUserGroup represents the message used to create a user group
func NewMsgCreateUserGroup ¶
func NewMsgCreateUserGroup( subspaceID uint64, sectionID uint32, name string, description string, permissions Permissions, initialMembers []string, creator string, ) *MsgCreateUserGroup
NewMsgCreateUserGroup creates a new MsgCreateUserGroup instance
func (*MsgCreateUserGroup) Descriptor ¶
func (*MsgCreateUserGroup) Descriptor() ([]byte, []int)
func (*MsgCreateUserGroup) GetCreator ¶
func (m *MsgCreateUserGroup) GetCreator() string
func (*MsgCreateUserGroup) GetDefaultPermissions ¶
func (m *MsgCreateUserGroup) GetDefaultPermissions() []string
func (*MsgCreateUserGroup) GetDescription ¶
func (m *MsgCreateUserGroup) GetDescription() string
func (*MsgCreateUserGroup) GetInitialMembers ¶
func (m *MsgCreateUserGroup) GetInitialMembers() []string
func (*MsgCreateUserGroup) GetName ¶
func (m *MsgCreateUserGroup) GetName() string
func (*MsgCreateUserGroup) GetSectionID ¶
func (m *MsgCreateUserGroup) GetSectionID() uint32
func (*MsgCreateUserGroup) GetSignBytes ¶
func (msg *MsgCreateUserGroup) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgCreateUserGroup) GetSigners ¶
func (msg *MsgCreateUserGroup) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgCreateUserGroup) GetSubspaceID ¶
func (m *MsgCreateUserGroup) GetSubspaceID() uint64
func (*MsgCreateUserGroup) IsManageSubspaceMsg ¶
func (msg *MsgCreateUserGroup) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgCreateUserGroup) Marshal ¶
func (m *MsgCreateUserGroup) Marshal() (dAtA []byte, err error)
func (*MsgCreateUserGroup) MarshalTo ¶
func (m *MsgCreateUserGroup) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateUserGroup) MarshalToSizedBuffer ¶
func (m *MsgCreateUserGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateUserGroup) ProtoMessage ¶
func (*MsgCreateUserGroup) ProtoMessage()
func (*MsgCreateUserGroup) Reset ¶
func (m *MsgCreateUserGroup) Reset()
func (*MsgCreateUserGroup) Route ¶
func (msg *MsgCreateUserGroup) Route() string
Route implements sdk.Msg
func (*MsgCreateUserGroup) Size ¶
func (m *MsgCreateUserGroup) Size() (n int)
func (*MsgCreateUserGroup) String ¶
func (m *MsgCreateUserGroup) String() string
func (*MsgCreateUserGroup) Type ¶
func (msg *MsgCreateUserGroup) Type() string
Type implements sdk.Msg
func (*MsgCreateUserGroup) Unmarshal ¶
func (m *MsgCreateUserGroup) Unmarshal(dAtA []byte) error
func (*MsgCreateUserGroup) ValidateBasic ¶
func (msg *MsgCreateUserGroup) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgCreateUserGroup) XXX_DiscardUnknown ¶
func (m *MsgCreateUserGroup) XXX_DiscardUnknown()
func (*MsgCreateUserGroup) XXX_Marshal ¶
func (m *MsgCreateUserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateUserGroup) XXX_Merge ¶
func (m *MsgCreateUserGroup) XXX_Merge(src proto.Message)
func (*MsgCreateUserGroup) XXX_Size ¶
func (m *MsgCreateUserGroup) XXX_Size() int
func (*MsgCreateUserGroup) XXX_Unmarshal ¶
func (m *MsgCreateUserGroup) XXX_Unmarshal(b []byte) error
type MsgCreateUserGroupResponse ¶
type MsgCreateUserGroupResponse struct {
GroupID uint32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty" yaml:"group_id"`
}
MsgCreateUserGroupResponse defines the Msg/CreateUserGroup response type
func (*MsgCreateUserGroupResponse) Descriptor ¶
func (*MsgCreateUserGroupResponse) Descriptor() ([]byte, []int)
func (*MsgCreateUserGroupResponse) GetGroupID ¶
func (m *MsgCreateUserGroupResponse) GetGroupID() uint32
func (*MsgCreateUserGroupResponse) Marshal ¶
func (m *MsgCreateUserGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateUserGroupResponse) MarshalTo ¶
func (m *MsgCreateUserGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateUserGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateUserGroupResponse) ProtoMessage ¶
func (*MsgCreateUserGroupResponse) ProtoMessage()
func (*MsgCreateUserGroupResponse) Reset ¶
func (m *MsgCreateUserGroupResponse) Reset()
func (*MsgCreateUserGroupResponse) Size ¶
func (m *MsgCreateUserGroupResponse) Size() (n int)
func (*MsgCreateUserGroupResponse) String ¶
func (m *MsgCreateUserGroupResponse) String() string
func (*MsgCreateUserGroupResponse) Unmarshal ¶
func (m *MsgCreateUserGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateUserGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateUserGroupResponse) XXX_DiscardUnknown()
func (*MsgCreateUserGroupResponse) XXX_Marshal ¶
func (m *MsgCreateUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateUserGroupResponse) XXX_Merge ¶
func (m *MsgCreateUserGroupResponse) XXX_Merge(src proto.Message)
func (*MsgCreateUserGroupResponse) XXX_Size ¶
func (m *MsgCreateUserGroupResponse) XXX_Size() int
func (*MsgCreateUserGroupResponse) XXX_Unmarshal ¶
func (m *MsgCreateUserGroupResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteSection ¶
type MsgDeleteSection struct { // Id of the subspace inside which the section to be deleted is SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Id of the section to delete SectionID uint32 `protobuf:"varint,2,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty" yaml:"section_id"` // User deleting the section Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"` }
MsgDeleteSection represents the message to be used when deleting a section
func NewMsgDeleteSection ¶
func NewMsgDeleteSection(subspaceID uint64, sectionID uint32, signer string) *MsgDeleteSection
NewMsgDeleteSection returns a new MsgDeleteSection instance
func (*MsgDeleteSection) Descriptor ¶
func (*MsgDeleteSection) Descriptor() ([]byte, []int)
func (*MsgDeleteSection) GetSectionID ¶
func (m *MsgDeleteSection) GetSectionID() uint32
func (*MsgDeleteSection) GetSignBytes ¶
func (msg *MsgDeleteSection) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgDeleteSection) GetSigner ¶
func (m *MsgDeleteSection) GetSigner() string
func (*MsgDeleteSection) GetSigners ¶
func (msg *MsgDeleteSection) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgDeleteSection) GetSubspaceID ¶
func (m *MsgDeleteSection) GetSubspaceID() uint64
func (*MsgDeleteSection) IsManageSubspaceMsg ¶
func (msg *MsgDeleteSection) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgDeleteSection) Marshal ¶
func (m *MsgDeleteSection) Marshal() (dAtA []byte, err error)
func (*MsgDeleteSection) MarshalToSizedBuffer ¶
func (m *MsgDeleteSection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteSection) ProtoMessage ¶
func (*MsgDeleteSection) ProtoMessage()
func (*MsgDeleteSection) Reset ¶
func (m *MsgDeleteSection) Reset()
func (*MsgDeleteSection) Route ¶
func (msg *MsgDeleteSection) Route() string
Route implements sdk.Msg
func (*MsgDeleteSection) Size ¶
func (m *MsgDeleteSection) Size() (n int)
func (*MsgDeleteSection) String ¶
func (m *MsgDeleteSection) String() string
func (*MsgDeleteSection) Unmarshal ¶
func (m *MsgDeleteSection) Unmarshal(dAtA []byte) error
func (*MsgDeleteSection) ValidateBasic ¶
func (msg *MsgDeleteSection) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgDeleteSection) XXX_DiscardUnknown ¶
func (m *MsgDeleteSection) XXX_DiscardUnknown()
func (*MsgDeleteSection) XXX_Marshal ¶
func (m *MsgDeleteSection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteSection) XXX_Merge ¶
func (m *MsgDeleteSection) XXX_Merge(src proto.Message)
func (*MsgDeleteSection) XXX_Size ¶
func (m *MsgDeleteSection) XXX_Size() int
func (*MsgDeleteSection) XXX_Unmarshal ¶
func (m *MsgDeleteSection) XXX_Unmarshal(b []byte) error
type MsgDeleteSectionResponse ¶
type MsgDeleteSectionResponse struct { }
MsgDeleteSectionResponse represents the Msg/DeleteSection response type
func (*MsgDeleteSectionResponse) Descriptor ¶
func (*MsgDeleteSectionResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteSectionResponse) Marshal ¶
func (m *MsgDeleteSectionResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteSectionResponse) MarshalTo ¶
func (m *MsgDeleteSectionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteSectionResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteSectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteSectionResponse) ProtoMessage ¶
func (*MsgDeleteSectionResponse) ProtoMessage()
func (*MsgDeleteSectionResponse) Reset ¶
func (m *MsgDeleteSectionResponse) Reset()
func (*MsgDeleteSectionResponse) Size ¶
func (m *MsgDeleteSectionResponse) Size() (n int)
func (*MsgDeleteSectionResponse) String ¶
func (m *MsgDeleteSectionResponse) String() string
func (*MsgDeleteSectionResponse) Unmarshal ¶
func (m *MsgDeleteSectionResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteSectionResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteSectionResponse) XXX_DiscardUnknown()
func (*MsgDeleteSectionResponse) XXX_Marshal ¶
func (m *MsgDeleteSectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteSectionResponse) XXX_Merge ¶
func (m *MsgDeleteSectionResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteSectionResponse) XXX_Size ¶
func (m *MsgDeleteSectionResponse) XXX_Size() int
func (*MsgDeleteSectionResponse) XXX_Unmarshal ¶
func (m *MsgDeleteSectionResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteSubspace ¶
type MsgDeleteSubspace struct { // Id of the subspace to delete SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Address of the user deleting the subspace Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"` }
MsgDeleteSubspace represents the message used to delete a subspace
func NewMsgDeleteSubspace ¶
func NewMsgDeleteSubspace(subspaceID uint64, signer string) *MsgDeleteSubspace
NewMsgDeleteSubspace returns a new MsgDeleteSubspace instance
func (*MsgDeleteSubspace) Descriptor ¶
func (*MsgDeleteSubspace) Descriptor() ([]byte, []int)
func (*MsgDeleteSubspace) GetSignBytes ¶
func (msg *MsgDeleteSubspace) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgDeleteSubspace) GetSigner ¶
func (m *MsgDeleteSubspace) GetSigner() string
func (*MsgDeleteSubspace) GetSigners ¶
func (msg *MsgDeleteSubspace) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgDeleteSubspace) GetSubspaceID ¶
func (m *MsgDeleteSubspace) GetSubspaceID() uint64
func (*MsgDeleteSubspace) IsManageSubspaceMsg ¶
func (msg *MsgDeleteSubspace) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgDeleteSubspace) Marshal ¶
func (m *MsgDeleteSubspace) Marshal() (dAtA []byte, err error)
func (*MsgDeleteSubspace) MarshalTo ¶
func (m *MsgDeleteSubspace) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteSubspace) MarshalToSizedBuffer ¶
func (m *MsgDeleteSubspace) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteSubspace) ProtoMessage ¶
func (*MsgDeleteSubspace) ProtoMessage()
func (*MsgDeleteSubspace) Reset ¶
func (m *MsgDeleteSubspace) Reset()
func (*MsgDeleteSubspace) Route ¶
func (msg *MsgDeleteSubspace) Route() string
Route implements sdk.Msg
func (*MsgDeleteSubspace) Size ¶
func (m *MsgDeleteSubspace) Size() (n int)
func (*MsgDeleteSubspace) String ¶
func (m *MsgDeleteSubspace) String() string
func (*MsgDeleteSubspace) Type ¶
func (msg *MsgDeleteSubspace) Type() string
Type implements sdk.Msg
func (*MsgDeleteSubspace) Unmarshal ¶
func (m *MsgDeleteSubspace) Unmarshal(dAtA []byte) error
func (*MsgDeleteSubspace) ValidateBasic ¶
func (msg *MsgDeleteSubspace) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgDeleteSubspace) XXX_DiscardUnknown ¶
func (m *MsgDeleteSubspace) XXX_DiscardUnknown()
func (*MsgDeleteSubspace) XXX_Marshal ¶
func (m *MsgDeleteSubspace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteSubspace) XXX_Merge ¶
func (m *MsgDeleteSubspace) XXX_Merge(src proto.Message)
func (*MsgDeleteSubspace) XXX_Size ¶
func (m *MsgDeleteSubspace) XXX_Size() int
func (*MsgDeleteSubspace) XXX_Unmarshal ¶
func (m *MsgDeleteSubspace) XXX_Unmarshal(b []byte) error
type MsgDeleteSubspaceResponse ¶
type MsgDeleteSubspaceResponse struct { }
MsgDeleteSubspaceResponse defines the Msg/DeleteSubspace response type
func (*MsgDeleteSubspaceResponse) Descriptor ¶
func (*MsgDeleteSubspaceResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteSubspaceResponse) Marshal ¶
func (m *MsgDeleteSubspaceResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteSubspaceResponse) MarshalTo ¶
func (m *MsgDeleteSubspaceResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteSubspaceResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteSubspaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteSubspaceResponse) ProtoMessage ¶
func (*MsgDeleteSubspaceResponse) ProtoMessage()
func (*MsgDeleteSubspaceResponse) Reset ¶
func (m *MsgDeleteSubspaceResponse) Reset()
func (*MsgDeleteSubspaceResponse) Size ¶
func (m *MsgDeleteSubspaceResponse) Size() (n int)
func (*MsgDeleteSubspaceResponse) String ¶
func (m *MsgDeleteSubspaceResponse) String() string
func (*MsgDeleteSubspaceResponse) Unmarshal ¶
func (m *MsgDeleteSubspaceResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteSubspaceResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteSubspaceResponse) XXX_DiscardUnknown()
func (*MsgDeleteSubspaceResponse) XXX_Marshal ¶
func (m *MsgDeleteSubspaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteSubspaceResponse) XXX_Merge ¶
func (m *MsgDeleteSubspaceResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteSubspaceResponse) XXX_Size ¶
func (m *MsgDeleteSubspaceResponse) XXX_Size() int
func (*MsgDeleteSubspaceResponse) XXX_Unmarshal ¶
func (m *MsgDeleteSubspaceResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteUserGroup ¶
type MsgDeleteUserGroup struct { // Id of the subspace inside which the group to delete is SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Id of the group to be deleted GroupID uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty" yaml:"group_id"` // User deleting the group Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"` }
MsgDeleteUserGroup represents the message used to delete a user group
func NewMsgDeleteUserGroup ¶
func NewMsgDeleteUserGroup(subspaceID uint64, groupID uint32, signer string) *MsgDeleteUserGroup
NewMsgDeleteUserGroup creates a new MsgDeleteUserGroup instance
func (*MsgDeleteUserGroup) Descriptor ¶
func (*MsgDeleteUserGroup) Descriptor() ([]byte, []int)
func (*MsgDeleteUserGroup) GetGroupID ¶
func (m *MsgDeleteUserGroup) GetGroupID() uint32
func (*MsgDeleteUserGroup) GetSignBytes ¶
func (msg *MsgDeleteUserGroup) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgDeleteUserGroup) GetSigner ¶
func (m *MsgDeleteUserGroup) GetSigner() string
func (*MsgDeleteUserGroup) GetSigners ¶
func (msg *MsgDeleteUserGroup) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgDeleteUserGroup) GetSubspaceID ¶
func (m *MsgDeleteUserGroup) GetSubspaceID() uint64
func (*MsgDeleteUserGroup) IsManageSubspaceMsg ¶
func (msg *MsgDeleteUserGroup) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgDeleteUserGroup) Marshal ¶
func (m *MsgDeleteUserGroup) Marshal() (dAtA []byte, err error)
func (*MsgDeleteUserGroup) MarshalTo ¶
func (m *MsgDeleteUserGroup) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteUserGroup) MarshalToSizedBuffer ¶
func (m *MsgDeleteUserGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteUserGroup) ProtoMessage ¶
func (*MsgDeleteUserGroup) ProtoMessage()
func (*MsgDeleteUserGroup) Reset ¶
func (m *MsgDeleteUserGroup) Reset()
func (*MsgDeleteUserGroup) Route ¶
func (msg *MsgDeleteUserGroup) Route() string
Route implements sdk.Msg
func (*MsgDeleteUserGroup) Size ¶
func (m *MsgDeleteUserGroup) Size() (n int)
func (*MsgDeleteUserGroup) String ¶
func (m *MsgDeleteUserGroup) String() string
func (*MsgDeleteUserGroup) Type ¶
func (msg *MsgDeleteUserGroup) Type() string
Type implements sdk.Msg
func (*MsgDeleteUserGroup) Unmarshal ¶
func (m *MsgDeleteUserGroup) Unmarshal(dAtA []byte) error
func (*MsgDeleteUserGroup) ValidateBasic ¶
func (msg *MsgDeleteUserGroup) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgDeleteUserGroup) XXX_DiscardUnknown ¶
func (m *MsgDeleteUserGroup) XXX_DiscardUnknown()
func (*MsgDeleteUserGroup) XXX_Marshal ¶
func (m *MsgDeleteUserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteUserGroup) XXX_Merge ¶
func (m *MsgDeleteUserGroup) XXX_Merge(src proto.Message)
func (*MsgDeleteUserGroup) XXX_Size ¶
func (m *MsgDeleteUserGroup) XXX_Size() int
func (*MsgDeleteUserGroup) XXX_Unmarshal ¶
func (m *MsgDeleteUserGroup) XXX_Unmarshal(b []byte) error
type MsgDeleteUserGroupResponse ¶
type MsgDeleteUserGroupResponse struct { }
MsgDeleteUserGroupResponse defines the Msg/DeleteUserGroup response type
func (*MsgDeleteUserGroupResponse) Descriptor ¶
func (*MsgDeleteUserGroupResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteUserGroupResponse) Marshal ¶
func (m *MsgDeleteUserGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteUserGroupResponse) MarshalTo ¶
func (m *MsgDeleteUserGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteUserGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteUserGroupResponse) ProtoMessage ¶
func (*MsgDeleteUserGroupResponse) ProtoMessage()
func (*MsgDeleteUserGroupResponse) Reset ¶
func (m *MsgDeleteUserGroupResponse) Reset()
func (*MsgDeleteUserGroupResponse) Size ¶
func (m *MsgDeleteUserGroupResponse) Size() (n int)
func (*MsgDeleteUserGroupResponse) String ¶
func (m *MsgDeleteUserGroupResponse) String() string
func (*MsgDeleteUserGroupResponse) Unmarshal ¶
func (m *MsgDeleteUserGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteUserGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteUserGroupResponse) XXX_DiscardUnknown()
func (*MsgDeleteUserGroupResponse) XXX_Marshal ¶
func (m *MsgDeleteUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteUserGroupResponse) XXX_Merge ¶
func (m *MsgDeleteUserGroupResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteUserGroupResponse) XXX_Size ¶
func (m *MsgDeleteUserGroupResponse) XXX_Size() int
func (*MsgDeleteUserGroupResponse) XXX_Unmarshal ¶
func (m *MsgDeleteUserGroupResponse) XXX_Unmarshal(b []byte) error
type MsgEditSection ¶
type MsgEditSection struct { // Id of the subspace inside which the section to be edited is SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Id of the section to be edited SectionID uint32 `protobuf:"varint,2,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty" yaml:"section_id"` // (optional) New name of the section Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" yaml:"name"` // (optional) New description of the section Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` // User editing the section Editor string `protobuf:"bytes,5,opt,name=editor,proto3" json:"editor,omitempty" yaml:"editor"` }
MsgEditSection represents the message to be used when editing a subspace section
func NewMsgEditSection ¶
func NewMsgEditSection( subspaceID uint64, sectionID uint32, name string, description string, editor string, ) *MsgEditSection
NewMsgEditSection returns a new MsgEditSection instance
func (*MsgEditSection) Descriptor ¶
func (*MsgEditSection) Descriptor() ([]byte, []int)
func (*MsgEditSection) GetDescription ¶
func (m *MsgEditSection) GetDescription() string
func (*MsgEditSection) GetEditor ¶
func (m *MsgEditSection) GetEditor() string
func (*MsgEditSection) GetName ¶
func (m *MsgEditSection) GetName() string
func (*MsgEditSection) GetSectionID ¶
func (m *MsgEditSection) GetSectionID() uint32
func (*MsgEditSection) GetSignBytes ¶
func (msg *MsgEditSection) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgEditSection) GetSigners ¶
func (msg *MsgEditSection) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgEditSection) GetSubspaceID ¶
func (m *MsgEditSection) GetSubspaceID() uint64
func (*MsgEditSection) IsManageSubspaceMsg ¶
func (msg *MsgEditSection) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgEditSection) Marshal ¶
func (m *MsgEditSection) Marshal() (dAtA []byte, err error)
func (*MsgEditSection) MarshalToSizedBuffer ¶
func (m *MsgEditSection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditSection) ProtoMessage ¶
func (*MsgEditSection) ProtoMessage()
func (*MsgEditSection) Reset ¶
func (m *MsgEditSection) Reset()
func (*MsgEditSection) Size ¶
func (m *MsgEditSection) Size() (n int)
func (*MsgEditSection) String ¶
func (m *MsgEditSection) String() string
func (*MsgEditSection) Unmarshal ¶
func (m *MsgEditSection) Unmarshal(dAtA []byte) error
func (*MsgEditSection) ValidateBasic ¶
func (msg *MsgEditSection) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgEditSection) XXX_DiscardUnknown ¶
func (m *MsgEditSection) XXX_DiscardUnknown()
func (*MsgEditSection) XXX_Marshal ¶
func (m *MsgEditSection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditSection) XXX_Merge ¶
func (m *MsgEditSection) XXX_Merge(src proto.Message)
func (*MsgEditSection) XXX_Size ¶
func (m *MsgEditSection) XXX_Size() int
func (*MsgEditSection) XXX_Unmarshal ¶
func (m *MsgEditSection) XXX_Unmarshal(b []byte) error
type MsgEditSectionResponse ¶
type MsgEditSectionResponse struct { }
MsgEditSectionResponse represents the Msg/EditSection response type
func (*MsgEditSectionResponse) Descriptor ¶
func (*MsgEditSectionResponse) Descriptor() ([]byte, []int)
func (*MsgEditSectionResponse) Marshal ¶
func (m *MsgEditSectionResponse) Marshal() (dAtA []byte, err error)
func (*MsgEditSectionResponse) MarshalTo ¶
func (m *MsgEditSectionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEditSectionResponse) MarshalToSizedBuffer ¶
func (m *MsgEditSectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditSectionResponse) ProtoMessage ¶
func (*MsgEditSectionResponse) ProtoMessage()
func (*MsgEditSectionResponse) Reset ¶
func (m *MsgEditSectionResponse) Reset()
func (*MsgEditSectionResponse) Size ¶
func (m *MsgEditSectionResponse) Size() (n int)
func (*MsgEditSectionResponse) String ¶
func (m *MsgEditSectionResponse) String() string
func (*MsgEditSectionResponse) Unmarshal ¶
func (m *MsgEditSectionResponse) Unmarshal(dAtA []byte) error
func (*MsgEditSectionResponse) XXX_DiscardUnknown ¶
func (m *MsgEditSectionResponse) XXX_DiscardUnknown()
func (*MsgEditSectionResponse) XXX_Marshal ¶
func (m *MsgEditSectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditSectionResponse) XXX_Merge ¶
func (m *MsgEditSectionResponse) XXX_Merge(src proto.Message)
func (*MsgEditSectionResponse) XXX_Size ¶
func (m *MsgEditSectionResponse) XXX_Size() int
func (*MsgEditSectionResponse) XXX_Unmarshal ¶
func (m *MsgEditSectionResponse) XXX_Unmarshal(b []byte) error
type MsgEditSubspace ¶
type MsgEditSubspace struct { // Id of the subspace to edit SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // New name of the subspace. If it shouldn't be changed, use [do-not-modify] // instead. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" yaml:"name"` // New description of the subspace. If it shouldn't be changed, use // [do-not-modify] instead. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` // New owner of the subspace. If it shouldn't be changed, use [do-not-modify] // instead. Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` // Address of the user editing the subspace Signer string `protobuf:"bytes,5,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"` }
MsgEditSubspace represents the message used to edit a subspace fields
func NewMsgEditSubspace ¶
func NewMsgEditSubspace( subspaceID uint64, name string, description, owner string, signer string, ) *MsgEditSubspace
NewMsgEditSubspace creates a new MsgEditSubspace instance
func (*MsgEditSubspace) Descriptor ¶
func (*MsgEditSubspace) Descriptor() ([]byte, []int)
func (*MsgEditSubspace) GetDescription ¶
func (m *MsgEditSubspace) GetDescription() string
func (*MsgEditSubspace) GetName ¶
func (m *MsgEditSubspace) GetName() string
func (*MsgEditSubspace) GetOwner ¶
func (m *MsgEditSubspace) GetOwner() string
func (*MsgEditSubspace) GetSignBytes ¶
func (msg *MsgEditSubspace) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgEditSubspace) GetSigner ¶
func (m *MsgEditSubspace) GetSigner() string
func (*MsgEditSubspace) GetSigners ¶
func (msg *MsgEditSubspace) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgEditSubspace) GetSubspaceID ¶
func (m *MsgEditSubspace) GetSubspaceID() uint64
func (*MsgEditSubspace) IsManageSubspaceMsg ¶
func (msg *MsgEditSubspace) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgEditSubspace) Marshal ¶
func (m *MsgEditSubspace) Marshal() (dAtA []byte, err error)
func (*MsgEditSubspace) MarshalToSizedBuffer ¶
func (m *MsgEditSubspace) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditSubspace) ProtoMessage ¶
func (*MsgEditSubspace) ProtoMessage()
func (*MsgEditSubspace) Reset ¶
func (m *MsgEditSubspace) Reset()
func (*MsgEditSubspace) Size ¶
func (m *MsgEditSubspace) Size() (n int)
func (*MsgEditSubspace) String ¶
func (m *MsgEditSubspace) String() string
func (*MsgEditSubspace) Unmarshal ¶
func (m *MsgEditSubspace) Unmarshal(dAtA []byte) error
func (*MsgEditSubspace) ValidateBasic ¶
func (msg *MsgEditSubspace) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgEditSubspace) XXX_DiscardUnknown ¶
func (m *MsgEditSubspace) XXX_DiscardUnknown()
func (*MsgEditSubspace) XXX_Marshal ¶
func (m *MsgEditSubspace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditSubspace) XXX_Merge ¶
func (m *MsgEditSubspace) XXX_Merge(src proto.Message)
func (*MsgEditSubspace) XXX_Size ¶
func (m *MsgEditSubspace) XXX_Size() int
func (*MsgEditSubspace) XXX_Unmarshal ¶
func (m *MsgEditSubspace) XXX_Unmarshal(b []byte) error
type MsgEditSubspaceResponse ¶
type MsgEditSubspaceResponse struct { }
MsgEditSubspaceResponse defines the Msg/EditSubspace response type
func (*MsgEditSubspaceResponse) Descriptor ¶
func (*MsgEditSubspaceResponse) Descriptor() ([]byte, []int)
func (*MsgEditSubspaceResponse) Marshal ¶
func (m *MsgEditSubspaceResponse) Marshal() (dAtA []byte, err error)
func (*MsgEditSubspaceResponse) MarshalTo ¶
func (m *MsgEditSubspaceResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEditSubspaceResponse) MarshalToSizedBuffer ¶
func (m *MsgEditSubspaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditSubspaceResponse) ProtoMessage ¶
func (*MsgEditSubspaceResponse) ProtoMessage()
func (*MsgEditSubspaceResponse) Reset ¶
func (m *MsgEditSubspaceResponse) Reset()
func (*MsgEditSubspaceResponse) Size ¶
func (m *MsgEditSubspaceResponse) Size() (n int)
func (*MsgEditSubspaceResponse) String ¶
func (m *MsgEditSubspaceResponse) String() string
func (*MsgEditSubspaceResponse) Unmarshal ¶
func (m *MsgEditSubspaceResponse) Unmarshal(dAtA []byte) error
func (*MsgEditSubspaceResponse) XXX_DiscardUnknown ¶
func (m *MsgEditSubspaceResponse) XXX_DiscardUnknown()
func (*MsgEditSubspaceResponse) XXX_Marshal ¶
func (m *MsgEditSubspaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditSubspaceResponse) XXX_Merge ¶
func (m *MsgEditSubspaceResponse) XXX_Merge(src proto.Message)
func (*MsgEditSubspaceResponse) XXX_Size ¶
func (m *MsgEditSubspaceResponse) XXX_Size() int
func (*MsgEditSubspaceResponse) XXX_Unmarshal ¶
func (m *MsgEditSubspaceResponse) XXX_Unmarshal(b []byte) error
type MsgEditUserGroup ¶
type MsgEditUserGroup struct { // Id of the subspace inside which the group to be edited is SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Id of the group to be edited GroupID uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty" yaml:"group_id"` // (optional) New name of the group Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" yaml:"name"` // (optional) New description of the group Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` // User editing the group Signer string `protobuf:"bytes,5,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"` }
MsgEditUserGroup represents the message used to edit a user group
func NewMsgEditUserGroup ¶
func NewMsgEditUserGroup( subspaceID uint64, groupID uint32, name string, description string, signer string, ) *MsgEditUserGroup
NewMsgEditUserGroup returns a new NewMsgEditUserGroup instance
func (*MsgEditUserGroup) Descriptor ¶
func (*MsgEditUserGroup) Descriptor() ([]byte, []int)
func (*MsgEditUserGroup) GetDescription ¶
func (m *MsgEditUserGroup) GetDescription() string
func (*MsgEditUserGroup) GetGroupID ¶
func (m *MsgEditUserGroup) GetGroupID() uint32
func (*MsgEditUserGroup) GetName ¶
func (m *MsgEditUserGroup) GetName() string
func (*MsgEditUserGroup) GetSignBytes ¶
func (msg *MsgEditUserGroup) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgEditUserGroup) GetSigner ¶
func (m *MsgEditUserGroup) GetSigner() string
func (*MsgEditUserGroup) GetSigners ¶
func (msg *MsgEditUserGroup) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgEditUserGroup) GetSubspaceID ¶
func (m *MsgEditUserGroup) GetSubspaceID() uint64
func (*MsgEditUserGroup) IsManageSubspaceMsg ¶
func (msg *MsgEditUserGroup) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgEditUserGroup) Marshal ¶
func (m *MsgEditUserGroup) Marshal() (dAtA []byte, err error)
func (*MsgEditUserGroup) MarshalToSizedBuffer ¶
func (m *MsgEditUserGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditUserGroup) ProtoMessage ¶
func (*MsgEditUserGroup) ProtoMessage()
func (*MsgEditUserGroup) Reset ¶
func (m *MsgEditUserGroup) Reset()
func (*MsgEditUserGroup) Route ¶
func (msg *MsgEditUserGroup) Route() string
Route implements sdk.Msg
func (*MsgEditUserGroup) Size ¶
func (m *MsgEditUserGroup) Size() (n int)
func (*MsgEditUserGroup) String ¶
func (m *MsgEditUserGroup) String() string
func (*MsgEditUserGroup) Unmarshal ¶
func (m *MsgEditUserGroup) Unmarshal(dAtA []byte) error
func (*MsgEditUserGroup) ValidateBasic ¶
func (msg *MsgEditUserGroup) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgEditUserGroup) XXX_DiscardUnknown ¶
func (m *MsgEditUserGroup) XXX_DiscardUnknown()
func (*MsgEditUserGroup) XXX_Marshal ¶
func (m *MsgEditUserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditUserGroup) XXX_Merge ¶
func (m *MsgEditUserGroup) XXX_Merge(src proto.Message)
func (*MsgEditUserGroup) XXX_Size ¶
func (m *MsgEditUserGroup) XXX_Size() int
func (*MsgEditUserGroup) XXX_Unmarshal ¶
func (m *MsgEditUserGroup) XXX_Unmarshal(b []byte) error
type MsgEditUserGroupResponse ¶
type MsgEditUserGroupResponse struct { }
MsgEditUserGroupResponse defines the Msg/EditUserGroup response type
func (*MsgEditUserGroupResponse) Descriptor ¶
func (*MsgEditUserGroupResponse) Descriptor() ([]byte, []int)
func (*MsgEditUserGroupResponse) Marshal ¶
func (m *MsgEditUserGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgEditUserGroupResponse) MarshalTo ¶
func (m *MsgEditUserGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEditUserGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgEditUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditUserGroupResponse) ProtoMessage ¶
func (*MsgEditUserGroupResponse) ProtoMessage()
func (*MsgEditUserGroupResponse) Reset ¶
func (m *MsgEditUserGroupResponse) Reset()
func (*MsgEditUserGroupResponse) Size ¶
func (m *MsgEditUserGroupResponse) Size() (n int)
func (*MsgEditUserGroupResponse) String ¶
func (m *MsgEditUserGroupResponse) String() string
func (*MsgEditUserGroupResponse) Unmarshal ¶
func (m *MsgEditUserGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgEditUserGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgEditUserGroupResponse) XXX_DiscardUnknown()
func (*MsgEditUserGroupResponse) XXX_Marshal ¶
func (m *MsgEditUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditUserGroupResponse) XXX_Merge ¶
func (m *MsgEditUserGroupResponse) XXX_Merge(src proto.Message)
func (*MsgEditUserGroupResponse) XXX_Size ¶
func (m *MsgEditUserGroupResponse) XXX_Size() int
func (*MsgEditUserGroupResponse) XXX_Unmarshal ¶
func (m *MsgEditUserGroupResponse) XXX_Unmarshal(b []byte) error
type MsgGrantAllowance ¶
type MsgGrantAllowance struct { // Id of the subspace inside which where the allowance should be granted SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Address of the user granting the allowance Granter string `protobuf:"bytes,2,opt,name=granter,proto3" json:"granter,omitempty" yaml:"granter"` // Target being granted the allowance Grantee *types.Any `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty" yaml:"grantee"` // Allowance can be any allowance type that implements AllowanceI Allowance *types.Any `protobuf:"bytes,4,opt,name=allowance,proto3" json:"allowance,omitempty" yaml:"allowance"` }
MsgGrantAllowance adds grants for the grantee to spend up allowance of fees from the treasury inside the given subspace
func NewMsgGrantAllowance ¶
func NewMsgGrantAllowance(subspaceID uint64, granter string, grantee Grantee, allowance feegranttypes.FeeAllowanceI) *MsgGrantAllowance
NewMsgGrantAllowance creates a new MsgGrantAllowance instance
func (*MsgGrantAllowance) Descriptor ¶
func (*MsgGrantAllowance) Descriptor() ([]byte, []int)
func (*MsgGrantAllowance) GetAllowance ¶
func (m *MsgGrantAllowance) GetAllowance() *types.Any
func (*MsgGrantAllowance) GetGrantee ¶
func (m *MsgGrantAllowance) GetGrantee() *types.Any
func (*MsgGrantAllowance) GetGranter ¶
func (m *MsgGrantAllowance) GetGranter() string
func (*MsgGrantAllowance) GetSignBytes ¶
func (msg *MsgGrantAllowance) GetSignBytes() []byte
GetSignBytes implements legacytx.LegacyMsg
func (*MsgGrantAllowance) GetSigners ¶
func (msg *MsgGrantAllowance) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgGrantAllowance) GetSubspaceID ¶
func (m *MsgGrantAllowance) GetSubspaceID() uint64
func (*MsgGrantAllowance) GetUnpackedAllowance ¶
func (msg *MsgGrantAllowance) GetUnpackedAllowance() (feegranttypes.FeeAllowanceI, error)
GetUnpackedAllowance gets the unpacked allowance from the cached value of the allowance
func (*MsgGrantAllowance) IsManageSubspaceMsg ¶
func (msg *MsgGrantAllowance) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgGrantAllowance) Marshal ¶
func (m *MsgGrantAllowance) Marshal() (dAtA []byte, err error)
func (*MsgGrantAllowance) MarshalTo ¶
func (m *MsgGrantAllowance) MarshalTo(dAtA []byte) (int, error)
func (*MsgGrantAllowance) MarshalToSizedBuffer ¶
func (m *MsgGrantAllowance) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGrantAllowance) ProtoMessage ¶
func (*MsgGrantAllowance) ProtoMessage()
func (*MsgGrantAllowance) Reset ¶
func (m *MsgGrantAllowance) Reset()
func (*MsgGrantAllowance) Route ¶
func (msg *MsgGrantAllowance) Route() string
Route implements legacytx.LegacyMsg
func (*MsgGrantAllowance) Size ¶
func (m *MsgGrantAllowance) Size() (n int)
func (*MsgGrantAllowance) String ¶
func (m *MsgGrantAllowance) String() string
func (*MsgGrantAllowance) Type ¶
func (msg *MsgGrantAllowance) Type() string
Type implements legacytx.LegacyMsg
func (*MsgGrantAllowance) Unmarshal ¶
func (m *MsgGrantAllowance) Unmarshal(dAtA []byte) error
func (*MsgGrantAllowance) UnpackInterfaces ¶
func (msg *MsgGrantAllowance) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements codectypes.UnpackInterfacesMessage
func (*MsgGrantAllowance) ValidateBasic ¶
func (msg *MsgGrantAllowance) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgGrantAllowance) XXX_DiscardUnknown ¶
func (m *MsgGrantAllowance) XXX_DiscardUnknown()
func (*MsgGrantAllowance) XXX_Marshal ¶
func (m *MsgGrantAllowance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGrantAllowance) XXX_Merge ¶
func (m *MsgGrantAllowance) XXX_Merge(src proto.Message)
func (*MsgGrantAllowance) XXX_Size ¶
func (m *MsgGrantAllowance) XXX_Size() int
func (*MsgGrantAllowance) XXX_Unmarshal ¶
func (m *MsgGrantAllowance) XXX_Unmarshal(b []byte) error
type MsgGrantAllowanceResponse ¶
type MsgGrantAllowanceResponse struct { }
MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type.
func (*MsgGrantAllowanceResponse) Descriptor ¶
func (*MsgGrantAllowanceResponse) Descriptor() ([]byte, []int)
func (*MsgGrantAllowanceResponse) Marshal ¶
func (m *MsgGrantAllowanceResponse) Marshal() (dAtA []byte, err error)
func (*MsgGrantAllowanceResponse) MarshalTo ¶
func (m *MsgGrantAllowanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgGrantAllowanceResponse) MarshalToSizedBuffer ¶
func (m *MsgGrantAllowanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGrantAllowanceResponse) ProtoMessage ¶
func (*MsgGrantAllowanceResponse) ProtoMessage()
func (*MsgGrantAllowanceResponse) Reset ¶
func (m *MsgGrantAllowanceResponse) Reset()
func (*MsgGrantAllowanceResponse) Size ¶
func (m *MsgGrantAllowanceResponse) Size() (n int)
func (*MsgGrantAllowanceResponse) String ¶
func (m *MsgGrantAllowanceResponse) String() string
func (*MsgGrantAllowanceResponse) Unmarshal ¶
func (m *MsgGrantAllowanceResponse) Unmarshal(dAtA []byte) error
func (*MsgGrantAllowanceResponse) XXX_DiscardUnknown ¶
func (m *MsgGrantAllowanceResponse) XXX_DiscardUnknown()
func (*MsgGrantAllowanceResponse) XXX_Marshal ¶
func (m *MsgGrantAllowanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGrantAllowanceResponse) XXX_Merge ¶
func (m *MsgGrantAllowanceResponse) XXX_Merge(src proto.Message)
func (*MsgGrantAllowanceResponse) XXX_Size ¶
func (m *MsgGrantAllowanceResponse) XXX_Size() int
func (*MsgGrantAllowanceResponse) XXX_Unmarshal ¶
func (m *MsgGrantAllowanceResponse) XXX_Unmarshal(b []byte) error
type MsgGrantTreasuryAuthorization ¶
type MsgGrantTreasuryAuthorization struct { // Id of the subspace where the authorization should be granted SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Address of the user granting a treasury authorization Granter string `protobuf:"bytes,2,opt,name=granter,proto3" json:"granter,omitempty" yaml:"granter"` // Address of the user who is being granted a treasury authorization Grantee string `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty" yaml:"grantee"` // Grant represents the authorization to execute the provided methods Grant authz.Grant `protobuf:"bytes,4,opt,name=grant,proto3" json:"grant" yaml:"grant"` }
MsgGrantTreasuryAuthorization grants an authorization on behalf of the treasury to a user
func NewMsgGrantTreasuryAuthorization ¶
func NewMsgGrantTreasuryAuthorization(subspaceID uint64, granter string, grantee string, authorization authz.Authorization, expiration *time.Time) *MsgGrantTreasuryAuthorization
func (*MsgGrantTreasuryAuthorization) Descriptor ¶
func (*MsgGrantTreasuryAuthorization) Descriptor() ([]byte, []int)
func (*MsgGrantTreasuryAuthorization) GetGrant ¶
func (m *MsgGrantTreasuryAuthorization) GetGrant() authz.Grant
func (*MsgGrantTreasuryAuthorization) GetGrantee ¶
func (m *MsgGrantTreasuryAuthorization) GetGrantee() string
func (*MsgGrantTreasuryAuthorization) GetGranter ¶
func (m *MsgGrantTreasuryAuthorization) GetGranter() string
func (*MsgGrantTreasuryAuthorization) GetSignBytes ¶
func (msg *MsgGrantTreasuryAuthorization) GetSignBytes() []byte
GetSignBytes implements legacytx.LegacyMsg
func (*MsgGrantTreasuryAuthorization) GetSigners ¶
func (msg *MsgGrantTreasuryAuthorization) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgGrantTreasuryAuthorization) GetSubspaceID ¶
func (m *MsgGrantTreasuryAuthorization) GetSubspaceID() uint64
func (*MsgGrantTreasuryAuthorization) IsManageSubspaceMsg ¶
func (msg *MsgGrantTreasuryAuthorization) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgGrantTreasuryAuthorization) Marshal ¶
func (m *MsgGrantTreasuryAuthorization) Marshal() (dAtA []byte, err error)
func (*MsgGrantTreasuryAuthorization) MarshalTo ¶
func (m *MsgGrantTreasuryAuthorization) MarshalTo(dAtA []byte) (int, error)
func (*MsgGrantTreasuryAuthorization) MarshalToSizedBuffer ¶
func (m *MsgGrantTreasuryAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGrantTreasuryAuthorization) ProtoMessage ¶
func (*MsgGrantTreasuryAuthorization) ProtoMessage()
func (*MsgGrantTreasuryAuthorization) Reset ¶
func (m *MsgGrantTreasuryAuthorization) Reset()
func (*MsgGrantTreasuryAuthorization) Route ¶
func (msg *MsgGrantTreasuryAuthorization) Route() string
Route implements legacytx.LegacyMsg
func (*MsgGrantTreasuryAuthorization) Size ¶
func (m *MsgGrantTreasuryAuthorization) Size() (n int)
func (*MsgGrantTreasuryAuthorization) String ¶
func (m *MsgGrantTreasuryAuthorization) String() string
func (*MsgGrantTreasuryAuthorization) Type ¶
func (msg *MsgGrantTreasuryAuthorization) Type() string
Type implements legacytx.LegacyMsg
func (*MsgGrantTreasuryAuthorization) Unmarshal ¶
func (m *MsgGrantTreasuryAuthorization) Unmarshal(dAtA []byte) error
func (*MsgGrantTreasuryAuthorization) UnpackInterfaces ¶
func (msg *MsgGrantTreasuryAuthorization) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements codectypes.UnpackInterfacesMessage
func (*MsgGrantTreasuryAuthorization) ValidateBasic ¶
func (msg *MsgGrantTreasuryAuthorization) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgGrantTreasuryAuthorization) XXX_DiscardUnknown ¶
func (m *MsgGrantTreasuryAuthorization) XXX_DiscardUnknown()
func (*MsgGrantTreasuryAuthorization) XXX_Marshal ¶
func (m *MsgGrantTreasuryAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGrantTreasuryAuthorization) XXX_Merge ¶
func (m *MsgGrantTreasuryAuthorization) XXX_Merge(src proto.Message)
func (*MsgGrantTreasuryAuthorization) XXX_Size ¶
func (m *MsgGrantTreasuryAuthorization) XXX_Size() int
func (*MsgGrantTreasuryAuthorization) XXX_Unmarshal ¶
func (m *MsgGrantTreasuryAuthorization) XXX_Unmarshal(b []byte) error
type MsgGrantTreasuryAuthorizationResponse ¶
type MsgGrantTreasuryAuthorizationResponse struct { }
MsgGrantTreasuryAuthorizationResponse defines the Msg/MsgGrantTreasuryAuthorization response type
func (*MsgGrantTreasuryAuthorizationResponse) Descriptor ¶
func (*MsgGrantTreasuryAuthorizationResponse) Descriptor() ([]byte, []int)
func (*MsgGrantTreasuryAuthorizationResponse) Marshal ¶
func (m *MsgGrantTreasuryAuthorizationResponse) Marshal() (dAtA []byte, err error)
func (*MsgGrantTreasuryAuthorizationResponse) MarshalTo ¶
func (m *MsgGrantTreasuryAuthorizationResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgGrantTreasuryAuthorizationResponse) MarshalToSizedBuffer ¶
func (m *MsgGrantTreasuryAuthorizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGrantTreasuryAuthorizationResponse) ProtoMessage ¶
func (*MsgGrantTreasuryAuthorizationResponse) ProtoMessage()
func (*MsgGrantTreasuryAuthorizationResponse) Reset ¶
func (m *MsgGrantTreasuryAuthorizationResponse) Reset()
func (*MsgGrantTreasuryAuthorizationResponse) Size ¶
func (m *MsgGrantTreasuryAuthorizationResponse) Size() (n int)
func (*MsgGrantTreasuryAuthorizationResponse) String ¶
func (m *MsgGrantTreasuryAuthorizationResponse) String() string
func (*MsgGrantTreasuryAuthorizationResponse) Unmarshal ¶
func (m *MsgGrantTreasuryAuthorizationResponse) Unmarshal(dAtA []byte) error
func (*MsgGrantTreasuryAuthorizationResponse) XXX_DiscardUnknown ¶
func (m *MsgGrantTreasuryAuthorizationResponse) XXX_DiscardUnknown()
func (*MsgGrantTreasuryAuthorizationResponse) XXX_Marshal ¶
func (m *MsgGrantTreasuryAuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGrantTreasuryAuthorizationResponse) XXX_Merge ¶
func (m *MsgGrantTreasuryAuthorizationResponse) XXX_Merge(src proto.Message)
func (*MsgGrantTreasuryAuthorizationResponse) XXX_Size ¶
func (m *MsgGrantTreasuryAuthorizationResponse) XXX_Size() int
func (*MsgGrantTreasuryAuthorizationResponse) XXX_Unmarshal ¶
func (m *MsgGrantTreasuryAuthorizationResponse) XXX_Unmarshal(b []byte) error
type MsgMoveSection ¶
type MsgMoveSection struct { // Id of the subspace inside which the section lies SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Id of the section to be moved SectionID uint32 `protobuf:"varint,2,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty" yaml:"section_id"` // Id of the new parent NewParentID uint32 `protobuf:"varint,3,opt,name=new_parent_id,json=newParentId,proto3" json:"new_parent_id,omitempty" yaml:"new_parent_id"` // Signer of the message Signer string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"` }
MsgMoveSection represents the message to be used when moving a section to another parent
func NewMsgMoveSection ¶
func NewMsgMoveSection( subspaceID uint64, sectionID uint32, newParentID uint32, signer string, ) *MsgMoveSection
NewMsgMoveSection returns a new MsgMoveSection instance
func (*MsgMoveSection) Descriptor ¶
func (*MsgMoveSection) Descriptor() ([]byte, []int)
func (*MsgMoveSection) GetNewParentID ¶
func (m *MsgMoveSection) GetNewParentID() uint32
func (*MsgMoveSection) GetSectionID ¶
func (m *MsgMoveSection) GetSectionID() uint32
func (*MsgMoveSection) GetSignBytes ¶
func (msg *MsgMoveSection) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgMoveSection) GetSigner ¶
func (m *MsgMoveSection) GetSigner() string
func (*MsgMoveSection) GetSigners ¶
func (msg *MsgMoveSection) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgMoveSection) GetSubspaceID ¶
func (m *MsgMoveSection) GetSubspaceID() uint64
func (*MsgMoveSection) IsManageSubspaceMsg ¶
func (msg *MsgMoveSection) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgMoveSection) Marshal ¶
func (m *MsgMoveSection) Marshal() (dAtA []byte, err error)
func (*MsgMoveSection) MarshalToSizedBuffer ¶
func (m *MsgMoveSection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMoveSection) ProtoMessage ¶
func (*MsgMoveSection) ProtoMessage()
func (*MsgMoveSection) Reset ¶
func (m *MsgMoveSection) Reset()
func (*MsgMoveSection) Size ¶
func (m *MsgMoveSection) Size() (n int)
func (*MsgMoveSection) String ¶
func (m *MsgMoveSection) String() string
func (*MsgMoveSection) Unmarshal ¶
func (m *MsgMoveSection) Unmarshal(dAtA []byte) error
func (*MsgMoveSection) ValidateBasic ¶
func (msg *MsgMoveSection) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgMoveSection) XXX_DiscardUnknown ¶
func (m *MsgMoveSection) XXX_DiscardUnknown()
func (*MsgMoveSection) XXX_Marshal ¶
func (m *MsgMoveSection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMoveSection) XXX_Merge ¶
func (m *MsgMoveSection) XXX_Merge(src proto.Message)
func (*MsgMoveSection) XXX_Size ¶
func (m *MsgMoveSection) XXX_Size() int
func (*MsgMoveSection) XXX_Unmarshal ¶
func (m *MsgMoveSection) XXX_Unmarshal(b []byte) error
type MsgMoveSectionResponse ¶
type MsgMoveSectionResponse struct { }
MsgMoveSectionResponse
func (*MsgMoveSectionResponse) Descriptor ¶
func (*MsgMoveSectionResponse) Descriptor() ([]byte, []int)
func (*MsgMoveSectionResponse) Marshal ¶
func (m *MsgMoveSectionResponse) Marshal() (dAtA []byte, err error)
func (*MsgMoveSectionResponse) MarshalTo ¶
func (m *MsgMoveSectionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMoveSectionResponse) MarshalToSizedBuffer ¶
func (m *MsgMoveSectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMoveSectionResponse) ProtoMessage ¶
func (*MsgMoveSectionResponse) ProtoMessage()
func (*MsgMoveSectionResponse) Reset ¶
func (m *MsgMoveSectionResponse) Reset()
func (*MsgMoveSectionResponse) Size ¶
func (m *MsgMoveSectionResponse) Size() (n int)
func (*MsgMoveSectionResponse) String ¶
func (m *MsgMoveSectionResponse) String() string
func (*MsgMoveSectionResponse) Unmarshal ¶
func (m *MsgMoveSectionResponse) Unmarshal(dAtA []byte) error
func (*MsgMoveSectionResponse) XXX_DiscardUnknown ¶
func (m *MsgMoveSectionResponse) XXX_DiscardUnknown()
func (*MsgMoveSectionResponse) XXX_Marshal ¶
func (m *MsgMoveSectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMoveSectionResponse) XXX_Merge ¶
func (m *MsgMoveSectionResponse) XXX_Merge(src proto.Message)
func (*MsgMoveSectionResponse) XXX_Size ¶
func (m *MsgMoveSectionResponse) XXX_Size() int
func (*MsgMoveSectionResponse) XXX_Unmarshal ¶
func (m *MsgMoveSectionResponse) XXX_Unmarshal(b []byte) error
type MsgMoveUserGroup ¶
type MsgMoveUserGroup struct { // Id of the subspace inside which the group to move is SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Id of the group to be moved GroupID uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty" yaml:"group_id"` // Id of the new section where to move the group NewSectionID uint32 `protobuf:"varint,3,opt,name=new_section_id,json=newSectionId,proto3" json:"new_section_id,omitempty" yaml:"new_section_id"` // User signing the message Signer string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"` }
MsgMoveUserGroup represents the message used to move one user group from a section to another
func NewMsgMoveUserGroup ¶
func NewMsgMoveUserGroup( subspaceID uint64, groupID uint32, newSectionID uint32, signer string, ) *MsgMoveUserGroup
NewMsgMoveUserGroup returns a new NewMsgMoveUserGroup instance
func (*MsgMoveUserGroup) Descriptor ¶
func (*MsgMoveUserGroup) Descriptor() ([]byte, []int)
func (*MsgMoveUserGroup) GetGroupID ¶
func (m *MsgMoveUserGroup) GetGroupID() uint32
func (*MsgMoveUserGroup) GetNewSectionID ¶
func (m *MsgMoveUserGroup) GetNewSectionID() uint32
func (*MsgMoveUserGroup) GetSignBytes ¶
func (msg *MsgMoveUserGroup) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgMoveUserGroup) GetSigner ¶
func (m *MsgMoveUserGroup) GetSigner() string
func (*MsgMoveUserGroup) GetSigners ¶
func (msg *MsgMoveUserGroup) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgMoveUserGroup) GetSubspaceID ¶
func (m *MsgMoveUserGroup) GetSubspaceID() uint64
func (*MsgMoveUserGroup) IsManageSubspaceMsg ¶
func (msg *MsgMoveUserGroup) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgMoveUserGroup) Marshal ¶
func (m *MsgMoveUserGroup) Marshal() (dAtA []byte, err error)
func (*MsgMoveUserGroup) MarshalToSizedBuffer ¶
func (m *MsgMoveUserGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMoveUserGroup) ProtoMessage ¶
func (*MsgMoveUserGroup) ProtoMessage()
func (*MsgMoveUserGroup) Reset ¶
func (m *MsgMoveUserGroup) Reset()
func (*MsgMoveUserGroup) Route ¶
func (msg *MsgMoveUserGroup) Route() string
Route implements sdk.Msg
func (*MsgMoveUserGroup) Size ¶
func (m *MsgMoveUserGroup) Size() (n int)
func (*MsgMoveUserGroup) String ¶
func (m *MsgMoveUserGroup) String() string
func (*MsgMoveUserGroup) Unmarshal ¶
func (m *MsgMoveUserGroup) Unmarshal(dAtA []byte) error
func (*MsgMoveUserGroup) ValidateBasic ¶
func (msg *MsgMoveUserGroup) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgMoveUserGroup) XXX_DiscardUnknown ¶
func (m *MsgMoveUserGroup) XXX_DiscardUnknown()
func (*MsgMoveUserGroup) XXX_Marshal ¶
func (m *MsgMoveUserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMoveUserGroup) XXX_Merge ¶
func (m *MsgMoveUserGroup) XXX_Merge(src proto.Message)
func (*MsgMoveUserGroup) XXX_Size ¶
func (m *MsgMoveUserGroup) XXX_Size() int
func (*MsgMoveUserGroup) XXX_Unmarshal ¶
func (m *MsgMoveUserGroup) XXX_Unmarshal(b []byte) error
type MsgMoveUserGroupResponse ¶
type MsgMoveUserGroupResponse struct { }
MsgMoveUserGroupResponse defines the Msg/MoveUserGroup response type
func (*MsgMoveUserGroupResponse) Descriptor ¶
func (*MsgMoveUserGroupResponse) Descriptor() ([]byte, []int)
func (*MsgMoveUserGroupResponse) Marshal ¶
func (m *MsgMoveUserGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgMoveUserGroupResponse) MarshalTo ¶
func (m *MsgMoveUserGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMoveUserGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgMoveUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMoveUserGroupResponse) ProtoMessage ¶
func (*MsgMoveUserGroupResponse) ProtoMessage()
func (*MsgMoveUserGroupResponse) Reset ¶
func (m *MsgMoveUserGroupResponse) Reset()
func (*MsgMoveUserGroupResponse) Size ¶
func (m *MsgMoveUserGroupResponse) Size() (n int)
func (*MsgMoveUserGroupResponse) String ¶
func (m *MsgMoveUserGroupResponse) String() string
func (*MsgMoveUserGroupResponse) Unmarshal ¶
func (m *MsgMoveUserGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgMoveUserGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgMoveUserGroupResponse) XXX_DiscardUnknown()
func (*MsgMoveUserGroupResponse) XXX_Marshal ¶
func (m *MsgMoveUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMoveUserGroupResponse) XXX_Merge ¶
func (m *MsgMoveUserGroupResponse) XXX_Merge(src proto.Message)
func (*MsgMoveUserGroupResponse) XXX_Size ¶
func (m *MsgMoveUserGroupResponse) XXX_Size() int
func (*MsgMoveUserGroupResponse) XXX_Unmarshal ¶
func (m *MsgMoveUserGroupResponse) XXX_Unmarshal(b []byte) error
type MsgRemoveUserFromUserGroup ¶
type MsgRemoveUserFromUserGroup struct { // Id of the subspace inside which the group to remove the user from is SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Id of the group from which to remove the user GroupID uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty" yaml:"group_id"` // User to be removed from the group User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty" yaml:"user"` // User signing the message Signer string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"` }
MsgRemoveUserFromUserGroup represents the message used to remove a user from a user group
func NewMsgRemoveUserFromUserGroup ¶
func NewMsgRemoveUserFromUserGroup( subspaceID uint64, groupID uint32, user string, signer string, ) *MsgRemoveUserFromUserGroup
NewMsgRemoveUserFromUserGroup creates a new MsgRemoveUserFromUserGroup instance
func (*MsgRemoveUserFromUserGroup) Descriptor ¶
func (*MsgRemoveUserFromUserGroup) Descriptor() ([]byte, []int)
func (*MsgRemoveUserFromUserGroup) GetGroupID ¶
func (m *MsgRemoveUserFromUserGroup) GetGroupID() uint32
func (*MsgRemoveUserFromUserGroup) GetSignBytes ¶
func (msg *MsgRemoveUserFromUserGroup) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgRemoveUserFromUserGroup) GetSigner ¶
func (m *MsgRemoveUserFromUserGroup) GetSigner() string
func (*MsgRemoveUserFromUserGroup) GetSigners ¶
func (msg *MsgRemoveUserFromUserGroup) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgRemoveUserFromUserGroup) GetSubspaceID ¶
func (m *MsgRemoveUserFromUserGroup) GetSubspaceID() uint64
func (*MsgRemoveUserFromUserGroup) GetUser ¶
func (m *MsgRemoveUserFromUserGroup) GetUser() string
func (*MsgRemoveUserFromUserGroup) IsManageSubspaceMsg ¶
func (msg *MsgRemoveUserFromUserGroup) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgRemoveUserFromUserGroup) Marshal ¶
func (m *MsgRemoveUserFromUserGroup) Marshal() (dAtA []byte, err error)
func (*MsgRemoveUserFromUserGroup) MarshalTo ¶
func (m *MsgRemoveUserFromUserGroup) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveUserFromUserGroup) MarshalToSizedBuffer ¶
func (m *MsgRemoveUserFromUserGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveUserFromUserGroup) ProtoMessage ¶
func (*MsgRemoveUserFromUserGroup) ProtoMessage()
func (*MsgRemoveUserFromUserGroup) Reset ¶
func (m *MsgRemoveUserFromUserGroup) Reset()
func (*MsgRemoveUserFromUserGroup) Route ¶
func (msg *MsgRemoveUserFromUserGroup) Route() string
Route implements sdk.Msg
func (*MsgRemoveUserFromUserGroup) Size ¶
func (m *MsgRemoveUserFromUserGroup) Size() (n int)
func (*MsgRemoveUserFromUserGroup) String ¶
func (m *MsgRemoveUserFromUserGroup) String() string
func (*MsgRemoveUserFromUserGroup) Type ¶
func (msg *MsgRemoveUserFromUserGroup) Type() string
Type implements sdk.Msg
func (*MsgRemoveUserFromUserGroup) Unmarshal ¶
func (m *MsgRemoveUserFromUserGroup) Unmarshal(dAtA []byte) error
func (*MsgRemoveUserFromUserGroup) ValidateBasic ¶
func (msg *MsgRemoveUserFromUserGroup) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgRemoveUserFromUserGroup) XXX_DiscardUnknown ¶
func (m *MsgRemoveUserFromUserGroup) XXX_DiscardUnknown()
func (*MsgRemoveUserFromUserGroup) XXX_Marshal ¶
func (m *MsgRemoveUserFromUserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveUserFromUserGroup) XXX_Merge ¶
func (m *MsgRemoveUserFromUserGroup) XXX_Merge(src proto.Message)
func (*MsgRemoveUserFromUserGroup) XXX_Size ¶
func (m *MsgRemoveUserFromUserGroup) XXX_Size() int
func (*MsgRemoveUserFromUserGroup) XXX_Unmarshal ¶
func (m *MsgRemoveUserFromUserGroup) XXX_Unmarshal(b []byte) error
type MsgRemoveUserFromUserGroupResponse ¶
type MsgRemoveUserFromUserGroupResponse struct { }
MsgRemoveUserFromUserGroupResponse defines the Msg/RemoveUserFromUserGroupResponse response type
func (*MsgRemoveUserFromUserGroupResponse) Descriptor ¶
func (*MsgRemoveUserFromUserGroupResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveUserFromUserGroupResponse) Marshal ¶
func (m *MsgRemoveUserFromUserGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveUserFromUserGroupResponse) MarshalTo ¶
func (m *MsgRemoveUserFromUserGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveUserFromUserGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveUserFromUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveUserFromUserGroupResponse) ProtoMessage ¶
func (*MsgRemoveUserFromUserGroupResponse) ProtoMessage()
func (*MsgRemoveUserFromUserGroupResponse) Reset ¶
func (m *MsgRemoveUserFromUserGroupResponse) Reset()
func (*MsgRemoveUserFromUserGroupResponse) Size ¶
func (m *MsgRemoveUserFromUserGroupResponse) Size() (n int)
func (*MsgRemoveUserFromUserGroupResponse) String ¶
func (m *MsgRemoveUserFromUserGroupResponse) String() string
func (*MsgRemoveUserFromUserGroupResponse) Unmarshal ¶
func (m *MsgRemoveUserFromUserGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveUserFromUserGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveUserFromUserGroupResponse) XXX_DiscardUnknown()
func (*MsgRemoveUserFromUserGroupResponse) XXX_Marshal ¶
func (m *MsgRemoveUserFromUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveUserFromUserGroupResponse) XXX_Merge ¶
func (m *MsgRemoveUserFromUserGroupResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveUserFromUserGroupResponse) XXX_Size ¶
func (m *MsgRemoveUserFromUserGroupResponse) XXX_Size() int
func (*MsgRemoveUserFromUserGroupResponse) XXX_Unmarshal ¶
func (m *MsgRemoveUserFromUserGroupResponse) XXX_Unmarshal(b []byte) error
type MsgRevokeAllowance ¶
type MsgRevokeAllowance struct { // If of the subspace inside which the allowance to be deleted is SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Address of the user that created the allowance Granter string `protobuf:"bytes,2,opt,name=granter,proto3" json:"granter,omitempty" yaml:"granter"` // Target being revoked the allowance Grantee *types.Any `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty" yaml:"grantee"` }
MsgRevokeAllowance removes any existing allowance to the grantee inside the subspace
func NewMsgRevokeAllowance ¶
func NewMsgRevokeAllowance(subspaceID uint64, granter string, grantee Grantee) *MsgRevokeAllowance
NewMsgRevokeAllowance creates a new MsgRevokeAllowance instance
func (*MsgRevokeAllowance) Descriptor ¶
func (*MsgRevokeAllowance) Descriptor() ([]byte, []int)
func (*MsgRevokeAllowance) GetGrantee ¶
func (m *MsgRevokeAllowance) GetGrantee() *types.Any
func (*MsgRevokeAllowance) GetGranter ¶
func (m *MsgRevokeAllowance) GetGranter() string
func (*MsgRevokeAllowance) GetSignBytes ¶
func (msg *MsgRevokeAllowance) GetSignBytes() []byte
GetSignBytes implements legacytx.LegacyMsg
func (*MsgRevokeAllowance) GetSigners ¶
func (msg *MsgRevokeAllowance) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgRevokeAllowance) GetSubspaceID ¶
func (m *MsgRevokeAllowance) GetSubspaceID() uint64
func (*MsgRevokeAllowance) IsManageSubspaceMsg ¶
func (msg *MsgRevokeAllowance) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgRevokeAllowance) Marshal ¶
func (m *MsgRevokeAllowance) Marshal() (dAtA []byte, err error)
func (*MsgRevokeAllowance) MarshalTo ¶
func (m *MsgRevokeAllowance) MarshalTo(dAtA []byte) (int, error)
func (*MsgRevokeAllowance) MarshalToSizedBuffer ¶
func (m *MsgRevokeAllowance) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRevokeAllowance) ProtoMessage ¶
func (*MsgRevokeAllowance) ProtoMessage()
func (*MsgRevokeAllowance) Reset ¶
func (m *MsgRevokeAllowance) Reset()
func (*MsgRevokeAllowance) Route ¶
func (msg *MsgRevokeAllowance) Route() string
Route implements legacytx.LegacyMsg
func (*MsgRevokeAllowance) Size ¶
func (m *MsgRevokeAllowance) Size() (n int)
func (*MsgRevokeAllowance) String ¶
func (m *MsgRevokeAllowance) String() string
func (*MsgRevokeAllowance) Type ¶
func (msg *MsgRevokeAllowance) Type() string
Type implements legacytx.LegacyMsg
func (*MsgRevokeAllowance) Unmarshal ¶
func (m *MsgRevokeAllowance) Unmarshal(dAtA []byte) error
func (*MsgRevokeAllowance) UnpackInterfaces ¶
func (msg *MsgRevokeAllowance) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements codectypes.UnpackInterfacesMessage
func (*MsgRevokeAllowance) ValidateBasic ¶
func (msg *MsgRevokeAllowance) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgRevokeAllowance) XXX_DiscardUnknown ¶
func (m *MsgRevokeAllowance) XXX_DiscardUnknown()
func (*MsgRevokeAllowance) XXX_Marshal ¶
func (m *MsgRevokeAllowance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRevokeAllowance) XXX_Merge ¶
func (m *MsgRevokeAllowance) XXX_Merge(src proto.Message)
func (*MsgRevokeAllowance) XXX_Size ¶
func (m *MsgRevokeAllowance) XXX_Size() int
func (*MsgRevokeAllowance) XXX_Unmarshal ¶
func (m *MsgRevokeAllowance) XXX_Unmarshal(b []byte) error
type MsgRevokeAllowanceResponse ¶
type MsgRevokeAllowanceResponse struct { }
MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type.
func (*MsgRevokeAllowanceResponse) Descriptor ¶
func (*MsgRevokeAllowanceResponse) Descriptor() ([]byte, []int)
func (*MsgRevokeAllowanceResponse) Marshal ¶
func (m *MsgRevokeAllowanceResponse) Marshal() (dAtA []byte, err error)
func (*MsgRevokeAllowanceResponse) MarshalTo ¶
func (m *MsgRevokeAllowanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRevokeAllowanceResponse) MarshalToSizedBuffer ¶
func (m *MsgRevokeAllowanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRevokeAllowanceResponse) ProtoMessage ¶
func (*MsgRevokeAllowanceResponse) ProtoMessage()
func (*MsgRevokeAllowanceResponse) Reset ¶
func (m *MsgRevokeAllowanceResponse) Reset()
func (*MsgRevokeAllowanceResponse) Size ¶
func (m *MsgRevokeAllowanceResponse) Size() (n int)
func (*MsgRevokeAllowanceResponse) String ¶
func (m *MsgRevokeAllowanceResponse) String() string
func (*MsgRevokeAllowanceResponse) Unmarshal ¶
func (m *MsgRevokeAllowanceResponse) Unmarshal(dAtA []byte) error
func (*MsgRevokeAllowanceResponse) XXX_DiscardUnknown ¶
func (m *MsgRevokeAllowanceResponse) XXX_DiscardUnknown()
func (*MsgRevokeAllowanceResponse) XXX_Marshal ¶
func (m *MsgRevokeAllowanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRevokeAllowanceResponse) XXX_Merge ¶
func (m *MsgRevokeAllowanceResponse) XXX_Merge(src proto.Message)
func (*MsgRevokeAllowanceResponse) XXX_Size ¶
func (m *MsgRevokeAllowanceResponse) XXX_Size() int
func (*MsgRevokeAllowanceResponse) XXX_Unmarshal ¶
func (m *MsgRevokeAllowanceResponse) XXX_Unmarshal(b []byte) error
type MsgRevokeTreasuryAuthorization ¶
type MsgRevokeTreasuryAuthorization struct { // Id of the subspace from which the authorization should be revoked SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Address of the user revoking the treasury authorization Granter string `protobuf:"bytes,2,opt,name=granter,proto3" json:"granter,omitempty" yaml:"granter"` // Address of the user who is being revoked the treasury authorization Grantee string `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty" yaml:"grantee"` // Type url of the authorized message which is being revoked MsgTypeUrl string `protobuf:"bytes,4,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty" yaml:"msg_type_url"` }
MsgRevokeTreasuryAuthorization revokes an existing treasury authorization from a user
func NewMsgRevokeTreasuryAuthorization ¶
func NewMsgRevokeTreasuryAuthorization(subspaceID uint64, granter string, grantee string, msgTypeUrl string) *MsgRevokeTreasuryAuthorization
func (*MsgRevokeTreasuryAuthorization) Descriptor ¶
func (*MsgRevokeTreasuryAuthorization) Descriptor() ([]byte, []int)
func (*MsgRevokeTreasuryAuthorization) GetGrantee ¶
func (m *MsgRevokeTreasuryAuthorization) GetGrantee() string
func (*MsgRevokeTreasuryAuthorization) GetGranter ¶
func (m *MsgRevokeTreasuryAuthorization) GetGranter() string
func (*MsgRevokeTreasuryAuthorization) GetMsgTypeUrl ¶
func (m *MsgRevokeTreasuryAuthorization) GetMsgTypeUrl() string
func (*MsgRevokeTreasuryAuthorization) GetSignBytes ¶
func (msg *MsgRevokeTreasuryAuthorization) GetSignBytes() []byte
GetSignBytes implements legacytx.LegacyMsg
func (*MsgRevokeTreasuryAuthorization) GetSigners ¶
func (msg *MsgRevokeTreasuryAuthorization) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgRevokeTreasuryAuthorization) GetSubspaceID ¶
func (m *MsgRevokeTreasuryAuthorization) GetSubspaceID() uint64
func (*MsgRevokeTreasuryAuthorization) IsManageSubspaceMsg ¶
func (msg *MsgRevokeTreasuryAuthorization) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgRevokeTreasuryAuthorization) Marshal ¶
func (m *MsgRevokeTreasuryAuthorization) Marshal() (dAtA []byte, err error)
func (*MsgRevokeTreasuryAuthorization) MarshalTo ¶
func (m *MsgRevokeTreasuryAuthorization) MarshalTo(dAtA []byte) (int, error)
func (*MsgRevokeTreasuryAuthorization) MarshalToSizedBuffer ¶
func (m *MsgRevokeTreasuryAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRevokeTreasuryAuthorization) ProtoMessage ¶
func (*MsgRevokeTreasuryAuthorization) ProtoMessage()
func (*MsgRevokeTreasuryAuthorization) Reset ¶
func (m *MsgRevokeTreasuryAuthorization) Reset()
func (*MsgRevokeTreasuryAuthorization) Route ¶
func (msg *MsgRevokeTreasuryAuthorization) Route() string
GetSignBytes implements legacytx.LegacyMsg
func (*MsgRevokeTreasuryAuthorization) Size ¶
func (m *MsgRevokeTreasuryAuthorization) Size() (n int)
func (*MsgRevokeTreasuryAuthorization) String ¶
func (m *MsgRevokeTreasuryAuthorization) String() string
func (*MsgRevokeTreasuryAuthorization) Type ¶
func (msg *MsgRevokeTreasuryAuthorization) Type() string
GetSignBytes implements legacytx.LegacyMsg
func (*MsgRevokeTreasuryAuthorization) Unmarshal ¶
func (m *MsgRevokeTreasuryAuthorization) Unmarshal(dAtA []byte) error
func (*MsgRevokeTreasuryAuthorization) ValidateBasic ¶
func (msg *MsgRevokeTreasuryAuthorization) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgRevokeTreasuryAuthorization) XXX_DiscardUnknown ¶
func (m *MsgRevokeTreasuryAuthorization) XXX_DiscardUnknown()
func (*MsgRevokeTreasuryAuthorization) XXX_Marshal ¶
func (m *MsgRevokeTreasuryAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRevokeTreasuryAuthorization) XXX_Merge ¶
func (m *MsgRevokeTreasuryAuthorization) XXX_Merge(src proto.Message)
func (*MsgRevokeTreasuryAuthorization) XXX_Size ¶
func (m *MsgRevokeTreasuryAuthorization) XXX_Size() int
func (*MsgRevokeTreasuryAuthorization) XXX_Unmarshal ¶
func (m *MsgRevokeTreasuryAuthorization) XXX_Unmarshal(b []byte) error
type MsgRevokeTreasuryAuthorizationResponse ¶
type MsgRevokeTreasuryAuthorizationResponse struct { }
MsgRevokeTreasuryAuthorizationResponse defines the Msg/MsgRevokeTreasuryAuthorization response type
func (*MsgRevokeTreasuryAuthorizationResponse) Descriptor ¶
func (*MsgRevokeTreasuryAuthorizationResponse) Descriptor() ([]byte, []int)
func (*MsgRevokeTreasuryAuthorizationResponse) Marshal ¶
func (m *MsgRevokeTreasuryAuthorizationResponse) Marshal() (dAtA []byte, err error)
func (*MsgRevokeTreasuryAuthorizationResponse) MarshalTo ¶
func (m *MsgRevokeTreasuryAuthorizationResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRevokeTreasuryAuthorizationResponse) MarshalToSizedBuffer ¶
func (m *MsgRevokeTreasuryAuthorizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRevokeTreasuryAuthorizationResponse) ProtoMessage ¶
func (*MsgRevokeTreasuryAuthorizationResponse) ProtoMessage()
func (*MsgRevokeTreasuryAuthorizationResponse) Reset ¶
func (m *MsgRevokeTreasuryAuthorizationResponse) Reset()
func (*MsgRevokeTreasuryAuthorizationResponse) Size ¶
func (m *MsgRevokeTreasuryAuthorizationResponse) Size() (n int)
func (*MsgRevokeTreasuryAuthorizationResponse) String ¶
func (m *MsgRevokeTreasuryAuthorizationResponse) String() string
func (*MsgRevokeTreasuryAuthorizationResponse) Unmarshal ¶
func (m *MsgRevokeTreasuryAuthorizationResponse) Unmarshal(dAtA []byte) error
func (*MsgRevokeTreasuryAuthorizationResponse) XXX_DiscardUnknown ¶
func (m *MsgRevokeTreasuryAuthorizationResponse) XXX_DiscardUnknown()
func (*MsgRevokeTreasuryAuthorizationResponse) XXX_Marshal ¶
func (m *MsgRevokeTreasuryAuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRevokeTreasuryAuthorizationResponse) XXX_Merge ¶
func (m *MsgRevokeTreasuryAuthorizationResponse) XXX_Merge(src proto.Message)
func (*MsgRevokeTreasuryAuthorizationResponse) XXX_Size ¶
func (m *MsgRevokeTreasuryAuthorizationResponse) XXX_Size() int
func (*MsgRevokeTreasuryAuthorizationResponse) XXX_Unmarshal ¶
func (m *MsgRevokeTreasuryAuthorizationResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // CreateSubspace allows to create a subspace CreateSubspace(context.Context, *MsgCreateSubspace) (*MsgCreateSubspaceResponse, error) // EditSubspace allows to edit a subspace EditSubspace(context.Context, *MsgEditSubspace) (*MsgEditSubspaceResponse, error) // DeleteSubspace allows to delete a subspace DeleteSubspace(context.Context, *MsgDeleteSubspace) (*MsgDeleteSubspaceResponse, error) // CreateSection allows to create a new subspace section CreateSection(context.Context, *MsgCreateSection) (*MsgCreateSectionResponse, error) // EditSection allows to edit an existing section EditSection(context.Context, *MsgEditSection) (*MsgEditSectionResponse, error) // MoveSection allows to move an existing section to another parent MoveSection(context.Context, *MsgMoveSection) (*MsgMoveSectionResponse, error) // DeleteSection allows to delete an existing section DeleteSection(context.Context, *MsgDeleteSection) (*MsgDeleteSectionResponse, error) // CreateUserGroup allows to create a user group CreateUserGroup(context.Context, *MsgCreateUserGroup) (*MsgCreateUserGroupResponse, error) // EditUserGroup allows to edit a user group EditUserGroup(context.Context, *MsgEditUserGroup) (*MsgEditUserGroupResponse, error) // MoveUserGroup allows to move a user group from a section to another MoveUserGroup(context.Context, *MsgMoveUserGroup) (*MsgMoveUserGroupResponse, error) // SetUserGroupPermissions allows to set the permissions for a specific group SetUserGroupPermissions(context.Context, *MsgSetUserGroupPermissions) (*MsgSetUserGroupPermissionsResponse, error) // DeleteUserGroup allows to delete an existing user group DeleteUserGroup(context.Context, *MsgDeleteUserGroup) (*MsgDeleteUserGroupResponse, error) // AddUserToUserGroup allows to add a specific user to a specific user group AddUserToUserGroup(context.Context, *MsgAddUserToUserGroup) (*MsgAddUserToUserGroupResponse, error) // RemoveUserFromUserGroup allows to remove a specific user from a specific // user group RemoveUserFromUserGroup(context.Context, *MsgRemoveUserFromUserGroup) (*MsgRemoveUserFromUserGroupResponse, error) // SetUserPermissions allows to set the permissions for a specific user SetUserPermissions(context.Context, *MsgSetUserPermissions) (*MsgSetUserPermissionsResponse, error) // GrantTreasuryAuthorization allows managers who have the permission to grant // a treasury authorization to a user GrantTreasuryAuthorization(context.Context, *MsgGrantTreasuryAuthorization) (*MsgGrantTreasuryAuthorizationResponse, error) // RevokeTreasuryAuthorization allows managers who have the permission to // revoke an existing treasury authorization RevokeTreasuryAuthorization(context.Context, *MsgRevokeTreasuryAuthorization) (*MsgRevokeTreasuryAuthorizationResponse, error) // GrantAllowance allows the granter to grant a fee allowance to the // grantee GrantAllowance(context.Context, *MsgGrantAllowance) (*MsgGrantAllowanceResponse, error) // RevokeAllowance allows a granter to revoke any existing treasury allowance // that has been granted to the grantee RevokeAllowance(context.Context, *MsgRevokeAllowance) (*MsgRevokeAllowanceResponse, error) // UpdateSubspaceFeeTokens allows subspace admins to update the list of fee // tokens inside the subspace via a governance proposal // // Since: Desmos 6.0.0 UpdateSubspaceFeeTokens(context.Context, *MsgUpdateSubspaceFeeTokens) (*MsgUpdateSubspaceFeeTokensResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetUserGroupPermissions ¶
type MsgSetUserGroupPermissions struct { // Id of the subspace inside which the group is SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Id of the group for which to set the new permissions GroupID uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty" yaml:"group_id"` // New permissions to be set to the group Permissions []string `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty" yaml:"permissions"` // User setting the new permissions Signer string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"` }
MsgSetUserGroupPermissions represents the message used to set the permissions of a user group
func NewMsgSetUserGroupPermissions ¶
func NewMsgSetUserGroupPermissions( subspaceID uint64, groupID uint32, permissions Permissions, signer string, ) *MsgSetUserGroupPermissions
NewMsgSetUserGroupPermissions returns a new MsgSetUserGroupPermissions instance
func (*MsgSetUserGroupPermissions) Descriptor ¶
func (*MsgSetUserGroupPermissions) Descriptor() ([]byte, []int)
func (*MsgSetUserGroupPermissions) GetGroupID ¶
func (m *MsgSetUserGroupPermissions) GetGroupID() uint32
func (*MsgSetUserGroupPermissions) GetPermissions ¶
func (m *MsgSetUserGroupPermissions) GetPermissions() []string
func (*MsgSetUserGroupPermissions) GetSignBytes ¶
func (msg *MsgSetUserGroupPermissions) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgSetUserGroupPermissions) GetSigner ¶
func (m *MsgSetUserGroupPermissions) GetSigner() string
func (*MsgSetUserGroupPermissions) GetSigners ¶
func (msg *MsgSetUserGroupPermissions) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgSetUserGroupPermissions) GetSubspaceID ¶
func (m *MsgSetUserGroupPermissions) GetSubspaceID() uint64
func (*MsgSetUserGroupPermissions) IsManageSubspaceMsg ¶
func (msg *MsgSetUserGroupPermissions) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgSetUserGroupPermissions) Marshal ¶
func (m *MsgSetUserGroupPermissions) Marshal() (dAtA []byte, err error)
func (*MsgSetUserGroupPermissions) MarshalTo ¶
func (m *MsgSetUserGroupPermissions) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetUserGroupPermissions) MarshalToSizedBuffer ¶
func (m *MsgSetUserGroupPermissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetUserGroupPermissions) ProtoMessage ¶
func (*MsgSetUserGroupPermissions) ProtoMessage()
func (*MsgSetUserGroupPermissions) Reset ¶
func (m *MsgSetUserGroupPermissions) Reset()
func (*MsgSetUserGroupPermissions) Route ¶
func (msg *MsgSetUserGroupPermissions) Route() string
Route implements sdk.Msg
func (*MsgSetUserGroupPermissions) Size ¶
func (m *MsgSetUserGroupPermissions) Size() (n int)
func (*MsgSetUserGroupPermissions) String ¶
func (m *MsgSetUserGroupPermissions) String() string
func (*MsgSetUserGroupPermissions) Type ¶
func (msg *MsgSetUserGroupPermissions) Type() string
Type implements sdk.Msg
func (*MsgSetUserGroupPermissions) Unmarshal ¶
func (m *MsgSetUserGroupPermissions) Unmarshal(dAtA []byte) error
func (*MsgSetUserGroupPermissions) ValidateBasic ¶
func (msg *MsgSetUserGroupPermissions) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgSetUserGroupPermissions) XXX_DiscardUnknown ¶
func (m *MsgSetUserGroupPermissions) XXX_DiscardUnknown()
func (*MsgSetUserGroupPermissions) XXX_Marshal ¶
func (m *MsgSetUserGroupPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetUserGroupPermissions) XXX_Merge ¶
func (m *MsgSetUserGroupPermissions) XXX_Merge(src proto.Message)
func (*MsgSetUserGroupPermissions) XXX_Size ¶
func (m *MsgSetUserGroupPermissions) XXX_Size() int
func (*MsgSetUserGroupPermissions) XXX_Unmarshal ¶
func (m *MsgSetUserGroupPermissions) XXX_Unmarshal(b []byte) error
type MsgSetUserGroupPermissionsResponse ¶
type MsgSetUserGroupPermissionsResponse struct { }
MsgSetUserGroupPermissionsResponse defines the Msg/SetUserGroupPermissionsResponse response type
func (*MsgSetUserGroupPermissionsResponse) Descriptor ¶
func (*MsgSetUserGroupPermissionsResponse) Descriptor() ([]byte, []int)
func (*MsgSetUserGroupPermissionsResponse) Marshal ¶
func (m *MsgSetUserGroupPermissionsResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetUserGroupPermissionsResponse) MarshalTo ¶
func (m *MsgSetUserGroupPermissionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetUserGroupPermissionsResponse) MarshalToSizedBuffer ¶
func (m *MsgSetUserGroupPermissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetUserGroupPermissionsResponse) ProtoMessage ¶
func (*MsgSetUserGroupPermissionsResponse) ProtoMessage()
func (*MsgSetUserGroupPermissionsResponse) Reset ¶
func (m *MsgSetUserGroupPermissionsResponse) Reset()
func (*MsgSetUserGroupPermissionsResponse) Size ¶
func (m *MsgSetUserGroupPermissionsResponse) Size() (n int)
func (*MsgSetUserGroupPermissionsResponse) String ¶
func (m *MsgSetUserGroupPermissionsResponse) String() string
func (*MsgSetUserGroupPermissionsResponse) Unmarshal ¶
func (m *MsgSetUserGroupPermissionsResponse) Unmarshal(dAtA []byte) error
func (*MsgSetUserGroupPermissionsResponse) XXX_DiscardUnknown ¶
func (m *MsgSetUserGroupPermissionsResponse) XXX_DiscardUnknown()
func (*MsgSetUserGroupPermissionsResponse) XXX_Marshal ¶
func (m *MsgSetUserGroupPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetUserGroupPermissionsResponse) XXX_Merge ¶
func (m *MsgSetUserGroupPermissionsResponse) XXX_Merge(src proto.Message)
func (*MsgSetUserGroupPermissionsResponse) XXX_Size ¶
func (m *MsgSetUserGroupPermissionsResponse) XXX_Size() int
func (*MsgSetUserGroupPermissionsResponse) XXX_Unmarshal ¶
func (m *MsgSetUserGroupPermissionsResponse) XXX_Unmarshal(b []byte) error
type MsgSetUserPermissions ¶
type MsgSetUserPermissions struct { // Id of the subspace inside which to set the permissions SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Id of the section for which to set the permissions SectionID uint32 `protobuf:"varint,2,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty" yaml:"section_id"` // User for which to set the permissions User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty" yaml:"user"` // Permissions to be set to the user Permissions []string `protobuf:"bytes,4,rep,name=permissions,proto3" json:"permissions,omitempty" yaml:"permissions"` // User signing the message Signer string `protobuf:"bytes,5,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"` }
MsgSetUserPermissions represents the message used to set the permissions of a specific user
func NewMsgSetUserPermissions ¶
func NewMsgSetUserPermissions( subspaceID uint64, sectionID uint32, user string, permissions Permissions, signer string, ) *MsgSetUserPermissions
NewMsgSetUserPermissions creates a new MsgSetUserPermissions instance
func (*MsgSetUserPermissions) Descriptor ¶
func (*MsgSetUserPermissions) Descriptor() ([]byte, []int)
func (*MsgSetUserPermissions) GetPermissions ¶
func (m *MsgSetUserPermissions) GetPermissions() []string
func (*MsgSetUserPermissions) GetSectionID ¶
func (m *MsgSetUserPermissions) GetSectionID() uint32
func (*MsgSetUserPermissions) GetSignBytes ¶
func (msg *MsgSetUserPermissions) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgSetUserPermissions) GetSigner ¶
func (m *MsgSetUserPermissions) GetSigner() string
func (*MsgSetUserPermissions) GetSigners ¶
func (msg *MsgSetUserPermissions) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgSetUserPermissions) GetSubspaceID ¶
func (m *MsgSetUserPermissions) GetSubspaceID() uint64
func (*MsgSetUserPermissions) GetUser ¶
func (m *MsgSetUserPermissions) GetUser() string
func (*MsgSetUserPermissions) IsManageSubspaceMsg ¶
func (msg *MsgSetUserPermissions) IsManageSubspaceMsg()
IsManageSubspaceMsg implements subspacestypes.ManageSubspaceMsg
func (*MsgSetUserPermissions) Marshal ¶
func (m *MsgSetUserPermissions) Marshal() (dAtA []byte, err error)
func (*MsgSetUserPermissions) MarshalTo ¶
func (m *MsgSetUserPermissions) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetUserPermissions) MarshalToSizedBuffer ¶
func (m *MsgSetUserPermissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetUserPermissions) ProtoMessage ¶
func (*MsgSetUserPermissions) ProtoMessage()
func (*MsgSetUserPermissions) Reset ¶
func (m *MsgSetUserPermissions) Reset()
func (*MsgSetUserPermissions) Route ¶
func (msg *MsgSetUserPermissions) Route() string
Route implements sdk.Msg
func (*MsgSetUserPermissions) Size ¶
func (m *MsgSetUserPermissions) Size() (n int)
func (*MsgSetUserPermissions) String ¶
func (m *MsgSetUserPermissions) String() string
func (*MsgSetUserPermissions) Type ¶
func (msg *MsgSetUserPermissions) Type() string
Type implements sdk.Msg
func (*MsgSetUserPermissions) Unmarshal ¶
func (m *MsgSetUserPermissions) Unmarshal(dAtA []byte) error
func (*MsgSetUserPermissions) ValidateBasic ¶
func (msg *MsgSetUserPermissions) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgSetUserPermissions) XXX_DiscardUnknown ¶
func (m *MsgSetUserPermissions) XXX_DiscardUnknown()
func (*MsgSetUserPermissions) XXX_Marshal ¶
func (m *MsgSetUserPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetUserPermissions) XXX_Merge ¶
func (m *MsgSetUserPermissions) XXX_Merge(src proto.Message)
func (*MsgSetUserPermissions) XXX_Size ¶
func (m *MsgSetUserPermissions) XXX_Size() int
func (*MsgSetUserPermissions) XXX_Unmarshal ¶
func (m *MsgSetUserPermissions) XXX_Unmarshal(b []byte) error
type MsgSetUserPermissionsResponse ¶
type MsgSetUserPermissionsResponse struct { }
MsgSetUserPermissionsResponse defines the Msg/SetPermissionsResponse response type
func (*MsgSetUserPermissionsResponse) Descriptor ¶
func (*MsgSetUserPermissionsResponse) Descriptor() ([]byte, []int)
func (*MsgSetUserPermissionsResponse) Marshal ¶
func (m *MsgSetUserPermissionsResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetUserPermissionsResponse) MarshalTo ¶
func (m *MsgSetUserPermissionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetUserPermissionsResponse) MarshalToSizedBuffer ¶
func (m *MsgSetUserPermissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetUserPermissionsResponse) ProtoMessage ¶
func (*MsgSetUserPermissionsResponse) ProtoMessage()
func (*MsgSetUserPermissionsResponse) Reset ¶
func (m *MsgSetUserPermissionsResponse) Reset()
func (*MsgSetUserPermissionsResponse) Size ¶
func (m *MsgSetUserPermissionsResponse) Size() (n int)
func (*MsgSetUserPermissionsResponse) String ¶
func (m *MsgSetUserPermissionsResponse) String() string
func (*MsgSetUserPermissionsResponse) Unmarshal ¶
func (m *MsgSetUserPermissionsResponse) Unmarshal(dAtA []byte) error
func (*MsgSetUserPermissionsResponse) XXX_DiscardUnknown ¶
func (m *MsgSetUserPermissionsResponse) XXX_DiscardUnknown()
func (*MsgSetUserPermissionsResponse) XXX_Marshal ¶
func (m *MsgSetUserPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetUserPermissionsResponse) XXX_Merge ¶
func (m *MsgSetUserPermissionsResponse) XXX_Merge(src proto.Message)
func (*MsgSetUserPermissionsResponse) XXX_Size ¶
func (m *MsgSetUserPermissionsResponse) XXX_Size() int
func (*MsgSetUserPermissionsResponse) XXX_Unmarshal ¶
func (m *MsgSetUserPermissionsResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateSubspaceFeeTokens ¶
type MsgUpdateSubspaceFeeTokens struct { // Id of the subspace where the list of allowed fee tokens will be updated SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // List of tokens allowed to be fee tokens inside the given subspace, // represented as their gas prices AdditionalFeeTokens github_com_cosmos_cosmos_sdk_types.Coins `` /* 193-byte string literal not displayed */ // authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"` }
MsgUpdateSubspaceFeeTokens represents the message to be used to update the accepted fee tokens inside a given subspace, using an on-chain governance proposal
Since: Desmos 6.0.0
func NewMsgUpdateSubspaceFeeTokens ¶
func NewMsgUpdateSubspaceFeeTokens( subspaceID uint64, additionalFeeTokens sdk.Coins, authority string, ) *MsgUpdateSubspaceFeeTokens
NewMsgUpdateSubspaceFeeTokens creates a new MsgUpdateSubspaceFeeTokens instance
func (*MsgUpdateSubspaceFeeTokens) Descriptor ¶
func (*MsgUpdateSubspaceFeeTokens) Descriptor() ([]byte, []int)
func (*MsgUpdateSubspaceFeeTokens) GetAdditionalFeeTokens ¶
func (m *MsgUpdateSubspaceFeeTokens) GetAdditionalFeeTokens() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgUpdateSubspaceFeeTokens) GetAuthority ¶
func (m *MsgUpdateSubspaceFeeTokens) GetAuthority() string
func (*MsgUpdateSubspaceFeeTokens) GetSignBytes ¶
func (msg *MsgUpdateSubspaceFeeTokens) GetSignBytes() []byte
GetSignBytes implements legacytx.LegacyMsg
func (*MsgUpdateSubspaceFeeTokens) GetSigners ¶
func (msg *MsgUpdateSubspaceFeeTokens) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgUpdateSubspaceFeeTokens) GetSubspaceID ¶
func (m *MsgUpdateSubspaceFeeTokens) GetSubspaceID() uint64
func (*MsgUpdateSubspaceFeeTokens) Marshal ¶
func (m *MsgUpdateSubspaceFeeTokens) Marshal() (dAtA []byte, err error)
func (*MsgUpdateSubspaceFeeTokens) MarshalTo ¶
func (m *MsgUpdateSubspaceFeeTokens) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateSubspaceFeeTokens) MarshalToSizedBuffer ¶
func (m *MsgUpdateSubspaceFeeTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateSubspaceFeeTokens) ProtoMessage ¶
func (*MsgUpdateSubspaceFeeTokens) ProtoMessage()
func (*MsgUpdateSubspaceFeeTokens) Reset ¶
func (m *MsgUpdateSubspaceFeeTokens) Reset()
func (*MsgUpdateSubspaceFeeTokens) Route ¶
func (msg *MsgUpdateSubspaceFeeTokens) Route() string
Route implements legacytx.LegacyMsg
func (*MsgUpdateSubspaceFeeTokens) Size ¶
func (m *MsgUpdateSubspaceFeeTokens) Size() (n int)
func (*MsgUpdateSubspaceFeeTokens) String ¶
func (m *MsgUpdateSubspaceFeeTokens) String() string
func (*MsgUpdateSubspaceFeeTokens) Type ¶
func (msg *MsgUpdateSubspaceFeeTokens) Type() string
Type implements legacytx.LegacyMsg
func (*MsgUpdateSubspaceFeeTokens) Unmarshal ¶
func (m *MsgUpdateSubspaceFeeTokens) Unmarshal(dAtA []byte) error
func (*MsgUpdateSubspaceFeeTokens) ValidateBasic ¶
func (msg *MsgUpdateSubspaceFeeTokens) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgUpdateSubspaceFeeTokens) XXX_DiscardUnknown ¶
func (m *MsgUpdateSubspaceFeeTokens) XXX_DiscardUnknown()
func (*MsgUpdateSubspaceFeeTokens) XXX_Marshal ¶
func (m *MsgUpdateSubspaceFeeTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateSubspaceFeeTokens) XXX_Merge ¶
func (m *MsgUpdateSubspaceFeeTokens) XXX_Merge(src proto.Message)
func (*MsgUpdateSubspaceFeeTokens) XXX_Size ¶
func (m *MsgUpdateSubspaceFeeTokens) XXX_Size() int
func (*MsgUpdateSubspaceFeeTokens) XXX_Unmarshal ¶
func (m *MsgUpdateSubspaceFeeTokens) XXX_Unmarshal(b []byte) error
type MsgUpdateSubspaceFeeTokensResponse ¶
type MsgUpdateSubspaceFeeTokensResponse struct { }
MsgUpdateSubspaceFeeTokensResponse represents the Msg/UpdateSubspaceFeeTokens response type
Since: Desmos 6.0.0
func (*MsgUpdateSubspaceFeeTokensResponse) Descriptor ¶
func (*MsgUpdateSubspaceFeeTokensResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateSubspaceFeeTokensResponse) Marshal ¶
func (m *MsgUpdateSubspaceFeeTokensResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateSubspaceFeeTokensResponse) MarshalTo ¶
func (m *MsgUpdateSubspaceFeeTokensResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateSubspaceFeeTokensResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateSubspaceFeeTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateSubspaceFeeTokensResponse) ProtoMessage ¶
func (*MsgUpdateSubspaceFeeTokensResponse) ProtoMessage()
func (*MsgUpdateSubspaceFeeTokensResponse) Reset ¶
func (m *MsgUpdateSubspaceFeeTokensResponse) Reset()
func (*MsgUpdateSubspaceFeeTokensResponse) Size ¶
func (m *MsgUpdateSubspaceFeeTokensResponse) Size() (n int)
func (*MsgUpdateSubspaceFeeTokensResponse) String ¶
func (m *MsgUpdateSubspaceFeeTokensResponse) String() string
func (*MsgUpdateSubspaceFeeTokensResponse) Unmarshal ¶
func (m *MsgUpdateSubspaceFeeTokensResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateSubspaceFeeTokensResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateSubspaceFeeTokensResponse) XXX_DiscardUnknown()
func (*MsgUpdateSubspaceFeeTokensResponse) XXX_Marshal ¶
func (m *MsgUpdateSubspaceFeeTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateSubspaceFeeTokensResponse) XXX_Merge ¶
func (m *MsgUpdateSubspaceFeeTokensResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateSubspaceFeeTokensResponse) XXX_Size ¶
func (m *MsgUpdateSubspaceFeeTokensResponse) XXX_Size() int
func (*MsgUpdateSubspaceFeeTokensResponse) XXX_Unmarshal ¶
func (m *MsgUpdateSubspaceFeeTokensResponse) XXX_Unmarshal(b []byte) error
type MultiSubspacesHooks ¶
type MultiSubspacesHooks []SubspacesHooks
MultiSubspacesHooks combines multiple subspaces hooks, all hook functions are run in array sequence
func NewMultiSubspacesHooks ¶
func NewMultiSubspacesHooks(hooks ...SubspacesHooks) MultiSubspacesHooks
func (MultiSubspacesHooks) AfterSubspaceDeleted ¶
func (h MultiSubspacesHooks) AfterSubspaceDeleted(ctx sdk.Context, subspaceID uint64)
AfterSubspaceDeleted implements SubspacesHook
func (MultiSubspacesHooks) AfterSubspaceGroupDeleted ¶
func (h MultiSubspacesHooks) AfterSubspaceGroupDeleted(ctx sdk.Context, subspaceID uint64, groupID uint32)
AfterSubspaceGroupDeleted implements SubspacesHook
func (MultiSubspacesHooks) AfterSubspaceGroupMemberAdded ¶
func (h MultiSubspacesHooks) AfterSubspaceGroupMemberAdded(ctx sdk.Context, subspaceID uint64, groupID uint32, user string)
AfterSubspaceGroupMemberAdded implements SubspacesHook
func (MultiSubspacesHooks) AfterSubspaceGroupMemberRemoved ¶
func (h MultiSubspacesHooks) AfterSubspaceGroupMemberRemoved(ctx sdk.Context, subspaceID uint64, groupID uint32, user string)
AfterSubspaceGroupMemberRemoved implements SubspacesHook
func (MultiSubspacesHooks) AfterSubspaceGroupSaved ¶
func (h MultiSubspacesHooks) AfterSubspaceGroupSaved(ctx sdk.Context, subspaceID uint64, groupID uint32)
AfterSubspaceGroupSaved implements SubspacesHook
func (MultiSubspacesHooks) AfterSubspaceSaved ¶
func (h MultiSubspacesHooks) AfterSubspaceSaved(ctx sdk.Context, subspaceID uint64)
AfterSubspaceSaved implements SubspacesHook
func (MultiSubspacesHooks) AfterSubspaceSectionDeleted ¶
func (h MultiSubspacesHooks) AfterSubspaceSectionDeleted(ctx sdk.Context, subspaceID uint64, sectionID uint32)
AfterSubspaceSectionDeleted implements SubspacesHooks
func (MultiSubspacesHooks) AfterSubspaceSectionSaved ¶
func (h MultiSubspacesHooks) AfterSubspaceSectionSaved(ctx sdk.Context, subspaceID uint64, sectionID uint32)
AfterSubspaceSectionSaved implements SubspacesHooks
func (MultiSubspacesHooks) AfterUserPermissionRemoved ¶
func (h MultiSubspacesHooks) AfterUserPermissionRemoved(ctx sdk.Context, subspaceID uint64, sectionID uint32, user string)
AfterUserPermissionRemoved implements SubspacesHook
func (MultiSubspacesHooks) AfterUserPermissionSet ¶
func (h MultiSubspacesHooks) AfterUserPermissionSet(ctx sdk.Context, subspaceID uint64, sectionID uint32, user string, permissions Permissions)
AfterUserPermissionSet implements SubspacesHook
type Permission ¶
type Permission = string
Permission represents a permission that can be set to a user or user group
func NewPermission ¶
func NewPermission(permissionName string) Permission
NewPermission returns a new Permission containing the given value
func RegisterPermission ¶
func RegisterPermission(permissionName string) Permission
RegisterPermission registers the permissions with the given name and returns its value
type PermissionDetail ¶
type PermissionDetail struct { // Id of the subspace for which this permission is valid SubspaceId uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty"` // Id of the section for which this permission is valid SectionId uint32 `protobuf:"varint,2,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty"` // sum is the oneof that specifies whether this represents a user or // group permission detail // // Types that are valid to be assigned to Sum: // // *PermissionDetail_User_ // *PermissionDetail_Group_ Sum isPermissionDetail_Sum `protobuf_oneof:"sum"` }
PermissionDetail contains the details data of a permission
func NewPermissionDetailGroup ¶
func NewPermissionDetailGroup(subspaceID uint64, sectionID uint32, groupID uint32, permissions Permissions) PermissionDetail
NewPermissionDetailGroup returns a new PermissionDetail for the user with the given id and permission value
func NewPermissionDetailUser ¶
func NewPermissionDetailUser(subspaceID uint64, sectionID uint32, user string, permissions Permissions) PermissionDetail
NewPermissionDetailUser returns a new PermissionDetail for the user with the given address and permission value
func (*PermissionDetail) Descriptor ¶
func (*PermissionDetail) Descriptor() ([]byte, []int)
func (*PermissionDetail) Equal ¶
func (this *PermissionDetail) Equal(that interface{}) bool
func (*PermissionDetail) GetGroup ¶
func (m *PermissionDetail) GetGroup() *PermissionDetail_Group
func (*PermissionDetail) GetSum ¶
func (m *PermissionDetail) GetSum() isPermissionDetail_Sum
func (*PermissionDetail) GetUser ¶
func (m *PermissionDetail) GetUser() *PermissionDetail_User
func (*PermissionDetail) Marshal ¶
func (m *PermissionDetail) Marshal() (dAtA []byte, err error)
func (*PermissionDetail) MarshalToSizedBuffer ¶
func (m *PermissionDetail) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PermissionDetail) ProtoMessage ¶
func (*PermissionDetail) ProtoMessage()
func (*PermissionDetail) Reset ¶
func (m *PermissionDetail) Reset()
func (*PermissionDetail) Size ¶
func (m *PermissionDetail) Size() (n int)
func (*PermissionDetail) String ¶
func (m *PermissionDetail) String() string
func (*PermissionDetail) Unmarshal ¶
func (m *PermissionDetail) Unmarshal(dAtA []byte) error
func (*PermissionDetail) XXX_DiscardUnknown ¶
func (m *PermissionDetail) XXX_DiscardUnknown()
func (*PermissionDetail) XXX_Marshal ¶
func (m *PermissionDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PermissionDetail) XXX_Merge ¶
func (m *PermissionDetail) XXX_Merge(src proto.Message)
func (*PermissionDetail) XXX_OneofWrappers ¶
func (*PermissionDetail) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*PermissionDetail) XXX_Size ¶
func (m *PermissionDetail) XXX_Size() int
func (*PermissionDetail) XXX_Unmarshal ¶
func (m *PermissionDetail) XXX_Unmarshal(b []byte) error
type PermissionDetail_Group ¶
type PermissionDetail_Group struct { // Unique id of the group GroupID uint32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty" yaml:"group_id"` // Permissions set to the group Permission []string `protobuf:"bytes,2,rep,name=permission,proto3" json:"permission,omitempty"` }
Group is a permission that has been set to a user group
func (*PermissionDetail_Group) Descriptor ¶
func (*PermissionDetail_Group) Descriptor() ([]byte, []int)
func (*PermissionDetail_Group) Equal ¶
func (this *PermissionDetail_Group) Equal(that interface{}) bool
func (*PermissionDetail_Group) Marshal ¶
func (m *PermissionDetail_Group) Marshal() (dAtA []byte, err error)
func (*PermissionDetail_Group) MarshalTo ¶
func (m *PermissionDetail_Group) MarshalTo(dAtA []byte) (int, error)
func (*PermissionDetail_Group) MarshalToSizedBuffer ¶
func (m *PermissionDetail_Group) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PermissionDetail_Group) ProtoMessage ¶
func (*PermissionDetail_Group) ProtoMessage()
func (*PermissionDetail_Group) Reset ¶
func (m *PermissionDetail_Group) Reset()
func (*PermissionDetail_Group) Size ¶
func (m *PermissionDetail_Group) Size() (n int)
func (*PermissionDetail_Group) String ¶
func (m *PermissionDetail_Group) String() string
func (*PermissionDetail_Group) Unmarshal ¶
func (m *PermissionDetail_Group) Unmarshal(dAtA []byte) error
func (*PermissionDetail_Group) XXX_DiscardUnknown ¶
func (m *PermissionDetail_Group) XXX_DiscardUnknown()
func (*PermissionDetail_Group) XXX_Marshal ¶
func (m *PermissionDetail_Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PermissionDetail_Group) XXX_Merge ¶
func (m *PermissionDetail_Group) XXX_Merge(src proto.Message)
func (*PermissionDetail_Group) XXX_Size ¶
func (m *PermissionDetail_Group) XXX_Size() int
func (*PermissionDetail_Group) XXX_Unmarshal ¶
func (m *PermissionDetail_Group) XXX_Unmarshal(b []byte) error
type PermissionDetail_Group_ ¶
type PermissionDetail_Group_ struct {
Group *PermissionDetail_Group `protobuf:"bytes,4,opt,name=group,proto3,oneof" json:"group,omitempty"`
}
func (*PermissionDetail_Group_) Equal ¶
func (this *PermissionDetail_Group_) Equal(that interface{}) bool
func (*PermissionDetail_Group_) MarshalTo ¶
func (m *PermissionDetail_Group_) MarshalTo(dAtA []byte) (int, error)
func (*PermissionDetail_Group_) MarshalToSizedBuffer ¶
func (m *PermissionDetail_Group_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PermissionDetail_Group_) Size ¶
func (m *PermissionDetail_Group_) Size() (n int)
type PermissionDetail_User ¶
type PermissionDetail_User struct { // User for which the permission was set User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" yaml:"user"` // Permissions set to the user Permission []string `protobuf:"bytes,2,rep,name=permission,proto3" json:"permission,omitempty" yaml:"permission"` }
User is a permission that has been set to a specific user
func (*PermissionDetail_User) Descriptor ¶
func (*PermissionDetail_User) Descriptor() ([]byte, []int)
func (*PermissionDetail_User) Equal ¶
func (this *PermissionDetail_User) Equal(that interface{}) bool
func (*PermissionDetail_User) Marshal ¶
func (m *PermissionDetail_User) Marshal() (dAtA []byte, err error)
func (*PermissionDetail_User) MarshalTo ¶
func (m *PermissionDetail_User) MarshalTo(dAtA []byte) (int, error)
func (*PermissionDetail_User) MarshalToSizedBuffer ¶
func (m *PermissionDetail_User) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PermissionDetail_User) ProtoMessage ¶
func (*PermissionDetail_User) ProtoMessage()
func (*PermissionDetail_User) Reset ¶
func (m *PermissionDetail_User) Reset()
func (*PermissionDetail_User) Size ¶
func (m *PermissionDetail_User) Size() (n int)
func (*PermissionDetail_User) String ¶
func (m *PermissionDetail_User) String() string
func (*PermissionDetail_User) Unmarshal ¶
func (m *PermissionDetail_User) Unmarshal(dAtA []byte) error
func (*PermissionDetail_User) XXX_DiscardUnknown ¶
func (m *PermissionDetail_User) XXX_DiscardUnknown()
func (*PermissionDetail_User) XXX_Marshal ¶
func (m *PermissionDetail_User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PermissionDetail_User) XXX_Merge ¶
func (m *PermissionDetail_User) XXX_Merge(src proto.Message)
func (*PermissionDetail_User) XXX_Size ¶
func (m *PermissionDetail_User) XXX_Size() int
func (*PermissionDetail_User) XXX_Unmarshal ¶
func (m *PermissionDetail_User) XXX_Unmarshal(b []byte) error
type PermissionDetail_User_ ¶
type PermissionDetail_User_ struct {
User *PermissionDetail_User `protobuf:"bytes,3,opt,name=user,proto3,oneof" json:"user,omitempty"`
}
func (*PermissionDetail_User_) Equal ¶
func (this *PermissionDetail_User_) Equal(that interface{}) bool
func (*PermissionDetail_User_) MarshalTo ¶
func (m *PermissionDetail_User_) MarshalTo(dAtA []byte) (int, error)
func (*PermissionDetail_User_) MarshalToSizedBuffer ¶
func (m *PermissionDetail_User_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PermissionDetail_User_) Size ¶
func (m *PermissionDetail_User_) Size() (n int)
type Permissions ¶
type Permissions []Permission
func CombinePermissions ¶
func CombinePermissions(permissions ...Permission) Permissions
CombinePermissions combines all the given permissions into a single Permission object using the OR operator
func NewPermissions ¶
func NewPermissions(permissions ...Permission) Permissions
NewPermissions allows to build a new Permissions instance
func SanitizePermissions ¶
func SanitizePermissions(permissions Permissions) (sanitized Permissions)
SanitizePermissions sanitizes the given permissions to remove any duplicate
func (Permissions) Equals ¶
func (p Permissions) Equals(other Permissions) bool
Equals returns true iff the given permissions slice is equals to this one
type QueryClient ¶
type QueryClient interface { // Subspaces queries all the subspaces inside Desmos Subspaces(ctx context.Context, in *QuerySubspacesRequest, opts ...grpc.CallOption) (*QuerySubspacesResponse, error) // Subspace queries all the information about the subspace with the given id Subspace(ctx context.Context, in *QuerySubspaceRequest, opts ...grpc.CallOption) (*QuerySubspaceResponse, error) // Sections allows to query for the sections of a specific subspace Sections(ctx context.Context, in *QuerySectionsRequest, opts ...grpc.CallOption) (*QuerySectionsResponse, error) // Section queries all the information about the section with the given id Section(ctx context.Context, in *QuerySectionRequest, opts ...grpc.CallOption) (*QuerySectionResponse, error) // UserGroups queries all the groups that are present inside the subspace with // the given id UserGroups(ctx context.Context, in *QueryUserGroupsRequest, opts ...grpc.CallOption) (*QueryUserGroupsResponse, error) // UserGroup queries the user group having the given id inside the specific // subspace UserGroup(ctx context.Context, in *QueryUserGroupRequest, opts ...grpc.CallOption) (*QueryUserGroupResponse, error) // UserGroupMembers queries all the members of a given user group UserGroupMembers(ctx context.Context, in *QueryUserGroupMembersRequest, opts ...grpc.CallOption) (*QueryUserGroupMembersResponse, error) // UserPermissions queries the permissions for the given user UserPermissions(ctx context.Context, in *QueryUserPermissionsRequest, opts ...grpc.CallOption) (*QueryUserPermissionsResponse, error) // UserAllowances returns all the grants for users. UserAllowances(ctx context.Context, in *QueryUserAllowancesRequest, opts ...grpc.CallOption) (*QueryUserAllowancesResponse, error) // GroupAllowances returns all the grants for groups. GroupAllowances(ctx context.Context, in *QueryGroupAllowancesRequest, opts ...grpc.CallOption) (*QueryGroupAllowancesResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryGroupAllowancesRequest ¶
type QueryGroupAllowancesRequest struct { // Id of the subspace for which to get the grant(s) SubspaceId uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // (optional) Address of the user group that was granted the allowance(s) GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty" yaml:"group_id"` // pagination defines an pagination for the request Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryGroupAllowancesRequest is the request type for the Query/GroupAllowances RPC method
func NewQueryGroupAllowancesRequest ¶
func NewQueryGroupAllowancesRequest(subspaceID uint64, groupID uint32, pagination *query.PageRequest) *QueryGroupAllowancesRequest
NewQueryGroupAllowancesRequest returns a new QueryGroupAllowancesRequest instance
func (*QueryGroupAllowancesRequest) Descriptor ¶
func (*QueryGroupAllowancesRequest) Descriptor() ([]byte, []int)
func (*QueryGroupAllowancesRequest) Marshal ¶
func (m *QueryGroupAllowancesRequest) Marshal() (dAtA []byte, err error)
func (*QueryGroupAllowancesRequest) MarshalTo ¶
func (m *QueryGroupAllowancesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupAllowancesRequest) MarshalToSizedBuffer ¶
func (m *QueryGroupAllowancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupAllowancesRequest) ProtoMessage ¶
func (*QueryGroupAllowancesRequest) ProtoMessage()
func (*QueryGroupAllowancesRequest) Reset ¶
func (m *QueryGroupAllowancesRequest) Reset()
func (*QueryGroupAllowancesRequest) Size ¶
func (m *QueryGroupAllowancesRequest) Size() (n int)
func (*QueryGroupAllowancesRequest) String ¶
func (m *QueryGroupAllowancesRequest) String() string
func (*QueryGroupAllowancesRequest) Unmarshal ¶
func (m *QueryGroupAllowancesRequest) Unmarshal(dAtA []byte) error
func (*QueryGroupAllowancesRequest) XXX_DiscardUnknown ¶
func (m *QueryGroupAllowancesRequest) XXX_DiscardUnknown()
func (*QueryGroupAllowancesRequest) XXX_Marshal ¶
func (m *QueryGroupAllowancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupAllowancesRequest) XXX_Merge ¶
func (m *QueryGroupAllowancesRequest) XXX_Merge(src proto.Message)
func (*QueryGroupAllowancesRequest) XXX_Size ¶
func (m *QueryGroupAllowancesRequest) XXX_Size() int
func (*QueryGroupAllowancesRequest) XXX_Unmarshal ¶
func (m *QueryGroupAllowancesRequest) XXX_Unmarshal(b []byte) error
type QueryGroupAllowancesResponse ¶
type QueryGroupAllowancesResponse struct { Grants []Grant `protobuf:"bytes,1,rep,name=grants,proto3" json:"grants" yaml:"grants"` // pagination defines an pagination for the response Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryGroupAllowancesResponse is the response type for the Query/GroupAllowances RPC method
func (*QueryGroupAllowancesResponse) Descriptor ¶
func (*QueryGroupAllowancesResponse) Descriptor() ([]byte, []int)
func (*QueryGroupAllowancesResponse) GetGrants ¶
func (m *QueryGroupAllowancesResponse) GetGrants() []Grant
func (*QueryGroupAllowancesResponse) GetPagination ¶
func (m *QueryGroupAllowancesResponse) GetPagination() *query.PageResponse
func (*QueryGroupAllowancesResponse) Marshal ¶
func (m *QueryGroupAllowancesResponse) Marshal() (dAtA []byte, err error)
func (*QueryGroupAllowancesResponse) MarshalTo ¶
func (m *QueryGroupAllowancesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupAllowancesResponse) MarshalToSizedBuffer ¶
func (m *QueryGroupAllowancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupAllowancesResponse) ProtoMessage ¶
func (*QueryGroupAllowancesResponse) ProtoMessage()
func (*QueryGroupAllowancesResponse) Reset ¶
func (m *QueryGroupAllowancesResponse) Reset()
func (*QueryGroupAllowancesResponse) Size ¶
func (m *QueryGroupAllowancesResponse) Size() (n int)
func (*QueryGroupAllowancesResponse) String ¶
func (m *QueryGroupAllowancesResponse) String() string
func (*QueryGroupAllowancesResponse) Unmarshal ¶
func (m *QueryGroupAllowancesResponse) Unmarshal(dAtA []byte) error
func (*QueryGroupAllowancesResponse) UnpackInterfaces ¶
func (r *QueryGroupAllowancesResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements codectypes.UnpackInterfacesMessage
func (*QueryGroupAllowancesResponse) XXX_DiscardUnknown ¶
func (m *QueryGroupAllowancesResponse) XXX_DiscardUnknown()
func (*QueryGroupAllowancesResponse) XXX_Marshal ¶
func (m *QueryGroupAllowancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupAllowancesResponse) XXX_Merge ¶
func (m *QueryGroupAllowancesResponse) XXX_Merge(src proto.Message)
func (*QueryGroupAllowancesResponse) XXX_Size ¶
func (m *QueryGroupAllowancesResponse) XXX_Size() int
func (*QueryGroupAllowancesResponse) XXX_Unmarshal ¶
func (m *QueryGroupAllowancesResponse) XXX_Unmarshal(b []byte) error
type QuerySectionRequest ¶
type QuerySectionRequest struct { // Id of the subspace inside which to search for SubspaceId uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty"` // Id of the searched section SectionId uint32 `protobuf:"varint,2,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty"` }
QuerySectionRequest is the request type for Query/Section RPC method
func NewQuerySectionRequest ¶
func NewQuerySectionRequest(subspaceID uint64, sectionID uint32) *QuerySectionRequest
NewQuerySectionRequest returns a new QuerySectionRequest instance
func (*QuerySectionRequest) Descriptor ¶
func (*QuerySectionRequest) Descriptor() ([]byte, []int)
func (*QuerySectionRequest) GetSectionId ¶
func (m *QuerySectionRequest) GetSectionId() uint32
func (*QuerySectionRequest) GetSubspaceId ¶
func (m *QuerySectionRequest) GetSubspaceId() uint64
func (*QuerySectionRequest) Marshal ¶
func (m *QuerySectionRequest) Marshal() (dAtA []byte, err error)
func (*QuerySectionRequest) MarshalTo ¶
func (m *QuerySectionRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySectionRequest) MarshalToSizedBuffer ¶
func (m *QuerySectionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySectionRequest) ProtoMessage ¶
func (*QuerySectionRequest) ProtoMessage()
func (*QuerySectionRequest) Reset ¶
func (m *QuerySectionRequest) Reset()
func (*QuerySectionRequest) Size ¶
func (m *QuerySectionRequest) Size() (n int)
func (*QuerySectionRequest) String ¶
func (m *QuerySectionRequest) String() string
func (*QuerySectionRequest) Unmarshal ¶
func (m *QuerySectionRequest) Unmarshal(dAtA []byte) error
func (*QuerySectionRequest) XXX_DiscardUnknown ¶
func (m *QuerySectionRequest) XXX_DiscardUnknown()
func (*QuerySectionRequest) XXX_Marshal ¶
func (m *QuerySectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySectionRequest) XXX_Merge ¶
func (m *QuerySectionRequest) XXX_Merge(src proto.Message)
func (*QuerySectionRequest) XXX_Size ¶
func (m *QuerySectionRequest) XXX_Size() int
func (*QuerySectionRequest) XXX_Unmarshal ¶
func (m *QuerySectionRequest) XXX_Unmarshal(b []byte) error
type QuerySectionResponse ¶
type QuerySectionResponse struct {
Section Section `protobuf:"bytes,1,opt,name=section,proto3" json:"section"`
}
QuerySectionResponse is the response type for Query/Section RPC method
func (*QuerySectionResponse) Descriptor ¶
func (*QuerySectionResponse) Descriptor() ([]byte, []int)
func (*QuerySectionResponse) GetSection ¶
func (m *QuerySectionResponse) GetSection() Section
func (*QuerySectionResponse) Marshal ¶
func (m *QuerySectionResponse) Marshal() (dAtA []byte, err error)
func (*QuerySectionResponse) MarshalTo ¶
func (m *QuerySectionResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySectionResponse) MarshalToSizedBuffer ¶
func (m *QuerySectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySectionResponse) ProtoMessage ¶
func (*QuerySectionResponse) ProtoMessage()
func (*QuerySectionResponse) Reset ¶
func (m *QuerySectionResponse) Reset()
func (*QuerySectionResponse) Size ¶
func (m *QuerySectionResponse) Size() (n int)
func (*QuerySectionResponse) String ¶
func (m *QuerySectionResponse) String() string
func (*QuerySectionResponse) Unmarshal ¶
func (m *QuerySectionResponse) Unmarshal(dAtA []byte) error
func (*QuerySectionResponse) XXX_DiscardUnknown ¶
func (m *QuerySectionResponse) XXX_DiscardUnknown()
func (*QuerySectionResponse) XXX_Marshal ¶
func (m *QuerySectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySectionResponse) XXX_Merge ¶
func (m *QuerySectionResponse) XXX_Merge(src proto.Message)
func (*QuerySectionResponse) XXX_Size ¶
func (m *QuerySectionResponse) XXX_Size() int
func (*QuerySectionResponse) XXX_Unmarshal ¶
func (m *QuerySectionResponse) XXX_Unmarshal(b []byte) error
type QuerySectionsRequest ¶
type QuerySectionsRequest struct { // Id of the subspace to query the sections for SubspaceId uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QuerySectionsRequest is the request type for Query/Sections RPC method
func NewQuerySectionsRequest ¶
func NewQuerySectionsRequest(subspaceID uint64, pagination *query.PageRequest) *QuerySectionsRequest
NewQuerySectionsRequest returns a new QuerySectionsRequest instance
func (*QuerySectionsRequest) Descriptor ¶
func (*QuerySectionsRequest) Descriptor() ([]byte, []int)
func (*QuerySectionsRequest) GetPagination ¶
func (m *QuerySectionsRequest) GetPagination() *query.PageRequest
func (*QuerySectionsRequest) GetSubspaceId ¶
func (m *QuerySectionsRequest) GetSubspaceId() uint64
func (*QuerySectionsRequest) Marshal ¶
func (m *QuerySectionsRequest) Marshal() (dAtA []byte, err error)
func (*QuerySectionsRequest) MarshalTo ¶
func (m *QuerySectionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySectionsRequest) MarshalToSizedBuffer ¶
func (m *QuerySectionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySectionsRequest) ProtoMessage ¶
func (*QuerySectionsRequest) ProtoMessage()
func (*QuerySectionsRequest) Reset ¶
func (m *QuerySectionsRequest) Reset()
func (*QuerySectionsRequest) Size ¶
func (m *QuerySectionsRequest) Size() (n int)
func (*QuerySectionsRequest) String ¶
func (m *QuerySectionsRequest) String() string
func (*QuerySectionsRequest) Unmarshal ¶
func (m *QuerySectionsRequest) Unmarshal(dAtA []byte) error
func (*QuerySectionsRequest) XXX_DiscardUnknown ¶
func (m *QuerySectionsRequest) XXX_DiscardUnknown()
func (*QuerySectionsRequest) XXX_Marshal ¶
func (m *QuerySectionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySectionsRequest) XXX_Merge ¶
func (m *QuerySectionsRequest) XXX_Merge(src proto.Message)
func (*QuerySectionsRequest) XXX_Size ¶
func (m *QuerySectionsRequest) XXX_Size() int
func (*QuerySectionsRequest) XXX_Unmarshal ¶
func (m *QuerySectionsRequest) XXX_Unmarshal(b []byte) error
type QuerySectionsResponse ¶
type QuerySectionsResponse struct { Sections []Section `protobuf:"bytes,1,rep,name=sections,proto3" json:"sections"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QuerySectionsResponse is the response type for Query/Sections RPC method
func (*QuerySectionsResponse) Descriptor ¶
func (*QuerySectionsResponse) Descriptor() ([]byte, []int)
func (*QuerySectionsResponse) GetPagination ¶
func (m *QuerySectionsResponse) GetPagination() *query.PageResponse
func (*QuerySectionsResponse) GetSections ¶
func (m *QuerySectionsResponse) GetSections() []Section
func (*QuerySectionsResponse) Marshal ¶
func (m *QuerySectionsResponse) Marshal() (dAtA []byte, err error)
func (*QuerySectionsResponse) MarshalTo ¶
func (m *QuerySectionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySectionsResponse) MarshalToSizedBuffer ¶
func (m *QuerySectionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySectionsResponse) ProtoMessage ¶
func (*QuerySectionsResponse) ProtoMessage()
func (*QuerySectionsResponse) Reset ¶
func (m *QuerySectionsResponse) Reset()
func (*QuerySectionsResponse) Size ¶
func (m *QuerySectionsResponse) Size() (n int)
func (*QuerySectionsResponse) String ¶
func (m *QuerySectionsResponse) String() string
func (*QuerySectionsResponse) Unmarshal ¶
func (m *QuerySectionsResponse) Unmarshal(dAtA []byte) error
func (*QuerySectionsResponse) XXX_DiscardUnknown ¶
func (m *QuerySectionsResponse) XXX_DiscardUnknown()
func (*QuerySectionsResponse) XXX_Marshal ¶
func (m *QuerySectionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySectionsResponse) XXX_Merge ¶
func (m *QuerySectionsResponse) XXX_Merge(src proto.Message)
func (*QuerySectionsResponse) XXX_Size ¶
func (m *QuerySectionsResponse) XXX_Size() int
func (*QuerySectionsResponse) XXX_Unmarshal ¶
func (m *QuerySectionsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Subspaces queries all the subspaces inside Desmos Subspaces(context.Context, *QuerySubspacesRequest) (*QuerySubspacesResponse, error) // Subspace queries all the information about the subspace with the given id Subspace(context.Context, *QuerySubspaceRequest) (*QuerySubspaceResponse, error) // Sections allows to query for the sections of a specific subspace Sections(context.Context, *QuerySectionsRequest) (*QuerySectionsResponse, error) // Section queries all the information about the section with the given id Section(context.Context, *QuerySectionRequest) (*QuerySectionResponse, error) // UserGroups queries all the groups that are present inside the subspace with // the given id UserGroups(context.Context, *QueryUserGroupsRequest) (*QueryUserGroupsResponse, error) // UserGroup queries the user group having the given id inside the specific // subspace UserGroup(context.Context, *QueryUserGroupRequest) (*QueryUserGroupResponse, error) // UserGroupMembers queries all the members of a given user group UserGroupMembers(context.Context, *QueryUserGroupMembersRequest) (*QueryUserGroupMembersResponse, error) // UserPermissions queries the permissions for the given user UserPermissions(context.Context, *QueryUserPermissionsRequest) (*QueryUserPermissionsResponse, error) // UserAllowances returns all the grants for users. UserAllowances(context.Context, *QueryUserAllowancesRequest) (*QueryUserAllowancesResponse, error) // GroupAllowances returns all the grants for groups. GroupAllowances(context.Context, *QueryGroupAllowancesRequest) (*QueryGroupAllowancesResponse, error) }
QueryServer is the server API for Query service.
type QuerySubspaceRequest ¶
type QuerySubspaceRequest struct { // Id of the subspace to query SubspaceId uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` }
QuerySubspace is the request type for the Query/Subspace RPC method
func NewQuerySubspaceRequest ¶
func NewQuerySubspaceRequest(subspaceID uint64) *QuerySubspaceRequest
NewQuerySubspaceRequest returns a new QuerySubspaceRequest instance
func (*QuerySubspaceRequest) Descriptor ¶
func (*QuerySubspaceRequest) Descriptor() ([]byte, []int)
func (*QuerySubspaceRequest) Marshal ¶
func (m *QuerySubspaceRequest) Marshal() (dAtA []byte, err error)
func (*QuerySubspaceRequest) MarshalTo ¶
func (m *QuerySubspaceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySubspaceRequest) MarshalToSizedBuffer ¶
func (m *QuerySubspaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySubspaceRequest) ProtoMessage ¶
func (*QuerySubspaceRequest) ProtoMessage()
func (*QuerySubspaceRequest) Reset ¶
func (m *QuerySubspaceRequest) Reset()
func (*QuerySubspaceRequest) Size ¶
func (m *QuerySubspaceRequest) Size() (n int)
func (*QuerySubspaceRequest) String ¶
func (m *QuerySubspaceRequest) String() string
func (*QuerySubspaceRequest) Unmarshal ¶
func (m *QuerySubspaceRequest) Unmarshal(dAtA []byte) error
func (*QuerySubspaceRequest) XXX_DiscardUnknown ¶
func (m *QuerySubspaceRequest) XXX_DiscardUnknown()
func (*QuerySubspaceRequest) XXX_Marshal ¶
func (m *QuerySubspaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySubspaceRequest) XXX_Merge ¶
func (m *QuerySubspaceRequest) XXX_Merge(src proto.Message)
func (*QuerySubspaceRequest) XXX_Size ¶
func (m *QuerySubspaceRequest) XXX_Size() int
func (*QuerySubspaceRequest) XXX_Unmarshal ¶
func (m *QuerySubspaceRequest) XXX_Unmarshal(b []byte) error
type QuerySubspaceResponse ¶
type QuerySubspaceResponse struct {
Subspace Subspace `protobuf:"bytes,1,opt,name=subspace,proto3" json:"subspace"`
}
QuerySubspaceResponse is the response type for the Query/Subspace method
func (*QuerySubspaceResponse) Descriptor ¶
func (*QuerySubspaceResponse) Descriptor() ([]byte, []int)
func (*QuerySubspaceResponse) GetSubspace ¶
func (m *QuerySubspaceResponse) GetSubspace() Subspace
func (*QuerySubspaceResponse) Marshal ¶
func (m *QuerySubspaceResponse) Marshal() (dAtA []byte, err error)
func (*QuerySubspaceResponse) MarshalTo ¶
func (m *QuerySubspaceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySubspaceResponse) MarshalToSizedBuffer ¶
func (m *QuerySubspaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySubspaceResponse) ProtoMessage ¶
func (*QuerySubspaceResponse) ProtoMessage()
func (*QuerySubspaceResponse) Reset ¶
func (m *QuerySubspaceResponse) Reset()
func (*QuerySubspaceResponse) Size ¶
func (m *QuerySubspaceResponse) Size() (n int)
func (*QuerySubspaceResponse) String ¶
func (m *QuerySubspaceResponse) String() string
func (*QuerySubspaceResponse) Unmarshal ¶
func (m *QuerySubspaceResponse) Unmarshal(dAtA []byte) error
func (*QuerySubspaceResponse) XXX_DiscardUnknown ¶
func (m *QuerySubspaceResponse) XXX_DiscardUnknown()
func (*QuerySubspaceResponse) XXX_Marshal ¶
func (m *QuerySubspaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySubspaceResponse) XXX_Merge ¶
func (m *QuerySubspaceResponse) XXX_Merge(src proto.Message)
func (*QuerySubspaceResponse) XXX_Size ¶
func (m *QuerySubspaceResponse) XXX_Size() int
func (*QuerySubspaceResponse) XXX_Unmarshal ¶
func (m *QuerySubspaceResponse) XXX_Unmarshal(b []byte) error
type QuerySubspacesRequest ¶
type QuerySubspacesRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QuerySubspacesRequest is the request type for the Query/Subspaces RPC method
func NewQuerySubspacesRequest ¶
func NewQuerySubspacesRequest(pagination *query.PageRequest) *QuerySubspacesRequest
NewQuerySubspacesRequest returns a new QuerySubspacesRequest instance
func (*QuerySubspacesRequest) Descriptor ¶
func (*QuerySubspacesRequest) Descriptor() ([]byte, []int)
func (*QuerySubspacesRequest) GetPagination ¶
func (m *QuerySubspacesRequest) GetPagination() *query.PageRequest
func (*QuerySubspacesRequest) Marshal ¶
func (m *QuerySubspacesRequest) Marshal() (dAtA []byte, err error)
func (*QuerySubspacesRequest) MarshalTo ¶
func (m *QuerySubspacesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySubspacesRequest) MarshalToSizedBuffer ¶
func (m *QuerySubspacesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySubspacesRequest) ProtoMessage ¶
func (*QuerySubspacesRequest) ProtoMessage()
func (*QuerySubspacesRequest) Reset ¶
func (m *QuerySubspacesRequest) Reset()
func (*QuerySubspacesRequest) Size ¶
func (m *QuerySubspacesRequest) Size() (n int)
func (*QuerySubspacesRequest) String ¶
func (m *QuerySubspacesRequest) String() string
func (*QuerySubspacesRequest) Unmarshal ¶
func (m *QuerySubspacesRequest) Unmarshal(dAtA []byte) error
func (*QuerySubspacesRequest) XXX_DiscardUnknown ¶
func (m *QuerySubspacesRequest) XXX_DiscardUnknown()
func (*QuerySubspacesRequest) XXX_Marshal ¶
func (m *QuerySubspacesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySubspacesRequest) XXX_Merge ¶
func (m *QuerySubspacesRequest) XXX_Merge(src proto.Message)
func (*QuerySubspacesRequest) XXX_Size ¶
func (m *QuerySubspacesRequest) XXX_Size() int
func (*QuerySubspacesRequest) XXX_Unmarshal ¶
func (m *QuerySubspacesRequest) XXX_Unmarshal(b []byte) error
type QuerySubspacesResponse ¶
type QuerySubspacesResponse struct { Subspaces []Subspace `protobuf:"bytes,1,rep,name=subspaces,proto3" json:"subspaces"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QuerySubspacesResponse is the response type for the Query/Subspaces RPC method
func (*QuerySubspacesResponse) Descriptor ¶
func (*QuerySubspacesResponse) Descriptor() ([]byte, []int)
func (*QuerySubspacesResponse) GetPagination ¶
func (m *QuerySubspacesResponse) GetPagination() *query.PageResponse
func (*QuerySubspacesResponse) GetSubspaces ¶
func (m *QuerySubspacesResponse) GetSubspaces() []Subspace
func (*QuerySubspacesResponse) Marshal ¶
func (m *QuerySubspacesResponse) Marshal() (dAtA []byte, err error)
func (*QuerySubspacesResponse) MarshalTo ¶
func (m *QuerySubspacesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySubspacesResponse) MarshalToSizedBuffer ¶
func (m *QuerySubspacesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySubspacesResponse) ProtoMessage ¶
func (*QuerySubspacesResponse) ProtoMessage()
func (*QuerySubspacesResponse) Reset ¶
func (m *QuerySubspacesResponse) Reset()
func (*QuerySubspacesResponse) Size ¶
func (m *QuerySubspacesResponse) Size() (n int)
func (*QuerySubspacesResponse) String ¶
func (m *QuerySubspacesResponse) String() string
func (*QuerySubspacesResponse) Unmarshal ¶
func (m *QuerySubspacesResponse) Unmarshal(dAtA []byte) error
func (*QuerySubspacesResponse) XXX_DiscardUnknown ¶
func (m *QuerySubspacesResponse) XXX_DiscardUnknown()
func (*QuerySubspacesResponse) XXX_Marshal ¶
func (m *QuerySubspacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySubspacesResponse) XXX_Merge ¶
func (m *QuerySubspacesResponse) XXX_Merge(src proto.Message)
func (*QuerySubspacesResponse) XXX_Size ¶
func (m *QuerySubspacesResponse) XXX_Size() int
func (*QuerySubspacesResponse) XXX_Unmarshal ¶
func (m *QuerySubspacesResponse) XXX_Unmarshal(b []byte) error
type QueryUserAllowancesRequest ¶
type QueryUserAllowancesRequest struct { // Id of the subspace for which to get the grant(s) SubspaceId uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // (Optional) Address of the user that was granted an allowance Grantee string `protobuf:"bytes,2,opt,name=grantee,proto3" json:"grantee,omitempty" yaml:"grantee"` // pagination defines an pagination for the request Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryUserAllowancesRequest is the request type for the Query/UserAllowances RPC method
func NewQueryUserAllowancesRequest ¶
func NewQueryUserAllowancesRequest(subspaceID uint64, grantee string, pagination *query.PageRequest) *QueryUserAllowancesRequest
NewQueryUserAllowancesRequest returns a new QueryUserAllowancesRequest instance
func (*QueryUserAllowancesRequest) Descriptor ¶
func (*QueryUserAllowancesRequest) Descriptor() ([]byte, []int)
func (*QueryUserAllowancesRequest) Marshal ¶
func (m *QueryUserAllowancesRequest) Marshal() (dAtA []byte, err error)
func (*QueryUserAllowancesRequest) MarshalTo ¶
func (m *QueryUserAllowancesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserAllowancesRequest) MarshalToSizedBuffer ¶
func (m *QueryUserAllowancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserAllowancesRequest) ProtoMessage ¶
func (*QueryUserAllowancesRequest) ProtoMessage()
func (*QueryUserAllowancesRequest) Reset ¶
func (m *QueryUserAllowancesRequest) Reset()
func (*QueryUserAllowancesRequest) Size ¶
func (m *QueryUserAllowancesRequest) Size() (n int)
func (*QueryUserAllowancesRequest) String ¶
func (m *QueryUserAllowancesRequest) String() string
func (*QueryUserAllowancesRequest) Unmarshal ¶
func (m *QueryUserAllowancesRequest) Unmarshal(dAtA []byte) error
func (*QueryUserAllowancesRequest) XXX_DiscardUnknown ¶
func (m *QueryUserAllowancesRequest) XXX_DiscardUnknown()
func (*QueryUserAllowancesRequest) XXX_Marshal ¶
func (m *QueryUserAllowancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserAllowancesRequest) XXX_Merge ¶
func (m *QueryUserAllowancesRequest) XXX_Merge(src proto.Message)
func (*QueryUserAllowancesRequest) XXX_Size ¶
func (m *QueryUserAllowancesRequest) XXX_Size() int
func (*QueryUserAllowancesRequest) XXX_Unmarshal ¶
func (m *QueryUserAllowancesRequest) XXX_Unmarshal(b []byte) error
type QueryUserAllowancesResponse ¶
type QueryUserAllowancesResponse struct { Grants []Grant `protobuf:"bytes,1,rep,name=grants,proto3" json:"grants" yaml:"grants"` // pagination defines an pagination for the response Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryUserAllowancesResponse is the response type for the Query/UserAllowances RPC method
func (*QueryUserAllowancesResponse) Descriptor ¶
func (*QueryUserAllowancesResponse) Descriptor() ([]byte, []int)
func (*QueryUserAllowancesResponse) GetGrants ¶
func (m *QueryUserAllowancesResponse) GetGrants() []Grant
func (*QueryUserAllowancesResponse) GetPagination ¶
func (m *QueryUserAllowancesResponse) GetPagination() *query.PageResponse
func (*QueryUserAllowancesResponse) Marshal ¶
func (m *QueryUserAllowancesResponse) Marshal() (dAtA []byte, err error)
func (*QueryUserAllowancesResponse) MarshalTo ¶
func (m *QueryUserAllowancesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserAllowancesResponse) MarshalToSizedBuffer ¶
func (m *QueryUserAllowancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserAllowancesResponse) ProtoMessage ¶
func (*QueryUserAllowancesResponse) ProtoMessage()
func (*QueryUserAllowancesResponse) Reset ¶
func (m *QueryUserAllowancesResponse) Reset()
func (*QueryUserAllowancesResponse) Size ¶
func (m *QueryUserAllowancesResponse) Size() (n int)
func (*QueryUserAllowancesResponse) String ¶
func (m *QueryUserAllowancesResponse) String() string
func (*QueryUserAllowancesResponse) Unmarshal ¶
func (m *QueryUserAllowancesResponse) Unmarshal(dAtA []byte) error
func (*QueryUserAllowancesResponse) UnpackInterfaces ¶
func (r *QueryUserAllowancesResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements codectypes.UnpackInterfacesMessage
func (*QueryUserAllowancesResponse) XXX_DiscardUnknown ¶
func (m *QueryUserAllowancesResponse) XXX_DiscardUnknown()
func (*QueryUserAllowancesResponse) XXX_Marshal ¶
func (m *QueryUserAllowancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserAllowancesResponse) XXX_Merge ¶
func (m *QueryUserAllowancesResponse) XXX_Merge(src proto.Message)
func (*QueryUserAllowancesResponse) XXX_Size ¶
func (m *QueryUserAllowancesResponse) XXX_Size() int
func (*QueryUserAllowancesResponse) XXX_Unmarshal ¶
func (m *QueryUserAllowancesResponse) XXX_Unmarshal(b []byte) error
type QueryUserGroupMembersRequest ¶
type QueryUserGroupMembersRequest struct { // Id of the subspace that contains the group SubspaceId uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Id of the user group to query the members for GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty" yaml:"group_id"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryUserGroupMembersRequest is the request type for the Query/UserGroupMembers RPC method
func NewQueryUserGroupMembersRequest ¶
func NewQueryUserGroupMembersRequest( subspaceID uint64, groupID uint32, pagination *query.PageRequest, ) *QueryUserGroupMembersRequest
NewQueryUserGroupMembersRequest returns a new QueryUserGroupMembersRequest instance
func (*QueryUserGroupMembersRequest) Descriptor ¶
func (*QueryUserGroupMembersRequest) Descriptor() ([]byte, []int)
func (*QueryUserGroupMembersRequest) GetGroupId ¶
func (m *QueryUserGroupMembersRequest) GetGroupId() uint32
func (*QueryUserGroupMembersRequest) GetPagination ¶
func (m *QueryUserGroupMembersRequest) GetPagination() *query.PageRequest
func (*QueryUserGroupMembersRequest) GetSubspaceId ¶
func (m *QueryUserGroupMembersRequest) GetSubspaceId() uint64
func (*QueryUserGroupMembersRequest) Marshal ¶
func (m *QueryUserGroupMembersRequest) Marshal() (dAtA []byte, err error)
func (*QueryUserGroupMembersRequest) MarshalTo ¶
func (m *QueryUserGroupMembersRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserGroupMembersRequest) MarshalToSizedBuffer ¶
func (m *QueryUserGroupMembersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserGroupMembersRequest) ProtoMessage ¶
func (*QueryUserGroupMembersRequest) ProtoMessage()
func (*QueryUserGroupMembersRequest) Reset ¶
func (m *QueryUserGroupMembersRequest) Reset()
func (*QueryUserGroupMembersRequest) Size ¶
func (m *QueryUserGroupMembersRequest) Size() (n int)
func (*QueryUserGroupMembersRequest) String ¶
func (m *QueryUserGroupMembersRequest) String() string
func (*QueryUserGroupMembersRequest) Unmarshal ¶
func (m *QueryUserGroupMembersRequest) Unmarshal(dAtA []byte) error
func (*QueryUserGroupMembersRequest) XXX_DiscardUnknown ¶
func (m *QueryUserGroupMembersRequest) XXX_DiscardUnknown()
func (*QueryUserGroupMembersRequest) XXX_Marshal ¶
func (m *QueryUserGroupMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserGroupMembersRequest) XXX_Merge ¶
func (m *QueryUserGroupMembersRequest) XXX_Merge(src proto.Message)
func (*QueryUserGroupMembersRequest) XXX_Size ¶
func (m *QueryUserGroupMembersRequest) XXX_Size() int
func (*QueryUserGroupMembersRequest) XXX_Unmarshal ¶
func (m *QueryUserGroupMembersRequest) XXX_Unmarshal(b []byte) error
type QueryUserGroupMembersResponse ¶
type QueryUserGroupMembersResponse struct { Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryUserGroupMembersResponse is the response type for the Query/UserGroupMembers RPC method
func (*QueryUserGroupMembersResponse) Descriptor ¶
func (*QueryUserGroupMembersResponse) Descriptor() ([]byte, []int)
func (*QueryUserGroupMembersResponse) GetMembers ¶
func (m *QueryUserGroupMembersResponse) GetMembers() []string
func (*QueryUserGroupMembersResponse) GetPagination ¶
func (m *QueryUserGroupMembersResponse) GetPagination() *query.PageResponse
func (*QueryUserGroupMembersResponse) Marshal ¶
func (m *QueryUserGroupMembersResponse) Marshal() (dAtA []byte, err error)
func (*QueryUserGroupMembersResponse) MarshalTo ¶
func (m *QueryUserGroupMembersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserGroupMembersResponse) MarshalToSizedBuffer ¶
func (m *QueryUserGroupMembersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserGroupMembersResponse) ProtoMessage ¶
func (*QueryUserGroupMembersResponse) ProtoMessage()
func (*QueryUserGroupMembersResponse) Reset ¶
func (m *QueryUserGroupMembersResponse) Reset()
func (*QueryUserGroupMembersResponse) Size ¶
func (m *QueryUserGroupMembersResponse) Size() (n int)
func (*QueryUserGroupMembersResponse) String ¶
func (m *QueryUserGroupMembersResponse) String() string
func (*QueryUserGroupMembersResponse) Unmarshal ¶
func (m *QueryUserGroupMembersResponse) Unmarshal(dAtA []byte) error
func (*QueryUserGroupMembersResponse) XXX_DiscardUnknown ¶
func (m *QueryUserGroupMembersResponse) XXX_DiscardUnknown()
func (*QueryUserGroupMembersResponse) XXX_Marshal ¶
func (m *QueryUserGroupMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserGroupMembersResponse) XXX_Merge ¶
func (m *QueryUserGroupMembersResponse) XXX_Merge(src proto.Message)
func (*QueryUserGroupMembersResponse) XXX_Size ¶
func (m *QueryUserGroupMembersResponse) XXX_Size() int
func (*QueryUserGroupMembersResponse) XXX_Unmarshal ¶
func (m *QueryUserGroupMembersResponse) XXX_Unmarshal(b []byte) error
type QueryUserGroupRequest ¶
type QueryUserGroupRequest struct { // Id of the subspace that contains the group SubspaceId uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Id of the group to query GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty" yaml:"group_id"` }
QueryUserGroupRequest is the request type for the Query/UserGroup RPC method
func NewQueryUserGroupRequest ¶
func NewQueryUserGroupRequest(subspaceID uint64, groupID uint32) *QueryUserGroupRequest
NewQueryUserGroupRequest returns a new QueryUserGroupRequest instance
func (*QueryUserGroupRequest) Descriptor ¶
func (*QueryUserGroupRequest) Descriptor() ([]byte, []int)
func (*QueryUserGroupRequest) GetGroupId ¶
func (m *QueryUserGroupRequest) GetGroupId() uint32
func (*QueryUserGroupRequest) GetSubspaceId ¶
func (m *QueryUserGroupRequest) GetSubspaceId() uint64
func (*QueryUserGroupRequest) Marshal ¶
func (m *QueryUserGroupRequest) Marshal() (dAtA []byte, err error)
func (*QueryUserGroupRequest) MarshalTo ¶
func (m *QueryUserGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserGroupRequest) MarshalToSizedBuffer ¶
func (m *QueryUserGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserGroupRequest) ProtoMessage ¶
func (*QueryUserGroupRequest) ProtoMessage()
func (*QueryUserGroupRequest) Reset ¶
func (m *QueryUserGroupRequest) Reset()
func (*QueryUserGroupRequest) Size ¶
func (m *QueryUserGroupRequest) Size() (n int)
func (*QueryUserGroupRequest) String ¶
func (m *QueryUserGroupRequest) String() string
func (*QueryUserGroupRequest) Unmarshal ¶
func (m *QueryUserGroupRequest) Unmarshal(dAtA []byte) error
func (*QueryUserGroupRequest) XXX_DiscardUnknown ¶
func (m *QueryUserGroupRequest) XXX_DiscardUnknown()
func (*QueryUserGroupRequest) XXX_Marshal ¶
func (m *QueryUserGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserGroupRequest) XXX_Merge ¶
func (m *QueryUserGroupRequest) XXX_Merge(src proto.Message)
func (*QueryUserGroupRequest) XXX_Size ¶
func (m *QueryUserGroupRequest) XXX_Size() int
func (*QueryUserGroupRequest) XXX_Unmarshal ¶
func (m *QueryUserGroupRequest) XXX_Unmarshal(b []byte) error
type QueryUserGroupResponse ¶
type QueryUserGroupResponse struct {
Group UserGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
}
QueryUserGroupResponse is the response type for the Query/UserGroup RPC method
func (*QueryUserGroupResponse) Descriptor ¶
func (*QueryUserGroupResponse) Descriptor() ([]byte, []int)
func (*QueryUserGroupResponse) GetGroup ¶
func (m *QueryUserGroupResponse) GetGroup() UserGroup
func (*QueryUserGroupResponse) Marshal ¶
func (m *QueryUserGroupResponse) Marshal() (dAtA []byte, err error)
func (*QueryUserGroupResponse) MarshalTo ¶
func (m *QueryUserGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserGroupResponse) MarshalToSizedBuffer ¶
func (m *QueryUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserGroupResponse) ProtoMessage ¶
func (*QueryUserGroupResponse) ProtoMessage()
func (*QueryUserGroupResponse) Reset ¶
func (m *QueryUserGroupResponse) Reset()
func (*QueryUserGroupResponse) Size ¶
func (m *QueryUserGroupResponse) Size() (n int)
func (*QueryUserGroupResponse) String ¶
func (m *QueryUserGroupResponse) String() string
func (*QueryUserGroupResponse) Unmarshal ¶
func (m *QueryUserGroupResponse) Unmarshal(dAtA []byte) error
func (*QueryUserGroupResponse) XXX_DiscardUnknown ¶
func (m *QueryUserGroupResponse) XXX_DiscardUnknown()
func (*QueryUserGroupResponse) XXX_Marshal ¶
func (m *QueryUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserGroupResponse) XXX_Merge ¶
func (m *QueryUserGroupResponse) XXX_Merge(src proto.Message)
func (*QueryUserGroupResponse) XXX_Size ¶
func (m *QueryUserGroupResponse) XXX_Size() int
func (*QueryUserGroupResponse) XXX_Unmarshal ¶
func (m *QueryUserGroupResponse) XXX_Unmarshal(b []byte) error
type QueryUserGroupsRequest ¶
type QueryUserGroupsRequest struct { // Id of the subspace to query the groups for SubspaceId uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // (optional) Section id to query the groups for SectionId uint32 `protobuf:"varint,2,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryUserGroupsRequest is the request type for the Query/UserGroups RPC method
func NewQueryUserGroupsRequest ¶
func NewQueryUserGroupsRequest(subspaceID uint64, sectionID uint32, pagination *query.PageRequest) *QueryUserGroupsRequest
NewQueryUserGroupsRequest returns a new QueryUserGroupsRequest instance
func (*QueryUserGroupsRequest) Descriptor ¶
func (*QueryUserGroupsRequest) Descriptor() ([]byte, []int)
func (*QueryUserGroupsRequest) GetPagination ¶
func (m *QueryUserGroupsRequest) GetPagination() *query.PageRequest
func (*QueryUserGroupsRequest) GetSectionId ¶
func (m *QueryUserGroupsRequest) GetSectionId() uint32
func (*QueryUserGroupsRequest) GetSubspaceId ¶
func (m *QueryUserGroupsRequest) GetSubspaceId() uint64
func (*QueryUserGroupsRequest) Marshal ¶
func (m *QueryUserGroupsRequest) Marshal() (dAtA []byte, err error)
func (*QueryUserGroupsRequest) MarshalTo ¶
func (m *QueryUserGroupsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserGroupsRequest) MarshalToSizedBuffer ¶
func (m *QueryUserGroupsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserGroupsRequest) ProtoMessage ¶
func (*QueryUserGroupsRequest) ProtoMessage()
func (*QueryUserGroupsRequest) Reset ¶
func (m *QueryUserGroupsRequest) Reset()
func (*QueryUserGroupsRequest) Size ¶
func (m *QueryUserGroupsRequest) Size() (n int)
func (*QueryUserGroupsRequest) String ¶
func (m *QueryUserGroupsRequest) String() string
func (*QueryUserGroupsRequest) Unmarshal ¶
func (m *QueryUserGroupsRequest) Unmarshal(dAtA []byte) error
func (*QueryUserGroupsRequest) XXX_DiscardUnknown ¶
func (m *QueryUserGroupsRequest) XXX_DiscardUnknown()
func (*QueryUserGroupsRequest) XXX_Marshal ¶
func (m *QueryUserGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserGroupsRequest) XXX_Merge ¶
func (m *QueryUserGroupsRequest) XXX_Merge(src proto.Message)
func (*QueryUserGroupsRequest) XXX_Size ¶
func (m *QueryUserGroupsRequest) XXX_Size() int
func (*QueryUserGroupsRequest) XXX_Unmarshal ¶
func (m *QueryUserGroupsRequest) XXX_Unmarshal(b []byte) error
type QueryUserGroupsResponse ¶
type QueryUserGroupsResponse struct { Groups []UserGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryUserGroupsResponse is the response type for the Query/UserGroups RPC method
func (*QueryUserGroupsResponse) Descriptor ¶
func (*QueryUserGroupsResponse) Descriptor() ([]byte, []int)
func (*QueryUserGroupsResponse) GetGroups ¶
func (m *QueryUserGroupsResponse) GetGroups() []UserGroup
func (*QueryUserGroupsResponse) GetPagination ¶
func (m *QueryUserGroupsResponse) GetPagination() *query.PageResponse
func (*QueryUserGroupsResponse) Marshal ¶
func (m *QueryUserGroupsResponse) Marshal() (dAtA []byte, err error)
func (*QueryUserGroupsResponse) MarshalTo ¶
func (m *QueryUserGroupsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserGroupsResponse) MarshalToSizedBuffer ¶
func (m *QueryUserGroupsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserGroupsResponse) ProtoMessage ¶
func (*QueryUserGroupsResponse) ProtoMessage()
func (*QueryUserGroupsResponse) Reset ¶
func (m *QueryUserGroupsResponse) Reset()
func (*QueryUserGroupsResponse) Size ¶
func (m *QueryUserGroupsResponse) Size() (n int)
func (*QueryUserGroupsResponse) String ¶
func (m *QueryUserGroupsResponse) String() string
func (*QueryUserGroupsResponse) Unmarshal ¶
func (m *QueryUserGroupsResponse) Unmarshal(dAtA []byte) error
func (*QueryUserGroupsResponse) XXX_DiscardUnknown ¶
func (m *QueryUserGroupsResponse) XXX_DiscardUnknown()
func (*QueryUserGroupsResponse) XXX_Marshal ¶
func (m *QueryUserGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserGroupsResponse) XXX_Merge ¶
func (m *QueryUserGroupsResponse) XXX_Merge(src proto.Message)
func (*QueryUserGroupsResponse) XXX_Size ¶
func (m *QueryUserGroupsResponse) XXX_Size() int
func (*QueryUserGroupsResponse) XXX_Unmarshal ¶
func (m *QueryUserGroupsResponse) XXX_Unmarshal(b []byte) error
type QueryUserPermissionsRequest ¶
type QueryUserPermissionsRequest struct { // Id of the subspace to query the permissions for SubspaceId uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Id of the section to query the permissions for SectionId uint32 `protobuf:"varint,2,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty" yaml:"section_id"` // Address of the user to query the permissions for User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty" yaml:"user"` }
QueryUserPermissionsRequest is the request type for the Query/UserPermissions RPC method
func NewQueryUserPermissionsRequest ¶
func NewQueryUserPermissionsRequest(subspaceID uint64, sectionID uint32, user string) *QueryUserPermissionsRequest
NewQueryUserPermissionsRequest returns a new QueryPermissionsRequest instance
func (*QueryUserPermissionsRequest) Descriptor ¶
func (*QueryUserPermissionsRequest) Descriptor() ([]byte, []int)
func (*QueryUserPermissionsRequest) Marshal ¶
func (m *QueryUserPermissionsRequest) Marshal() (dAtA []byte, err error)
func (*QueryUserPermissionsRequest) MarshalTo ¶
func (m *QueryUserPermissionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserPermissionsRequest) MarshalToSizedBuffer ¶
func (m *QueryUserPermissionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserPermissionsRequest) ProtoMessage ¶
func (*QueryUserPermissionsRequest) ProtoMessage()
func (*QueryUserPermissionsRequest) Reset ¶
func (m *QueryUserPermissionsRequest) Reset()
func (*QueryUserPermissionsRequest) Size ¶
func (m *QueryUserPermissionsRequest) Size() (n int)
func (*QueryUserPermissionsRequest) String ¶
func (m *QueryUserPermissionsRequest) String() string
func (*QueryUserPermissionsRequest) Unmarshal ¶
func (m *QueryUserPermissionsRequest) Unmarshal(dAtA []byte) error
func (*QueryUserPermissionsRequest) XXX_DiscardUnknown ¶
func (m *QueryUserPermissionsRequest) XXX_DiscardUnknown()
func (*QueryUserPermissionsRequest) XXX_Marshal ¶
func (m *QueryUserPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserPermissionsRequest) XXX_Merge ¶
func (m *QueryUserPermissionsRequest) XXX_Merge(src proto.Message)
func (*QueryUserPermissionsRequest) XXX_Size ¶
func (m *QueryUserPermissionsRequest) XXX_Size() int
func (*QueryUserPermissionsRequest) XXX_Unmarshal ¶
func (m *QueryUserPermissionsRequest) XXX_Unmarshal(b []byte) error
type QueryUserPermissionsResponse ¶
type QueryUserPermissionsResponse struct { Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty" yaml:"permissions"` Details []PermissionDetail `protobuf:"bytes,2,rep,name=details,proto3" json:"details" yaml:"details"` }
QueryUserPermissionsRequest is the response type for the Query/UserPermissions method
func (*QueryUserPermissionsResponse) Descriptor ¶
func (*QueryUserPermissionsResponse) Descriptor() ([]byte, []int)
func (*QueryUserPermissionsResponse) GetDetails ¶
func (m *QueryUserPermissionsResponse) GetDetails() []PermissionDetail
func (*QueryUserPermissionsResponse) GetPermissions ¶
func (m *QueryUserPermissionsResponse) GetPermissions() []string
func (*QueryUserPermissionsResponse) Marshal ¶
func (m *QueryUserPermissionsResponse) Marshal() (dAtA []byte, err error)
func (*QueryUserPermissionsResponse) MarshalTo ¶
func (m *QueryUserPermissionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserPermissionsResponse) MarshalToSizedBuffer ¶
func (m *QueryUserPermissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserPermissionsResponse) ProtoMessage ¶
func (*QueryUserPermissionsResponse) ProtoMessage()
func (*QueryUserPermissionsResponse) Reset ¶
func (m *QueryUserPermissionsResponse) Reset()
func (*QueryUserPermissionsResponse) Size ¶
func (m *QueryUserPermissionsResponse) Size() (n int)
func (*QueryUserPermissionsResponse) String ¶
func (m *QueryUserPermissionsResponse) String() string
func (*QueryUserPermissionsResponse) Unmarshal ¶
func (m *QueryUserPermissionsResponse) Unmarshal(dAtA []byte) error
func (*QueryUserPermissionsResponse) XXX_DiscardUnknown ¶
func (m *QueryUserPermissionsResponse) XXX_DiscardUnknown()
func (*QueryUserPermissionsResponse) XXX_Marshal ¶
func (m *QueryUserPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserPermissionsResponse) XXX_Merge ¶
func (m *QueryUserPermissionsResponse) XXX_Merge(src proto.Message)
func (*QueryUserPermissionsResponse) XXX_Size ¶
func (m *QueryUserPermissionsResponse) XXX_Size() int
func (*QueryUserPermissionsResponse) XXX_Unmarshal ¶
func (m *QueryUserPermissionsResponse) XXX_Unmarshal(b []byte) error
type Section ¶
type Section struct { // Id of the subspace inside which the section exists SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // Unique id of the section within the subspace ID uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty" yaml:"id"` // (optional) Id of the parent section ParentID uint32 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty" yaml:"parent_id"` // Name of the section within the subspace Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty" yaml:"name"` // (optional) Description of the section Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` }
Section contains the data of a single subspace section
func DefaultSection ¶
DefaultSection returns the default section for the given subspace
func NewSection ¶
func NewSection(subspaceID uint64, id uint32, parentID uint32, name string, description string) Section
NewSection returns a new Section instance
func (*Section) Descriptor ¶
func (*Section) GetDescription ¶
func (*Section) GetParentID ¶
func (*Section) GetSubspaceID ¶
func (*Section) MarshalToSizedBuffer ¶
func (*Section) ProtoMessage ¶
func (*Section) ProtoMessage()
func (Section) Update ¶
func (s Section) Update(update SectionUpdate) Section
Update updates the fields of a given section without validating it. Before storing the updated section, a validation with Validate() should be performed.
func (*Section) XXX_DiscardUnknown ¶
func (m *Section) XXX_DiscardUnknown()
func (*Section) XXX_Marshal ¶
func (*Section) XXX_Unmarshal ¶
type SectionUpdate ¶
SectionUpdate contains all the data that can be updated about a section. When performing an update, if a field should not be edited then it must be set to types.DoNotModify
func NewSectionUpdate ¶
func NewSectionUpdate(name string, description string) SectionUpdate
NewSectionUpdate returns a new SectionUpdate instance
type Subspace ¶
type Subspace struct { // Unique id that identifies the subspace ID uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"` // Human-readable name of the subspace Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" yaml:"name"` // Optional description of this subspace Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` // Represents the treasury account that is associated with the subspace Treasury string `protobuf:"bytes,4,opt,name=treasury,proto3" json:"treasury,omitempty" yaml:"treasury"` // Address of the user that owns the subspace Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` // Address of the subspace creator Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"` // the creation time of the subspace CreationTime time.Time `protobuf:"bytes,7,opt,name=creation_time,json=creationTime,proto3,stdtime" json:"creation_time" yaml:"creation_time"` // List of fee token denoms with default minimum gas prices allowed inside the // subspace AdditionalFeeTokens github_com_cosmos_cosmos_sdk_types.Coins `` /* 193-byte string literal not displayed */ }
Subspace contains all the data of a Desmos subspace
func NewSubspace ¶
func NewSubspace(subspaceID uint64, name, description, treasury, owner, creator string, creationTime time.Time, additionalFeeTokens sdk.Coins) Subspace
NewSubspace is a constructor for the Subspace type
func (*Subspace) Descriptor ¶
func (*Subspace) GetAdditionalFeeTokens ¶
func (m *Subspace) GetAdditionalFeeTokens() github_com_cosmos_cosmos_sdk_types.Coins
func (*Subspace) GetCreationTime ¶
func (*Subspace) GetCreator ¶
func (*Subspace) GetDescription ¶
func (*Subspace) GetTreasury ¶
func (*Subspace) MarshalToSizedBuffer ¶
func (*Subspace) ProtoMessage ¶
func (*Subspace) ProtoMessage()
func (Subspace) Update ¶
func (sub Subspace) Update(update SubspaceUpdate) Subspace
Update updates the fields of a given subspace without validating it. Before storing the updated subspace, a validation with Validate() should be performed.
func (*Subspace) XXX_DiscardUnknown ¶
func (m *Subspace) XXX_DiscardUnknown()
func (*Subspace) XXX_Marshal ¶
func (*Subspace) XXX_Unmarshal ¶
type SubspaceData ¶
type SubspaceData struct { SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty"` NextGroupID uint32 `protobuf:"varint,2,opt,name=next_group_id,json=nextGroupId,proto3" json:"next_group_id,omitempty"` NextSectionID uint32 `protobuf:"varint,3,opt,name=next_section_id,json=nextSectionId,proto3" json:"next_section_id,omitempty"` }
SubspaceData contains the genesis data for a single subspace
func NewSubspaceData ¶
func NewSubspaceData(subspaceID uint64, nextSectionID uint32, nextGroupID uint32) SubspaceData
NewSubspaceData returns a new SubspaceData instance
func (*SubspaceData) Descriptor ¶
func (*SubspaceData) Descriptor() ([]byte, []int)
func (*SubspaceData) Equal ¶
func (this *SubspaceData) Equal(that interface{}) bool
func (*SubspaceData) GetNextGroupID ¶
func (m *SubspaceData) GetNextGroupID() uint32
func (*SubspaceData) GetNextSectionID ¶
func (m *SubspaceData) GetNextSectionID() uint32
func (*SubspaceData) GetSubspaceID ¶
func (m *SubspaceData) GetSubspaceID() uint64
func (*SubspaceData) Marshal ¶
func (m *SubspaceData) Marshal() (dAtA []byte, err error)
func (*SubspaceData) MarshalToSizedBuffer ¶
func (m *SubspaceData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SubspaceData) ProtoMessage ¶
func (*SubspaceData) ProtoMessage()
func (*SubspaceData) Reset ¶
func (m *SubspaceData) Reset()
func (*SubspaceData) Size ¶
func (m *SubspaceData) Size() (n int)
func (*SubspaceData) String ¶
func (m *SubspaceData) String() string
func (*SubspaceData) Unmarshal ¶
func (m *SubspaceData) Unmarshal(dAtA []byte) error
func (SubspaceData) Validate ¶
func (data SubspaceData) Validate() error
Validate implements fmt.Validator
func (*SubspaceData) XXX_DiscardUnknown ¶
func (m *SubspaceData) XXX_DiscardUnknown()
func (*SubspaceData) XXX_Marshal ¶
func (m *SubspaceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubspaceData) XXX_Merge ¶
func (m *SubspaceData) XXX_Merge(src proto.Message)
func (*SubspaceData) XXX_Size ¶
func (m *SubspaceData) XXX_Size() int
func (*SubspaceData) XXX_Unmarshal ¶
func (m *SubspaceData) XXX_Unmarshal(b []byte) error
type SubspaceMsg ¶
type SubspaceMsg interface { sdk.Msg // GetSubspaceID returns the subspace id associated to this message GetSubspaceID() uint64 }
SubspaceMsg represents a generic message that is related to a subspace
type SubspaceUpdate ¶
SubspaceUpdate contains all the data that can be updated about a subspace. When performing an update, if a field should not be edited then it must be set to types.DoNotModify
func NewSubspaceUpdate ¶
func NewSubspaceUpdate(name, description, owner string) SubspaceUpdate
NewSubspaceUpdate builds a new SubspaceUpdate instance containing the given data
type SubspacesHooks ¶
type SubspacesHooks interface { AfterSubspaceSaved(ctx sdk.Context, subspaceID uint64) // Must be called when a subspace is saved AfterSubspaceDeleted(ctx sdk.Context, subspaceID uint64) // Must be called when a subspace is deleted AfterSubspaceSectionSaved(ctx sdk.Context, subspaceID uint64, sectionID uint32) // Must be called when a subspace section is saved AfterSubspaceSectionDeleted(ctx sdk.Context, subspaceID uint64, sectionID uint32) // Must be called when a subspace section is deleted AfterSubspaceGroupSaved(ctx sdk.Context, subspaceID uint64, groupID uint32) // Must be called when a subspace group is created AfterSubspaceGroupMemberAdded(ctx sdk.Context, subspaceID uint64, groupID uint32, user string) // Must be called when a user is added to a group AfterSubspaceGroupMemberRemoved(ctx sdk.Context, subspaceID uint64, groupID uint32, user string) // Must be called when a user is removed from a group AfterSubspaceGroupDeleted(ctx sdk.Context, subspaceID uint64, groupID uint32) // Must be called when a subspace group is deleted AfterUserPermissionSet(ctx sdk.Context, subspaceID uint64, sectionID uint32, user string, permissions Permissions) // Must be called when a permission is set for a user AfterUserPermissionRemoved(ctx sdk.Context, subspaceID uint64, sectionID uint32, user string) // Must be called when a permission is removed for a user }
SubspacesHooks event hooks for subspaces objects (noalias)
type SubspacesHooksWrapper ¶
type SubspacesHooksWrapper struct{ Hooks SubspacesHooks }
SubspacesHooksWrapper is a wrapper for modules to inject SubspacesHooks using depinject.
func (SubspacesHooksWrapper) IsOnePerModuleType ¶
func (SubspacesHooksWrapper) IsOnePerModuleType()
IsOnePerModuleType implements the depinject.OnePerModuleType interface.
type SubspacesMsg ¶
type SubspacesMsg struct { CreateSubspace *json.RawMessage `json:"create_subspace"` EditSubspace *json.RawMessage `json:"edit_subspace"` DeleteSubspace *json.RawMessage `json:"delete_subspace"` CreateUserGroup *json.RawMessage `json:"create_user_group"` EditUserGroup *json.RawMessage `json:"edit_user_group"` SetUserGroupPermissions *json.RawMessage `json:"set_user_group_permissions"` DeleteUserGroup *json.RawMessage `json:"delete_user_group"` AddUserToUserGroup *json.RawMessage `json:"add_user_to_user_group"` RemoveUserFromUserGroup *json.RawMessage `json:"remove_user_from_user_group"` SetUserPermissions *json.RawMessage `json:"set_user_permissions"` GrantTreasuryAuthorization *json.RawMessage `json:"grant_treasury_authorization"` RevokeTreasuryAuthorization *json.RawMessage `json:"revoke_treasury_authorization"` GrantAllowance *json.RawMessage `json:"grant_allowance"` RevokeAllowance *json.RawMessage `json:"revoke_allowance"` }
type SubspacesQuery ¶
type SubspacesQuery struct { Subspaces *json.RawMessage `json:"subspaces"` Subspace *json.RawMessage `json:"subspace"` UserGroups *json.RawMessage `json:"user_groups"` UserGroup *json.RawMessage `json:"user_group"` UserGroupMembers *json.RawMessage `json:"user_group_members"` UserPermissions *json.RawMessage `json:"user_permissions"` UserAllowances *json.RawMessage `json:"user_allowances"` GroupAllowances *json.RawMessage `json:"group_allowances"` }
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddUserToUserGroup ¶
func (*UnimplementedMsgServer) AddUserToUserGroup(ctx context.Context, req *MsgAddUserToUserGroup) (*MsgAddUserToUserGroupResponse, error)
func (*UnimplementedMsgServer) CreateSection ¶
func (*UnimplementedMsgServer) CreateSection(ctx context.Context, req *MsgCreateSection) (*MsgCreateSectionResponse, error)
func (*UnimplementedMsgServer) CreateSubspace ¶
func (*UnimplementedMsgServer) CreateSubspace(ctx context.Context, req *MsgCreateSubspace) (*MsgCreateSubspaceResponse, error)
func (*UnimplementedMsgServer) CreateUserGroup ¶
func (*UnimplementedMsgServer) CreateUserGroup(ctx context.Context, req *MsgCreateUserGroup) (*MsgCreateUserGroupResponse, error)
func (*UnimplementedMsgServer) DeleteSection ¶
func (*UnimplementedMsgServer) DeleteSection(ctx context.Context, req *MsgDeleteSection) (*MsgDeleteSectionResponse, error)
func (*UnimplementedMsgServer) DeleteSubspace ¶
func (*UnimplementedMsgServer) DeleteSubspace(ctx context.Context, req *MsgDeleteSubspace) (*MsgDeleteSubspaceResponse, error)
func (*UnimplementedMsgServer) DeleteUserGroup ¶
func (*UnimplementedMsgServer) DeleteUserGroup(ctx context.Context, req *MsgDeleteUserGroup) (*MsgDeleteUserGroupResponse, error)
func (*UnimplementedMsgServer) EditSection ¶
func (*UnimplementedMsgServer) EditSection(ctx context.Context, req *MsgEditSection) (*MsgEditSectionResponse, error)
func (*UnimplementedMsgServer) EditSubspace ¶
func (*UnimplementedMsgServer) EditSubspace(ctx context.Context, req *MsgEditSubspace) (*MsgEditSubspaceResponse, error)
func (*UnimplementedMsgServer) EditUserGroup ¶
func (*UnimplementedMsgServer) EditUserGroup(ctx context.Context, req *MsgEditUserGroup) (*MsgEditUserGroupResponse, error)
func (*UnimplementedMsgServer) GrantAllowance ¶
func (*UnimplementedMsgServer) GrantAllowance(ctx context.Context, req *MsgGrantAllowance) (*MsgGrantAllowanceResponse, error)
func (*UnimplementedMsgServer) GrantTreasuryAuthorization ¶
func (*UnimplementedMsgServer) GrantTreasuryAuthorization(ctx context.Context, req *MsgGrantTreasuryAuthorization) (*MsgGrantTreasuryAuthorizationResponse, error)
func (*UnimplementedMsgServer) MoveSection ¶
func (*UnimplementedMsgServer) MoveSection(ctx context.Context, req *MsgMoveSection) (*MsgMoveSectionResponse, error)
func (*UnimplementedMsgServer) MoveUserGroup ¶
func (*UnimplementedMsgServer) MoveUserGroup(ctx context.Context, req *MsgMoveUserGroup) (*MsgMoveUserGroupResponse, error)
func (*UnimplementedMsgServer) RemoveUserFromUserGroup ¶
func (*UnimplementedMsgServer) RemoveUserFromUserGroup(ctx context.Context, req *MsgRemoveUserFromUserGroup) (*MsgRemoveUserFromUserGroupResponse, error)
func (*UnimplementedMsgServer) RevokeAllowance ¶
func (*UnimplementedMsgServer) RevokeAllowance(ctx context.Context, req *MsgRevokeAllowance) (*MsgRevokeAllowanceResponse, error)
func (*UnimplementedMsgServer) RevokeTreasuryAuthorization ¶
func (*UnimplementedMsgServer) RevokeTreasuryAuthorization(ctx context.Context, req *MsgRevokeTreasuryAuthorization) (*MsgRevokeTreasuryAuthorizationResponse, error)
func (*UnimplementedMsgServer) SetUserGroupPermissions ¶
func (*UnimplementedMsgServer) SetUserGroupPermissions(ctx context.Context, req *MsgSetUserGroupPermissions) (*MsgSetUserGroupPermissionsResponse, error)
func (*UnimplementedMsgServer) SetUserPermissions ¶
func (*UnimplementedMsgServer) SetUserPermissions(ctx context.Context, req *MsgSetUserPermissions) (*MsgSetUserPermissionsResponse, error)
func (*UnimplementedMsgServer) UpdateSubspaceFeeTokens ¶
func (*UnimplementedMsgServer) UpdateSubspaceFeeTokens(ctx context.Context, req *MsgUpdateSubspaceFeeTokens) (*MsgUpdateSubspaceFeeTokensResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) GroupAllowances ¶
func (*UnimplementedQueryServer) GroupAllowances(ctx context.Context, req *QueryGroupAllowancesRequest) (*QueryGroupAllowancesResponse, error)
func (*UnimplementedQueryServer) Section ¶
func (*UnimplementedQueryServer) Section(ctx context.Context, req *QuerySectionRequest) (*QuerySectionResponse, error)
func (*UnimplementedQueryServer) Sections ¶
func (*UnimplementedQueryServer) Sections(ctx context.Context, req *QuerySectionsRequest) (*QuerySectionsResponse, error)
func (*UnimplementedQueryServer) Subspace ¶
func (*UnimplementedQueryServer) Subspace(ctx context.Context, req *QuerySubspaceRequest) (*QuerySubspaceResponse, error)
func (*UnimplementedQueryServer) Subspaces ¶
func (*UnimplementedQueryServer) Subspaces(ctx context.Context, req *QuerySubspacesRequest) (*QuerySubspacesResponse, error)
func (*UnimplementedQueryServer) UserAllowances ¶
func (*UnimplementedQueryServer) UserAllowances(ctx context.Context, req *QueryUserAllowancesRequest) (*QueryUserAllowancesResponse, error)
func (*UnimplementedQueryServer) UserGroup ¶
func (*UnimplementedQueryServer) UserGroup(ctx context.Context, req *QueryUserGroupRequest) (*QueryUserGroupResponse, error)
func (*UnimplementedQueryServer) UserGroupMembers ¶
func (*UnimplementedQueryServer) UserGroupMembers(ctx context.Context, req *QueryUserGroupMembersRequest) (*QueryUserGroupMembersResponse, error)
func (*UnimplementedQueryServer) UserGroups ¶
func (*UnimplementedQueryServer) UserGroups(ctx context.Context, req *QueryUserGroupsRequest) (*QueryUserGroupsResponse, error)
func (*UnimplementedQueryServer) UserPermissions ¶
func (*UnimplementedQueryServer) UserPermissions(ctx context.Context, req *QueryUserPermissionsRequest) (*QueryUserPermissionsResponse, error)
type UserGrantee ¶
type UserGrantee struct {
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" yaml:"user"`
}
UserGrantee contains the target of a grant about a user
func NewUserGrantee ¶
func NewUserGrantee(user string) *UserGrantee
NewUserGrantee is a constructor for the UserGrantee type
func (*UserGrantee) Descriptor ¶
func (*UserGrantee) Descriptor() ([]byte, []int)
func (*UserGrantee) Equal ¶
func (this *UserGrantee) Equal(that interface{}) bool
func (*UserGrantee) GetUser ¶
func (m *UserGrantee) GetUser() string
func (*UserGrantee) Marshal ¶
func (m *UserGrantee) Marshal() (dAtA []byte, err error)
func (*UserGrantee) MarshalToSizedBuffer ¶
func (m *UserGrantee) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserGrantee) ProtoMessage ¶
func (*UserGrantee) ProtoMessage()
func (*UserGrantee) Reset ¶
func (m *UserGrantee) Reset()
func (*UserGrantee) Size ¶
func (m *UserGrantee) Size() (n int)
func (*UserGrantee) String ¶
func (m *UserGrantee) String() string
func (*UserGrantee) Unmarshal ¶
func (m *UserGrantee) Unmarshal(dAtA []byte) error
func (*UserGrantee) XXX_DiscardUnknown ¶
func (m *UserGrantee) XXX_DiscardUnknown()
func (*UserGrantee) XXX_Marshal ¶
func (m *UserGrantee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserGrantee) XXX_Merge ¶
func (m *UserGrantee) XXX_Merge(src proto.Message)
func (*UserGrantee) XXX_Size ¶
func (m *UserGrantee) XXX_Size() int
func (*UserGrantee) XXX_Unmarshal ¶
func (m *UserGrantee) XXX_Unmarshal(b []byte) error
type UserGroup ¶
type UserGroup struct { // ID of the subspace inside which this group exists SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` // (optional) Id of the section inside which this group is valid SectionID uint32 `protobuf:"varint,2,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty" yaml:"section_id"` // Unique id that identifies the group ID uint32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty" yaml:"id"` // Human-readable name of the user group Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty" yaml:"name"` // Optional description of this group Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` // Permissions that will be granted to all the users part of this group Permissions Permissions `protobuf:"bytes,6,rep,name=permissions,proto3,castrepeated=Permissions" json:"permissions,omitempty" yaml:"permissions"` }
UserGroup represents a group of users
func DefaultUserGroup ¶
DefaultUserGroup returns the default user group for the given subspace
func NewUserGroup ¶
func NewUserGroup(subspaceID uint64, sectionID uint32, id uint32, name, description string, permissions Permissions) UserGroup
NewUserGroup returns a new UserGroup instance
func (*UserGroup) Descriptor ¶
func (*UserGroup) GetDescription ¶
func (*UserGroup) GetPermissions ¶
func (m *UserGroup) GetPermissions() Permissions
func (*UserGroup) GetSectionID ¶
func (*UserGroup) GetSubspaceID ¶
func (*UserGroup) MarshalToSizedBuffer ¶
func (*UserGroup) ProtoMessage ¶
func (*UserGroup) ProtoMessage()
func (UserGroup) Update ¶
func (group UserGroup) Update(update GroupUpdate) UserGroup
Update updates the fields of a given group without validating it. Before storing the updated group, a validation with Validate() should be performed.
func (*UserGroup) XXX_DiscardUnknown ¶
func (m *UserGroup) XXX_DiscardUnknown()
func (*UserGroup) XXX_Marshal ¶
func (*UserGroup) XXX_Unmarshal ¶
type UserGroupMemberEntry ¶
type UserGroupMemberEntry struct { SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty"` GroupID uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` }
UserGroupMemberEntry contains the details of a user group member
func NewUserGroupMemberEntry ¶
func NewUserGroupMemberEntry(subspaceID uint64, groupID uint32, user string) UserGroupMemberEntry
NewUserGroupMemberEntry returns a new UserGroupMemberEntry instance
func (*UserGroupMemberEntry) Descriptor ¶
func (*UserGroupMemberEntry) Descriptor() ([]byte, []int)
func (*UserGroupMemberEntry) Equal ¶
func (this *UserGroupMemberEntry) Equal(that interface{}) bool
func (*UserGroupMemberEntry) GetGroupID ¶
func (m *UserGroupMemberEntry) GetGroupID() uint32
func (*UserGroupMemberEntry) GetSubspaceID ¶
func (m *UserGroupMemberEntry) GetSubspaceID() uint64
func (*UserGroupMemberEntry) GetUser ¶
func (m *UserGroupMemberEntry) GetUser() string
func (*UserGroupMemberEntry) Marshal ¶
func (m *UserGroupMemberEntry) Marshal() (dAtA []byte, err error)
func (*UserGroupMemberEntry) MarshalTo ¶
func (m *UserGroupMemberEntry) MarshalTo(dAtA []byte) (int, error)
func (*UserGroupMemberEntry) MarshalToSizedBuffer ¶
func (m *UserGroupMemberEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserGroupMemberEntry) ProtoMessage ¶
func (*UserGroupMemberEntry) ProtoMessage()
func (*UserGroupMemberEntry) Reset ¶
func (m *UserGroupMemberEntry) Reset()
func (*UserGroupMemberEntry) Size ¶
func (m *UserGroupMemberEntry) Size() (n int)
func (*UserGroupMemberEntry) String ¶
func (m *UserGroupMemberEntry) String() string
func (*UserGroupMemberEntry) Unmarshal ¶
func (m *UserGroupMemberEntry) Unmarshal(dAtA []byte) error
func (UserGroupMemberEntry) Validate ¶
func (entry UserGroupMemberEntry) Validate() error
Validate implements fmt.Validator
func (*UserGroupMemberEntry) XXX_DiscardUnknown ¶
func (m *UserGroupMemberEntry) XXX_DiscardUnknown()
func (*UserGroupMemberEntry) XXX_Marshal ¶
func (m *UserGroupMemberEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserGroupMemberEntry) XXX_Merge ¶
func (m *UserGroupMemberEntry) XXX_Merge(src proto.Message)
func (*UserGroupMemberEntry) XXX_Size ¶
func (m *UserGroupMemberEntry) XXX_Size() int
func (*UserGroupMemberEntry) XXX_Unmarshal ¶
func (m *UserGroupMemberEntry) XXX_Unmarshal(b []byte) error
type UserPermission ¶
type UserPermission struct { SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty"` SectionID uint32 `protobuf:"varint,2,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty"` User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` Permissions Permissions `protobuf:"bytes,4,rep,name=permissions,proto3,castrepeated=Permissions" json:"permissions,omitempty"` }
UserPermission represents a single Access Control List entry
func NewUserPermission ¶
func NewUserPermission(subspaceID uint64, sectionID uint32, user string, permissions Permissions) UserPermission
NewUserPermission returns a new UserPermission instance
func (*UserPermission) Descriptor ¶
func (*UserPermission) Descriptor() ([]byte, []int)
func (*UserPermission) Equal ¶
func (this *UserPermission) Equal(that interface{}) bool
func (*UserPermission) GetPermissions ¶
func (m *UserPermission) GetPermissions() Permissions
func (*UserPermission) GetSectionID ¶
func (m *UserPermission) GetSectionID() uint32
func (*UserPermission) GetSubspaceID ¶
func (m *UserPermission) GetSubspaceID() uint64
func (*UserPermission) GetUser ¶
func (m *UserPermission) GetUser() string
func (*UserPermission) Marshal ¶
func (m *UserPermission) Marshal() (dAtA []byte, err error)
func (*UserPermission) MarshalToSizedBuffer ¶
func (m *UserPermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserPermission) ProtoMessage ¶
func (*UserPermission) ProtoMessage()
func (*UserPermission) Reset ¶
func (m *UserPermission) Reset()
func (*UserPermission) Size ¶
func (m *UserPermission) Size() (n int)
func (*UserPermission) String ¶
func (m *UserPermission) String() string
func (*UserPermission) Unmarshal ¶
func (m *UserPermission) Unmarshal(dAtA []byte) error
func (UserPermission) Validate ¶
func (p UserPermission) Validate() error
Validate implements fmt.Validator
func (*UserPermission) XXX_DiscardUnknown ¶
func (m *UserPermission) XXX_DiscardUnknown()
func (*UserPermission) XXX_Marshal ¶
func (m *UserPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserPermission) XXX_Merge ¶
func (m *UserPermission) XXX_Merge(src proto.Message)
func (*UserPermission) XXX_Size ¶
func (m *UserPermission) XXX_Size() int
func (*UserPermission) XXX_Unmarshal ¶
func (m *UserPermission) XXX_Unmarshal(b []byte) error