Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func DTagStoreKey(dTag string) []byte
- func DTagTransferRequestStoreKey(address string) []byte
- func MustMarshalRelationships(cdc codec.BinaryMarshaler, relationships []Relationship) []byte
- func MustMarshalUserBlocks(cdc codec.BinaryMarshaler, block []UserBlock) []byte
- func ParamKeyTable() paramstypes.KeyTable
- 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 RelationshipsStoreKey(user string) []byte
- func UsersBlocksStoreKey(user string) []byte
- func ValidateBioParams(i interface{}) error
- func ValidateDTagParams(i interface{}) error
- func ValidateGenesis(data *GenesisState) error
- func ValidateMonikerParams(i interface{}) error
- type BlockUserResponse
- func (*BlockUserResponse) Descriptor() ([]byte, []int)
- func (m *BlockUserResponse) Marshal() (dAtA []byte, err error)
- func (m *BlockUserResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockUserResponse) ProtoMessage()
- func (m *BlockUserResponse) Reset()
- func (m *BlockUserResponse) Size() (n int)
- func (m *BlockUserResponse) String() string
- func (m *BlockUserResponse) Unmarshal(dAtA []byte) error
- func (m *BlockUserResponse) XXX_DiscardUnknown()
- func (m *BlockUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockUserResponse) XXX_Merge(src proto.Message)
- func (m *BlockUserResponse) XXX_Size() int
- func (m *BlockUserResponse) XXX_Unmarshal(b []byte) error
- type CreateRelationshipResponse
- func (*CreateRelationshipResponse) Descriptor() ([]byte, []int)
- func (m *CreateRelationshipResponse) Marshal() (dAtA []byte, err error)
- func (m *CreateRelationshipResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateRelationshipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateRelationshipResponse) ProtoMessage()
- func (m *CreateRelationshipResponse) Reset()
- func (m *CreateRelationshipResponse) Size() (n int)
- func (m *CreateRelationshipResponse) String() string
- func (m *CreateRelationshipResponse) Unmarshal(dAtA []byte) error
- func (m *CreateRelationshipResponse) XXX_DiscardUnknown()
- func (m *CreateRelationshipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateRelationshipResponse) XXX_Merge(src proto.Message)
- func (m *CreateRelationshipResponse) XXX_Size() int
- func (m *CreateRelationshipResponse) XXX_Unmarshal(b []byte) error
- type DTagParams
- func (*DTagParams) Descriptor() ([]byte, []int)
- func (m *DTagParams) GetRegEx() string
- func (m *DTagParams) Marshal() (dAtA []byte, err error)
- func (m *DTagParams) MarshalTo(dAtA []byte) (int, error)
- func (m *DTagParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DTagParams) ProtoMessage()
- func (m *DTagParams) Reset()
- func (m *DTagParams) Size() (n int)
- func (m *DTagParams) String() string
- func (m *DTagParams) Unmarshal(dAtA []byte) error
- func (m *DTagParams) XXX_DiscardUnknown()
- func (m *DTagParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DTagParams) XXX_Merge(src proto.Message)
- func (m *DTagParams) XXX_Size() int
- func (m *DTagParams) XXX_Unmarshal(b []byte) error
- type DTagTransferRequest
- func (*DTagTransferRequest) Descriptor() ([]byte, []int)
- func (this *DTagTransferRequest) Equal(that interface{}) bool
- func (m *DTagTransferRequest) GetDTagToTrade() string
- func (m *DTagTransferRequest) GetReceiver() string
- func (m *DTagTransferRequest) GetSender() string
- func (m *DTagTransferRequest) Marshal() (dAtA []byte, err error)
- func (m *DTagTransferRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DTagTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DTagTransferRequest) ProtoMessage()
- func (m *DTagTransferRequest) Reset()
- func (m *DTagTransferRequest) Size() (n int)
- func (m *DTagTransferRequest) String() string
- func (m *DTagTransferRequest) Unmarshal(dAtA []byte) error
- func (request DTagTransferRequest) Validate() error
- func (m *DTagTransferRequest) XXX_DiscardUnknown()
- func (m *DTagTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DTagTransferRequest) XXX_Merge(src proto.Message)
- func (m *DTagTransferRequest) XXX_Size() int
- func (m *DTagTransferRequest) XXX_Unmarshal(b []byte) error
- type DTagTransferRequests
- func (*DTagTransferRequests) Descriptor() ([]byte, []int)
- func (this *DTagTransferRequests) Equal(that interface{}) bool
- func (m *DTagTransferRequests) GetRequests() []DTagTransferRequest
- func (m *DTagTransferRequests) Marshal() (dAtA []byte, err error)
- func (m *DTagTransferRequests) MarshalTo(dAtA []byte) (int, error)
- func (m *DTagTransferRequests) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DTagTransferRequests) ProtoMessage()
- func (m *DTagTransferRequests) Reset()
- func (m *DTagTransferRequests) Size() (n int)
- func (m *DTagTransferRequests) String() string
- func (m *DTagTransferRequests) Unmarshal(dAtA []byte) error
- func (m *DTagTransferRequests) XXX_DiscardUnknown()
- func (m *DTagTransferRequests) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DTagTransferRequests) XXX_Merge(src proto.Message)
- func (m *DTagTransferRequests) XXX_Size() int
- func (m *DTagTransferRequests) XXX_Unmarshal(b []byte) error
- type DeleteRelationshipResponse
- func (*DeleteRelationshipResponse) Descriptor() ([]byte, []int)
- func (m *DeleteRelationshipResponse) Marshal() (dAtA []byte, err error)
- func (m *DeleteRelationshipResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteRelationshipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteRelationshipResponse) ProtoMessage()
- func (m *DeleteRelationshipResponse) Reset()
- func (m *DeleteRelationshipResponse) Size() (n int)
- func (m *DeleteRelationshipResponse) String() string
- func (m *DeleteRelationshipResponse) Unmarshal(dAtA []byte) error
- func (m *DeleteRelationshipResponse) XXX_DiscardUnknown()
- func (m *DeleteRelationshipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteRelationshipResponse) XXX_Merge(src proto.Message)
- func (m *DeleteRelationshipResponse) XXX_Size() int
- func (m *DeleteRelationshipResponse) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetBlocks() []UserBlock
- func (m *GenesisState) GetDTagTransferRequest() []DTagTransferRequest
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetRelationships() []Relationship
- 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 (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 MonikerParams
- func (*MonikerParams) Descriptor() ([]byte, []int)
- func (m *MonikerParams) Marshal() (dAtA []byte, err error)
- func (m *MonikerParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MonikerParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MonikerParams) ProtoMessage()
- func (m *MonikerParams) Reset()
- func (m *MonikerParams) Size() (n int)
- func (m *MonikerParams) String() string
- func (m *MonikerParams) Unmarshal(dAtA []byte) error
- func (m *MonikerParams) XXX_DiscardUnknown()
- func (m *MonikerParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MonikerParams) XXX_Merge(src proto.Message)
- func (m *MonikerParams) XXX_Size() int
- func (m *MonikerParams) XXX_Unmarshal(b []byte) error
- type MsgAcceptDTagTransfer
- func (*MsgAcceptDTagTransfer) Descriptor() ([]byte, []int)
- func (msg MsgAcceptDTagTransfer) GetSignBytes() []byte
- func (msg MsgAcceptDTagTransfer) GetSigners() []sdk.AccAddress
- func (m *MsgAcceptDTagTransfer) Marshal() (dAtA []byte, err error)
- func (m *MsgAcceptDTagTransfer) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAcceptDTagTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAcceptDTagTransfer) ProtoMessage()
- func (m *MsgAcceptDTagTransfer) Reset()
- func (msg MsgAcceptDTagTransfer) Route() string
- func (m *MsgAcceptDTagTransfer) Size() (n int)
- func (m *MsgAcceptDTagTransfer) String() string
- func (msg MsgAcceptDTagTransfer) Type() string
- func (m *MsgAcceptDTagTransfer) Unmarshal(dAtA []byte) error
- func (msg MsgAcceptDTagTransfer) ValidateBasic() error
- func (m *MsgAcceptDTagTransfer) XXX_DiscardUnknown()
- func (m *MsgAcceptDTagTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAcceptDTagTransfer) XXX_Merge(src proto.Message)
- func (m *MsgAcceptDTagTransfer) XXX_Size() int
- func (m *MsgAcceptDTagTransfer) XXX_Unmarshal(b []byte) error
- type MsgAcceptDTagTransferResponse
- func (*MsgAcceptDTagTransferResponse) Descriptor() ([]byte, []int)
- func (m *MsgAcceptDTagTransferResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAcceptDTagTransferResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAcceptDTagTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAcceptDTagTransferResponse) ProtoMessage()
- func (m *MsgAcceptDTagTransferResponse) Reset()
- func (m *MsgAcceptDTagTransferResponse) Size() (n int)
- func (m *MsgAcceptDTagTransferResponse) String() string
- func (m *MsgAcceptDTagTransferResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAcceptDTagTransferResponse) XXX_DiscardUnknown()
- func (m *MsgAcceptDTagTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAcceptDTagTransferResponse) XXX_Merge(src proto.Message)
- func (m *MsgAcceptDTagTransferResponse) XXX_Size() int
- func (m *MsgAcceptDTagTransferResponse) XXX_Unmarshal(b []byte) error
- type MsgBlockUser
- func (*MsgBlockUser) Descriptor() ([]byte, []int)
- func (m *MsgBlockUser) GetBlocked() string
- func (m *MsgBlockUser) GetBlocker() string
- func (m *MsgBlockUser) GetReason() string
- func (msg MsgBlockUser) GetSignBytes() []byte
- func (msg MsgBlockUser) GetSigners() []sdk.AccAddress
- func (m *MsgBlockUser) GetSubspace() string
- func (m *MsgBlockUser) Marshal() (dAtA []byte, err error)
- func (m *MsgBlockUser) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBlockUser) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBlockUser) ProtoMessage()
- func (m *MsgBlockUser) Reset()
- func (msg MsgBlockUser) Route() string
- func (m *MsgBlockUser) Size() (n int)
- func (m *MsgBlockUser) String() string
- func (msg MsgBlockUser) Type() string
- func (m *MsgBlockUser) Unmarshal(dAtA []byte) error
- func (msg MsgBlockUser) ValidateBasic() error
- func (m *MsgBlockUser) XXX_DiscardUnknown()
- func (m *MsgBlockUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBlockUser) XXX_Merge(src proto.Message)
- func (m *MsgBlockUser) XXX_Size() int
- func (m *MsgBlockUser) XXX_Unmarshal(b []byte) error
- type MsgCancelDTagTransfer
- func (*MsgCancelDTagTransfer) Descriptor() ([]byte, []int)
- func (msg MsgCancelDTagTransfer) GetSignBytes() []byte
- func (msg MsgCancelDTagTransfer) GetSigners() []sdk.AccAddress
- func (m *MsgCancelDTagTransfer) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelDTagTransfer) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelDTagTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelDTagTransfer) ProtoMessage()
- func (m *MsgCancelDTagTransfer) Reset()
- func (msg MsgCancelDTagTransfer) Route() string
- func (m *MsgCancelDTagTransfer) Size() (n int)
- func (m *MsgCancelDTagTransfer) String() string
- func (msg MsgCancelDTagTransfer) Type() string
- func (m *MsgCancelDTagTransfer) Unmarshal(dAtA []byte) error
- func (msg MsgCancelDTagTransfer) ValidateBasic() error
- func (m *MsgCancelDTagTransfer) XXX_DiscardUnknown()
- func (m *MsgCancelDTagTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelDTagTransfer) XXX_Merge(src proto.Message)
- func (m *MsgCancelDTagTransfer) XXX_Size() int
- func (m *MsgCancelDTagTransfer) XXX_Unmarshal(b []byte) error
- type MsgCancelDTagTransferResponse
- func (*MsgCancelDTagTransferResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelDTagTransferResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelDTagTransferResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelDTagTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelDTagTransferResponse) ProtoMessage()
- func (m *MsgCancelDTagTransferResponse) Reset()
- func (m *MsgCancelDTagTransferResponse) Size() (n int)
- func (m *MsgCancelDTagTransferResponse) String() string
- func (m *MsgCancelDTagTransferResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelDTagTransferResponse) XXX_DiscardUnknown()
- func (m *MsgCancelDTagTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelDTagTransferResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelDTagTransferResponse) XXX_Size() int
- func (m *MsgCancelDTagTransferResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateRelationship
- func (*MsgCreateRelationship) Descriptor() ([]byte, []int)
- func (msg MsgCreateRelationship) GetSignBytes() []byte
- func (msg MsgCreateRelationship) GetSigners() []sdk.AccAddress
- func (m *MsgCreateRelationship) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateRelationship) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateRelationship) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateRelationship) ProtoMessage()
- func (m *MsgCreateRelationship) Reset()
- func (msg MsgCreateRelationship) Route() string
- func (m *MsgCreateRelationship) Size() (n int)
- func (m *MsgCreateRelationship) String() string
- func (msg MsgCreateRelationship) Type() string
- func (m *MsgCreateRelationship) Unmarshal(dAtA []byte) error
- func (msg MsgCreateRelationship) ValidateBasic() error
- func (m *MsgCreateRelationship) XXX_DiscardUnknown()
- func (m *MsgCreateRelationship) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateRelationship) XXX_Merge(src proto.Message)
- func (m *MsgCreateRelationship) XXX_Size() int
- func (m *MsgCreateRelationship) XXX_Unmarshal(b []byte) error
- type MsgDeleteProfile
- func (*MsgDeleteProfile) Descriptor() ([]byte, []int)
- func (msg MsgDeleteProfile) GetSignBytes() []byte
- func (msg MsgDeleteProfile) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteProfile) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteProfile) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteProfile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteProfile) ProtoMessage()
- func (m *MsgDeleteProfile) Reset()
- func (msg MsgDeleteProfile) Route() string
- func (m *MsgDeleteProfile) Size() (n int)
- func (m *MsgDeleteProfile) String() string
- func (msg MsgDeleteProfile) Type() string
- func (m *MsgDeleteProfile) Unmarshal(dAtA []byte) error
- func (msg MsgDeleteProfile) ValidateBasic() error
- func (m *MsgDeleteProfile) XXX_DiscardUnknown()
- func (m *MsgDeleteProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteProfile) XXX_Merge(src proto.Message)
- func (m *MsgDeleteProfile) XXX_Size() int
- func (m *MsgDeleteProfile) XXX_Unmarshal(b []byte) error
- type MsgDeleteProfileResponse
- func (*MsgDeleteProfileResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteProfileResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteProfileResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteProfileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteProfileResponse) ProtoMessage()
- func (m *MsgDeleteProfileResponse) Reset()
- func (m *MsgDeleteProfileResponse) Size() (n int)
- func (m *MsgDeleteProfileResponse) String() string
- func (m *MsgDeleteProfileResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteProfileResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteProfileResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteProfileResponse) XXX_Size() int
- func (m *MsgDeleteProfileResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteRelationship
- func (*MsgDeleteRelationship) Descriptor() ([]byte, []int)
- func (m *MsgDeleteRelationship) GetCounterparty() string
- func (msg MsgDeleteRelationship) GetSignBytes() []byte
- func (msg MsgDeleteRelationship) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteRelationship) GetSubspace() string
- func (m *MsgDeleteRelationship) GetUser() string
- func (m *MsgDeleteRelationship) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteRelationship) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteRelationship) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteRelationship) ProtoMessage()
- func (m *MsgDeleteRelationship) Reset()
- func (msg MsgDeleteRelationship) Route() string
- func (m *MsgDeleteRelationship) Size() (n int)
- func (m *MsgDeleteRelationship) String() string
- func (msg MsgDeleteRelationship) Type() string
- func (m *MsgDeleteRelationship) Unmarshal(dAtA []byte) error
- func (msg MsgDeleteRelationship) ValidateBasic() error
- func (m *MsgDeleteRelationship) XXX_DiscardUnknown()
- func (m *MsgDeleteRelationship) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteRelationship) XXX_Merge(src proto.Message)
- func (m *MsgDeleteRelationship) XXX_Size() int
- func (m *MsgDeleteRelationship) XXX_Unmarshal(b []byte) error
- type MsgRefuseDTagTransfer
- func (*MsgRefuseDTagTransfer) Descriptor() ([]byte, []int)
- func (msg MsgRefuseDTagTransfer) GetSignBytes() []byte
- func (msg MsgRefuseDTagTransfer) GetSigners() []sdk.AccAddress
- func (m *MsgRefuseDTagTransfer) Marshal() (dAtA []byte, err error)
- func (m *MsgRefuseDTagTransfer) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRefuseDTagTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRefuseDTagTransfer) ProtoMessage()
- func (m *MsgRefuseDTagTransfer) Reset()
- func (msg MsgRefuseDTagTransfer) Route() string
- func (m *MsgRefuseDTagTransfer) Size() (n int)
- func (m *MsgRefuseDTagTransfer) String() string
- func (msg MsgRefuseDTagTransfer) Type() string
- func (m *MsgRefuseDTagTransfer) Unmarshal(dAtA []byte) error
- func (msg MsgRefuseDTagTransfer) ValidateBasic() error
- func (m *MsgRefuseDTagTransfer) XXX_DiscardUnknown()
- func (m *MsgRefuseDTagTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRefuseDTagTransfer) XXX_Merge(src proto.Message)
- func (m *MsgRefuseDTagTransfer) XXX_Size() int
- func (m *MsgRefuseDTagTransfer) XXX_Unmarshal(b []byte) error
- type MsgRefuseDTagTransferResponse
- func (*MsgRefuseDTagTransferResponse) Descriptor() ([]byte, []int)
- func (m *MsgRefuseDTagTransferResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRefuseDTagTransferResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRefuseDTagTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRefuseDTagTransferResponse) ProtoMessage()
- func (m *MsgRefuseDTagTransferResponse) Reset()
- func (m *MsgRefuseDTagTransferResponse) Size() (n int)
- func (m *MsgRefuseDTagTransferResponse) String() string
- func (m *MsgRefuseDTagTransferResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRefuseDTagTransferResponse) XXX_DiscardUnknown()
- func (m *MsgRefuseDTagTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRefuseDTagTransferResponse) XXX_Merge(src proto.Message)
- func (m *MsgRefuseDTagTransferResponse) XXX_Size() int
- func (m *MsgRefuseDTagTransferResponse) XXX_Unmarshal(b []byte) error
- type MsgRequestDTagTransfer
- func (*MsgRequestDTagTransfer) Descriptor() ([]byte, []int)
- func (msg MsgRequestDTagTransfer) GetSignBytes() []byte
- func (msg MsgRequestDTagTransfer) GetSigners() []sdk.AccAddress
- func (m *MsgRequestDTagTransfer) Marshal() (dAtA []byte, err error)
- func (m *MsgRequestDTagTransfer) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRequestDTagTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRequestDTagTransfer) ProtoMessage()
- func (m *MsgRequestDTagTransfer) Reset()
- func (msg MsgRequestDTagTransfer) Route() string
- func (m *MsgRequestDTagTransfer) Size() (n int)
- func (m *MsgRequestDTagTransfer) String() string
- func (msg MsgRequestDTagTransfer) Type() string
- func (m *MsgRequestDTagTransfer) Unmarshal(dAtA []byte) error
- func (msg MsgRequestDTagTransfer) ValidateBasic() error
- func (m *MsgRequestDTagTransfer) XXX_DiscardUnknown()
- func (m *MsgRequestDTagTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRequestDTagTransfer) XXX_Merge(src proto.Message)
- func (m *MsgRequestDTagTransfer) XXX_Size() int
- func (m *MsgRequestDTagTransfer) XXX_Unmarshal(b []byte) error
- type MsgRequestDTagTransferResponse
- func (*MsgRequestDTagTransferResponse) Descriptor() ([]byte, []int)
- func (m *MsgRequestDTagTransferResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRequestDTagTransferResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRequestDTagTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRequestDTagTransferResponse) ProtoMessage()
- func (m *MsgRequestDTagTransferResponse) Reset()
- func (m *MsgRequestDTagTransferResponse) Size() (n int)
- func (m *MsgRequestDTagTransferResponse) String() string
- func (m *MsgRequestDTagTransferResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRequestDTagTransferResponse) XXX_DiscardUnknown()
- func (m *MsgRequestDTagTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRequestDTagTransferResponse) XXX_Merge(src proto.Message)
- func (m *MsgRequestDTagTransferResponse) XXX_Size() int
- func (m *MsgRequestDTagTransferResponse) XXX_Unmarshal(b []byte) error
- type MsgSaveProfile
- func (*MsgSaveProfile) Descriptor() ([]byte, []int)
- func (msg MsgSaveProfile) GetSignBytes() []byte
- func (msg MsgSaveProfile) GetSigners() []sdk.AccAddress
- func (m *MsgSaveProfile) Marshal() (dAtA []byte, err error)
- func (m *MsgSaveProfile) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSaveProfile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSaveProfile) ProtoMessage()
- func (m *MsgSaveProfile) Reset()
- func (msg MsgSaveProfile) Route() string
- func (m *MsgSaveProfile) Size() (n int)
- func (m *MsgSaveProfile) String() string
- func (msg MsgSaveProfile) Type() string
- func (m *MsgSaveProfile) Unmarshal(dAtA []byte) error
- func (msg MsgSaveProfile) ValidateBasic() error
- func (m *MsgSaveProfile) XXX_DiscardUnknown()
- func (m *MsgSaveProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSaveProfile) XXX_Merge(src proto.Message)
- func (m *MsgSaveProfile) XXX_Size() int
- func (m *MsgSaveProfile) XXX_Unmarshal(b []byte) error
- type MsgSaveProfileResponse
- func (*MsgSaveProfileResponse) Descriptor() ([]byte, []int)
- func (m *MsgSaveProfileResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSaveProfileResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSaveProfileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSaveProfileResponse) ProtoMessage()
- func (m *MsgSaveProfileResponse) Reset()
- func (m *MsgSaveProfileResponse) Size() (n int)
- func (m *MsgSaveProfileResponse) String() string
- func (m *MsgSaveProfileResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSaveProfileResponse) XXX_DiscardUnknown()
- func (m *MsgSaveProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSaveProfileResponse) XXX_Merge(src proto.Message)
- func (m *MsgSaveProfileResponse) XXX_Size() int
- func (m *MsgSaveProfileResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUnblockUser
- func (*MsgUnblockUser) Descriptor() ([]byte, []int)
- func (m *MsgUnblockUser) GetBlocked() string
- func (m *MsgUnblockUser) GetBlocker() string
- func (msg MsgUnblockUser) GetSignBytes() []byte
- func (msg MsgUnblockUser) GetSigners() []sdk.AccAddress
- func (m *MsgUnblockUser) GetSubspace() string
- func (m *MsgUnblockUser) Marshal() (dAtA []byte, err error)
- func (m *MsgUnblockUser) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnblockUser) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnblockUser) ProtoMessage()
- func (m *MsgUnblockUser) Reset()
- func (msg MsgUnblockUser) Route() string
- func (m *MsgUnblockUser) Size() (n int)
- func (m *MsgUnblockUser) String() string
- func (msg MsgUnblockUser) Type() string
- func (m *MsgUnblockUser) Unmarshal(dAtA []byte) error
- func (msg MsgUnblockUser) ValidateBasic() error
- func (m *MsgUnblockUser) XXX_DiscardUnknown()
- func (m *MsgUnblockUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnblockUser) XXX_Merge(src proto.Message)
- func (m *MsgUnblockUser) XXX_Size() int
- func (m *MsgUnblockUser) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetDTagParams() DTagParams
- func (m *Params) GetMonikerParams() MonikerParams
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (params *Params) ParamSetPairs() paramstypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (params Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type Pictures
- func (*Pictures) Descriptor() ([]byte, []int)
- func (this *Pictures) Equal(that interface{}) bool
- func (m *Pictures) GetCover() string
- func (m *Pictures) GetProfile() string
- func (m *Pictures) Marshal() (dAtA []byte, err error)
- func (m *Pictures) MarshalTo(dAtA []byte) (int, error)
- func (m *Pictures) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Pictures) ProtoMessage()
- func (m *Pictures) Reset()
- func (m *Pictures) Size() (n int)
- func (m *Pictures) String() string
- func (m *Pictures) Unmarshal(dAtA []byte) error
- func (pic Pictures) Validate() error
- func (m *Pictures) XXX_DiscardUnknown()
- func (m *Pictures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pictures) XXX_Merge(src proto.Message)
- func (m *Pictures) XXX_Size() int
- func (m *Pictures) XXX_Unmarshal(b []byte) error
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)
- func (p *Profile) GetAccount() authtypes.AccountI
- func (p *Profile) GetAccountNumber() uint64
- func (p *Profile) GetAddress() sdk.AccAddress
- func (p *Profile) GetPubKey() cryptotypes.PubKey
- func (p *Profile) GetSequence() uint64
- func (m *Profile) Marshal() (dAtA []byte, err error)
- func (p Profile) MarshalJSON() ([]byte, error)
- func (m *Profile) MarshalTo(dAtA []byte) (int, error)
- func (m *Profile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Profile) MarshalYAML() (interface{}, error)
- func (*Profile) ProtoMessage()
- func (m *Profile) Reset()
- func (p *Profile) SetAccountNumber(accountNumber uint64) error
- func (p *Profile) SetAddress(addr sdk.AccAddress) error
- func (p *Profile) SetPubKey(pubKey cryptotypes.PubKey) error
- func (p *Profile) SetSequence(sequence uint64) error
- func (m *Profile) Size() (n int)
- func (p *Profile) String() string
- func (m *Profile) Unmarshal(dAtA []byte) error
- func (p *Profile) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (p *Profile) Update(update *ProfileUpdate) (*Profile, error)
- func (p *Profile) Validate() error
- func (m *Profile) XXX_DiscardUnknown()
- func (m *Profile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Profile) XXX_Merge(src proto.Message)
- func (m *Profile) XXX_Size() int
- func (m *Profile) XXX_Unmarshal(b []byte) error
- type ProfileUpdate
- type QueryClient
- type QueryDTagTransfersRequest
- func (*QueryDTagTransfersRequest) Descriptor() ([]byte, []int)
- func (m *QueryDTagTransfersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDTagTransfersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDTagTransfersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDTagTransfersRequest) ProtoMessage()
- func (m *QueryDTagTransfersRequest) Reset()
- func (m *QueryDTagTransfersRequest) Size() (n int)
- func (m *QueryDTagTransfersRequest) String() string
- func (m *QueryDTagTransfersRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDTagTransfersRequest) XXX_DiscardUnknown()
- func (m *QueryDTagTransfersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDTagTransfersRequest) XXX_Merge(src proto.Message)
- func (m *QueryDTagTransfersRequest) XXX_Size() int
- func (m *QueryDTagTransfersRequest) XXX_Unmarshal(b []byte) error
- type QueryDTagTransfersResponse
- func (*QueryDTagTransfersResponse) Descriptor() ([]byte, []int)
- func (m *QueryDTagTransfersResponse) GetRequests() []DTagTransferRequest
- func (m *QueryDTagTransfersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDTagTransfersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDTagTransfersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDTagTransfersResponse) ProtoMessage()
- func (m *QueryDTagTransfersResponse) Reset()
- func (m *QueryDTagTransfersResponse) Size() (n int)
- func (m *QueryDTagTransfersResponse) String() string
- func (m *QueryDTagTransfersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDTagTransfersResponse) XXX_DiscardUnknown()
- func (m *QueryDTagTransfersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDTagTransfersResponse) XXX_Merge(src proto.Message)
- func (m *QueryDTagTransfersResponse) XXX_Size() int
- func (m *QueryDTagTransfersResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryProfileRequest
- func (*QueryProfileRequest) Descriptor() ([]byte, []int)
- func (m *QueryProfileRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProfileRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProfileRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProfileRequest) ProtoMessage()
- func (m *QueryProfileRequest) Reset()
- func (m *QueryProfileRequest) Size() (n int)
- func (m *QueryProfileRequest) String() string
- func (m *QueryProfileRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProfileRequest) XXX_DiscardUnknown()
- func (m *QueryProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProfileRequest) XXX_Merge(src proto.Message)
- func (m *QueryProfileRequest) XXX_Size() int
- func (m *QueryProfileRequest) XXX_Unmarshal(b []byte) error
- type QueryProfileResponse
- func (*QueryProfileResponse) Descriptor() ([]byte, []int)
- func (m *QueryProfileResponse) GetProfile() *types.Any
- func (m *QueryProfileResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProfileResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProfileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProfileResponse) ProtoMessage()
- func (m *QueryProfileResponse) Reset()
- func (m *QueryProfileResponse) Size() (n int)
- func (m *QueryProfileResponse) String() string
- func (m *QueryProfileResponse) Unmarshal(dAtA []byte) error
- func (r *QueryProfileResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *QueryProfileResponse) XXX_DiscardUnknown()
- func (m *QueryProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProfileResponse) XXX_Merge(src proto.Message)
- func (m *QueryProfileResponse) XXX_Size() int
- func (m *QueryProfileResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryUserBlocksRequest
- func (*QueryUserBlocksRequest) Descriptor() ([]byte, []int)
- func (m *QueryUserBlocksRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUserBlocksRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserBlocksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserBlocksRequest) ProtoMessage()
- func (m *QueryUserBlocksRequest) Reset()
- func (m *QueryUserBlocksRequest) Size() (n int)
- func (m *QueryUserBlocksRequest) String() string
- func (m *QueryUserBlocksRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUserBlocksRequest) XXX_DiscardUnknown()
- func (m *QueryUserBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserBlocksRequest) XXX_Merge(src proto.Message)
- func (m *QueryUserBlocksRequest) XXX_Size() int
- func (m *QueryUserBlocksRequest) XXX_Unmarshal(b []byte) error
- type QueryUserBlocksResponse
- func (*QueryUserBlocksResponse) Descriptor() ([]byte, []int)
- func (m *QueryUserBlocksResponse) GetBlocks() []UserBlock
- func (m *QueryUserBlocksResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUserBlocksResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserBlocksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserBlocksResponse) ProtoMessage()
- func (m *QueryUserBlocksResponse) Reset()
- func (m *QueryUserBlocksResponse) Size() (n int)
- func (m *QueryUserBlocksResponse) String() string
- func (m *QueryUserBlocksResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUserBlocksResponse) XXX_DiscardUnknown()
- func (m *QueryUserBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserBlocksResponse) XXX_Merge(src proto.Message)
- func (m *QueryUserBlocksResponse) XXX_Size() int
- func (m *QueryUserBlocksResponse) XXX_Unmarshal(b []byte) error
- type QueryUserRelationshipsRequest
- func (*QueryUserRelationshipsRequest) Descriptor() ([]byte, []int)
- func (m *QueryUserRelationshipsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUserRelationshipsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserRelationshipsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserRelationshipsRequest) ProtoMessage()
- func (m *QueryUserRelationshipsRequest) Reset()
- func (m *QueryUserRelationshipsRequest) Size() (n int)
- func (m *QueryUserRelationshipsRequest) String() string
- func (m *QueryUserRelationshipsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUserRelationshipsRequest) XXX_DiscardUnknown()
- func (m *QueryUserRelationshipsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserRelationshipsRequest) XXX_Merge(src proto.Message)
- func (m *QueryUserRelationshipsRequest) XXX_Size() int
- func (m *QueryUserRelationshipsRequest) XXX_Unmarshal(b []byte) error
- type QueryUserRelationshipsResponse
- func (*QueryUserRelationshipsResponse) Descriptor() ([]byte, []int)
- func (m *QueryUserRelationshipsResponse) GetRelationships() []Relationship
- func (m *QueryUserRelationshipsResponse) GetUser() string
- func (m *QueryUserRelationshipsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUserRelationshipsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserRelationshipsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserRelationshipsResponse) ProtoMessage()
- func (m *QueryUserRelationshipsResponse) Reset()
- func (m *QueryUserRelationshipsResponse) Size() (n int)
- func (m *QueryUserRelationshipsResponse) String() string
- func (m *QueryUserRelationshipsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUserRelationshipsResponse) XXX_DiscardUnknown()
- func (m *QueryUserRelationshipsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserRelationshipsResponse) XXX_Merge(src proto.Message)
- func (m *QueryUserRelationshipsResponse) XXX_Size() int
- func (m *QueryUserRelationshipsResponse) XXX_Unmarshal(b []byte) error
- type Relationship
- func (*Relationship) Descriptor() ([]byte, []int)
- func (this *Relationship) Equal(that interface{}) bool
- func (m *Relationship) GetCreator() string
- func (m *Relationship) GetRecipient() string
- func (m *Relationship) GetSubspace() string
- func (m *Relationship) Marshal() (dAtA []byte, err error)
- func (m *Relationship) MarshalTo(dAtA []byte) (int, error)
- func (m *Relationship) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Relationship) ProtoMessage()
- func (m *Relationship) Reset()
- func (m *Relationship) Size() (n int)
- func (m *Relationship) String() string
- func (m *Relationship) Unmarshal(dAtA []byte) error
- func (r Relationship) Validate() error
- func (m *Relationship) XXX_DiscardUnknown()
- func (m *Relationship) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Relationship) XXX_Merge(src proto.Message)
- func (m *Relationship) XXX_Size() int
- func (m *Relationship) XXX_Unmarshal(b []byte) error
- type Relationships
- func (*Relationships) Descriptor() ([]byte, []int)
- func (m *Relationships) GetRelationships() []Relationship
- func (m *Relationships) Marshal() (dAtA []byte, err error)
- func (m *Relationships) MarshalTo(dAtA []byte) (int, error)
- func (m *Relationships) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Relationships) ProtoMessage()
- func (m *Relationships) Reset()
- func (m *Relationships) Size() (n int)
- func (m *Relationships) String() string
- func (m *Relationships) Unmarshal(dAtA []byte) error
- func (m *Relationships) XXX_DiscardUnknown()
- func (m *Relationships) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Relationships) XXX_Merge(src proto.Message)
- func (m *Relationships) XXX_Size() int
- func (m *Relationships) XXX_Unmarshal(b []byte) error
- type UnblockUserResponse
- func (*UnblockUserResponse) Descriptor() ([]byte, []int)
- func (m *UnblockUserResponse) Marshal() (dAtA []byte, err error)
- func (m *UnblockUserResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *UnblockUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnblockUserResponse) ProtoMessage()
- func (m *UnblockUserResponse) Reset()
- func (m *UnblockUserResponse) Size() (n int)
- func (m *UnblockUserResponse) String() string
- func (m *UnblockUserResponse) Unmarshal(dAtA []byte) error
- func (m *UnblockUserResponse) XXX_DiscardUnknown()
- func (m *UnblockUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnblockUserResponse) XXX_Merge(src proto.Message)
- func (m *UnblockUserResponse) XXX_Size() int
- func (m *UnblockUserResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AcceptDTagTransfer(ctx context.Context, req *MsgAcceptDTagTransfer) (*MsgAcceptDTagTransferResponse, error)
- func (*UnimplementedMsgServer) BlockUser(ctx context.Context, req *MsgBlockUser) (*BlockUserResponse, error)
- func (*UnimplementedMsgServer) CancelDTagTransfer(ctx context.Context, req *MsgCancelDTagTransfer) (*MsgCancelDTagTransferResponse, error)
- func (*UnimplementedMsgServer) CreateRelationship(ctx context.Context, req *MsgCreateRelationship) (*CreateRelationshipResponse, error)
- func (*UnimplementedMsgServer) DeleteProfile(ctx context.Context, req *MsgDeleteProfile) (*MsgDeleteProfileResponse, error)
- func (*UnimplementedMsgServer) DeleteRelationship(ctx context.Context, req *MsgDeleteRelationship) (*DeleteRelationshipResponse, error)
- func (*UnimplementedMsgServer) RefuseDTagTransfer(ctx context.Context, req *MsgRefuseDTagTransfer) (*MsgRefuseDTagTransferResponse, error)
- func (*UnimplementedMsgServer) RequestDTagTransfer(ctx context.Context, req *MsgRequestDTagTransfer) (*MsgRequestDTagTransferResponse, error)
- func (*UnimplementedMsgServer) SaveProfile(ctx context.Context, req *MsgSaveProfile) (*MsgSaveProfileResponse, error)
- func (*UnimplementedMsgServer) UnblockUser(ctx context.Context, req *MsgUnblockUser) (*UnblockUserResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) DTagTransfers(ctx context.Context, req *QueryDTagTransfersRequest) (*QueryDTagTransfersResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Profile(ctx context.Context, req *QueryProfileRequest) (*QueryProfileResponse, error)
- func (*UnimplementedQueryServer) UserBlocks(ctx context.Context, req *QueryUserBlocksRequest) (*QueryUserBlocksResponse, error)
- func (*UnimplementedQueryServer) UserRelationships(ctx context.Context, req *QueryUserRelationshipsRequest) (*QueryUserRelationshipsResponse, error)
- type UserBlock
- func (*UserBlock) Descriptor() ([]byte, []int)
- func (this *UserBlock) Equal(that interface{}) bool
- func (m *UserBlock) GetBlocked() string
- func (m *UserBlock) GetBlocker() string
- func (m *UserBlock) GetReason() string
- func (m *UserBlock) GetSubspace() string
- func (m *UserBlock) Marshal() (dAtA []byte, err error)
- func (m *UserBlock) MarshalTo(dAtA []byte) (int, error)
- func (m *UserBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserBlock) ProtoMessage()
- func (m *UserBlock) Reset()
- func (m *UserBlock) Size() (n int)
- func (m *UserBlock) String() string
- func (m *UserBlock) Unmarshal(dAtA []byte) error
- func (ub UserBlock) Validate() error
- func (m *UserBlock) XXX_DiscardUnknown()
- func (m *UserBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserBlock) XXX_Merge(src proto.Message)
- func (m *UserBlock) XXX_Size() int
- func (m *UserBlock) XXX_Unmarshal(b []byte) error
- type UserBlocks
- func (*UserBlocks) Descriptor() ([]byte, []int)
- func (m *UserBlocks) GetBlocks() []UserBlock
- func (m *UserBlocks) Marshal() (dAtA []byte, err error)
- func (m *UserBlocks) MarshalTo(dAtA []byte) (int, error)
- func (m *UserBlocks) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserBlocks) ProtoMessage()
- func (m *UserBlocks) Reset()
- func (m *UserBlocks) Size() (n int)
- func (m *UserBlocks) String() string
- func (m *UserBlocks) Unmarshal(dAtA []byte) error
- func (m *UserBlocks) XXX_DiscardUnknown()
- func (m *UserBlocks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserBlocks) XXX_Merge(src proto.Message)
- func (m *UserBlocks) XXX_Size() int
- func (m *UserBlocks) XXX_Unmarshal(b []byte) error
Constants ¶
const ( EventTypeProfileSaved = "profile_saved" EventTypeProfileDeleted = "profile_deleted" EventTypeDTagTransferRequest = "dtag_transfer_request" EventTypeDTagTransferAccept = "dtag_transfer_accept" EventTypeDTagTransferRefuse = "dtag_transfer_refuse" EventTypeDTagTransferCancel = "dtag_transfer_cancel" AttributeProfileDTag = "profile_dtag" AttributeProfileCreator = "profile_creator" AttributeProfileCreationTime = "profile_creation_time" AttributeRequestReceiver = "request_receiver" AttributeRequestSender = "request_sender" AttributeDTagToTrade = "dtag_to_trade" AttributeNewDTag = "new_dtag" EventTypeRelationshipCreated = "relationship_created" EventTypeRelationshipsDeleted = "relationships_deleted" AttributeRelationshipSender = "sender" AttributeRelationshipReceiver = "receiver" AttributeRelationshipSubspace = "subspace" EventTypeBlockUser = "block_user" EventTypeUnblockUser = "unblock_user" AttributeUserBlockBlocker = "blocker" AttributeUserBlockBlocked = "blocked" AttributeUserBlockReason = "reason" AttributeSubspace = "subspace" )
const ( ModuleName = "profiles" RouterKey = ModuleName StoreKey = ModuleName ActionSaveProfile = "save_profile" ActionDeleteProfile = "delete_profile" ActionRequestDTag = "request_dtag" ActionAcceptDTagTransfer = "accept_dtag_request" ActionRefuseDTagTransferRequest = "refuse_dtag_request" ActionCancelDTagTransferRequest = "cancel_dtag_request" ActionCreateRelationship = "create_relationship" ActionDeleteRelationship = "delete_relationship" ActionBlockUser = "block_user" ActionUnblockUser = "unblock_user" QuerierRoute = ModuleName QueryProfile = "profile" QueryIncomingDTagRequests = "incoming-dtag-requests" QueryUserRelationships = "user_relationships" QueryRelationships = "relationships" QueryUserBlocks = "user_blocks" QueryParams = "params" DoNotModify = "[do-not-modify]" )
const ( // DefaultParamsSpace represents the default paramspace for the Params keeper DefaultParamsSpace = ModuleName )
Variables ¶
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 ( DTagPrefix = []byte("dtag") DTagTransferRequestsPrefix = []byte("transfer_requests") RelationshipsStorePrefix = []byte("relationships") UsersBlocksStorePrefix = []byte("users_blocks") )
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 ( DefaultMinMonikerLength = sdk.NewInt(2) DefaultMaxMonikerLength = sdk.NewInt(1000) //longest name on earth count 954 chars DefaultRegEx = `^[A-Za-z0-9_]+$` DefaultMinDTagLength = sdk.NewInt(3) DefaultMaxDTagLength = sdk.NewInt(30) DefaultMaxBioLength = sdk.NewInt(1000) )
Default profile paramsModule
var ( MonikerLenParamsKey = []byte("MonikerParams") DTagLenParamsKey = []byte("DTagParams") MaxBioLenParamsKey = []byte("MaxBioLen") )
Parameters store keys
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
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 ( // ModuleCdc references the global x/relationships 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/relationships and // defined at the application level. ModuleCdc = codec.NewAminoCodec(amino) )
Functions ¶
func DTagStoreKey ¶ added in v0.16.0
DTagStoreKey turns a DTag into the key used to store the address associated with it into the store
func DTagTransferRequestStoreKey ¶ added in v0.16.0
DTagTransferRequestStoreKey turns an address to a key used to store a transfer request into the profiles store
func MustMarshalRelationships ¶ added in v0.16.0
func MustMarshalRelationships(cdc codec.BinaryMarshaler, relationships []Relationship) []byte
MustMarshalRelationships serializes the given relationships using the provided BinaryMarshaler
func MustMarshalUserBlocks ¶ added in v0.16.0
func MustMarshalUserBlocks(cdc codec.BinaryMarshaler, block []UserBlock) []byte
MustMarshalUserBlocks serializes the given blocks using the provided BinaryMarshaler
func ParamKeyTable ¶
func ParamKeyTable() paramstypes.KeyTable
ParamKeyTable Key declaration for parameters
func RegisterInterfaces ¶ added in v0.15.0
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶ added in v0.15.0
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
func RegisterMsgServer ¶ added in v0.15.0
func RegisterQueryHandler ¶ added in v0.15.0
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶ added in v0.15.0
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 ¶ added in v0.15.0
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 ¶ added in v0.15.0
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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶ added in v0.15.0
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func RelationshipsStoreKey ¶ added in v0.16.0
RelationshipsStoreKey turns a user address to a key used to store a Address -> []Address couple
func UsersBlocksStoreKey ¶ added in v0.16.0
UsersBlocksStoreKey turns a user address to a key used to store a Address -> []Address couple
func ValidateBioParams ¶
func ValidateBioParams(i interface{}) error
func ValidateDTagParams ¶ added in v0.16.0
func ValidateDTagParams(i interface{}) error
func ValidateGenesis ¶
func ValidateGenesis(data *GenesisState) error
ValidateGenesis validates the given genesis state and returns an error if something is invalid
func ValidateMonikerParams ¶
func ValidateMonikerParams(i interface{}) error
Types ¶
type BlockUserResponse ¶ added in v0.16.0
type BlockUserResponse struct { }
BlockUserResponse defines the Msg/BlockUser response type.
func (*BlockUserResponse) Descriptor ¶ added in v0.16.0
func (*BlockUserResponse) Descriptor() ([]byte, []int)
func (*BlockUserResponse) Marshal ¶ added in v0.16.0
func (m *BlockUserResponse) Marshal() (dAtA []byte, err error)
func (*BlockUserResponse) MarshalTo ¶ added in v0.16.0
func (m *BlockUserResponse) MarshalTo(dAtA []byte) (int, error)
func (*BlockUserResponse) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *BlockUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlockUserResponse) ProtoMessage ¶ added in v0.16.0
func (*BlockUserResponse) ProtoMessage()
func (*BlockUserResponse) Reset ¶ added in v0.16.0
func (m *BlockUserResponse) Reset()
func (*BlockUserResponse) Size ¶ added in v0.16.0
func (m *BlockUserResponse) Size() (n int)
func (*BlockUserResponse) String ¶ added in v0.16.0
func (m *BlockUserResponse) String() string
func (*BlockUserResponse) Unmarshal ¶ added in v0.16.0
func (m *BlockUserResponse) Unmarshal(dAtA []byte) error
func (*BlockUserResponse) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *BlockUserResponse) XXX_DiscardUnknown()
func (*BlockUserResponse) XXX_Marshal ¶ added in v0.16.0
func (m *BlockUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockUserResponse) XXX_Merge ¶ added in v0.16.0
func (m *BlockUserResponse) XXX_Merge(src proto.Message)
func (*BlockUserResponse) XXX_Size ¶ added in v0.16.0
func (m *BlockUserResponse) XXX_Size() int
func (*BlockUserResponse) XXX_Unmarshal ¶ added in v0.16.0
func (m *BlockUserResponse) XXX_Unmarshal(b []byte) error
type CreateRelationshipResponse ¶ added in v0.16.0
type CreateRelationshipResponse struct { }
CreateRelationshipResponse defines the Msg/CreateRelationship response type.
func (*CreateRelationshipResponse) Descriptor ¶ added in v0.16.0
func (*CreateRelationshipResponse) Descriptor() ([]byte, []int)
func (*CreateRelationshipResponse) Marshal ¶ added in v0.16.0
func (m *CreateRelationshipResponse) Marshal() (dAtA []byte, err error)
func (*CreateRelationshipResponse) MarshalTo ¶ added in v0.16.0
func (m *CreateRelationshipResponse) MarshalTo(dAtA []byte) (int, error)
func (*CreateRelationshipResponse) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *CreateRelationshipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateRelationshipResponse) ProtoMessage ¶ added in v0.16.0
func (*CreateRelationshipResponse) ProtoMessage()
func (*CreateRelationshipResponse) Reset ¶ added in v0.16.0
func (m *CreateRelationshipResponse) Reset()
func (*CreateRelationshipResponse) Size ¶ added in v0.16.0
func (m *CreateRelationshipResponse) Size() (n int)
func (*CreateRelationshipResponse) String ¶ added in v0.16.0
func (m *CreateRelationshipResponse) String() string
func (*CreateRelationshipResponse) Unmarshal ¶ added in v0.16.0
func (m *CreateRelationshipResponse) Unmarshal(dAtA []byte) error
func (*CreateRelationshipResponse) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *CreateRelationshipResponse) XXX_DiscardUnknown()
func (*CreateRelationshipResponse) XXX_Marshal ¶ added in v0.16.0
func (m *CreateRelationshipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateRelationshipResponse) XXX_Merge ¶ added in v0.16.0
func (m *CreateRelationshipResponse) XXX_Merge(src proto.Message)
func (*CreateRelationshipResponse) XXX_Size ¶ added in v0.16.0
func (m *CreateRelationshipResponse) XXX_Size() int
func (*CreateRelationshipResponse) XXX_Unmarshal ¶ added in v0.16.0
func (m *CreateRelationshipResponse) XXX_Unmarshal(b []byte) error
type DTagParams ¶ added in v0.15.0
type DTagParams struct { RegEx string `protobuf:"bytes,1,opt,name=reg_ex,json=regEx,proto3" json:"reg_ex,omitempty" yaml:"reg_ex"` MinDTagLength github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */ MaxDTagLength github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */ }
DTagParams defines the parameters related to profile DTags
func DefaultDTagParams ¶ added in v0.16.0
func DefaultDTagParams() DTagParams
DefaultDTagParams return default paramsModule
func NewDTagParams ¶ added in v0.16.0
func NewDTagParams(regEx string, minLen, maxLen sdk.Int) DTagParams
NewDTagParams creates a new DTagParams obj
func (*DTagParams) Descriptor ¶ added in v0.15.0
func (*DTagParams) Descriptor() ([]byte, []int)
func (*DTagParams) GetRegEx ¶ added in v0.15.0
func (m *DTagParams) GetRegEx() string
func (*DTagParams) Marshal ¶ added in v0.15.0
func (m *DTagParams) Marshal() (dAtA []byte, err error)
func (*DTagParams) MarshalTo ¶ added in v0.15.0
func (m *DTagParams) MarshalTo(dAtA []byte) (int, error)
func (*DTagParams) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *DTagParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DTagParams) ProtoMessage ¶ added in v0.15.0
func (*DTagParams) ProtoMessage()
func (*DTagParams) Reset ¶ added in v0.15.0
func (m *DTagParams) Reset()
func (*DTagParams) Size ¶ added in v0.15.0
func (m *DTagParams) Size() (n int)
func (*DTagParams) String ¶ added in v0.15.0
func (m *DTagParams) String() string
func (*DTagParams) Unmarshal ¶ added in v0.15.0
func (m *DTagParams) Unmarshal(dAtA []byte) error
func (*DTagParams) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *DTagParams) XXX_DiscardUnknown()
func (*DTagParams) XXX_Marshal ¶ added in v0.15.0
func (m *DTagParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DTagParams) XXX_Merge ¶ added in v0.15.0
func (m *DTagParams) XXX_Merge(src proto.Message)
func (*DTagParams) XXX_Size ¶ added in v0.15.0
func (m *DTagParams) XXX_Size() int
func (*DTagParams) XXX_Unmarshal ¶ added in v0.15.0
func (m *DTagParams) XXX_Unmarshal(b []byte) error
type DTagTransferRequest ¶ added in v0.12.0
type DTagTransferRequest struct { DTagToTrade string `protobuf:"bytes,1,opt,name=dtag_to_trade,json=dtagToTrade,proto3" json:"dtag_to_trade,omitempty" yaml:"dtag_to_trade"` Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"` }
DTagTransferRequest represent a DTag transfer request between two users
func NewDTagTransferRequest ¶ added in v0.12.0
func NewDTagTransferRequest(dTagToTrade string, sender, receiver string) DTagTransferRequest
func (*DTagTransferRequest) Descriptor ¶ added in v0.15.0
func (*DTagTransferRequest) Descriptor() ([]byte, []int)
func (*DTagTransferRequest) Equal ¶ added in v0.15.0
func (this *DTagTransferRequest) Equal(that interface{}) bool
func (*DTagTransferRequest) GetDTagToTrade ¶ added in v0.16.0
func (m *DTagTransferRequest) GetDTagToTrade() string
func (*DTagTransferRequest) GetReceiver ¶ added in v0.15.0
func (m *DTagTransferRequest) GetReceiver() string
func (*DTagTransferRequest) GetSender ¶ added in v0.15.0
func (m *DTagTransferRequest) GetSender() string
func (*DTagTransferRequest) Marshal ¶ added in v0.15.0
func (m *DTagTransferRequest) Marshal() (dAtA []byte, err error)
func (*DTagTransferRequest) MarshalTo ¶ added in v0.15.0
func (m *DTagTransferRequest) MarshalTo(dAtA []byte) (int, error)
func (*DTagTransferRequest) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *DTagTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DTagTransferRequest) ProtoMessage ¶ added in v0.15.0
func (*DTagTransferRequest) ProtoMessage()
func (*DTagTransferRequest) Reset ¶ added in v0.15.0
func (m *DTagTransferRequest) Reset()
func (*DTagTransferRequest) Size ¶ added in v0.15.0
func (m *DTagTransferRequest) Size() (n int)
func (*DTagTransferRequest) String ¶ added in v0.15.0
func (m *DTagTransferRequest) String() string
func (*DTagTransferRequest) Unmarshal ¶ added in v0.15.0
func (m *DTagTransferRequest) Unmarshal(dAtA []byte) error
func (DTagTransferRequest) Validate ¶ added in v0.15.0
func (request DTagTransferRequest) Validate() error
Validate checks the request validity
func (*DTagTransferRequest) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *DTagTransferRequest) XXX_DiscardUnknown()
func (*DTagTransferRequest) XXX_Marshal ¶ added in v0.15.0
func (m *DTagTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DTagTransferRequest) XXX_Merge ¶ added in v0.15.0
func (m *DTagTransferRequest) XXX_Merge(src proto.Message)
func (*DTagTransferRequest) XXX_Size ¶ added in v0.15.0
func (m *DTagTransferRequest) XXX_Size() int
func (*DTagTransferRequest) XXX_Unmarshal ¶ added in v0.15.0
func (m *DTagTransferRequest) XXX_Unmarshal(b []byte) error
type DTagTransferRequests ¶ added in v0.16.0
type DTagTransferRequests struct {
Requests []DTagTransferRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests"`
}
DTagTransferRequests contains a list of DTagTransferRequest
func NewDTagTransferRequests ¶ added in v0.16.0
func NewDTagTransferRequests(requests []DTagTransferRequest) DTagTransferRequests
NewDTagTransferRequests returns a DTagTransferRequests instance wrapping the given requests
func (*DTagTransferRequests) Descriptor ¶ added in v0.16.0
func (*DTagTransferRequests) Descriptor() ([]byte, []int)
func (*DTagTransferRequests) Equal ¶ added in v0.16.0
func (this *DTagTransferRequests) Equal(that interface{}) bool
func (*DTagTransferRequests) GetRequests ¶ added in v0.16.0
func (m *DTagTransferRequests) GetRequests() []DTagTransferRequest
func (*DTagTransferRequests) Marshal ¶ added in v0.16.0
func (m *DTagTransferRequests) Marshal() (dAtA []byte, err error)
func (*DTagTransferRequests) MarshalTo ¶ added in v0.16.0
func (m *DTagTransferRequests) MarshalTo(dAtA []byte) (int, error)
func (*DTagTransferRequests) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *DTagTransferRequests) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DTagTransferRequests) ProtoMessage ¶ added in v0.16.0
func (*DTagTransferRequests) ProtoMessage()
func (*DTagTransferRequests) Reset ¶ added in v0.16.0
func (m *DTagTransferRequests) Reset()
func (*DTagTransferRequests) Size ¶ added in v0.16.0
func (m *DTagTransferRequests) Size() (n int)
func (*DTagTransferRequests) String ¶ added in v0.16.0
func (m *DTagTransferRequests) String() string
func (*DTagTransferRequests) Unmarshal ¶ added in v0.16.0
func (m *DTagTransferRequests) Unmarshal(dAtA []byte) error
func (*DTagTransferRequests) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *DTagTransferRequests) XXX_DiscardUnknown()
func (*DTagTransferRequests) XXX_Marshal ¶ added in v0.16.0
func (m *DTagTransferRequests) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DTagTransferRequests) XXX_Merge ¶ added in v0.16.0
func (m *DTagTransferRequests) XXX_Merge(src proto.Message)
func (*DTagTransferRequests) XXX_Size ¶ added in v0.16.0
func (m *DTagTransferRequests) XXX_Size() int
func (*DTagTransferRequests) XXX_Unmarshal ¶ added in v0.16.0
func (m *DTagTransferRequests) XXX_Unmarshal(b []byte) error
type DeleteRelationshipResponse ¶ added in v0.16.0
type DeleteRelationshipResponse struct { }
DeleteRelationshipResponse defines the Msg/DeleteRelationship response type.
func (*DeleteRelationshipResponse) Descriptor ¶ added in v0.16.0
func (*DeleteRelationshipResponse) Descriptor() ([]byte, []int)
func (*DeleteRelationshipResponse) Marshal ¶ added in v0.16.0
func (m *DeleteRelationshipResponse) Marshal() (dAtA []byte, err error)
func (*DeleteRelationshipResponse) MarshalTo ¶ added in v0.16.0
func (m *DeleteRelationshipResponse) MarshalTo(dAtA []byte) (int, error)
func (*DeleteRelationshipResponse) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *DeleteRelationshipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteRelationshipResponse) ProtoMessage ¶ added in v0.16.0
func (*DeleteRelationshipResponse) ProtoMessage()
func (*DeleteRelationshipResponse) Reset ¶ added in v0.16.0
func (m *DeleteRelationshipResponse) Reset()
func (*DeleteRelationshipResponse) Size ¶ added in v0.16.0
func (m *DeleteRelationshipResponse) Size() (n int)
func (*DeleteRelationshipResponse) String ¶ added in v0.16.0
func (m *DeleteRelationshipResponse) String() string
func (*DeleteRelationshipResponse) Unmarshal ¶ added in v0.16.0
func (m *DeleteRelationshipResponse) Unmarshal(dAtA []byte) error
func (*DeleteRelationshipResponse) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *DeleteRelationshipResponse) XXX_DiscardUnknown()
func (*DeleteRelationshipResponse) XXX_Marshal ¶ added in v0.16.0
func (m *DeleteRelationshipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteRelationshipResponse) XXX_Merge ¶ added in v0.16.0
func (m *DeleteRelationshipResponse) XXX_Merge(src proto.Message)
func (*DeleteRelationshipResponse) XXX_Size ¶ added in v0.16.0
func (m *DeleteRelationshipResponse) XXX_Size() int
func (*DeleteRelationshipResponse) XXX_Unmarshal ¶ added in v0.16.0
func (m *DeleteRelationshipResponse) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { DTagTransferRequest []DTagTransferRequest `` /* 143-byte string literal not displayed */ Relationships []Relationship `protobuf:"bytes,2,rep,name=relationships,proto3" json:"relationships" yaml:"users_relationships"` Blocks []UserBlock `protobuf:"bytes,3,rep,name=blocks,proto3" json:"blocks" yaml:"users_blocks"` Params Params `protobuf:"bytes,4,opt,name=params,proto3" json:"params" yaml:"params"` }
GenesisState defines the profiles module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState returns a default GenesisState
func NewGenesisState ¶
func NewGenesisState( request []DTagTransferRequest, relationships []Relationship, blocks []UserBlock, params Params, ) *GenesisState
NewGenesisState creates a new genesis state
func (*GenesisState) Descriptor ¶ added in v0.15.0
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetBlocks ¶ added in v0.16.0
func (m *GenesisState) GetBlocks() []UserBlock
func (*GenesisState) GetDTagTransferRequest ¶ added in v0.16.0
func (m *GenesisState) GetDTagTransferRequest() []DTagTransferRequest
func (*GenesisState) GetParams ¶ added in v0.15.0
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetRelationships ¶ added in v0.16.0
func (m *GenesisState) GetRelationships() []Relationship
func (*GenesisState) Marshal ¶ added in v0.15.0
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalTo ¶ added in v0.15.0
func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
func (*GenesisState) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶ added in v0.15.0
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶ added in v0.15.0
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶ added in v0.15.0
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶ added in v0.15.0
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶ added in v0.15.0
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶ added in v0.15.0
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶ added in v0.15.0
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶ added in v0.15.0
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶ added in v0.15.0
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MonikerParams ¶
type MonikerParams struct { MinMonikerLength github_com_cosmos_cosmos_sdk_types.Int `` /* 177-byte string literal not displayed */ MaxMonikerLength github_com_cosmos_cosmos_sdk_types.Int `` /* 177-byte string literal not displayed */ }
MonikerParams defines the parameters related to the profiles monikers
func DefaultMonikerParams ¶
func DefaultMonikerParams() MonikerParams
DefaultMonikerParams return default moniker params
func NewMonikerParams ¶
func NewMonikerParams(minLen, maxLen sdk.Int) MonikerParams
NewMonikerParams creates a new MonikerParams obj
func (*MonikerParams) Descriptor ¶ added in v0.15.0
func (*MonikerParams) Descriptor() ([]byte, []int)
func (*MonikerParams) Marshal ¶ added in v0.15.0
func (m *MonikerParams) Marshal() (dAtA []byte, err error)
func (*MonikerParams) MarshalTo ¶ added in v0.15.0
func (m *MonikerParams) MarshalTo(dAtA []byte) (int, error)
func (*MonikerParams) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *MonikerParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MonikerParams) ProtoMessage ¶ added in v0.15.0
func (*MonikerParams) ProtoMessage()
func (*MonikerParams) Reset ¶ added in v0.15.0
func (m *MonikerParams) Reset()
func (*MonikerParams) Size ¶ added in v0.15.0
func (m *MonikerParams) Size() (n int)
func (*MonikerParams) String ¶
func (m *MonikerParams) String() string
func (*MonikerParams) Unmarshal ¶ added in v0.15.0
func (m *MonikerParams) Unmarshal(dAtA []byte) error
func (*MonikerParams) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *MonikerParams) XXX_DiscardUnknown()
func (*MonikerParams) XXX_Marshal ¶ added in v0.15.0
func (m *MonikerParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MonikerParams) XXX_Merge ¶ added in v0.15.0
func (m *MonikerParams) XXX_Merge(src proto.Message)
func (*MonikerParams) XXX_Size ¶ added in v0.15.0
func (m *MonikerParams) XXX_Size() int
func (*MonikerParams) XXX_Unmarshal ¶ added in v0.15.0
func (m *MonikerParams) XXX_Unmarshal(b []byte) error
type MsgAcceptDTagTransfer ¶ added in v0.12.0
type MsgAcceptDTagTransfer struct { NewDTag string `protobuf:"bytes,1,opt,name=new_dtag,json=newDtag,proto3" json:"new_dtag" yaml:"new_dtag"` Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"` }
MsgAcceptDTagTransfer represents the message used to accept a DTag transfer request.
func NewMsgAcceptDTagTransfer ¶ added in v0.12.0
func NewMsgAcceptDTagTransfer(newDTag string, sender, receiver string) *MsgAcceptDTagTransfer
NewMsgAcceptDTagTransfer is a constructor for MsgAcceptDTagTransfer
func (*MsgAcceptDTagTransfer) Descriptor ¶ added in v0.15.0
func (*MsgAcceptDTagTransfer) Descriptor() ([]byte, []int)
func (MsgAcceptDTagTransfer) GetSignBytes ¶ added in v0.15.0
func (msg MsgAcceptDTagTransfer) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgAcceptDTagTransfer) GetSigners ¶ added in v0.15.0
func (msg MsgAcceptDTagTransfer) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgAcceptDTagTransfer) Marshal ¶ added in v0.15.0
func (m *MsgAcceptDTagTransfer) Marshal() (dAtA []byte, err error)
func (*MsgAcceptDTagTransfer) MarshalTo ¶ added in v0.15.0
func (m *MsgAcceptDTagTransfer) MarshalTo(dAtA []byte) (int, error)
func (*MsgAcceptDTagTransfer) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *MsgAcceptDTagTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAcceptDTagTransfer) ProtoMessage ¶ added in v0.15.0
func (*MsgAcceptDTagTransfer) ProtoMessage()
func (*MsgAcceptDTagTransfer) Reset ¶ added in v0.15.0
func (m *MsgAcceptDTagTransfer) Reset()
func (MsgAcceptDTagTransfer) Route ¶ added in v0.15.0
func (msg MsgAcceptDTagTransfer) Route() string
Route should return the name of the module
func (*MsgAcceptDTagTransfer) Size ¶ added in v0.15.0
func (m *MsgAcceptDTagTransfer) Size() (n int)
func (*MsgAcceptDTagTransfer) String ¶ added in v0.15.0
func (m *MsgAcceptDTagTransfer) String() string
func (MsgAcceptDTagTransfer) Type ¶ added in v0.15.0
func (msg MsgAcceptDTagTransfer) Type() string
Type should return the action
func (*MsgAcceptDTagTransfer) Unmarshal ¶ added in v0.15.0
func (m *MsgAcceptDTagTransfer) Unmarshal(dAtA []byte) error
func (MsgAcceptDTagTransfer) ValidateBasic ¶ added in v0.15.0
func (msg MsgAcceptDTagTransfer) ValidateBasic() error
func (*MsgAcceptDTagTransfer) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *MsgAcceptDTagTransfer) XXX_DiscardUnknown()
func (*MsgAcceptDTagTransfer) XXX_Marshal ¶ added in v0.15.0
func (m *MsgAcceptDTagTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAcceptDTagTransfer) XXX_Merge ¶ added in v0.15.0
func (m *MsgAcceptDTagTransfer) XXX_Merge(src proto.Message)
func (*MsgAcceptDTagTransfer) XXX_Size ¶ added in v0.15.0
func (m *MsgAcceptDTagTransfer) XXX_Size() int
func (*MsgAcceptDTagTransfer) XXX_Unmarshal ¶ added in v0.15.0
func (m *MsgAcceptDTagTransfer) XXX_Unmarshal(b []byte) error
type MsgAcceptDTagTransferResponse ¶ added in v0.15.0
type MsgAcceptDTagTransferResponse struct { }
MsgAcceptDTagTransferResponse defines the Msg/AcceptDTagTransfer response.
func (*MsgAcceptDTagTransferResponse) Descriptor ¶ added in v0.15.0
func (*MsgAcceptDTagTransferResponse) Descriptor() ([]byte, []int)
func (*MsgAcceptDTagTransferResponse) Marshal ¶ added in v0.15.0
func (m *MsgAcceptDTagTransferResponse) Marshal() (dAtA []byte, err error)
func (*MsgAcceptDTagTransferResponse) MarshalTo ¶ added in v0.15.0
func (m *MsgAcceptDTagTransferResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAcceptDTagTransferResponse) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *MsgAcceptDTagTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAcceptDTagTransferResponse) ProtoMessage ¶ added in v0.15.0
func (*MsgAcceptDTagTransferResponse) ProtoMessage()
func (*MsgAcceptDTagTransferResponse) Reset ¶ added in v0.15.0
func (m *MsgAcceptDTagTransferResponse) Reset()
func (*MsgAcceptDTagTransferResponse) Size ¶ added in v0.15.0
func (m *MsgAcceptDTagTransferResponse) Size() (n int)
func (*MsgAcceptDTagTransferResponse) String ¶ added in v0.15.0
func (m *MsgAcceptDTagTransferResponse) String() string
func (*MsgAcceptDTagTransferResponse) Unmarshal ¶ added in v0.15.0
func (m *MsgAcceptDTagTransferResponse) Unmarshal(dAtA []byte) error
func (*MsgAcceptDTagTransferResponse) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *MsgAcceptDTagTransferResponse) XXX_DiscardUnknown()
func (*MsgAcceptDTagTransferResponse) XXX_Marshal ¶ added in v0.15.0
func (m *MsgAcceptDTagTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAcceptDTagTransferResponse) XXX_Merge ¶ added in v0.15.0
func (m *MsgAcceptDTagTransferResponse) XXX_Merge(src proto.Message)
func (*MsgAcceptDTagTransferResponse) XXX_Size ¶ added in v0.15.0
func (m *MsgAcceptDTagTransferResponse) XXX_Size() int
func (*MsgAcceptDTagTransferResponse) XXX_Unmarshal ¶ added in v0.15.0
func (m *MsgAcceptDTagTransferResponse) XXX_Unmarshal(b []byte) error
type MsgBlockUser ¶ added in v0.16.0
type MsgBlockUser struct { Blocker string `protobuf:"bytes,1,opt,name=blocker,proto3" json:"blocker,omitempty" yaml:"blocker"` Blocked string `protobuf:"bytes,2,opt,name=blocked,proto3" json:"blocked,omitempty" yaml:"blocked"` Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty" yaml:"reason"` Subspace string `protobuf:"bytes,4,opt,name=subspace,proto3" json:"subspace,omitempty" yaml:"subspace"` }
MsgBlockUser represents a message to block another user specifying an optional reason.
func NewMsgBlockUser ¶ added in v0.16.0
func NewMsgBlockUser(blocker, blocked, reason, subspace string) *MsgBlockUser
func (*MsgBlockUser) Descriptor ¶ added in v0.16.0
func (*MsgBlockUser) Descriptor() ([]byte, []int)
func (*MsgBlockUser) GetBlocked ¶ added in v0.16.0
func (m *MsgBlockUser) GetBlocked() string
func (*MsgBlockUser) GetBlocker ¶ added in v0.16.0
func (m *MsgBlockUser) GetBlocker() string
func (*MsgBlockUser) GetReason ¶ added in v0.16.0
func (m *MsgBlockUser) GetReason() string
func (MsgBlockUser) GetSignBytes ¶ added in v0.16.0
func (msg MsgBlockUser) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgBlockUser) GetSigners ¶ added in v0.16.0
func (msg MsgBlockUser) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgBlockUser) GetSubspace ¶ added in v0.16.0
func (m *MsgBlockUser) GetSubspace() string
func (*MsgBlockUser) Marshal ¶ added in v0.16.0
func (m *MsgBlockUser) Marshal() (dAtA []byte, err error)
func (*MsgBlockUser) MarshalTo ¶ added in v0.16.0
func (m *MsgBlockUser) MarshalTo(dAtA []byte) (int, error)
func (*MsgBlockUser) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *MsgBlockUser) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBlockUser) ProtoMessage ¶ added in v0.16.0
func (*MsgBlockUser) ProtoMessage()
func (*MsgBlockUser) Reset ¶ added in v0.16.0
func (m *MsgBlockUser) Reset()
func (MsgBlockUser) Route ¶ added in v0.16.0
func (msg MsgBlockUser) Route() string
Route should return the name of the module
func (*MsgBlockUser) Size ¶ added in v0.16.0
func (m *MsgBlockUser) Size() (n int)
func (*MsgBlockUser) String ¶ added in v0.16.0
func (m *MsgBlockUser) String() string
func (MsgBlockUser) Type ¶ added in v0.16.0
func (msg MsgBlockUser) Type() string
Type should return the action
func (*MsgBlockUser) Unmarshal ¶ added in v0.16.0
func (m *MsgBlockUser) Unmarshal(dAtA []byte) error
func (MsgBlockUser) ValidateBasic ¶ added in v0.16.0
func (msg MsgBlockUser) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgBlockUser) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *MsgBlockUser) XXX_DiscardUnknown()
func (*MsgBlockUser) XXX_Marshal ¶ added in v0.16.0
func (m *MsgBlockUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBlockUser) XXX_Merge ¶ added in v0.16.0
func (m *MsgBlockUser) XXX_Merge(src proto.Message)
func (*MsgBlockUser) XXX_Size ¶ added in v0.16.0
func (m *MsgBlockUser) XXX_Size() int
func (*MsgBlockUser) XXX_Unmarshal ¶ added in v0.16.0
func (m *MsgBlockUser) XXX_Unmarshal(b []byte) error
type MsgCancelDTagTransfer ¶ added in v0.15.0
type MsgCancelDTagTransfer struct { Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"` Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` }
MsgCancelDTagTransfer represents the message used to cancel a DTag transfer request.
func NewMsgCancelDTagTransferRequest ¶ added in v0.13.0
func NewMsgCancelDTagTransferRequest(sender, receiver string) *MsgCancelDTagTransfer
NewMsgCancelDTagTransferRequest is a constructor for MsgCancelDTagTransfer
func (*MsgCancelDTagTransfer) Descriptor ¶ added in v0.15.0
func (*MsgCancelDTagTransfer) Descriptor() ([]byte, []int)
func (MsgCancelDTagTransfer) GetSignBytes ¶ added in v0.15.0
func (msg MsgCancelDTagTransfer) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgCancelDTagTransfer) GetSigners ¶ added in v0.15.0
func (msg MsgCancelDTagTransfer) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgCancelDTagTransfer) Marshal ¶ added in v0.15.0
func (m *MsgCancelDTagTransfer) Marshal() (dAtA []byte, err error)
func (*MsgCancelDTagTransfer) MarshalTo ¶ added in v0.15.0
func (m *MsgCancelDTagTransfer) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelDTagTransfer) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *MsgCancelDTagTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelDTagTransfer) ProtoMessage ¶ added in v0.15.0
func (*MsgCancelDTagTransfer) ProtoMessage()
func (*MsgCancelDTagTransfer) Reset ¶ added in v0.15.0
func (m *MsgCancelDTagTransfer) Reset()
func (MsgCancelDTagTransfer) Route ¶ added in v0.15.0
func (msg MsgCancelDTagTransfer) Route() string
Route should return the name of the module
func (*MsgCancelDTagTransfer) Size ¶ added in v0.15.0
func (m *MsgCancelDTagTransfer) Size() (n int)
func (*MsgCancelDTagTransfer) String ¶ added in v0.15.0
func (m *MsgCancelDTagTransfer) String() string
func (MsgCancelDTagTransfer) Type ¶ added in v0.15.0
func (msg MsgCancelDTagTransfer) Type() string
Type should return the action
func (*MsgCancelDTagTransfer) Unmarshal ¶ added in v0.15.0
func (m *MsgCancelDTagTransfer) Unmarshal(dAtA []byte) error
func (MsgCancelDTagTransfer) ValidateBasic ¶ added in v0.15.0
func (msg MsgCancelDTagTransfer) ValidateBasic() error
func (*MsgCancelDTagTransfer) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *MsgCancelDTagTransfer) XXX_DiscardUnknown()
func (*MsgCancelDTagTransfer) XXX_Marshal ¶ added in v0.15.0
func (m *MsgCancelDTagTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelDTagTransfer) XXX_Merge ¶ added in v0.15.0
func (m *MsgCancelDTagTransfer) XXX_Merge(src proto.Message)
func (*MsgCancelDTagTransfer) XXX_Size ¶ added in v0.15.0
func (m *MsgCancelDTagTransfer) XXX_Size() int
func (*MsgCancelDTagTransfer) XXX_Unmarshal ¶ added in v0.15.0
func (m *MsgCancelDTagTransfer) XXX_Unmarshal(b []byte) error
type MsgCancelDTagTransferResponse ¶ added in v0.15.0
type MsgCancelDTagTransferResponse struct { }
MsgCancelDTagTransferResponse represents the Msg/CancelDTagTransfer response type.
func (*MsgCancelDTagTransferResponse) Descriptor ¶ added in v0.15.0
func (*MsgCancelDTagTransferResponse) Descriptor() ([]byte, []int)
func (*MsgCancelDTagTransferResponse) Marshal ¶ added in v0.15.0
func (m *MsgCancelDTagTransferResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelDTagTransferResponse) MarshalTo ¶ added in v0.15.0
func (m *MsgCancelDTagTransferResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelDTagTransferResponse) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *MsgCancelDTagTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelDTagTransferResponse) ProtoMessage ¶ added in v0.15.0
func (*MsgCancelDTagTransferResponse) ProtoMessage()
func (*MsgCancelDTagTransferResponse) Reset ¶ added in v0.15.0
func (m *MsgCancelDTagTransferResponse) Reset()
func (*MsgCancelDTagTransferResponse) Size ¶ added in v0.15.0
func (m *MsgCancelDTagTransferResponse) Size() (n int)
func (*MsgCancelDTagTransferResponse) String ¶ added in v0.15.0
func (m *MsgCancelDTagTransferResponse) String() string
func (*MsgCancelDTagTransferResponse) Unmarshal ¶ added in v0.15.0
func (m *MsgCancelDTagTransferResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelDTagTransferResponse) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *MsgCancelDTagTransferResponse) XXX_DiscardUnknown()
func (*MsgCancelDTagTransferResponse) XXX_Marshal ¶ added in v0.15.0
func (m *MsgCancelDTagTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelDTagTransferResponse) XXX_Merge ¶ added in v0.15.0
func (m *MsgCancelDTagTransferResponse) XXX_Merge(src proto.Message)
func (*MsgCancelDTagTransferResponse) XXX_Size ¶ added in v0.15.0
func (m *MsgCancelDTagTransferResponse) XXX_Size() int
func (*MsgCancelDTagTransferResponse) XXX_Unmarshal ¶ added in v0.15.0
func (m *MsgCancelDTagTransferResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶ added in v0.15.0
type MsgClient interface { // SaveProfile defines the method to save a profile SaveProfile(ctx context.Context, in *MsgSaveProfile, opts ...grpc.CallOption) (*MsgSaveProfileResponse, error) // DeleteProfile defines the method to delete an existing profile DeleteProfile(ctx context.Context, in *MsgDeleteProfile, opts ...grpc.CallOption) (*MsgDeleteProfileResponse, error) // RequestDTagTransfer defines the method to request another user to transfer // their DTag to you RequestDTagTransfer(ctx context.Context, in *MsgRequestDTagTransfer, opts ...grpc.CallOption) (*MsgRequestDTagTransferResponse, error) // CancelDTagTransfer defines the method to cancel an outgoing DTag transfer // request CancelDTagTransfer(ctx context.Context, in *MsgCancelDTagTransfer, opts ...grpc.CallOption) (*MsgCancelDTagTransferResponse, error) // AcceptDTagTransfer defines the method to accept an incoming DTag transfer // request AcceptDTagTransfer(ctx context.Context, in *MsgAcceptDTagTransfer, opts ...grpc.CallOption) (*MsgAcceptDTagTransferResponse, error) // RefuseDTagTransfer defines the method to refuse an incoming DTag transfer // request RefuseDTagTransfer(ctx context.Context, in *MsgRefuseDTagTransfer, opts ...grpc.CallOption) (*MsgRefuseDTagTransferResponse, error) // CreateRelationship defines a method for creating a new relationship CreateRelationship(ctx context.Context, in *MsgCreateRelationship, opts ...grpc.CallOption) (*CreateRelationshipResponse, error) // DeleteRelationship defines a method for deleting a relationship DeleteRelationship(ctx context.Context, in *MsgDeleteRelationship, opts ...grpc.CallOption) (*DeleteRelationshipResponse, error) // BlockUser defines a method for blocking a user BlockUser(ctx context.Context, in *MsgBlockUser, opts ...grpc.CallOption) (*BlockUserResponse, error) // UnblockUser defines a method for unblocking a user UnblockUser(ctx context.Context, in *MsgUnblockUser, opts ...grpc.CallOption) (*UnblockUserResponse, 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 ¶ added in v0.15.0
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCreateRelationship ¶ added in v0.16.0
type MsgCreateRelationship struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"` Subspace string `protobuf:"bytes,3,opt,name=subspace,proto3" json:"subspace,omitempty" yaml:"subspace"` }
MsgCreateRelationship represents a message to create a relationship between two users on a specific subspace.
func NewMsgCreateRelationship ¶ added in v0.16.0
func NewMsgCreateRelationship(creator, recipient, subspace string) *MsgCreateRelationship
func (*MsgCreateRelationship) Descriptor ¶ added in v0.16.0
func (*MsgCreateRelationship) Descriptor() ([]byte, []int)
func (MsgCreateRelationship) GetSignBytes ¶ added in v0.16.0
func (msg MsgCreateRelationship) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgCreateRelationship) GetSigners ¶ added in v0.16.0
func (msg MsgCreateRelationship) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgCreateRelationship) Marshal ¶ added in v0.16.0
func (m *MsgCreateRelationship) Marshal() (dAtA []byte, err error)
func (*MsgCreateRelationship) MarshalTo ¶ added in v0.16.0
func (m *MsgCreateRelationship) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateRelationship) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *MsgCreateRelationship) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateRelationship) ProtoMessage ¶ added in v0.16.0
func (*MsgCreateRelationship) ProtoMessage()
func (*MsgCreateRelationship) Reset ¶ added in v0.16.0
func (m *MsgCreateRelationship) Reset()
func (MsgCreateRelationship) Route ¶ added in v0.16.0
func (msg MsgCreateRelationship) Route() string
Route should return the name of the module
func (*MsgCreateRelationship) Size ¶ added in v0.16.0
func (m *MsgCreateRelationship) Size() (n int)
func (*MsgCreateRelationship) String ¶ added in v0.16.0
func (m *MsgCreateRelationship) String() string
func (MsgCreateRelationship) Type ¶ added in v0.16.0
func (msg MsgCreateRelationship) Type() string
Type should return the action
func (*MsgCreateRelationship) Unmarshal ¶ added in v0.16.0
func (m *MsgCreateRelationship) Unmarshal(dAtA []byte) error
func (MsgCreateRelationship) ValidateBasic ¶ added in v0.16.0
func (msg MsgCreateRelationship) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgCreateRelationship) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *MsgCreateRelationship) XXX_DiscardUnknown()
func (*MsgCreateRelationship) XXX_Marshal ¶ added in v0.16.0
func (m *MsgCreateRelationship) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateRelationship) XXX_Merge ¶ added in v0.16.0
func (m *MsgCreateRelationship) XXX_Merge(src proto.Message)
func (*MsgCreateRelationship) XXX_Size ¶ added in v0.16.0
func (m *MsgCreateRelationship) XXX_Size() int
func (*MsgCreateRelationship) XXX_Unmarshal ¶ added in v0.16.0
func (m *MsgCreateRelationship) XXX_Unmarshal(b []byte) error
type MsgDeleteProfile ¶
type MsgDeleteProfile struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"`
}
MsgDeleteProfile represents the message used to delete an existing profile.
func NewMsgDeleteProfile ¶
func NewMsgDeleteProfile(creator string) *MsgDeleteProfile
NewMsgDeleteProfile is a constructor function for MsgDeleteProfile
func (*MsgDeleteProfile) Descriptor ¶ added in v0.15.0
func (*MsgDeleteProfile) Descriptor() ([]byte, []int)
func (MsgDeleteProfile) GetSignBytes ¶
func (msg MsgDeleteProfile) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgDeleteProfile) GetSigners ¶
func (msg MsgDeleteProfile) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgDeleteProfile) Marshal ¶ added in v0.15.0
func (m *MsgDeleteProfile) Marshal() (dAtA []byte, err error)
func (*MsgDeleteProfile) MarshalTo ¶ added in v0.15.0
func (m *MsgDeleteProfile) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteProfile) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *MsgDeleteProfile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteProfile) ProtoMessage ¶ added in v0.15.0
func (*MsgDeleteProfile) ProtoMessage()
func (*MsgDeleteProfile) Reset ¶ added in v0.15.0
func (m *MsgDeleteProfile) Reset()
func (MsgDeleteProfile) Route ¶
func (msg MsgDeleteProfile) Route() string
Route should return the name of the module
func (*MsgDeleteProfile) Size ¶ added in v0.15.0
func (m *MsgDeleteProfile) Size() (n int)
func (*MsgDeleteProfile) String ¶ added in v0.15.0
func (m *MsgDeleteProfile) String() string
func (MsgDeleteProfile) Type ¶
func (msg MsgDeleteProfile) Type() string
Type should return the action
func (*MsgDeleteProfile) Unmarshal ¶ added in v0.15.0
func (m *MsgDeleteProfile) Unmarshal(dAtA []byte) error
func (MsgDeleteProfile) ValidateBasic ¶
func (msg MsgDeleteProfile) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgDeleteProfile) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *MsgDeleteProfile) XXX_DiscardUnknown()
func (*MsgDeleteProfile) XXX_Marshal ¶ added in v0.15.0
func (m *MsgDeleteProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteProfile) XXX_Merge ¶ added in v0.15.0
func (m *MsgDeleteProfile) XXX_Merge(src proto.Message)
func (*MsgDeleteProfile) XXX_Size ¶ added in v0.15.0
func (m *MsgDeleteProfile) XXX_Size() int
func (*MsgDeleteProfile) XXX_Unmarshal ¶ added in v0.15.0
func (m *MsgDeleteProfile) XXX_Unmarshal(b []byte) error
type MsgDeleteProfileResponse ¶ added in v0.15.0
type MsgDeleteProfileResponse struct { }
MsgDeleteProfileResponse defines the Msg/DeleteProfile response type.
func (*MsgDeleteProfileResponse) Descriptor ¶ added in v0.15.0
func (*MsgDeleteProfileResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteProfileResponse) Marshal ¶ added in v0.15.0
func (m *MsgDeleteProfileResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteProfileResponse) MarshalTo ¶ added in v0.15.0
func (m *MsgDeleteProfileResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteProfileResponse) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *MsgDeleteProfileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteProfileResponse) ProtoMessage ¶ added in v0.15.0
func (*MsgDeleteProfileResponse) ProtoMessage()
func (*MsgDeleteProfileResponse) Reset ¶ added in v0.15.0
func (m *MsgDeleteProfileResponse) Reset()
func (*MsgDeleteProfileResponse) Size ¶ added in v0.15.0
func (m *MsgDeleteProfileResponse) Size() (n int)
func (*MsgDeleteProfileResponse) String ¶ added in v0.15.0
func (m *MsgDeleteProfileResponse) String() string
func (*MsgDeleteProfileResponse) Unmarshal ¶ added in v0.15.0
func (m *MsgDeleteProfileResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteProfileResponse) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *MsgDeleteProfileResponse) XXX_DiscardUnknown()
func (*MsgDeleteProfileResponse) XXX_Marshal ¶ added in v0.15.0
func (m *MsgDeleteProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteProfileResponse) XXX_Merge ¶ added in v0.15.0
func (m *MsgDeleteProfileResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteProfileResponse) XXX_Size ¶ added in v0.15.0
func (m *MsgDeleteProfileResponse) XXX_Size() int
func (*MsgDeleteProfileResponse) XXX_Unmarshal ¶ added in v0.15.0
func (m *MsgDeleteProfileResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteRelationship ¶ added in v0.16.0
type MsgDeleteRelationship struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" yaml:"user"` Counterparty string `protobuf:"bytes,2,opt,name=counterparty,proto3" json:"counterparty,omitempty" yaml:"counterparty"` Subspace string `protobuf:"bytes,3,opt,name=subspace,proto3" json:"subspace,omitempty" yaml:"subspace"` }
MsgDeleteRelationship represents a message to delete the relationship between two users.
func NewMsgDeleteRelationship ¶ added in v0.16.0
func NewMsgDeleteRelationship(user, counterparty, subspace string) *MsgDeleteRelationship
func (*MsgDeleteRelationship) Descriptor ¶ added in v0.16.0
func (*MsgDeleteRelationship) Descriptor() ([]byte, []int)
func (*MsgDeleteRelationship) GetCounterparty ¶ added in v0.16.0
func (m *MsgDeleteRelationship) GetCounterparty() string
func (MsgDeleteRelationship) GetSignBytes ¶ added in v0.16.0
func (msg MsgDeleteRelationship) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgDeleteRelationship) GetSigners ¶ added in v0.16.0
func (msg MsgDeleteRelationship) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgDeleteRelationship) GetSubspace ¶ added in v0.16.0
func (m *MsgDeleteRelationship) GetSubspace() string
func (*MsgDeleteRelationship) GetUser ¶ added in v0.16.0
func (m *MsgDeleteRelationship) GetUser() string
func (*MsgDeleteRelationship) Marshal ¶ added in v0.16.0
func (m *MsgDeleteRelationship) Marshal() (dAtA []byte, err error)
func (*MsgDeleteRelationship) MarshalTo ¶ added in v0.16.0
func (m *MsgDeleteRelationship) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteRelationship) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *MsgDeleteRelationship) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteRelationship) ProtoMessage ¶ added in v0.16.0
func (*MsgDeleteRelationship) ProtoMessage()
func (*MsgDeleteRelationship) Reset ¶ added in v0.16.0
func (m *MsgDeleteRelationship) Reset()
func (MsgDeleteRelationship) Route ¶ added in v0.16.0
func (msg MsgDeleteRelationship) Route() string
Route should return the name of the module
func (*MsgDeleteRelationship) Size ¶ added in v0.16.0
func (m *MsgDeleteRelationship) Size() (n int)
func (*MsgDeleteRelationship) String ¶ added in v0.16.0
func (m *MsgDeleteRelationship) String() string
func (MsgDeleteRelationship) Type ¶ added in v0.16.0
func (msg MsgDeleteRelationship) Type() string
Type should return the action
func (*MsgDeleteRelationship) Unmarshal ¶ added in v0.16.0
func (m *MsgDeleteRelationship) Unmarshal(dAtA []byte) error
func (MsgDeleteRelationship) ValidateBasic ¶ added in v0.16.0
func (msg MsgDeleteRelationship) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgDeleteRelationship) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *MsgDeleteRelationship) XXX_DiscardUnknown()
func (*MsgDeleteRelationship) XXX_Marshal ¶ added in v0.16.0
func (m *MsgDeleteRelationship) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteRelationship) XXX_Merge ¶ added in v0.16.0
func (m *MsgDeleteRelationship) XXX_Merge(src proto.Message)
func (*MsgDeleteRelationship) XXX_Size ¶ added in v0.16.0
func (m *MsgDeleteRelationship) XXX_Size() int
func (*MsgDeleteRelationship) XXX_Unmarshal ¶ added in v0.16.0
func (m *MsgDeleteRelationship) XXX_Unmarshal(b []byte) error
type MsgRefuseDTagTransfer ¶ added in v0.15.0
type MsgRefuseDTagTransfer struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"` }
MsgRefuseDTagTransfer represents the message used to refuse a DTag transfer request.
func NewMsgRefuseDTagTransferRequest ¶ added in v0.13.0
func NewMsgRefuseDTagTransferRequest(sender, receiver string) *MsgRefuseDTagTransfer
NewMsgRefuseDTagTransferRequest is a constructor for MsgRefuseDTagTransfer
func (*MsgRefuseDTagTransfer) Descriptor ¶ added in v0.15.0
func (*MsgRefuseDTagTransfer) Descriptor() ([]byte, []int)
func (MsgRefuseDTagTransfer) GetSignBytes ¶ added in v0.15.0
func (msg MsgRefuseDTagTransfer) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgRefuseDTagTransfer) GetSigners ¶ added in v0.15.0
func (msg MsgRefuseDTagTransfer) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgRefuseDTagTransfer) Marshal ¶ added in v0.15.0
func (m *MsgRefuseDTagTransfer) Marshal() (dAtA []byte, err error)
func (*MsgRefuseDTagTransfer) MarshalTo ¶ added in v0.15.0
func (m *MsgRefuseDTagTransfer) MarshalTo(dAtA []byte) (int, error)
func (*MsgRefuseDTagTransfer) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *MsgRefuseDTagTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRefuseDTagTransfer) ProtoMessage ¶ added in v0.15.0
func (*MsgRefuseDTagTransfer) ProtoMessage()
func (*MsgRefuseDTagTransfer) Reset ¶ added in v0.15.0
func (m *MsgRefuseDTagTransfer) Reset()
func (MsgRefuseDTagTransfer) Route ¶ added in v0.15.0
func (msg MsgRefuseDTagTransfer) Route() string
Route should return the name of the module
func (*MsgRefuseDTagTransfer) Size ¶ added in v0.15.0
func (m *MsgRefuseDTagTransfer) Size() (n int)
func (*MsgRefuseDTagTransfer) String ¶ added in v0.15.0
func (m *MsgRefuseDTagTransfer) String() string
func (MsgRefuseDTagTransfer) Type ¶ added in v0.15.0
func (msg MsgRefuseDTagTransfer) Type() string
Type should return the action
func (*MsgRefuseDTagTransfer) Unmarshal ¶ added in v0.15.0
func (m *MsgRefuseDTagTransfer) Unmarshal(dAtA []byte) error
func (MsgRefuseDTagTransfer) ValidateBasic ¶ added in v0.15.0
func (msg MsgRefuseDTagTransfer) ValidateBasic() error
func (*MsgRefuseDTagTransfer) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *MsgRefuseDTagTransfer) XXX_DiscardUnknown()
func (*MsgRefuseDTagTransfer) XXX_Marshal ¶ added in v0.15.0
func (m *MsgRefuseDTagTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRefuseDTagTransfer) XXX_Merge ¶ added in v0.15.0
func (m *MsgRefuseDTagTransfer) XXX_Merge(src proto.Message)
func (*MsgRefuseDTagTransfer) XXX_Size ¶ added in v0.15.0
func (m *MsgRefuseDTagTransfer) XXX_Size() int
func (*MsgRefuseDTagTransfer) XXX_Unmarshal ¶ added in v0.15.0
func (m *MsgRefuseDTagTransfer) XXX_Unmarshal(b []byte) error
type MsgRefuseDTagTransferResponse ¶ added in v0.15.0
type MsgRefuseDTagTransferResponse struct { }
MsgRefuseDTagTransferResponse defines the Msg/RefuseDTagTransfer response.
func (*MsgRefuseDTagTransferResponse) Descriptor ¶ added in v0.15.0
func (*MsgRefuseDTagTransferResponse) Descriptor() ([]byte, []int)
func (*MsgRefuseDTagTransferResponse) Marshal ¶ added in v0.15.0
func (m *MsgRefuseDTagTransferResponse) Marshal() (dAtA []byte, err error)
func (*MsgRefuseDTagTransferResponse) MarshalTo ¶ added in v0.15.0
func (m *MsgRefuseDTagTransferResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRefuseDTagTransferResponse) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *MsgRefuseDTagTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRefuseDTagTransferResponse) ProtoMessage ¶ added in v0.15.0
func (*MsgRefuseDTagTransferResponse) ProtoMessage()
func (*MsgRefuseDTagTransferResponse) Reset ¶ added in v0.15.0
func (m *MsgRefuseDTagTransferResponse) Reset()
func (*MsgRefuseDTagTransferResponse) Size ¶ added in v0.15.0
func (m *MsgRefuseDTagTransferResponse) Size() (n int)
func (*MsgRefuseDTagTransferResponse) String ¶ added in v0.15.0
func (m *MsgRefuseDTagTransferResponse) String() string
func (*MsgRefuseDTagTransferResponse) Unmarshal ¶ added in v0.15.0
func (m *MsgRefuseDTagTransferResponse) Unmarshal(dAtA []byte) error
func (*MsgRefuseDTagTransferResponse) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *MsgRefuseDTagTransferResponse) XXX_DiscardUnknown()
func (*MsgRefuseDTagTransferResponse) XXX_Marshal ¶ added in v0.15.0
func (m *MsgRefuseDTagTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRefuseDTagTransferResponse) XXX_Merge ¶ added in v0.15.0
func (m *MsgRefuseDTagTransferResponse) XXX_Merge(src proto.Message)
func (*MsgRefuseDTagTransferResponse) XXX_Size ¶ added in v0.15.0
func (m *MsgRefuseDTagTransferResponse) XXX_Size() int
func (*MsgRefuseDTagTransferResponse) XXX_Unmarshal ¶ added in v0.15.0
func (m *MsgRefuseDTagTransferResponse) XXX_Unmarshal(b []byte) error
type MsgRequestDTagTransfer ¶ added in v0.12.0
type MsgRequestDTagTransfer struct { Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"` Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` }
MsgRequestDTagTransfer represents the message used to request the DTag transfer to another user.
func NewMsgRequestDTagTransfer ¶ added in v0.12.0
func NewMsgRequestDTagTransfer(sender, receiver string) *MsgRequestDTagTransfer
NewMsgRequestDTagTransfer is a constructor function for MsgRequestDTagTransfer
func (*MsgRequestDTagTransfer) Descriptor ¶ added in v0.15.0
func (*MsgRequestDTagTransfer) Descriptor() ([]byte, []int)
func (MsgRequestDTagTransfer) GetSignBytes ¶ added in v0.15.0
func (msg MsgRequestDTagTransfer) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgRequestDTagTransfer) GetSigners ¶ added in v0.15.0
func (msg MsgRequestDTagTransfer) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgRequestDTagTransfer) Marshal ¶ added in v0.15.0
func (m *MsgRequestDTagTransfer) Marshal() (dAtA []byte, err error)
func (*MsgRequestDTagTransfer) MarshalTo ¶ added in v0.15.0
func (m *MsgRequestDTagTransfer) MarshalTo(dAtA []byte) (int, error)
func (*MsgRequestDTagTransfer) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *MsgRequestDTagTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRequestDTagTransfer) ProtoMessage ¶ added in v0.15.0
func (*MsgRequestDTagTransfer) ProtoMessage()
func (*MsgRequestDTagTransfer) Reset ¶ added in v0.15.0
func (m *MsgRequestDTagTransfer) Reset()
func (MsgRequestDTagTransfer) Route ¶ added in v0.15.0
func (msg MsgRequestDTagTransfer) Route() string
Route should return the name of the module
func (*MsgRequestDTagTransfer) Size ¶ added in v0.15.0
func (m *MsgRequestDTagTransfer) Size() (n int)
func (*MsgRequestDTagTransfer) String ¶ added in v0.15.0
func (m *MsgRequestDTagTransfer) String() string
func (MsgRequestDTagTransfer) Type ¶ added in v0.15.0
func (msg MsgRequestDTagTransfer) Type() string
Type should return the action
func (*MsgRequestDTagTransfer) Unmarshal ¶ added in v0.15.0
func (m *MsgRequestDTagTransfer) Unmarshal(dAtA []byte) error
func (MsgRequestDTagTransfer) ValidateBasic ¶ added in v0.15.0
func (msg MsgRequestDTagTransfer) ValidateBasic() error
func (*MsgRequestDTagTransfer) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *MsgRequestDTagTransfer) XXX_DiscardUnknown()
func (*MsgRequestDTagTransfer) XXX_Marshal ¶ added in v0.15.0
func (m *MsgRequestDTagTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRequestDTagTransfer) XXX_Merge ¶ added in v0.15.0
func (m *MsgRequestDTagTransfer) XXX_Merge(src proto.Message)
func (*MsgRequestDTagTransfer) XXX_Size ¶ added in v0.15.0
func (m *MsgRequestDTagTransfer) XXX_Size() int
func (*MsgRequestDTagTransfer) XXX_Unmarshal ¶ added in v0.15.0
func (m *MsgRequestDTagTransfer) XXX_Unmarshal(b []byte) error
type MsgRequestDTagTransferResponse ¶ added in v0.15.0
type MsgRequestDTagTransferResponse struct { }
MsgRequestDTagTransferResponse defines the Msg/RequestDTagTransfer response type.
func (*MsgRequestDTagTransferResponse) Descriptor ¶ added in v0.15.0
func (*MsgRequestDTagTransferResponse) Descriptor() ([]byte, []int)
func (*MsgRequestDTagTransferResponse) Marshal ¶ added in v0.15.0
func (m *MsgRequestDTagTransferResponse) Marshal() (dAtA []byte, err error)
func (*MsgRequestDTagTransferResponse) MarshalTo ¶ added in v0.15.0
func (m *MsgRequestDTagTransferResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRequestDTagTransferResponse) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *MsgRequestDTagTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRequestDTagTransferResponse) ProtoMessage ¶ added in v0.15.0
func (*MsgRequestDTagTransferResponse) ProtoMessage()
func (*MsgRequestDTagTransferResponse) Reset ¶ added in v0.15.0
func (m *MsgRequestDTagTransferResponse) Reset()
func (*MsgRequestDTagTransferResponse) Size ¶ added in v0.15.0
func (m *MsgRequestDTagTransferResponse) Size() (n int)
func (*MsgRequestDTagTransferResponse) String ¶ added in v0.15.0
func (m *MsgRequestDTagTransferResponse) String() string
func (*MsgRequestDTagTransferResponse) Unmarshal ¶ added in v0.15.0
func (m *MsgRequestDTagTransferResponse) Unmarshal(dAtA []byte) error
func (*MsgRequestDTagTransferResponse) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *MsgRequestDTagTransferResponse) XXX_DiscardUnknown()
func (*MsgRequestDTagTransferResponse) XXX_Marshal ¶ added in v0.15.0
func (m *MsgRequestDTagTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRequestDTagTransferResponse) XXX_Merge ¶ added in v0.15.0
func (m *MsgRequestDTagTransferResponse) XXX_Merge(src proto.Message)
func (*MsgRequestDTagTransferResponse) XXX_Size ¶ added in v0.15.0
func (m *MsgRequestDTagTransferResponse) XXX_Size() int
func (*MsgRequestDTagTransferResponse) XXX_Unmarshal ¶ added in v0.15.0
func (m *MsgRequestDTagTransferResponse) XXX_Unmarshal(b []byte) error
type MsgSaveProfile ¶
type MsgSaveProfile struct { DTag string `protobuf:"bytes,1,opt,name=dtag,proto3" json:"dtag,omitempty" yaml:"dtag"` Moniker string `protobuf:"bytes,2,opt,name=moniker,proto3" json:"moniker,omitempty" yaml:"moniker"` Bio string `protobuf:"bytes,3,opt,name=bio,proto3" json:"bio,omitempty" yaml:"bio"` ProfilePicture string `protobuf:"bytes,4,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture" yaml:"profile_picture"` CoverPicture string `protobuf:"bytes,5,opt,name=cover_picture,json=coverPicture,proto3" json:"cover_picture" yaml:"cover_picture"` Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"` }
MsgSaveProfile represents a message to save a profile.
func NewMsgSaveProfile ¶
func NewMsgSaveProfile(dTag string, moniker, bio, profilePic, coverPic string, creator string) *MsgSaveProfile
NewMsgSaveProfile returns a new MsgSaveProfile instance
func (*MsgSaveProfile) Descriptor ¶ added in v0.15.0
func (*MsgSaveProfile) Descriptor() ([]byte, []int)
func (MsgSaveProfile) GetSignBytes ¶
func (msg MsgSaveProfile) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgSaveProfile) GetSigners ¶
func (msg MsgSaveProfile) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgSaveProfile) Marshal ¶ added in v0.15.0
func (m *MsgSaveProfile) Marshal() (dAtA []byte, err error)
func (*MsgSaveProfile) MarshalTo ¶ added in v0.15.0
func (m *MsgSaveProfile) MarshalTo(dAtA []byte) (int, error)
func (*MsgSaveProfile) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *MsgSaveProfile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSaveProfile) ProtoMessage ¶ added in v0.15.0
func (*MsgSaveProfile) ProtoMessage()
func (*MsgSaveProfile) Reset ¶ added in v0.15.0
func (m *MsgSaveProfile) Reset()
func (MsgSaveProfile) Route ¶
func (msg MsgSaveProfile) Route() string
Route should return the name of the module
func (*MsgSaveProfile) Size ¶ added in v0.15.0
func (m *MsgSaveProfile) Size() (n int)
func (*MsgSaveProfile) String ¶ added in v0.15.0
func (m *MsgSaveProfile) String() string
func (*MsgSaveProfile) Unmarshal ¶ added in v0.15.0
func (m *MsgSaveProfile) Unmarshal(dAtA []byte) error
func (MsgSaveProfile) ValidateBasic ¶
func (msg MsgSaveProfile) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgSaveProfile) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *MsgSaveProfile) XXX_DiscardUnknown()
func (*MsgSaveProfile) XXX_Marshal ¶ added in v0.15.0
func (m *MsgSaveProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSaveProfile) XXX_Merge ¶ added in v0.15.0
func (m *MsgSaveProfile) XXX_Merge(src proto.Message)
func (*MsgSaveProfile) XXX_Size ¶ added in v0.15.0
func (m *MsgSaveProfile) XXX_Size() int
func (*MsgSaveProfile) XXX_Unmarshal ¶ added in v0.15.0
func (m *MsgSaveProfile) XXX_Unmarshal(b []byte) error
type MsgSaveProfileResponse ¶ added in v0.15.0
type MsgSaveProfileResponse struct { }
MsgSaveProfileResponse defines the Msg/SaveProfile response type.
func (*MsgSaveProfileResponse) Descriptor ¶ added in v0.15.0
func (*MsgSaveProfileResponse) Descriptor() ([]byte, []int)
func (*MsgSaveProfileResponse) Marshal ¶ added in v0.15.0
func (m *MsgSaveProfileResponse) Marshal() (dAtA []byte, err error)
func (*MsgSaveProfileResponse) MarshalTo ¶ added in v0.15.0
func (m *MsgSaveProfileResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSaveProfileResponse) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *MsgSaveProfileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSaveProfileResponse) ProtoMessage ¶ added in v0.15.0
func (*MsgSaveProfileResponse) ProtoMessage()
func (*MsgSaveProfileResponse) Reset ¶ added in v0.15.0
func (m *MsgSaveProfileResponse) Reset()
func (*MsgSaveProfileResponse) Size ¶ added in v0.15.0
func (m *MsgSaveProfileResponse) Size() (n int)
func (*MsgSaveProfileResponse) String ¶ added in v0.15.0
func (m *MsgSaveProfileResponse) String() string
func (*MsgSaveProfileResponse) Unmarshal ¶ added in v0.15.0
func (m *MsgSaveProfileResponse) Unmarshal(dAtA []byte) error
func (*MsgSaveProfileResponse) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *MsgSaveProfileResponse) XXX_DiscardUnknown()
func (*MsgSaveProfileResponse) XXX_Marshal ¶ added in v0.15.0
func (m *MsgSaveProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSaveProfileResponse) XXX_Merge ¶ added in v0.15.0
func (m *MsgSaveProfileResponse) XXX_Merge(src proto.Message)
func (*MsgSaveProfileResponse) XXX_Size ¶ added in v0.15.0
func (m *MsgSaveProfileResponse) XXX_Size() int
func (*MsgSaveProfileResponse) XXX_Unmarshal ¶ added in v0.15.0
func (m *MsgSaveProfileResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶ added in v0.15.0
type MsgServer interface { // SaveProfile defines the method to save a profile SaveProfile(context.Context, *MsgSaveProfile) (*MsgSaveProfileResponse, error) // DeleteProfile defines the method to delete an existing profile DeleteProfile(context.Context, *MsgDeleteProfile) (*MsgDeleteProfileResponse, error) // RequestDTagTransfer defines the method to request another user to transfer // their DTag to you RequestDTagTransfer(context.Context, *MsgRequestDTagTransfer) (*MsgRequestDTagTransferResponse, error) // CancelDTagTransfer defines the method to cancel an outgoing DTag transfer // request CancelDTagTransfer(context.Context, *MsgCancelDTagTransfer) (*MsgCancelDTagTransferResponse, error) // AcceptDTagTransfer defines the method to accept an incoming DTag transfer // request AcceptDTagTransfer(context.Context, *MsgAcceptDTagTransfer) (*MsgAcceptDTagTransferResponse, error) // RefuseDTagTransfer defines the method to refuse an incoming DTag transfer // request RefuseDTagTransfer(context.Context, *MsgRefuseDTagTransfer) (*MsgRefuseDTagTransferResponse, error) // CreateRelationship defines a method for creating a new relationship CreateRelationship(context.Context, *MsgCreateRelationship) (*CreateRelationshipResponse, error) // DeleteRelationship defines a method for deleting a relationship DeleteRelationship(context.Context, *MsgDeleteRelationship) (*DeleteRelationshipResponse, error) // BlockUser defines a method for blocking a user BlockUser(context.Context, *MsgBlockUser) (*BlockUserResponse, error) // UnblockUser defines a method for unblocking a user UnblockUser(context.Context, *MsgUnblockUser) (*UnblockUserResponse, error) }
MsgServer is the server API for Msg service.
type MsgUnblockUser ¶ added in v0.16.0
type MsgUnblockUser struct { Blocker string `protobuf:"bytes,1,opt,name=blocker,proto3" json:"blocker,omitempty" yaml:"blocker"` Blocked string `protobuf:"bytes,2,opt,name=blocked,proto3" json:"blocked,omitempty" yaml:"blocked"` Subspace string `protobuf:"bytes,4,opt,name=subspace,proto3" json:"subspace,omitempty" yaml:"subspace"` }
MsgUnblockUser represents a message to unblock a previously blocked user.
func NewMsgUnblockUser ¶ added in v0.16.0
func NewMsgUnblockUser(blocker, blocked, subspace string) *MsgUnblockUser
func (*MsgUnblockUser) Descriptor ¶ added in v0.16.0
func (*MsgUnblockUser) Descriptor() ([]byte, []int)
func (*MsgUnblockUser) GetBlocked ¶ added in v0.16.0
func (m *MsgUnblockUser) GetBlocked() string
func (*MsgUnblockUser) GetBlocker ¶ added in v0.16.0
func (m *MsgUnblockUser) GetBlocker() string
func (MsgUnblockUser) GetSignBytes ¶ added in v0.16.0
func (msg MsgUnblockUser) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgUnblockUser) GetSigners ¶ added in v0.16.0
func (msg MsgUnblockUser) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgUnblockUser) GetSubspace ¶ added in v0.16.0
func (m *MsgUnblockUser) GetSubspace() string
func (*MsgUnblockUser) Marshal ¶ added in v0.16.0
func (m *MsgUnblockUser) Marshal() (dAtA []byte, err error)
func (*MsgUnblockUser) MarshalTo ¶ added in v0.16.0
func (m *MsgUnblockUser) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnblockUser) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *MsgUnblockUser) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnblockUser) ProtoMessage ¶ added in v0.16.0
func (*MsgUnblockUser) ProtoMessage()
func (*MsgUnblockUser) Reset ¶ added in v0.16.0
func (m *MsgUnblockUser) Reset()
func (MsgUnblockUser) Route ¶ added in v0.16.0
func (msg MsgUnblockUser) Route() string
Route should return the name of the module
func (*MsgUnblockUser) Size ¶ added in v0.16.0
func (m *MsgUnblockUser) Size() (n int)
func (*MsgUnblockUser) String ¶ added in v0.16.0
func (m *MsgUnblockUser) String() string
func (MsgUnblockUser) Type ¶ added in v0.16.0
func (msg MsgUnblockUser) Type() string
Type should return the action
func (*MsgUnblockUser) Unmarshal ¶ added in v0.16.0
func (m *MsgUnblockUser) Unmarshal(dAtA []byte) error
func (MsgUnblockUser) ValidateBasic ¶ added in v0.16.0
func (msg MsgUnblockUser) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgUnblockUser) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *MsgUnblockUser) XXX_DiscardUnknown()
func (*MsgUnblockUser) XXX_Marshal ¶ added in v0.16.0
func (m *MsgUnblockUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnblockUser) XXX_Merge ¶ added in v0.16.0
func (m *MsgUnblockUser) XXX_Merge(src proto.Message)
func (*MsgUnblockUser) XXX_Size ¶ added in v0.16.0
func (m *MsgUnblockUser) XXX_Size() int
func (*MsgUnblockUser) XXX_Unmarshal ¶ added in v0.16.0
func (m *MsgUnblockUser) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { MonikerParams MonikerParams `protobuf:"bytes,1,opt,name=moniker_params,json=monikerParams,proto3" json:"moniker_params" yaml:"moniker_params"` DTagParams DTagParams `protobuf:"bytes,2,opt,name=dtag_params,json=dtagParams,proto3" json:"dtag_params" yaml:"dtag_params"` MaxBioLength github_com_cosmos_cosmos_sdk_types.Int `` /* 161-byte string literal not displayed */ }
Params contains the parameters for the profiles module
func NewParams ¶
func NewParams(monikerParams MonikerParams, dTagParams DTagParams, maxBioLen sdk.Int) Params
NewParams creates a new ProfileParams obj
func (*Params) Descriptor ¶ added in v0.15.0
func (*Params) GetDTagParams ¶ added in v0.16.0
func (m *Params) GetDTagParams() DTagParams
func (*Params) GetMonikerParams ¶ added in v0.15.0
func (m *Params) GetMonikerParams() MonikerParams
func (*Params) MarshalToSizedBuffer ¶ added in v0.15.0
func (*Params) ParamSetPairs ¶
func (params *Params) ParamSetPairs() paramstypes.ParamSetPairs
ParamSetPairs implements the ParamSet interface and returns the key/value pairs of profile module's parameters.
func (*Params) ProtoMessage ¶ added in v0.15.0
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶ added in v0.15.0
func (*Params) XXX_Unmarshal ¶ added in v0.15.0
type Pictures ¶
type Pictures struct { Profile string `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty" yaml:"profile"` Cover string `protobuf:"bytes,2,opt,name=cover,proto3" json:"cover,omitempty" yaml:"cover"` }
Pictures contains the data of a user profile's related pictures
func NewPictures ¶
NewPictures is a constructor function for Pictures
func (*Pictures) Descriptor ¶ added in v0.15.0
func (*Pictures) GetProfile ¶ added in v0.15.0
func (*Pictures) MarshalToSizedBuffer ¶ added in v0.15.0
func (*Pictures) ProtoMessage ¶ added in v0.15.0
func (*Pictures) ProtoMessage()
func (*Pictures) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *Pictures) XXX_DiscardUnknown()
func (*Pictures) XXX_Marshal ¶ added in v0.15.0
func (*Pictures) XXX_Unmarshal ¶ added in v0.15.0
type Profile ¶
type Profile struct { Account *types.Any `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` DTag string `protobuf:"bytes,2,opt,name=dtag,proto3" json:"dtag,omitempty" yaml:"dtag"` Moniker string `protobuf:"bytes,3,opt,name=moniker,proto3" json:"moniker,omitempty" yaml:"moniker"` Bio string `protobuf:"bytes,4,opt,name=bio,proto3" json:"bio,omitempty" yaml:"bio"` Pictures Pictures `protobuf:"bytes,5,opt,name=pictures,proto3" json:"pictures" yaml:"pictures"` CreationDate time.Time `protobuf:"bytes,6,opt,name=creation_date,json=creationDate,proto3,stdtime" json:"creation_date" yaml:"creation_date"` }
Profile represents a generic first on Desmos, containing the information of a single user
func NewProfile ¶
func NewProfile( dTag string, moniker, bio string, pictures Pictures, creationDate time.Time, account authtypes.AccountI, ) (*Profile, error)
NewProfile builds a new profile having the given DTag, creator and creation date
func (*Profile) Descriptor ¶ added in v0.15.0
func (*Profile) GetAccount ¶ added in v0.16.0
GetAccount returns the underlying account as an authtypes.AccountI instance
func (*Profile) GetAccountNumber ¶ added in v0.16.0
GetAccountNumber implements authtypes.AccountI
func (*Profile) GetAddress ¶ added in v0.16.0
func (p *Profile) GetAddress() sdk.AccAddress
GetAddress implements authtypes.AccountI
func (*Profile) GetPubKey ¶ added in v0.16.0
func (p *Profile) GetPubKey() cryptotypes.PubKey
GetPubKey implements authtypes.AccountI
func (*Profile) GetSequence ¶ added in v0.16.0
GetSequence implements authtypes.AccountI
func (Profile) MarshalJSON ¶ added in v0.16.0
MarshalJSON returns the JSON representation of a Profile.
func (*Profile) MarshalToSizedBuffer ¶ added in v0.15.0
func (*Profile) MarshalYAML ¶ added in v0.16.0
MarshalYAML returns the YAML representation of a Profile.
func (*Profile) ProtoMessage ¶ added in v0.15.0
func (*Profile) ProtoMessage()
func (*Profile) SetAccountNumber ¶ added in v0.16.0
SetAccountNumber implements authtypes.AccountI
func (*Profile) SetAddress ¶ added in v0.16.0
func (p *Profile) SetAddress(addr sdk.AccAddress) error
SetAddress implements authtypes.AccountI
func (*Profile) SetPubKey ¶ added in v0.16.0
func (p *Profile) SetPubKey(pubKey cryptotypes.PubKey) error
SetPubKey implements authtypes.AccountI
func (*Profile) SetSequence ¶ added in v0.16.0
SetSequence implements authtypes.AccountI
func (*Profile) String ¶
Ensure that acc // String implements authtypes.AccountIount implements stringer
func (*Profile) UnpackInterfaces ¶ added in v0.16.0
func (p *Profile) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements codectypes.UnpackInterfacesMessage
func (*Profile) Update ¶ added in v0.15.0
func (p *Profile) Update(update *ProfileUpdate) (*Profile, error)
Update updates the fields of a given profile. An error is returned if the resulting profile contains invalid values.
func (*Profile) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *Profile) XXX_DiscardUnknown()
func (*Profile) XXX_Marshal ¶ added in v0.15.0
func (*Profile) XXX_Unmarshal ¶ added in v0.15.0
type ProfileUpdate ¶ added in v0.16.0
ProfileUpdate contains all the data that can be updated about a profile. When performing an update, if a field should not be edited then it must be set to types.DoNotModify
func NewProfileUpdate ¶ added in v0.16.0
func NewProfileUpdate(dTag, moniker, bio string, pictures Pictures) *ProfileUpdate
NewProfileUpdate builds a new ProfileUpdate instance containing the given data
type QueryClient ¶ added in v0.15.0
type QueryClient interface { // Profile queries the profile of a specific user given their DTag or address. // If the queried user does not have a profile, the returned response will // contain a null profile. Profile(ctx context.Context, in *QueryProfileRequest, opts ...grpc.CallOption) (*QueryProfileResponse, error) // DTagTransfers queries all the DTag transfers requests that have been made // towards the user with the given address DTagTransfers(ctx context.Context, in *QueryDTagTransfersRequest, opts ...grpc.CallOption) (*QueryDTagTransfersResponse, error) // Params queries the profiles module params Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // UserRelationships queries the relationships for the user having the given // address UserRelationships(ctx context.Context, in *QueryUserRelationshipsRequest, opts ...grpc.CallOption) (*QueryUserRelationshipsResponse, error) // UserBlocks queries the user blocks for the user having the given address UserBlocks(ctx context.Context, in *QueryUserBlocksRequest, opts ...grpc.CallOption) (*QueryUserBlocksResponse, 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 ¶ added in v0.15.0
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryDTagTransfersRequest ¶ added in v0.15.0
type QueryDTagTransfersRequest struct { // Address or DTag of the user to query the transfer requests for User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` }
QueryDTagTransfersRequest is the request type for the Query/DTagTransfers RPC endpoint
func NewQueryDTagTransfersRequest ¶ added in v0.16.0
func NewQueryDTagTransfersRequest(user string) *QueryDTagTransfersRequest
NewQueryDTagTransfersRequest returns a new QueryDTagTransfersRequest containing the given data
func (*QueryDTagTransfersRequest) Descriptor ¶ added in v0.15.0
func (*QueryDTagTransfersRequest) Descriptor() ([]byte, []int)
func (*QueryDTagTransfersRequest) Marshal ¶ added in v0.15.0
func (m *QueryDTagTransfersRequest) Marshal() (dAtA []byte, err error)
func (*QueryDTagTransfersRequest) MarshalTo ¶ added in v0.15.0
func (m *QueryDTagTransfersRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDTagTransfersRequest) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *QueryDTagTransfersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDTagTransfersRequest) ProtoMessage ¶ added in v0.15.0
func (*QueryDTagTransfersRequest) ProtoMessage()
func (*QueryDTagTransfersRequest) Reset ¶ added in v0.15.0
func (m *QueryDTagTransfersRequest) Reset()
func (*QueryDTagTransfersRequest) Size ¶ added in v0.15.0
func (m *QueryDTagTransfersRequest) Size() (n int)
func (*QueryDTagTransfersRequest) String ¶ added in v0.15.0
func (m *QueryDTagTransfersRequest) String() string
func (*QueryDTagTransfersRequest) Unmarshal ¶ added in v0.15.0
func (m *QueryDTagTransfersRequest) Unmarshal(dAtA []byte) error
func (*QueryDTagTransfersRequest) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *QueryDTagTransfersRequest) XXX_DiscardUnknown()
func (*QueryDTagTransfersRequest) XXX_Marshal ¶ added in v0.15.0
func (m *QueryDTagTransfersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDTagTransfersRequest) XXX_Merge ¶ added in v0.15.0
func (m *QueryDTagTransfersRequest) XXX_Merge(src proto.Message)
func (*QueryDTagTransfersRequest) XXX_Size ¶ added in v0.15.0
func (m *QueryDTagTransfersRequest) XXX_Size() int
func (*QueryDTagTransfersRequest) XXX_Unmarshal ¶ added in v0.15.0
func (m *QueryDTagTransfersRequest) XXX_Unmarshal(b []byte) error
type QueryDTagTransfersResponse ¶ added in v0.15.0
type QueryDTagTransfersResponse struct { // relationships represent the list of all the blocks for the queried user Requests []DTagTransferRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests"` }
QueryDTagTransfersResponse is the response type for the Query/DTagTransfers RPC method.
func (*QueryDTagTransfersResponse) Descriptor ¶ added in v0.15.0
func (*QueryDTagTransfersResponse) Descriptor() ([]byte, []int)
func (*QueryDTagTransfersResponse) GetRequests ¶ added in v0.15.0
func (m *QueryDTagTransfersResponse) GetRequests() []DTagTransferRequest
func (*QueryDTagTransfersResponse) Marshal ¶ added in v0.15.0
func (m *QueryDTagTransfersResponse) Marshal() (dAtA []byte, err error)
func (*QueryDTagTransfersResponse) MarshalTo ¶ added in v0.15.0
func (m *QueryDTagTransfersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDTagTransfersResponse) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *QueryDTagTransfersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDTagTransfersResponse) ProtoMessage ¶ added in v0.15.0
func (*QueryDTagTransfersResponse) ProtoMessage()
func (*QueryDTagTransfersResponse) Reset ¶ added in v0.15.0
func (m *QueryDTagTransfersResponse) Reset()
func (*QueryDTagTransfersResponse) Size ¶ added in v0.15.0
func (m *QueryDTagTransfersResponse) Size() (n int)
func (*QueryDTagTransfersResponse) String ¶ added in v0.15.0
func (m *QueryDTagTransfersResponse) String() string
func (*QueryDTagTransfersResponse) Unmarshal ¶ added in v0.15.0
func (m *QueryDTagTransfersResponse) Unmarshal(dAtA []byte) error
func (*QueryDTagTransfersResponse) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *QueryDTagTransfersResponse) XXX_DiscardUnknown()
func (*QueryDTagTransfersResponse) XXX_Marshal ¶ added in v0.15.0
func (m *QueryDTagTransfersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDTagTransfersResponse) XXX_Merge ¶ added in v0.15.0
func (m *QueryDTagTransfersResponse) XXX_Merge(src proto.Message)
func (*QueryDTagTransfersResponse) XXX_Size ¶ added in v0.15.0
func (m *QueryDTagTransfersResponse) XXX_Size() int
func (*QueryDTagTransfersResponse) XXX_Unmarshal ¶ added in v0.15.0
func (m *QueryDTagTransfersResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶ added in v0.15.0
type QueryParamsRequest struct { }
QueryParamsRequest is the request type for the Query/Params RPC endpoint
func (*QueryParamsRequest) Descriptor ¶ added in v0.15.0
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶ added in v0.15.0
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶ added in v0.15.0
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶ added in v0.15.0
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶ added in v0.15.0
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶ added in v0.15.0
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶ added in v0.15.0
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶ added in v0.15.0
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶ added in v0.15.0
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶ added in v0.15.0
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶ added in v0.15.0
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶ added in v0.15.0
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶ added in v0.15.0
type QueryParamsResponse struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶ added in v0.15.0
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶ added in v0.15.0
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶ added in v0.15.0
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶ added in v0.15.0
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶ added in v0.15.0
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶ added in v0.15.0
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶ added in v0.15.0
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶ added in v0.15.0
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶ added in v0.15.0
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶ added in v0.15.0
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶ added in v0.15.0
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶ added in v0.15.0
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶ added in v0.15.0
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryProfileRequest ¶ added in v0.15.0
type QueryProfileRequest struct { // Address or DTag of the user to query the profile for User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` }
QueryProfileRequest is the request type for the Query/Profile RPC method.
func NewQueryProfileRequest ¶ added in v0.16.0
func NewQueryProfileRequest(user string) *QueryProfileRequest
NewQueryProfileRequest returns a new QueryProfileRequest containing the given data
func (*QueryProfileRequest) Descriptor ¶ added in v0.15.0
func (*QueryProfileRequest) Descriptor() ([]byte, []int)
func (*QueryProfileRequest) Marshal ¶ added in v0.15.0
func (m *QueryProfileRequest) Marshal() (dAtA []byte, err error)
func (*QueryProfileRequest) MarshalTo ¶ added in v0.15.0
func (m *QueryProfileRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProfileRequest) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *QueryProfileRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProfileRequest) ProtoMessage ¶ added in v0.15.0
func (*QueryProfileRequest) ProtoMessage()
func (*QueryProfileRequest) Reset ¶ added in v0.15.0
func (m *QueryProfileRequest) Reset()
func (*QueryProfileRequest) Size ¶ added in v0.15.0
func (m *QueryProfileRequest) Size() (n int)
func (*QueryProfileRequest) String ¶ added in v0.15.0
func (m *QueryProfileRequest) String() string
func (*QueryProfileRequest) Unmarshal ¶ added in v0.15.0
func (m *QueryProfileRequest) Unmarshal(dAtA []byte) error
func (*QueryProfileRequest) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *QueryProfileRequest) XXX_DiscardUnknown()
func (*QueryProfileRequest) XXX_Marshal ¶ added in v0.15.0
func (m *QueryProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProfileRequest) XXX_Merge ¶ added in v0.15.0
func (m *QueryProfileRequest) XXX_Merge(src proto.Message)
func (*QueryProfileRequest) XXX_Size ¶ added in v0.15.0
func (m *QueryProfileRequest) XXX_Size() int
func (*QueryProfileRequest) XXX_Unmarshal ¶ added in v0.15.0
func (m *QueryProfileRequest) XXX_Unmarshal(b []byte) error
type QueryProfileResponse ¶ added in v0.15.0
type QueryProfileResponse struct {
Profile *types.Any `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
}
QueryProfileResponse is the response type for the Query/Profile RPC method.
func (*QueryProfileResponse) Descriptor ¶ added in v0.15.0
func (*QueryProfileResponse) Descriptor() ([]byte, []int)
func (*QueryProfileResponse) GetProfile ¶ added in v0.15.0
func (m *QueryProfileResponse) GetProfile() *types.Any
func (*QueryProfileResponse) Marshal ¶ added in v0.15.0
func (m *QueryProfileResponse) Marshal() (dAtA []byte, err error)
func (*QueryProfileResponse) MarshalTo ¶ added in v0.15.0
func (m *QueryProfileResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProfileResponse) MarshalToSizedBuffer ¶ added in v0.15.0
func (m *QueryProfileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProfileResponse) ProtoMessage ¶ added in v0.15.0
func (*QueryProfileResponse) ProtoMessage()
func (*QueryProfileResponse) Reset ¶ added in v0.15.0
func (m *QueryProfileResponse) Reset()
func (*QueryProfileResponse) Size ¶ added in v0.15.0
func (m *QueryProfileResponse) Size() (n int)
func (*QueryProfileResponse) String ¶ added in v0.15.0
func (m *QueryProfileResponse) String() string
func (*QueryProfileResponse) Unmarshal ¶ added in v0.15.0
func (m *QueryProfileResponse) Unmarshal(dAtA []byte) error
func (*QueryProfileResponse) UnpackInterfaces ¶ added in v0.16.0
func (r *QueryProfileResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements codectypes.UnpackInterfacesMessage
func (*QueryProfileResponse) XXX_DiscardUnknown ¶ added in v0.15.0
func (m *QueryProfileResponse) XXX_DiscardUnknown()
func (*QueryProfileResponse) XXX_Marshal ¶ added in v0.15.0
func (m *QueryProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProfileResponse) XXX_Merge ¶ added in v0.15.0
func (m *QueryProfileResponse) XXX_Merge(src proto.Message)
func (*QueryProfileResponse) XXX_Size ¶ added in v0.15.0
func (m *QueryProfileResponse) XXX_Size() int
func (*QueryProfileResponse) XXX_Unmarshal ¶ added in v0.15.0
func (m *QueryProfileResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶ added in v0.15.0
type QueryServer interface { // Profile queries the profile of a specific user given their DTag or address. // If the queried user does not have a profile, the returned response will // contain a null profile. Profile(context.Context, *QueryProfileRequest) (*QueryProfileResponse, error) // DTagTransfers queries all the DTag transfers requests that have been made // towards the user with the given address DTagTransfers(context.Context, *QueryDTagTransfersRequest) (*QueryDTagTransfersResponse, error) // Params queries the profiles module params Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // UserRelationships queries the relationships for the user having the given // address UserRelationships(context.Context, *QueryUserRelationshipsRequest) (*QueryUserRelationshipsResponse, error) // UserBlocks queries the user blocks for the user having the given address UserBlocks(context.Context, *QueryUserBlocksRequest) (*QueryUserBlocksResponse, error) }
QueryServer is the server API for Query service.
type QueryUserBlocksRequest ¶ added in v0.16.0
type QueryUserBlocksRequest struct { // address of the user to query the blocks for User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` }
QueryUserBlocksRequest is the request type for the Query/UserBlocks RPC endpoint
func (*QueryUserBlocksRequest) Descriptor ¶ added in v0.16.0
func (*QueryUserBlocksRequest) Descriptor() ([]byte, []int)
func (*QueryUserBlocksRequest) Marshal ¶ added in v0.16.0
func (m *QueryUserBlocksRequest) Marshal() (dAtA []byte, err error)
func (*QueryUserBlocksRequest) MarshalTo ¶ added in v0.16.0
func (m *QueryUserBlocksRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserBlocksRequest) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *QueryUserBlocksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserBlocksRequest) ProtoMessage ¶ added in v0.16.0
func (*QueryUserBlocksRequest) ProtoMessage()
func (*QueryUserBlocksRequest) Reset ¶ added in v0.16.0
func (m *QueryUserBlocksRequest) Reset()
func (*QueryUserBlocksRequest) Size ¶ added in v0.16.0
func (m *QueryUserBlocksRequest) Size() (n int)
func (*QueryUserBlocksRequest) String ¶ added in v0.16.0
func (m *QueryUserBlocksRequest) String() string
func (*QueryUserBlocksRequest) Unmarshal ¶ added in v0.16.0
func (m *QueryUserBlocksRequest) Unmarshal(dAtA []byte) error
func (*QueryUserBlocksRequest) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *QueryUserBlocksRequest) XXX_DiscardUnknown()
func (*QueryUserBlocksRequest) XXX_Marshal ¶ added in v0.16.0
func (m *QueryUserBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserBlocksRequest) XXX_Merge ¶ added in v0.16.0
func (m *QueryUserBlocksRequest) XXX_Merge(src proto.Message)
func (*QueryUserBlocksRequest) XXX_Size ¶ added in v0.16.0
func (m *QueryUserBlocksRequest) XXX_Size() int
func (*QueryUserBlocksRequest) XXX_Unmarshal ¶ added in v0.16.0
func (m *QueryUserBlocksRequest) XXX_Unmarshal(b []byte) error
type QueryUserBlocksResponse ¶ added in v0.16.0
type QueryUserBlocksResponse struct { // blocks represent the list of all the blocks for the queried user Blocks []UserBlock `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks"` }
QueryUserBlocksResponse is the response type for the Query/UserBlocks RPC method.
func (*QueryUserBlocksResponse) Descriptor ¶ added in v0.16.0
func (*QueryUserBlocksResponse) Descriptor() ([]byte, []int)
func (*QueryUserBlocksResponse) GetBlocks ¶ added in v0.16.0
func (m *QueryUserBlocksResponse) GetBlocks() []UserBlock
func (*QueryUserBlocksResponse) Marshal ¶ added in v0.16.0
func (m *QueryUserBlocksResponse) Marshal() (dAtA []byte, err error)
func (*QueryUserBlocksResponse) MarshalTo ¶ added in v0.16.0
func (m *QueryUserBlocksResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserBlocksResponse) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *QueryUserBlocksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserBlocksResponse) ProtoMessage ¶ added in v0.16.0
func (*QueryUserBlocksResponse) ProtoMessage()
func (*QueryUserBlocksResponse) Reset ¶ added in v0.16.0
func (m *QueryUserBlocksResponse) Reset()
func (*QueryUserBlocksResponse) Size ¶ added in v0.16.0
func (m *QueryUserBlocksResponse) Size() (n int)
func (*QueryUserBlocksResponse) String ¶ added in v0.16.0
func (m *QueryUserBlocksResponse) String() string
func (*QueryUserBlocksResponse) Unmarshal ¶ added in v0.16.0
func (m *QueryUserBlocksResponse) Unmarshal(dAtA []byte) error
func (*QueryUserBlocksResponse) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *QueryUserBlocksResponse) XXX_DiscardUnknown()
func (*QueryUserBlocksResponse) XXX_Marshal ¶ added in v0.16.0
func (m *QueryUserBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserBlocksResponse) XXX_Merge ¶ added in v0.16.0
func (m *QueryUserBlocksResponse) XXX_Merge(src proto.Message)
func (*QueryUserBlocksResponse) XXX_Size ¶ added in v0.16.0
func (m *QueryUserBlocksResponse) XXX_Size() int
func (*QueryUserBlocksResponse) XXX_Unmarshal ¶ added in v0.16.0
func (m *QueryUserBlocksResponse) XXX_Unmarshal(b []byte) error
type QueryUserRelationshipsRequest ¶ added in v0.16.0
type QueryUserRelationshipsRequest struct { // address of the user to query the relationships for User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` }
QueryUserRelationshipsRequest is the request type for the Query/UserRelationships RPC method.
func (*QueryUserRelationshipsRequest) Descriptor ¶ added in v0.16.0
func (*QueryUserRelationshipsRequest) Descriptor() ([]byte, []int)
func (*QueryUserRelationshipsRequest) Marshal ¶ added in v0.16.0
func (m *QueryUserRelationshipsRequest) Marshal() (dAtA []byte, err error)
func (*QueryUserRelationshipsRequest) MarshalTo ¶ added in v0.16.0
func (m *QueryUserRelationshipsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserRelationshipsRequest) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *QueryUserRelationshipsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserRelationshipsRequest) ProtoMessage ¶ added in v0.16.0
func (*QueryUserRelationshipsRequest) ProtoMessage()
func (*QueryUserRelationshipsRequest) Reset ¶ added in v0.16.0
func (m *QueryUserRelationshipsRequest) Reset()
func (*QueryUserRelationshipsRequest) Size ¶ added in v0.16.0
func (m *QueryUserRelationshipsRequest) Size() (n int)
func (*QueryUserRelationshipsRequest) String ¶ added in v0.16.0
func (m *QueryUserRelationshipsRequest) String() string
func (*QueryUserRelationshipsRequest) Unmarshal ¶ added in v0.16.0
func (m *QueryUserRelationshipsRequest) Unmarshal(dAtA []byte) error
func (*QueryUserRelationshipsRequest) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *QueryUserRelationshipsRequest) XXX_DiscardUnknown()
func (*QueryUserRelationshipsRequest) XXX_Marshal ¶ added in v0.16.0
func (m *QueryUserRelationshipsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserRelationshipsRequest) XXX_Merge ¶ added in v0.16.0
func (m *QueryUserRelationshipsRequest) XXX_Merge(src proto.Message)
func (*QueryUserRelationshipsRequest) XXX_Size ¶ added in v0.16.0
func (m *QueryUserRelationshipsRequest) XXX_Size() int
func (*QueryUserRelationshipsRequest) XXX_Unmarshal ¶ added in v0.16.0
func (m *QueryUserRelationshipsRequest) XXX_Unmarshal(b []byte) error
type QueryUserRelationshipsResponse ¶ added in v0.16.0
type QueryUserRelationshipsResponse struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // relationships represent the list of all the relationships for the queried // user Relationships []Relationship `protobuf:"bytes,2,rep,name=relationships,proto3" json:"relationships"` }
QueryUserRelationshipsResponse is the response type for the Query/UserRelationships RPC method.
func (*QueryUserRelationshipsResponse) Descriptor ¶ added in v0.16.0
func (*QueryUserRelationshipsResponse) Descriptor() ([]byte, []int)
func (*QueryUserRelationshipsResponse) GetRelationships ¶ added in v0.16.0
func (m *QueryUserRelationshipsResponse) GetRelationships() []Relationship
func (*QueryUserRelationshipsResponse) GetUser ¶ added in v0.16.0
func (m *QueryUserRelationshipsResponse) GetUser() string
func (*QueryUserRelationshipsResponse) Marshal ¶ added in v0.16.0
func (m *QueryUserRelationshipsResponse) Marshal() (dAtA []byte, err error)
func (*QueryUserRelationshipsResponse) MarshalTo ¶ added in v0.16.0
func (m *QueryUserRelationshipsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserRelationshipsResponse) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *QueryUserRelationshipsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserRelationshipsResponse) ProtoMessage ¶ added in v0.16.0
func (*QueryUserRelationshipsResponse) ProtoMessage()
func (*QueryUserRelationshipsResponse) Reset ¶ added in v0.16.0
func (m *QueryUserRelationshipsResponse) Reset()
func (*QueryUserRelationshipsResponse) Size ¶ added in v0.16.0
func (m *QueryUserRelationshipsResponse) Size() (n int)
func (*QueryUserRelationshipsResponse) String ¶ added in v0.16.0
func (m *QueryUserRelationshipsResponse) String() string
func (*QueryUserRelationshipsResponse) Unmarshal ¶ added in v0.16.0
func (m *QueryUserRelationshipsResponse) Unmarshal(dAtA []byte) error
func (*QueryUserRelationshipsResponse) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *QueryUserRelationshipsResponse) XXX_DiscardUnknown()
func (*QueryUserRelationshipsResponse) XXX_Marshal ¶ added in v0.16.0
func (m *QueryUserRelationshipsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserRelationshipsResponse) XXX_Merge ¶ added in v0.16.0
func (m *QueryUserRelationshipsResponse) XXX_Merge(src proto.Message)
func (*QueryUserRelationshipsResponse) XXX_Size ¶ added in v0.16.0
func (m *QueryUserRelationshipsResponse) XXX_Size() int
func (*QueryUserRelationshipsResponse) XXX_Unmarshal ¶ added in v0.16.0
func (m *QueryUserRelationshipsResponse) XXX_Unmarshal(b []byte) error
type Relationship ¶ added in v0.16.0
type Relationship struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"` Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty" yaml:"recipient"` Subspace string `protobuf:"bytes,3,opt,name=subspace,proto3" json:"subspace,omitempty" yaml:"subspace"` }
Relationship is the struct of a relationship. It represent the concept of "follow" of traditional social networks.
func MustUnmarshalRelationships ¶ added in v0.16.0
func MustUnmarshalRelationships(codec codec.BinaryMarshaler, bz []byte) []Relationship
MustUnmarshalRelationships deserializes the given byte array as an array of relationships using the provided BinaryMarshaler
func NewRelationship ¶ added in v0.16.0
func NewRelationship(creator string, recipient string, subspace string) Relationship
NewRelationship returns a new relationships with the given recipient and subspace
func RemoveRelationship ¶ added in v0.16.0
func RemoveRelationship(relationships []Relationship, relationship Relationship) ([]Relationship, bool)
RemoveRelationship removes the given relationships from the provided relationships slice. If the relationship was found, returns the slice with it removed and true. Otherwise, returns the original slice and false
func (*Relationship) Descriptor ¶ added in v0.16.0
func (*Relationship) Descriptor() ([]byte, []int)
func (*Relationship) Equal ¶ added in v0.16.0
func (this *Relationship) Equal(that interface{}) bool
func (*Relationship) GetCreator ¶ added in v0.16.0
func (m *Relationship) GetCreator() string
func (*Relationship) GetRecipient ¶ added in v0.16.0
func (m *Relationship) GetRecipient() string
func (*Relationship) GetSubspace ¶ added in v0.16.0
func (m *Relationship) GetSubspace() string
func (*Relationship) Marshal ¶ added in v0.16.0
func (m *Relationship) Marshal() (dAtA []byte, err error)
func (*Relationship) MarshalTo ¶ added in v0.16.0
func (m *Relationship) MarshalTo(dAtA []byte) (int, error)
func (*Relationship) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *Relationship) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Relationship) ProtoMessage ¶ added in v0.16.0
func (*Relationship) ProtoMessage()
func (*Relationship) Reset ¶ added in v0.16.0
func (m *Relationship) Reset()
func (*Relationship) Size ¶ added in v0.16.0
func (m *Relationship) Size() (n int)
func (*Relationship) String ¶ added in v0.16.0
func (m *Relationship) String() string
func (*Relationship) Unmarshal ¶ added in v0.16.0
func (m *Relationship) Unmarshal(dAtA []byte) error
func (Relationship) Validate ¶ added in v0.16.0
func (r Relationship) Validate() error
Validate implement Validator
func (*Relationship) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *Relationship) XXX_DiscardUnknown()
func (*Relationship) XXX_Marshal ¶ added in v0.16.0
func (m *Relationship) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Relationship) XXX_Merge ¶ added in v0.16.0
func (m *Relationship) XXX_Merge(src proto.Message)
func (*Relationship) XXX_Size ¶ added in v0.16.0
func (m *Relationship) XXX_Size() int
func (*Relationship) XXX_Unmarshal ¶ added in v0.16.0
func (m *Relationship) XXX_Unmarshal(b []byte) error
type Relationships ¶ added in v0.16.0
type Relationships struct {
Relationships []Relationship `protobuf:"bytes,1,rep,name=relationships,proto3" json:"relationships"`
}
Relationships wraps a list of Relationship objects
func (*Relationships) Descriptor ¶ added in v0.16.0
func (*Relationships) Descriptor() ([]byte, []int)
func (*Relationships) GetRelationships ¶ added in v0.16.0
func (m *Relationships) GetRelationships() []Relationship
func (*Relationships) Marshal ¶ added in v0.16.0
func (m *Relationships) Marshal() (dAtA []byte, err error)
func (*Relationships) MarshalTo ¶ added in v0.16.0
func (m *Relationships) MarshalTo(dAtA []byte) (int, error)
func (*Relationships) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *Relationships) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Relationships) ProtoMessage ¶ added in v0.16.0
func (*Relationships) ProtoMessage()
func (*Relationships) Reset ¶ added in v0.16.0
func (m *Relationships) Reset()
func (*Relationships) Size ¶ added in v0.16.0
func (m *Relationships) Size() (n int)
func (*Relationships) String ¶ added in v0.16.0
func (m *Relationships) String() string
func (*Relationships) Unmarshal ¶ added in v0.16.0
func (m *Relationships) Unmarshal(dAtA []byte) error
func (*Relationships) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *Relationships) XXX_DiscardUnknown()
func (*Relationships) XXX_Marshal ¶ added in v0.16.0
func (m *Relationships) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Relationships) XXX_Merge ¶ added in v0.16.0
func (m *Relationships) XXX_Merge(src proto.Message)
func (*Relationships) XXX_Size ¶ added in v0.16.0
func (m *Relationships) XXX_Size() int
func (*Relationships) XXX_Unmarshal ¶ added in v0.16.0
func (m *Relationships) XXX_Unmarshal(b []byte) error
type UnblockUserResponse ¶ added in v0.16.0
type UnblockUserResponse struct { }
UnblockUserResponse defines the Msg/UnblockUser response type.
func (*UnblockUserResponse) Descriptor ¶ added in v0.16.0
func (*UnblockUserResponse) Descriptor() ([]byte, []int)
func (*UnblockUserResponse) Marshal ¶ added in v0.16.0
func (m *UnblockUserResponse) Marshal() (dAtA []byte, err error)
func (*UnblockUserResponse) MarshalTo ¶ added in v0.16.0
func (m *UnblockUserResponse) MarshalTo(dAtA []byte) (int, error)
func (*UnblockUserResponse) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *UnblockUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnblockUserResponse) ProtoMessage ¶ added in v0.16.0
func (*UnblockUserResponse) ProtoMessage()
func (*UnblockUserResponse) Reset ¶ added in v0.16.0
func (m *UnblockUserResponse) Reset()
func (*UnblockUserResponse) Size ¶ added in v0.16.0
func (m *UnblockUserResponse) Size() (n int)
func (*UnblockUserResponse) String ¶ added in v0.16.0
func (m *UnblockUserResponse) String() string
func (*UnblockUserResponse) Unmarshal ¶ added in v0.16.0
func (m *UnblockUserResponse) Unmarshal(dAtA []byte) error
func (*UnblockUserResponse) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *UnblockUserResponse) XXX_DiscardUnknown()
func (*UnblockUserResponse) XXX_Marshal ¶ added in v0.16.0
func (m *UnblockUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnblockUserResponse) XXX_Merge ¶ added in v0.16.0
func (m *UnblockUserResponse) XXX_Merge(src proto.Message)
func (*UnblockUserResponse) XXX_Size ¶ added in v0.16.0
func (m *UnblockUserResponse) XXX_Size() int
func (*UnblockUserResponse) XXX_Unmarshal ¶ added in v0.16.0
func (m *UnblockUserResponse) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶ added in v0.15.0
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AcceptDTagTransfer ¶ added in v0.15.0
func (*UnimplementedMsgServer) AcceptDTagTransfer(ctx context.Context, req *MsgAcceptDTagTransfer) (*MsgAcceptDTagTransferResponse, error)
func (*UnimplementedMsgServer) BlockUser ¶ added in v0.16.0
func (*UnimplementedMsgServer) BlockUser(ctx context.Context, req *MsgBlockUser) (*BlockUserResponse, error)
func (*UnimplementedMsgServer) CancelDTagTransfer ¶ added in v0.15.0
func (*UnimplementedMsgServer) CancelDTagTransfer(ctx context.Context, req *MsgCancelDTagTransfer) (*MsgCancelDTagTransferResponse, error)
func (*UnimplementedMsgServer) CreateRelationship ¶ added in v0.16.0
func (*UnimplementedMsgServer) CreateRelationship(ctx context.Context, req *MsgCreateRelationship) (*CreateRelationshipResponse, error)
func (*UnimplementedMsgServer) DeleteProfile ¶ added in v0.15.0
func (*UnimplementedMsgServer) DeleteProfile(ctx context.Context, req *MsgDeleteProfile) (*MsgDeleteProfileResponse, error)
func (*UnimplementedMsgServer) DeleteRelationship ¶ added in v0.16.0
func (*UnimplementedMsgServer) DeleteRelationship(ctx context.Context, req *MsgDeleteRelationship) (*DeleteRelationshipResponse, error)
func (*UnimplementedMsgServer) RefuseDTagTransfer ¶ added in v0.15.0
func (*UnimplementedMsgServer) RefuseDTagTransfer(ctx context.Context, req *MsgRefuseDTagTransfer) (*MsgRefuseDTagTransferResponse, error)
func (*UnimplementedMsgServer) RequestDTagTransfer ¶ added in v0.15.0
func (*UnimplementedMsgServer) RequestDTagTransfer(ctx context.Context, req *MsgRequestDTagTransfer) (*MsgRequestDTagTransferResponse, error)
func (*UnimplementedMsgServer) SaveProfile ¶ added in v0.15.0
func (*UnimplementedMsgServer) SaveProfile(ctx context.Context, req *MsgSaveProfile) (*MsgSaveProfileResponse, error)
func (*UnimplementedMsgServer) UnblockUser ¶ added in v0.16.0
func (*UnimplementedMsgServer) UnblockUser(ctx context.Context, req *MsgUnblockUser) (*UnblockUserResponse, error)
type UnimplementedQueryServer ¶ added in v0.15.0
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) DTagTransfers ¶ added in v0.15.0
func (*UnimplementedQueryServer) DTagTransfers(ctx context.Context, req *QueryDTagTransfersRequest) (*QueryDTagTransfersResponse, error)
func (*UnimplementedQueryServer) Params ¶ added in v0.15.0
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Profile ¶ added in v0.15.0
func (*UnimplementedQueryServer) Profile(ctx context.Context, req *QueryProfileRequest) (*QueryProfileResponse, error)
func (*UnimplementedQueryServer) UserBlocks ¶ added in v0.16.0
func (*UnimplementedQueryServer) UserBlocks(ctx context.Context, req *QueryUserBlocksRequest) (*QueryUserBlocksResponse, error)
func (*UnimplementedQueryServer) UserRelationships ¶ added in v0.16.0
func (*UnimplementedQueryServer) UserRelationships(ctx context.Context, req *QueryUserRelationshipsRequest) (*QueryUserRelationshipsResponse, error)
type UserBlock ¶ added in v0.16.0
type UserBlock struct { Blocker string `protobuf:"bytes,1,opt,name=blocker,proto3" json:"blocker,omitempty" yaml:"blocker"` Blocked string `protobuf:"bytes,2,opt,name=blocked,proto3" json:"blocked,omitempty" yaml:"blocked"` Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty" yaml:"reason"` Subspace string `protobuf:"bytes,4,opt,name=subspace,proto3" json:"subspace,omitempty" yaml:"subspace"` }
UserBlock represents the fact that the Blocker has blocked the given Blocked user.
func MustUnmarshalUserBlocks ¶ added in v0.16.0
func MustUnmarshalUserBlocks(cdc codec.BinaryMarshaler, bz []byte) []UserBlock
MustUnmarshalUserBlocks deserializes the given byte array as an array of blocks using the provided BinaryMarshaler
func NewUserBlock ¶ added in v0.16.0
NewUserBlock returns a new object representing the fact that one user has blocked another one for a specific reason on the given subspace.
func RemoveUserBlock ¶ added in v0.16.0
RemoveUserBlock removes the block made from the blocker towards the blocked inside the subspace, from the provided slice of blocks. If the block is found, returns the new slice with it removed and true. If the block is not found, returns the original fl
func (*UserBlock) Descriptor ¶ added in v0.16.0
func (*UserBlock) GetBlocked ¶ added in v0.16.0
func (*UserBlock) GetBlocker ¶ added in v0.16.0
func (*UserBlock) GetSubspace ¶ added in v0.16.0
func (*UserBlock) MarshalToSizedBuffer ¶ added in v0.16.0
func (*UserBlock) ProtoMessage ¶ added in v0.16.0
func (*UserBlock) ProtoMessage()
func (*UserBlock) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *UserBlock) XXX_DiscardUnknown()
func (*UserBlock) XXX_Marshal ¶ added in v0.16.0
func (*UserBlock) XXX_Unmarshal ¶ added in v0.16.0
type UserBlocks ¶ added in v0.16.0
type UserBlocks struct {
Blocks []UserBlock `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks"`
}
UserBlocks wraps a list of UserBlock objects
func (*UserBlocks) Descriptor ¶ added in v0.16.0
func (*UserBlocks) Descriptor() ([]byte, []int)
func (*UserBlocks) GetBlocks ¶ added in v0.16.0
func (m *UserBlocks) GetBlocks() []UserBlock
func (*UserBlocks) Marshal ¶ added in v0.16.0
func (m *UserBlocks) Marshal() (dAtA []byte, err error)
func (*UserBlocks) MarshalTo ¶ added in v0.16.0
func (m *UserBlocks) MarshalTo(dAtA []byte) (int, error)
func (*UserBlocks) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *UserBlocks) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserBlocks) ProtoMessage ¶ added in v0.16.0
func (*UserBlocks) ProtoMessage()
func (*UserBlocks) Reset ¶ added in v0.16.0
func (m *UserBlocks) Reset()
func (*UserBlocks) Size ¶ added in v0.16.0
func (m *UserBlocks) Size() (n int)
func (*UserBlocks) String ¶ added in v0.16.0
func (m *UserBlocks) String() string
func (*UserBlocks) Unmarshal ¶ added in v0.16.0
func (m *UserBlocks) Unmarshal(dAtA []byte) error
func (*UserBlocks) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *UserBlocks) XXX_DiscardUnknown()
func (*UserBlocks) XXX_Marshal ¶ added in v0.16.0
func (m *UserBlocks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserBlocks) XXX_Merge ¶ added in v0.16.0
func (m *UserBlocks) XXX_Merge(src proto.Message)
func (*UserBlocks) XXX_Size ¶ added in v0.16.0
func (m *UserBlocks) XXX_Size() int
func (*UserBlocks) XXX_Unmarshal ¶ added in v0.16.0
func (m *UserBlocks) XXX_Unmarshal(b []byte) error