Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AddToMerkle(path string, append string) string
- func FilesKey(address string, ownerAddress string) []byte
- func HashThenHex(any string) string
- func KeyPrefix(p string) []byte
- func MakeEditorAccessMap(trackingNumber string, editorIds []string, aesKey string) ([]byte, error)
- func MakeOwnerAddress(merklePath string, user string) string
- func MakePrivateKey(fromName string) (*eciesgo.PrivateKey, error)
- func MakeViewerAccessMap(trackingNumber string, viewerIds []string, aesKey string) ([]byte, error)
- func MerkleHelper(argHashpath string) (string, string)
- func MerklePath(path string) string
- func ParamKeyTable() paramtypes.KeyTable
- func PubkeyKey(address string) []byte
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- 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)
- type AccountKeeper
- type BankKeeper
- type Files
- func (*Files) Descriptor() ([]byte, []int)
- func (m *Files) GetAddress() string
- func (m *Files) GetContents() string
- func (m *Files) GetEditAccess() string
- func (m *Files) GetOwner() string
- func (m *Files) GetTrackingNumber() string
- func (m *Files) GetViewingAccess() string
- func (m *Files) Marshal() (dAtA []byte, err error)
- func (m *Files) MarshalTo(dAtA []byte) (int, error)
- func (m *Files) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Files) ProtoMessage()
- func (m *Files) Reset()
- func (m *Files) Size() (n int)
- func (m *Files) String() string
- func (m *Files) Unmarshal(dAtA []byte) error
- func (m *Files) XXX_DiscardUnknown()
- func (m *Files) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Files) XXX_Merge(src proto.Message)
- func (m *Files) XXX_Size() int
- func (m *Files) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetFilesList() []Files
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPubkeyList() []Pubkey
- 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 (gs GenesisState) Validate() 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 MsgAddEditors
- func (*MsgAddEditors) Descriptor() ([]byte, []int)
- func (m *MsgAddEditors) GetAddress() string
- func (m *MsgAddEditors) GetCreator() string
- func (m *MsgAddEditors) GetEditorIds() string
- func (m *MsgAddEditors) GetEditorKeys() string
- func (m *MsgAddEditors) GetFileowner() string
- func (msg *MsgAddEditors) GetSignBytes() []byte
- func (msg *MsgAddEditors) GetSigners() []sdk.AccAddress
- func (m *MsgAddEditors) Marshal() (dAtA []byte, err error)
- func (m *MsgAddEditors) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddEditors) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddEditors) ProtoMessage()
- func (m *MsgAddEditors) Reset()
- func (msg *MsgAddEditors) Route() string
- func (m *MsgAddEditors) Size() (n int)
- func (m *MsgAddEditors) String() string
- func (msg *MsgAddEditors) Type() string
- func (m *MsgAddEditors) Unmarshal(dAtA []byte) error
- func (msg *MsgAddEditors) ValidateBasic() error
- func (m *MsgAddEditors) XXX_DiscardUnknown()
- func (m *MsgAddEditors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddEditors) XXX_Merge(src proto.Message)
- func (m *MsgAddEditors) XXX_Size() int
- func (m *MsgAddEditors) XXX_Unmarshal(b []byte) error
- type MsgAddEditorsResponse
- func (*MsgAddEditorsResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddEditorsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddEditorsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddEditorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddEditorsResponse) ProtoMessage()
- func (m *MsgAddEditorsResponse) Reset()
- func (m *MsgAddEditorsResponse) Size() (n int)
- func (m *MsgAddEditorsResponse) String() string
- func (m *MsgAddEditorsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddEditorsResponse) XXX_DiscardUnknown()
- func (m *MsgAddEditorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddEditorsResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddEditorsResponse) XXX_Size() int
- func (m *MsgAddEditorsResponse) XXX_Unmarshal(b []byte) error
- type MsgAddViewers
- func (*MsgAddViewers) Descriptor() ([]byte, []int)
- func (m *MsgAddViewers) GetAddress() string
- func (m *MsgAddViewers) GetCreator() string
- func (m *MsgAddViewers) GetFileowner() string
- func (msg *MsgAddViewers) GetSignBytes() []byte
- func (msg *MsgAddViewers) GetSigners() []sdk.AccAddress
- func (m *MsgAddViewers) GetViewerIds() string
- func (m *MsgAddViewers) GetViewerKeys() string
- func (m *MsgAddViewers) Marshal() (dAtA []byte, err error)
- func (m *MsgAddViewers) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddViewers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddViewers) ProtoMessage()
- func (m *MsgAddViewers) Reset()
- func (msg *MsgAddViewers) Route() string
- func (m *MsgAddViewers) Size() (n int)
- func (m *MsgAddViewers) String() string
- func (msg *MsgAddViewers) Type() string
- func (m *MsgAddViewers) Unmarshal(dAtA []byte) error
- func (msg *MsgAddViewers) ValidateBasic() error
- func (m *MsgAddViewers) XXX_DiscardUnknown()
- func (m *MsgAddViewers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddViewers) XXX_Merge(src proto.Message)
- func (m *MsgAddViewers) XXX_Size() int
- func (m *MsgAddViewers) XXX_Unmarshal(b []byte) error
- type MsgAddViewersResponse
- func (*MsgAddViewersResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddViewersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddViewersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddViewersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddViewersResponse) ProtoMessage()
- func (m *MsgAddViewersResponse) Reset()
- func (m *MsgAddViewersResponse) Size() (n int)
- func (m *MsgAddViewersResponse) String() string
- func (m *MsgAddViewersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddViewersResponse) XXX_DiscardUnknown()
- func (m *MsgAddViewersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddViewersResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddViewersResponse) XXX_Size() int
- func (m *MsgAddViewersResponse) XXX_Unmarshal(b []byte) error
- type MsgChangeOwner
- func (*MsgChangeOwner) Descriptor() ([]byte, []int)
- func (m *MsgChangeOwner) GetAddress() string
- func (m *MsgChangeOwner) GetCreator() string
- func (m *MsgChangeOwner) GetFileOwner() string
- func (m *MsgChangeOwner) GetNewOwner() string
- func (msg *MsgChangeOwner) GetSignBytes() []byte
- func (msg *MsgChangeOwner) GetSigners() []sdk.AccAddress
- func (m *MsgChangeOwner) Marshal() (dAtA []byte, err error)
- func (m *MsgChangeOwner) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgChangeOwner) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgChangeOwner) ProtoMessage()
- func (m *MsgChangeOwner) Reset()
- func (msg *MsgChangeOwner) Route() string
- func (m *MsgChangeOwner) Size() (n int)
- func (m *MsgChangeOwner) String() string
- func (msg *MsgChangeOwner) Type() string
- func (m *MsgChangeOwner) Unmarshal(dAtA []byte) error
- func (msg *MsgChangeOwner) ValidateBasic() error
- func (m *MsgChangeOwner) XXX_DiscardUnknown()
- func (m *MsgChangeOwner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgChangeOwner) XXX_Merge(src proto.Message)
- func (m *MsgChangeOwner) XXX_Size() int
- func (m *MsgChangeOwner) XXX_Unmarshal(b []byte) error
- type MsgChangeOwnerResponse
- func (*MsgChangeOwnerResponse) Descriptor() ([]byte, []int)
- func (m *MsgChangeOwnerResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgChangeOwnerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgChangeOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgChangeOwnerResponse) ProtoMessage()
- func (m *MsgChangeOwnerResponse) Reset()
- func (m *MsgChangeOwnerResponse) Size() (n int)
- func (m *MsgChangeOwnerResponse) String() string
- func (m *MsgChangeOwnerResponse) Unmarshal(dAtA []byte) error
- func (m *MsgChangeOwnerResponse) XXX_DiscardUnknown()
- func (m *MsgChangeOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgChangeOwnerResponse) XXX_Merge(src proto.Message)
- func (m *MsgChangeOwnerResponse) XXX_Size() int
- func (m *MsgChangeOwnerResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgDeleteFile
- func (*MsgDeleteFile) Descriptor() ([]byte, []int)
- func (m *MsgDeleteFile) GetAccount() string
- func (m *MsgDeleteFile) GetCreator() string
- func (m *MsgDeleteFile) GetHashPath() string
- func (msg *MsgDeleteFile) GetSignBytes() []byte
- func (msg *MsgDeleteFile) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteFile) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteFile) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteFile) ProtoMessage()
- func (m *MsgDeleteFile) Reset()
- func (msg *MsgDeleteFile) Route() string
- func (m *MsgDeleteFile) Size() (n int)
- func (m *MsgDeleteFile) String() string
- func (msg *MsgDeleteFile) Type() string
- func (m *MsgDeleteFile) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteFile) ValidateBasic() error
- func (m *MsgDeleteFile) XXX_DiscardUnknown()
- func (m *MsgDeleteFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteFile) XXX_Merge(src proto.Message)
- func (m *MsgDeleteFile) XXX_Size() int
- func (m *MsgDeleteFile) XXX_Unmarshal(b []byte) error
- type MsgDeleteFileResponse
- func (*MsgDeleteFileResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteFileResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteFileResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteFileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteFileResponse) ProtoMessage()
- func (m *MsgDeleteFileResponse) Reset()
- func (m *MsgDeleteFileResponse) Size() (n int)
- func (m *MsgDeleteFileResponse) String() string
- func (m *MsgDeleteFileResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteFileResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteFileResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteFileResponse) XXX_Size() int
- func (m *MsgDeleteFileResponse) XXX_Unmarshal(b []byte) error
- type MsgMakeRoot
- func (*MsgMakeRoot) Descriptor() ([]byte, []int)
- func (m *MsgMakeRoot) GetAccount() string
- func (m *MsgMakeRoot) GetContents() string
- func (m *MsgMakeRoot) GetCreator() string
- func (m *MsgMakeRoot) GetEditors() string
- func (m *MsgMakeRoot) GetRootHashPath() string
- func (msg *MsgMakeRoot) GetSignBytes() []byte
- func (msg *MsgMakeRoot) GetSigners() []sdk.AccAddress
- func (m *MsgMakeRoot) GetTrackingNumber() string
- func (m *MsgMakeRoot) GetViewers() string
- func (m *MsgMakeRoot) Marshal() (dAtA []byte, err error)
- func (m *MsgMakeRoot) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMakeRoot) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMakeRoot) ProtoMessage()
- func (m *MsgMakeRoot) Reset()
- func (msg *MsgMakeRoot) Route() string
- func (m *MsgMakeRoot) Size() (n int)
- func (m *MsgMakeRoot) String() string
- func (msg *MsgMakeRoot) Type() string
- func (m *MsgMakeRoot) Unmarshal(dAtA []byte) error
- func (msg *MsgMakeRoot) ValidateBasic() error
- func (m *MsgMakeRoot) XXX_DiscardUnknown()
- func (m *MsgMakeRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMakeRoot) XXX_Merge(src proto.Message)
- func (m *MsgMakeRoot) XXX_Size() int
- func (m *MsgMakeRoot) XXX_Unmarshal(b []byte) error
- type MsgMakeRootResponse
- func (*MsgMakeRootResponse) Descriptor() ([]byte, []int)
- func (m *MsgMakeRootResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMakeRootResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMakeRootResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMakeRootResponse) ProtoMessage()
- func (m *MsgMakeRootResponse) Reset()
- func (m *MsgMakeRootResponse) Size() (n int)
- func (m *MsgMakeRootResponse) String() string
- func (m *MsgMakeRootResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMakeRootResponse) XXX_DiscardUnknown()
- func (m *MsgMakeRootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMakeRootResponse) XXX_Merge(src proto.Message)
- func (m *MsgMakeRootResponse) XXX_Size() int
- func (m *MsgMakeRootResponse) XXX_Unmarshal(b []byte) error
- type MsgMakeRootV2
- func (*MsgMakeRootV2) Descriptor() ([]byte, []int)
- func (m *MsgMakeRootV2) GetCreator() string
- func (m *MsgMakeRootV2) GetEditors() string
- func (msg *MsgMakeRootV2) GetSignBytes() []byte
- func (msg *MsgMakeRootV2) GetSigners() []sdk.AccAddress
- func (m *MsgMakeRootV2) GetTrackingNumber() string
- func (m *MsgMakeRootV2) GetViewers() string
- func (m *MsgMakeRootV2) Marshal() (dAtA []byte, err error)
- func (m *MsgMakeRootV2) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMakeRootV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMakeRootV2) ProtoMessage()
- func (m *MsgMakeRootV2) Reset()
- func (msg *MsgMakeRootV2) Route() string
- func (m *MsgMakeRootV2) Size() (n int)
- func (m *MsgMakeRootV2) String() string
- func (msg *MsgMakeRootV2) Type() string
- func (m *MsgMakeRootV2) Unmarshal(dAtA []byte) error
- func (msg *MsgMakeRootV2) ValidateBasic() error
- func (m *MsgMakeRootV2) XXX_DiscardUnknown()
- func (m *MsgMakeRootV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMakeRootV2) XXX_Merge(src proto.Message)
- func (m *MsgMakeRootV2) XXX_Size() int
- func (m *MsgMakeRootV2) XXX_Unmarshal(b []byte) error
- type MsgPostFile
- func (*MsgPostFile) Descriptor() ([]byte, []int)
- func (m *MsgPostFile) GetAccount() string
- func (m *MsgPostFile) GetContents() string
- func (m *MsgPostFile) GetCreator() string
- func (m *MsgPostFile) GetEditors() string
- func (m *MsgPostFile) GetHashChild() string
- func (m *MsgPostFile) GetHashParent() string
- func (msg *MsgPostFile) GetSignBytes() []byte
- func (msg *MsgPostFile) GetSigners() []sdk.AccAddress
- func (m *MsgPostFile) GetTrackingNumber() string
- func (m *MsgPostFile) GetViewers() string
- func (m *MsgPostFile) Marshal() (dAtA []byte, err error)
- func (m *MsgPostFile) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPostFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPostFile) ProtoMessage()
- func (m *MsgPostFile) Reset()
- func (msg *MsgPostFile) Route() string
- func (m *MsgPostFile) Size() (n int)
- func (m *MsgPostFile) String() string
- func (msg *MsgPostFile) Type() string
- func (m *MsgPostFile) Unmarshal(dAtA []byte) error
- func (msg *MsgPostFile) ValidateBasic() error
- func (m *MsgPostFile) XXX_DiscardUnknown()
- func (m *MsgPostFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPostFile) XXX_Merge(src proto.Message)
- func (m *MsgPostFile) XXX_Size() int
- func (m *MsgPostFile) XXX_Unmarshal(b []byte) error
- type MsgPostFileResponse
- func (*MsgPostFileResponse) Descriptor() ([]byte, []int)
- func (m *MsgPostFileResponse) GetPath() string
- func (m *MsgPostFileResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgPostFileResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPostFileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPostFileResponse) ProtoMessage()
- func (m *MsgPostFileResponse) Reset()
- func (m *MsgPostFileResponse) Size() (n int)
- func (m *MsgPostFileResponse) String() string
- func (m *MsgPostFileResponse) Unmarshal(dAtA []byte) error
- func (m *MsgPostFileResponse) XXX_DiscardUnknown()
- func (m *MsgPostFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPostFileResponse) XXX_Merge(src proto.Message)
- func (m *MsgPostFileResponse) XXX_Size() int
- func (m *MsgPostFileResponse) XXX_Unmarshal(b []byte) error
- type MsgPostkey
- func (*MsgPostkey) Descriptor() ([]byte, []int)
- func (m *MsgPostkey) GetCreator() string
- func (m *MsgPostkey) GetKey() string
- func (msg *MsgPostkey) GetSignBytes() []byte
- func (msg *MsgPostkey) GetSigners() []sdk.AccAddress
- func (m *MsgPostkey) Marshal() (dAtA []byte, err error)
- func (m *MsgPostkey) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPostkey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPostkey) ProtoMessage()
- func (m *MsgPostkey) Reset()
- func (msg *MsgPostkey) Route() string
- func (m *MsgPostkey) Size() (n int)
- func (m *MsgPostkey) String() string
- func (msg *MsgPostkey) Type() string
- func (m *MsgPostkey) Unmarshal(dAtA []byte) error
- func (msg *MsgPostkey) ValidateBasic() error
- func (m *MsgPostkey) XXX_DiscardUnknown()
- func (m *MsgPostkey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPostkey) XXX_Merge(src proto.Message)
- func (m *MsgPostkey) XXX_Size() int
- func (m *MsgPostkey) XXX_Unmarshal(b []byte) error
- type MsgPostkeyResponse
- func (*MsgPostkeyResponse) Descriptor() ([]byte, []int)
- func (m *MsgPostkeyResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgPostkeyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPostkeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPostkeyResponse) ProtoMessage()
- func (m *MsgPostkeyResponse) Reset()
- func (m *MsgPostkeyResponse) Size() (n int)
- func (m *MsgPostkeyResponse) String() string
- func (m *MsgPostkeyResponse) Unmarshal(dAtA []byte) error
- func (m *MsgPostkeyResponse) XXX_DiscardUnknown()
- func (m *MsgPostkeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPostkeyResponse) XXX_Merge(src proto.Message)
- func (m *MsgPostkeyResponse) XXX_Size() int
- func (m *MsgPostkeyResponse) XXX_Unmarshal(b []byte) error
- type MsgRemoveEditors
- func (*MsgRemoveEditors) Descriptor() ([]byte, []int)
- func (m *MsgRemoveEditors) GetAddress() string
- func (m *MsgRemoveEditors) GetCreator() string
- func (m *MsgRemoveEditors) GetEditorIds() string
- func (m *MsgRemoveEditors) GetFileowner() string
- func (msg *MsgRemoveEditors) GetSignBytes() []byte
- func (msg *MsgRemoveEditors) GetSigners() []sdk.AccAddress
- func (m *MsgRemoveEditors) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveEditors) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveEditors) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveEditors) ProtoMessage()
- func (m *MsgRemoveEditors) Reset()
- func (msg *MsgRemoveEditors) Route() string
- func (m *MsgRemoveEditors) Size() (n int)
- func (m *MsgRemoveEditors) String() string
- func (msg *MsgRemoveEditors) Type() string
- func (m *MsgRemoveEditors) Unmarshal(dAtA []byte) error
- func (msg *MsgRemoveEditors) ValidateBasic() error
- func (m *MsgRemoveEditors) XXX_DiscardUnknown()
- func (m *MsgRemoveEditors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveEditors) XXX_Merge(src proto.Message)
- func (m *MsgRemoveEditors) XXX_Size() int
- func (m *MsgRemoveEditors) XXX_Unmarshal(b []byte) error
- type MsgRemoveEditorsResponse
- func (*MsgRemoveEditorsResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveEditorsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveEditorsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveEditorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveEditorsResponse) ProtoMessage()
- func (m *MsgRemoveEditorsResponse) Reset()
- func (m *MsgRemoveEditorsResponse) Size() (n int)
- func (m *MsgRemoveEditorsResponse) String() string
- func (m *MsgRemoveEditorsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveEditorsResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveEditorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveEditorsResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveEditorsResponse) XXX_Size() int
- func (m *MsgRemoveEditorsResponse) XXX_Unmarshal(b []byte) error
- type MsgRemoveViewers
- func (*MsgRemoveViewers) Descriptor() ([]byte, []int)
- func (m *MsgRemoveViewers) GetAddress() string
- func (m *MsgRemoveViewers) GetCreator() string
- func (m *MsgRemoveViewers) GetFileowner() string
- func (msg *MsgRemoveViewers) GetSignBytes() []byte
- func (msg *MsgRemoveViewers) GetSigners() []sdk.AccAddress
- func (m *MsgRemoveViewers) GetViewerIds() string
- func (m *MsgRemoveViewers) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveViewers) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveViewers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveViewers) ProtoMessage()
- func (m *MsgRemoveViewers) Reset()
- func (msg *MsgRemoveViewers) Route() string
- func (m *MsgRemoveViewers) Size() (n int)
- func (m *MsgRemoveViewers) String() string
- func (msg *MsgRemoveViewers) Type() string
- func (m *MsgRemoveViewers) Unmarshal(dAtA []byte) error
- func (msg *MsgRemoveViewers) ValidateBasic() error
- func (m *MsgRemoveViewers) XXX_DiscardUnknown()
- func (m *MsgRemoveViewers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveViewers) XXX_Merge(src proto.Message)
- func (m *MsgRemoveViewers) XXX_Size() int
- func (m *MsgRemoveViewers) XXX_Unmarshal(b []byte) error
- type MsgRemoveViewersResponse
- func (*MsgRemoveViewersResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveViewersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveViewersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveViewersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveViewersResponse) ProtoMessage()
- func (m *MsgRemoveViewersResponse) Reset()
- func (m *MsgRemoveViewersResponse) Size() (n int)
- func (m *MsgRemoveViewersResponse) String() string
- func (m *MsgRemoveViewersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveViewersResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveViewersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveViewersResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveViewersResponse) XXX_Size() int
- func (m *MsgRemoveViewersResponse) XXX_Unmarshal(b []byte) error
- type MsgResetEditors
- func (*MsgResetEditors) Descriptor() ([]byte, []int)
- func (m *MsgResetEditors) GetAddress() string
- func (m *MsgResetEditors) GetCreator() string
- func (m *MsgResetEditors) GetFileowner() string
- func (msg *MsgResetEditors) GetSignBytes() []byte
- func (msg *MsgResetEditors) GetSigners() []sdk.AccAddress
- func (m *MsgResetEditors) Marshal() (dAtA []byte, err error)
- func (m *MsgResetEditors) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgResetEditors) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgResetEditors) ProtoMessage()
- func (m *MsgResetEditors) Reset()
- func (msg *MsgResetEditors) Route() string
- func (m *MsgResetEditors) Size() (n int)
- func (m *MsgResetEditors) String() string
- func (msg *MsgResetEditors) Type() string
- func (m *MsgResetEditors) Unmarshal(dAtA []byte) error
- func (msg *MsgResetEditors) ValidateBasic() error
- func (m *MsgResetEditors) XXX_DiscardUnknown()
- func (m *MsgResetEditors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgResetEditors) XXX_Merge(src proto.Message)
- func (m *MsgResetEditors) XXX_Size() int
- func (m *MsgResetEditors) XXX_Unmarshal(b []byte) error
- type MsgResetEditorsResponse
- func (*MsgResetEditorsResponse) Descriptor() ([]byte, []int)
- func (m *MsgResetEditorsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgResetEditorsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgResetEditorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgResetEditorsResponse) ProtoMessage()
- func (m *MsgResetEditorsResponse) Reset()
- func (m *MsgResetEditorsResponse) Size() (n int)
- func (m *MsgResetEditorsResponse) String() string
- func (m *MsgResetEditorsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgResetEditorsResponse) XXX_DiscardUnknown()
- func (m *MsgResetEditorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgResetEditorsResponse) XXX_Merge(src proto.Message)
- func (m *MsgResetEditorsResponse) XXX_Size() int
- func (m *MsgResetEditorsResponse) XXX_Unmarshal(b []byte) error
- type MsgResetViewers
- func (*MsgResetViewers) Descriptor() ([]byte, []int)
- func (m *MsgResetViewers) GetAddress() string
- func (m *MsgResetViewers) GetCreator() string
- func (m *MsgResetViewers) GetFileowner() string
- func (msg *MsgResetViewers) GetSignBytes() []byte
- func (msg *MsgResetViewers) GetSigners() []sdk.AccAddress
- func (m *MsgResetViewers) Marshal() (dAtA []byte, err error)
- func (m *MsgResetViewers) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgResetViewers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgResetViewers) ProtoMessage()
- func (m *MsgResetViewers) Reset()
- func (msg *MsgResetViewers) Route() string
- func (m *MsgResetViewers) Size() (n int)
- func (m *MsgResetViewers) String() string
- func (msg *MsgResetViewers) Type() string
- func (m *MsgResetViewers) Unmarshal(dAtA []byte) error
- func (msg *MsgResetViewers) ValidateBasic() error
- func (m *MsgResetViewers) XXX_DiscardUnknown()
- func (m *MsgResetViewers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgResetViewers) XXX_Merge(src proto.Message)
- func (m *MsgResetViewers) XXX_Size() int
- func (m *MsgResetViewers) XXX_Unmarshal(b []byte) error
- type MsgResetViewersResponse
- func (*MsgResetViewersResponse) Descriptor() ([]byte, []int)
- func (m *MsgResetViewersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgResetViewersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgResetViewersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgResetViewersResponse) ProtoMessage()
- func (m *MsgResetViewersResponse) Reset()
- func (m *MsgResetViewersResponse) Size() (n int)
- func (m *MsgResetViewersResponse) String() string
- func (m *MsgResetViewersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgResetViewersResponse) XXX_DiscardUnknown()
- func (m *MsgResetViewersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgResetViewersResponse) XXX_Merge(src proto.Message)
- func (m *MsgResetViewersResponse) XXX_Size() int
- func (m *MsgResetViewersResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- 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 (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p 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 Pubkey
- func (*Pubkey) Descriptor() ([]byte, []int)
- func (m *Pubkey) GetAddress() string
- func (m *Pubkey) GetKey() string
- func (m *Pubkey) Marshal() (dAtA []byte, err error)
- func (m *Pubkey) MarshalTo(dAtA []byte) (int, error)
- func (m *Pubkey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Pubkey) ProtoMessage()
- func (m *Pubkey) Reset()
- func (m *Pubkey) Size() (n int)
- func (m *Pubkey) String() string
- func (m *Pubkey) Unmarshal(dAtA []byte) error
- func (m *Pubkey) XXX_DiscardUnknown()
- func (m *Pubkey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pubkey) XXX_Merge(src proto.Message)
- func (m *Pubkey) XXX_Size() int
- func (m *Pubkey) XXX_Unmarshal(b []byte) error
- type QueryAllFilesRequest
- func (*QueryAllFilesRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllFilesRequest) GetPagination() *query.PageRequest
- func (m *QueryAllFilesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllFilesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllFilesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllFilesRequest) ProtoMessage()
- func (m *QueryAllFilesRequest) Reset()
- func (m *QueryAllFilesRequest) Size() (n int)
- func (m *QueryAllFilesRequest) String() string
- func (m *QueryAllFilesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllFilesRequest) XXX_DiscardUnknown()
- func (m *QueryAllFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllFilesRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllFilesRequest) XXX_Size() int
- func (m *QueryAllFilesRequest) XXX_Unmarshal(b []byte) error
- type QueryAllFilesResponse
- func (*QueryAllFilesResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllFilesResponse) GetFiles() []Files
- func (m *QueryAllFilesResponse) GetPagination() *query.PageResponse
- func (m *QueryAllFilesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllFilesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllFilesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllFilesResponse) ProtoMessage()
- func (m *QueryAllFilesResponse) Reset()
- func (m *QueryAllFilesResponse) Size() (n int)
- func (m *QueryAllFilesResponse) String() string
- func (m *QueryAllFilesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllFilesResponse) XXX_DiscardUnknown()
- func (m *QueryAllFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllFilesResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllFilesResponse) XXX_Size() int
- func (m *QueryAllFilesResponse) XXX_Unmarshal(b []byte) error
- type QueryAllPubkeysRequest
- func (*QueryAllPubkeysRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllPubkeysRequest) GetPagination() *query.PageRequest
- func (m *QueryAllPubkeysRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPubkeysRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPubkeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPubkeysRequest) ProtoMessage()
- func (m *QueryAllPubkeysRequest) Reset()
- func (m *QueryAllPubkeysRequest) Size() (n int)
- func (m *QueryAllPubkeysRequest) String() string
- func (m *QueryAllPubkeysRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllPubkeysRequest) XXX_DiscardUnknown()
- func (m *QueryAllPubkeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPubkeysRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllPubkeysRequest) XXX_Size() int
- func (m *QueryAllPubkeysRequest) XXX_Unmarshal(b []byte) error
- type QueryAllPubkeysResponse
- func (*QueryAllPubkeysResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllPubkeysResponse) GetPagination() *query.PageResponse
- func (m *QueryAllPubkeysResponse) GetPubkey() []Pubkey
- func (m *QueryAllPubkeysResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPubkeysResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPubkeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPubkeysResponse) ProtoMessage()
- func (m *QueryAllPubkeysResponse) Reset()
- func (m *QueryAllPubkeysResponse) Size() (n int)
- func (m *QueryAllPubkeysResponse) String() string
- func (m *QueryAllPubkeysResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllPubkeysResponse) XXX_DiscardUnknown()
- func (m *QueryAllPubkeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPubkeysResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllPubkeysResponse) XXX_Size() int
- func (m *QueryAllPubkeysResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDecryptRequest
- func (*QueryDecryptRequest) Descriptor() ([]byte, []int)
- func (m *QueryDecryptRequest) GetMessage() string
- func (m *QueryDecryptRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDecryptRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDecryptRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDecryptRequest) ProtoMessage()
- func (m *QueryDecryptRequest) Reset()
- func (m *QueryDecryptRequest) Size() (n int)
- func (m *QueryDecryptRequest) String() string
- func (m *QueryDecryptRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDecryptRequest) XXX_DiscardUnknown()
- func (m *QueryDecryptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDecryptRequest) XXX_Merge(src proto.Message)
- func (m *QueryDecryptRequest) XXX_Size() int
- func (m *QueryDecryptRequest) XXX_Unmarshal(b []byte) error
- type QueryDecryptResponse
- func (*QueryDecryptResponse) Descriptor() ([]byte, []int)
- func (m *QueryDecryptResponse) GetData() string
- func (m *QueryDecryptResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDecryptResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDecryptResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDecryptResponse) ProtoMessage()
- func (m *QueryDecryptResponse) Reset()
- func (m *QueryDecryptResponse) Size() (n int)
- func (m *QueryDecryptResponse) String() string
- func (m *QueryDecryptResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDecryptResponse) XXX_DiscardUnknown()
- func (m *QueryDecryptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDecryptResponse) XXX_Merge(src proto.Message)
- func (m *QueryDecryptResponse) XXX_Size() int
- func (m *QueryDecryptResponse) XXX_Unmarshal(b []byte) error
- type QueryEncryptRequest
- func (*QueryEncryptRequest) Descriptor() ([]byte, []int)
- func (m *QueryEncryptRequest) GetAddress() string
- func (m *QueryEncryptRequest) GetMessage() string
- func (m *QueryEncryptRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEncryptRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEncryptRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEncryptRequest) ProtoMessage()
- func (m *QueryEncryptRequest) Reset()
- func (m *QueryEncryptRequest) Size() (n int)
- func (m *QueryEncryptRequest) String() string
- func (m *QueryEncryptRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEncryptRequest) XXX_DiscardUnknown()
- func (m *QueryEncryptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEncryptRequest) XXX_Merge(src proto.Message)
- func (m *QueryEncryptRequest) XXX_Size() int
- func (m *QueryEncryptRequest) XXX_Unmarshal(b []byte) error
- type QueryEncryptResponse
- func (*QueryEncryptResponse) Descriptor() ([]byte, []int)
- func (m *QueryEncryptResponse) GetEncryptionData() string
- func (m *QueryEncryptResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEncryptResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEncryptResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEncryptResponse) ProtoMessage()
- func (m *QueryEncryptResponse) Reset()
- func (m *QueryEncryptResponse) Size() (n int)
- func (m *QueryEncryptResponse) String() string
- func (m *QueryEncryptResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEncryptResponse) XXX_DiscardUnknown()
- func (m *QueryEncryptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEncryptResponse) XXX_Merge(src proto.Message)
- func (m *QueryEncryptResponse) XXX_Size() int
- func (m *QueryEncryptResponse) XXX_Unmarshal(b []byte) error
- type QueryFileRequest
- func (*QueryFileRequest) Descriptor() ([]byte, []int)
- func (m *QueryFileRequest) GetAddress() string
- func (m *QueryFileRequest) GetOwnerAddress() string
- func (m *QueryFileRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryFileRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFileRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFileRequest) ProtoMessage()
- func (m *QueryFileRequest) Reset()
- func (m *QueryFileRequest) Size() (n int)
- func (m *QueryFileRequest) String() string
- func (m *QueryFileRequest) Unmarshal(dAtA []byte) error
- func (m *QueryFileRequest) XXX_DiscardUnknown()
- func (m *QueryFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFileRequest) XXX_Merge(src proto.Message)
- func (m *QueryFileRequest) XXX_Size() int
- func (m *QueryFileRequest) XXX_Unmarshal(b []byte) error
- type QueryFileResponse
- func (*QueryFileResponse) Descriptor() ([]byte, []int)
- func (m *QueryFileResponse) GetFiles() Files
- func (m *QueryFileResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFileResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFileResponse) ProtoMessage()
- func (m *QueryFileResponse) Reset()
- func (m *QueryFileResponse) Size() (n int)
- func (m *QueryFileResponse) String() string
- func (m *QueryFileResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFileResponse) XXX_DiscardUnknown()
- func (m *QueryFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFileResponse) XXX_Merge(src proto.Message)
- func (m *QueryFileResponse) XXX_Size() int
- func (m *QueryFileResponse) 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 QueryPubkeyRequest
- func (*QueryPubkeyRequest) Descriptor() ([]byte, []int)
- func (m *QueryPubkeyRequest) GetAddress() string
- func (m *QueryPubkeyRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPubkeyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPubkeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPubkeyRequest) ProtoMessage()
- func (m *QueryPubkeyRequest) Reset()
- func (m *QueryPubkeyRequest) Size() (n int)
- func (m *QueryPubkeyRequest) String() string
- func (m *QueryPubkeyRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPubkeyRequest) XXX_DiscardUnknown()
- func (m *QueryPubkeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPubkeyRequest) XXX_Merge(src proto.Message)
- func (m *QueryPubkeyRequest) XXX_Size() int
- func (m *QueryPubkeyRequest) XXX_Unmarshal(b []byte) error
- type QueryPubkeyResponse
- func (*QueryPubkeyResponse) Descriptor() ([]byte, []int)
- func (m *QueryPubkeyResponse) GetPubkey() Pubkey
- func (m *QueryPubkeyResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPubkeyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPubkeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPubkeyResponse) ProtoMessage()
- func (m *QueryPubkeyResponse) Reset()
- func (m *QueryPubkeyResponse) Size() (n int)
- func (m *QueryPubkeyResponse) String() string
- func (m *QueryPubkeyResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPubkeyResponse) XXX_DiscardUnknown()
- func (m *QueryPubkeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPubkeyResponse) XXX_Merge(src proto.Message)
- func (m *QueryPubkeyResponse) XXX_Size() int
- func (m *QueryPubkeyResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddEditors(ctx context.Context, req *MsgAddEditors) (*MsgAddEditorsResponse, error)
- func (*UnimplementedMsgServer) AddViewers(ctx context.Context, req *MsgAddViewers) (*MsgAddViewersResponse, error)
- func (*UnimplementedMsgServer) ChangeOwner(ctx context.Context, req *MsgChangeOwner) (*MsgChangeOwnerResponse, error)
- func (*UnimplementedMsgServer) DeleteFile(ctx context.Context, req *MsgDeleteFile) (*MsgDeleteFileResponse, error)
- func (*UnimplementedMsgServer) MakeRoot(ctx context.Context, req *MsgMakeRoot) (*MsgMakeRootResponse, error)
- func (*UnimplementedMsgServer) MakeRootV2(ctx context.Context, req *MsgMakeRootV2) (*MsgMakeRootResponse, error)
- func (*UnimplementedMsgServer) PostFile(ctx context.Context, req *MsgPostFile) (*MsgPostFileResponse, error)
- func (*UnimplementedMsgServer) Postkey(ctx context.Context, req *MsgPostkey) (*MsgPostkeyResponse, error)
- func (*UnimplementedMsgServer) RemoveEditors(ctx context.Context, req *MsgRemoveEditors) (*MsgRemoveEditorsResponse, error)
- func (*UnimplementedMsgServer) RemoveViewers(ctx context.Context, req *MsgRemoveViewers) (*MsgRemoveViewersResponse, error)
- func (*UnimplementedMsgServer) ResetEditors(ctx context.Context, req *MsgResetEditors) (*MsgResetEditorsResponse, error)
- func (*UnimplementedMsgServer) ResetViewers(ctx context.Context, req *MsgResetViewers) (*MsgResetViewersResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Decrypt(ctx context.Context, req *QueryDecryptRequest) (*QueryDecryptResponse, error)
- func (*UnimplementedQueryServer) Encrypt(ctx context.Context, req *QueryEncryptRequest) (*QueryEncryptResponse, error)
- func (*UnimplementedQueryServer) Files(ctx context.Context, req *QueryFileRequest) (*QueryFileResponse, error)
- func (*UnimplementedQueryServer) FilesAll(ctx context.Context, req *QueryAllFilesRequest) (*QueryAllFilesResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Pubkey(ctx context.Context, req *QueryPubkeyRequest) (*QueryPubkeyResponse, error)
- func (*UnimplementedQueryServer) PubkeyAll(ctx context.Context, req *QueryAllPubkeysRequest) (*QueryAllPubkeysResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "filetree" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_filetree" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const (
// FilesKeyPrefix is the prefix to retrieve all Files
FilesKeyPrefix = "Files/value/"
)
const (
// PubkeyKeyPrefix is the prefix to retrieve all Pubkey
PubkeyKeyPrefix = "Pubkey/value/"
)
const (
TrackerKey = "Tracker-value-"
)
const TypeMsgAddEditors = "add_editors"
const TypeMsgAddViewers = "add_viewers"
const TypeMsgChangeOwner = "change_owner"
const TypeMsgDeleteFile = "delete_file"
const TypeMsgMakeRoot = "make_root"
const TypeMsgMakeRootV2 = "make_root_v2"
const TypeMsgPostFile = "post_file"
const TypeMsgPostkey = "postkey"
const TypeMsgRemoveEditors = "remove_editors"
const TypeMsgRemoveViewers = "remove_viewers"
const TypeMsgResetEditors = "reset_editors"
const TypeMsgResetViewers = "reset_viewers"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewAminoCodec(Amino) )
var ( ErrNoAccess = sdkerrors.Register(ModuleName, 1101, "wrong permissions for file") ErrFileNotFound = sdkerrors.Register(ModuleName, 1102, "file not found") ErrCantMarshall = sdkerrors.Register(ModuleName, 1103, "cannot marshall data into json") ErrCantUnmarshall = sdkerrors.Register(ModuleName, 1104, "cannot unmarshall data from json") ErrPubKeyNotFound = sdkerrors.Register(ModuleName, 1105, "user's public key not found. Account not inited or wrong address") ErrParentFileNotFound = sdkerrors.Register(ModuleName, 1106, "Parent folder does not exist") ErrCannotWrite = sdkerrors.Register(ModuleName, 1107, "You are not permitted to write to this folder") ErrNoViewingAccess = sdkerrors.Register(ModuleName, 1108, "You do not have viewing access. Failed to decrypt.") ErrCannotDelete = sdkerrors.Register(ModuleName, 1110, "You are not authorized to delete this file") ErrNotOwner = sdkerrors.Register(ModuleName, 1111, "Not permitted to remove or reset edit/view access. You are not the owner of this file") ErrCantGiveAway = sdkerrors.Register(ModuleName, 1112, "You do not own this file and cannot give it away") ErrAlreadyExists = sdkerrors.Register(ModuleName, 1113, "Proposed new owner already has a file set with this path name. No duplicates allowed.") ErrCannotAllowEdit = sdkerrors.Register(ModuleName, 1114, "Unathorized. Only the owner can add an editor.") ErrCannotAllowView = sdkerrors.Register(ModuleName, 1115, "Unathorized. Only the owner can add a viewer.") ErrMissingAESKey = sdkerrors.Register(ModuleName, 1116, "AES IV and key required") )
x/filetree module sentinel errors
var ( ErrInvalidLengthFiles = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFiles = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupFiles = fmt.Errorf("proto: unexpected end of group") )
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 ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPubkey = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPubkey = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPubkey = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func AddToMerkle ¶
func HashThenHex ¶
helper function to hash then hex any given string
func MakeEditorAccessMap ¶
func MakeOwnerAddress ¶
Owner address is whoever owns this file/folder
func MakePrivateKey ¶
func MakePrivateKey(fromName string) (*eciesgo.PrivateKey, error)
generate a mock private key using mock keyring
func MakeViewerAccessMap ¶
func MerkleHelper ¶
func MerklePath ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type Files ¶
type Files struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Contents string `protobuf:"bytes,2,opt,name=contents,proto3" json:"contents,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` ViewingAccess string `protobuf:"bytes,4,opt,name=viewingAccess,proto3" json:"viewingAccess,omitempty"` EditAccess string `protobuf:"bytes,5,opt,name=editAccess,proto3" json:"editAccess,omitempty"` TrackingNumber string `protobuf:"bytes,6,opt,name=trackingNumber,proto3" json:"trackingNumber,omitempty"` }
func CreateFolderOrFile ¶
func CreateRootFolder ¶
func (*Files) Descriptor ¶
func (*Files) GetAddress ¶
func (*Files) GetContents ¶
func (*Files) GetEditAccess ¶
func (*Files) GetTrackingNumber ¶
func (*Files) GetViewingAccess ¶
func (*Files) ProtoMessage ¶
func (*Files) ProtoMessage()
func (*Files) XXX_DiscardUnknown ¶
func (m *Files) XXX_DiscardUnknown()
func (*Files) XXX_Marshal ¶
func (*Files) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` FilesList []Files `protobuf:"bytes,2,rep,name=filesList,proto3" json:"filesList"` PubkeyList []Pubkey `protobuf:"bytes,3,rep,name=pubkeyList,proto3" json:"pubkeyList"` }
GenesisState defines the filetree module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetFilesList ¶
func (m *GenesisState) GetFilesList() []Files
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPubkeyList ¶
func (m *GenesisState) GetPubkeyList() []Pubkey
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgAddEditors ¶
type MsgAddEditors struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` EditorIds string `protobuf:"bytes,2,opt,name=editorIds,proto3" json:"editorIds,omitempty"` EditorKeys string `protobuf:"bytes,3,opt,name=editorKeys,proto3" json:"editorKeys,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` Fileowner string `protobuf:"bytes,5,opt,name=fileowner,proto3" json:"fileowner,omitempty"` }
func NewMsgAddEditors ¶
func (*MsgAddEditors) Descriptor ¶
func (*MsgAddEditors) Descriptor() ([]byte, []int)
func (*MsgAddEditors) GetAddress ¶
func (m *MsgAddEditors) GetAddress() string
func (*MsgAddEditors) GetCreator ¶
func (m *MsgAddEditors) GetCreator() string
func (*MsgAddEditors) GetEditorIds ¶
func (m *MsgAddEditors) GetEditorIds() string
func (*MsgAddEditors) GetEditorKeys ¶
func (m *MsgAddEditors) GetEditorKeys() string
func (*MsgAddEditors) GetFileowner ¶
func (m *MsgAddEditors) GetFileowner() string
func (*MsgAddEditors) GetSignBytes ¶
func (msg *MsgAddEditors) GetSignBytes() []byte
func (*MsgAddEditors) GetSigners ¶
func (msg *MsgAddEditors) GetSigners() []sdk.AccAddress
func (*MsgAddEditors) Marshal ¶
func (m *MsgAddEditors) Marshal() (dAtA []byte, err error)
func (*MsgAddEditors) MarshalToSizedBuffer ¶
func (m *MsgAddEditors) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddEditors) ProtoMessage ¶
func (*MsgAddEditors) ProtoMessage()
func (*MsgAddEditors) Reset ¶
func (m *MsgAddEditors) Reset()
func (*MsgAddEditors) Route ¶
func (msg *MsgAddEditors) Route() string
func (*MsgAddEditors) Size ¶
func (m *MsgAddEditors) Size() (n int)
func (*MsgAddEditors) String ¶
func (m *MsgAddEditors) String() string
func (*MsgAddEditors) Type ¶
func (msg *MsgAddEditors) Type() string
func (*MsgAddEditors) Unmarshal ¶
func (m *MsgAddEditors) Unmarshal(dAtA []byte) error
func (*MsgAddEditors) ValidateBasic ¶
func (msg *MsgAddEditors) ValidateBasic() error
func (*MsgAddEditors) XXX_DiscardUnknown ¶
func (m *MsgAddEditors) XXX_DiscardUnknown()
func (*MsgAddEditors) XXX_Marshal ¶
func (m *MsgAddEditors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddEditors) XXX_Merge ¶
func (m *MsgAddEditors) XXX_Merge(src proto.Message)
func (*MsgAddEditors) XXX_Size ¶
func (m *MsgAddEditors) XXX_Size() int
func (*MsgAddEditors) XXX_Unmarshal ¶
func (m *MsgAddEditors) XXX_Unmarshal(b []byte) error
type MsgAddEditorsResponse ¶
type MsgAddEditorsResponse struct { }
func (*MsgAddEditorsResponse) Descriptor ¶
func (*MsgAddEditorsResponse) Descriptor() ([]byte, []int)
func (*MsgAddEditorsResponse) Marshal ¶
func (m *MsgAddEditorsResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddEditorsResponse) MarshalTo ¶
func (m *MsgAddEditorsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddEditorsResponse) MarshalToSizedBuffer ¶
func (m *MsgAddEditorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddEditorsResponse) ProtoMessage ¶
func (*MsgAddEditorsResponse) ProtoMessage()
func (*MsgAddEditorsResponse) Reset ¶
func (m *MsgAddEditorsResponse) Reset()
func (*MsgAddEditorsResponse) Size ¶
func (m *MsgAddEditorsResponse) Size() (n int)
func (*MsgAddEditorsResponse) String ¶
func (m *MsgAddEditorsResponse) String() string
func (*MsgAddEditorsResponse) Unmarshal ¶
func (m *MsgAddEditorsResponse) Unmarshal(dAtA []byte) error
func (*MsgAddEditorsResponse) XXX_DiscardUnknown ¶
func (m *MsgAddEditorsResponse) XXX_DiscardUnknown()
func (*MsgAddEditorsResponse) XXX_Marshal ¶
func (m *MsgAddEditorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddEditorsResponse) XXX_Merge ¶
func (m *MsgAddEditorsResponse) XXX_Merge(src proto.Message)
func (*MsgAddEditorsResponse) XXX_Size ¶
func (m *MsgAddEditorsResponse) XXX_Size() int
func (*MsgAddEditorsResponse) XXX_Unmarshal ¶
func (m *MsgAddEditorsResponse) XXX_Unmarshal(b []byte) error
type MsgAddViewers ¶
type MsgAddViewers struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ViewerIds string `protobuf:"bytes,2,opt,name=viewerIds,proto3" json:"viewerIds,omitempty"` ViewerKeys string `protobuf:"bytes,3,opt,name=viewerKeys,proto3" json:"viewerKeys,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` Fileowner string `protobuf:"bytes,5,opt,name=fileowner,proto3" json:"fileowner,omitempty"` }
func NewMsgAddViewers ¶
func (*MsgAddViewers) Descriptor ¶
func (*MsgAddViewers) Descriptor() ([]byte, []int)
func (*MsgAddViewers) GetAddress ¶
func (m *MsgAddViewers) GetAddress() string
func (*MsgAddViewers) GetCreator ¶
func (m *MsgAddViewers) GetCreator() string
func (*MsgAddViewers) GetFileowner ¶
func (m *MsgAddViewers) GetFileowner() string
func (*MsgAddViewers) GetSignBytes ¶
func (msg *MsgAddViewers) GetSignBytes() []byte
func (*MsgAddViewers) GetSigners ¶
func (msg *MsgAddViewers) GetSigners() []sdk.AccAddress
func (*MsgAddViewers) GetViewerIds ¶
func (m *MsgAddViewers) GetViewerIds() string
func (*MsgAddViewers) GetViewerKeys ¶
func (m *MsgAddViewers) GetViewerKeys() string
func (*MsgAddViewers) Marshal ¶
func (m *MsgAddViewers) Marshal() (dAtA []byte, err error)
func (*MsgAddViewers) MarshalToSizedBuffer ¶
func (m *MsgAddViewers) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddViewers) ProtoMessage ¶
func (*MsgAddViewers) ProtoMessage()
func (*MsgAddViewers) Reset ¶
func (m *MsgAddViewers) Reset()
func (*MsgAddViewers) Route ¶
func (msg *MsgAddViewers) Route() string
func (*MsgAddViewers) Size ¶
func (m *MsgAddViewers) Size() (n int)
func (*MsgAddViewers) String ¶
func (m *MsgAddViewers) String() string
func (*MsgAddViewers) Type ¶
func (msg *MsgAddViewers) Type() string
func (*MsgAddViewers) Unmarshal ¶
func (m *MsgAddViewers) Unmarshal(dAtA []byte) error
func (*MsgAddViewers) ValidateBasic ¶
func (msg *MsgAddViewers) ValidateBasic() error
func (*MsgAddViewers) XXX_DiscardUnknown ¶
func (m *MsgAddViewers) XXX_DiscardUnknown()
func (*MsgAddViewers) XXX_Marshal ¶
func (m *MsgAddViewers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddViewers) XXX_Merge ¶
func (m *MsgAddViewers) XXX_Merge(src proto.Message)
func (*MsgAddViewers) XXX_Size ¶
func (m *MsgAddViewers) XXX_Size() int
func (*MsgAddViewers) XXX_Unmarshal ¶
func (m *MsgAddViewers) XXX_Unmarshal(b []byte) error
type MsgAddViewersResponse ¶
type MsgAddViewersResponse struct { }
func (*MsgAddViewersResponse) Descriptor ¶
func (*MsgAddViewersResponse) Descriptor() ([]byte, []int)
func (*MsgAddViewersResponse) Marshal ¶
func (m *MsgAddViewersResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddViewersResponse) MarshalTo ¶
func (m *MsgAddViewersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddViewersResponse) MarshalToSizedBuffer ¶
func (m *MsgAddViewersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddViewersResponse) ProtoMessage ¶
func (*MsgAddViewersResponse) ProtoMessage()
func (*MsgAddViewersResponse) Reset ¶
func (m *MsgAddViewersResponse) Reset()
func (*MsgAddViewersResponse) Size ¶
func (m *MsgAddViewersResponse) Size() (n int)
func (*MsgAddViewersResponse) String ¶
func (m *MsgAddViewersResponse) String() string
func (*MsgAddViewersResponse) Unmarshal ¶
func (m *MsgAddViewersResponse) Unmarshal(dAtA []byte) error
func (*MsgAddViewersResponse) XXX_DiscardUnknown ¶
func (m *MsgAddViewersResponse) XXX_DiscardUnknown()
func (*MsgAddViewersResponse) XXX_Marshal ¶
func (m *MsgAddViewersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddViewersResponse) XXX_Merge ¶
func (m *MsgAddViewersResponse) XXX_Merge(src proto.Message)
func (*MsgAddViewersResponse) XXX_Size ¶
func (m *MsgAddViewersResponse) XXX_Size() int
func (*MsgAddViewersResponse) XXX_Unmarshal ¶
func (m *MsgAddViewersResponse) XXX_Unmarshal(b []byte) error
type MsgChangeOwner ¶
type MsgChangeOwner struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` FileOwner string `protobuf:"bytes,3,opt,name=fileOwner,proto3" json:"fileOwner,omitempty"` NewOwner string `protobuf:"bytes,4,opt,name=newOwner,proto3" json:"newOwner,omitempty"` }
func NewMsgChangeOwner ¶
func NewMsgChangeOwner(creator string, address string, fileOwner string, newOwner string) *MsgChangeOwner
func (*MsgChangeOwner) Descriptor ¶
func (*MsgChangeOwner) Descriptor() ([]byte, []int)
func (*MsgChangeOwner) GetAddress ¶
func (m *MsgChangeOwner) GetAddress() string
func (*MsgChangeOwner) GetCreator ¶
func (m *MsgChangeOwner) GetCreator() string
func (*MsgChangeOwner) GetFileOwner ¶
func (m *MsgChangeOwner) GetFileOwner() string
func (*MsgChangeOwner) GetNewOwner ¶
func (m *MsgChangeOwner) GetNewOwner() string
func (*MsgChangeOwner) GetSignBytes ¶
func (msg *MsgChangeOwner) GetSignBytes() []byte
func (*MsgChangeOwner) GetSigners ¶
func (msg *MsgChangeOwner) GetSigners() []sdk.AccAddress
func (*MsgChangeOwner) Marshal ¶
func (m *MsgChangeOwner) Marshal() (dAtA []byte, err error)
func (*MsgChangeOwner) MarshalToSizedBuffer ¶
func (m *MsgChangeOwner) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgChangeOwner) ProtoMessage ¶
func (*MsgChangeOwner) ProtoMessage()
func (*MsgChangeOwner) Reset ¶
func (m *MsgChangeOwner) Reset()
func (*MsgChangeOwner) Route ¶
func (msg *MsgChangeOwner) Route() string
func (*MsgChangeOwner) Size ¶
func (m *MsgChangeOwner) Size() (n int)
func (*MsgChangeOwner) String ¶
func (m *MsgChangeOwner) String() string
func (*MsgChangeOwner) Type ¶
func (msg *MsgChangeOwner) Type() string
func (*MsgChangeOwner) Unmarshal ¶
func (m *MsgChangeOwner) Unmarshal(dAtA []byte) error
func (*MsgChangeOwner) ValidateBasic ¶
func (msg *MsgChangeOwner) ValidateBasic() error
func (*MsgChangeOwner) XXX_DiscardUnknown ¶
func (m *MsgChangeOwner) XXX_DiscardUnknown()
func (*MsgChangeOwner) XXX_Marshal ¶
func (m *MsgChangeOwner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgChangeOwner) XXX_Merge ¶
func (m *MsgChangeOwner) XXX_Merge(src proto.Message)
func (*MsgChangeOwner) XXX_Size ¶
func (m *MsgChangeOwner) XXX_Size() int
func (*MsgChangeOwner) XXX_Unmarshal ¶
func (m *MsgChangeOwner) XXX_Unmarshal(b []byte) error
type MsgChangeOwnerResponse ¶
type MsgChangeOwnerResponse struct { }
func (*MsgChangeOwnerResponse) Descriptor ¶
func (*MsgChangeOwnerResponse) Descriptor() ([]byte, []int)
func (*MsgChangeOwnerResponse) Marshal ¶
func (m *MsgChangeOwnerResponse) Marshal() (dAtA []byte, err error)
func (*MsgChangeOwnerResponse) MarshalTo ¶
func (m *MsgChangeOwnerResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgChangeOwnerResponse) MarshalToSizedBuffer ¶
func (m *MsgChangeOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgChangeOwnerResponse) ProtoMessage ¶
func (*MsgChangeOwnerResponse) ProtoMessage()
func (*MsgChangeOwnerResponse) Reset ¶
func (m *MsgChangeOwnerResponse) Reset()
func (*MsgChangeOwnerResponse) Size ¶
func (m *MsgChangeOwnerResponse) Size() (n int)
func (*MsgChangeOwnerResponse) String ¶
func (m *MsgChangeOwnerResponse) String() string
func (*MsgChangeOwnerResponse) Unmarshal ¶
func (m *MsgChangeOwnerResponse) Unmarshal(dAtA []byte) error
func (*MsgChangeOwnerResponse) XXX_DiscardUnknown ¶
func (m *MsgChangeOwnerResponse) XXX_DiscardUnknown()
func (*MsgChangeOwnerResponse) XXX_Marshal ¶
func (m *MsgChangeOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgChangeOwnerResponse) XXX_Merge ¶
func (m *MsgChangeOwnerResponse) XXX_Merge(src proto.Message)
func (*MsgChangeOwnerResponse) XXX_Size ¶
func (m *MsgChangeOwnerResponse) XXX_Size() int
func (*MsgChangeOwnerResponse) XXX_Unmarshal ¶
func (m *MsgChangeOwnerResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { PostFile(ctx context.Context, in *MsgPostFile, opts ...grpc.CallOption) (*MsgPostFileResponse, error) AddViewers(ctx context.Context, in *MsgAddViewers, opts ...grpc.CallOption) (*MsgAddViewersResponse, error) Postkey(ctx context.Context, in *MsgPostkey, opts ...grpc.CallOption) (*MsgPostkeyResponse, error) DeleteFile(ctx context.Context, in *MsgDeleteFile, opts ...grpc.CallOption) (*MsgDeleteFileResponse, error) RemoveViewers(ctx context.Context, in *MsgRemoveViewers, opts ...grpc.CallOption) (*MsgRemoveViewersResponse, error) MakeRoot(ctx context.Context, in *MsgMakeRoot, opts ...grpc.CallOption) (*MsgMakeRootResponse, error) MakeRootV2(ctx context.Context, in *MsgMakeRootV2, opts ...grpc.CallOption) (*MsgMakeRootResponse, error) AddEditors(ctx context.Context, in *MsgAddEditors, opts ...grpc.CallOption) (*MsgAddEditorsResponse, error) RemoveEditors(ctx context.Context, in *MsgRemoveEditors, opts ...grpc.CallOption) (*MsgRemoveEditorsResponse, error) ResetEditors(ctx context.Context, in *MsgResetEditors, opts ...grpc.CallOption) (*MsgResetEditorsResponse, error) ResetViewers(ctx context.Context, in *MsgResetViewers, opts ...grpc.CallOption) (*MsgResetViewersResponse, error) ChangeOwner(ctx context.Context, in *MsgChangeOwner, opts ...grpc.CallOption) (*MsgChangeOwnerResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgDeleteFile ¶
type MsgDeleteFile struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` HashPath string `protobuf:"bytes,2,opt,name=hashPath,proto3" json:"hashPath,omitempty"` Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` }
func NewMsgDeleteFile ¶
func NewMsgDeleteFile(creator string, hashPath string, account string) *MsgDeleteFile
func (*MsgDeleteFile) Descriptor ¶
func (*MsgDeleteFile) Descriptor() ([]byte, []int)
func (*MsgDeleteFile) GetAccount ¶
func (m *MsgDeleteFile) GetAccount() string
func (*MsgDeleteFile) GetCreator ¶
func (m *MsgDeleteFile) GetCreator() string
func (*MsgDeleteFile) GetHashPath ¶
func (m *MsgDeleteFile) GetHashPath() string
func (*MsgDeleteFile) GetSignBytes ¶
func (msg *MsgDeleteFile) GetSignBytes() []byte
func (*MsgDeleteFile) GetSigners ¶
func (msg *MsgDeleteFile) GetSigners() []sdk.AccAddress
func (*MsgDeleteFile) Marshal ¶
func (m *MsgDeleteFile) Marshal() (dAtA []byte, err error)
func (*MsgDeleteFile) MarshalToSizedBuffer ¶
func (m *MsgDeleteFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteFile) ProtoMessage ¶
func (*MsgDeleteFile) ProtoMessage()
func (*MsgDeleteFile) Reset ¶
func (m *MsgDeleteFile) Reset()
func (*MsgDeleteFile) Route ¶
func (msg *MsgDeleteFile) Route() string
func (*MsgDeleteFile) Size ¶
func (m *MsgDeleteFile) Size() (n int)
func (*MsgDeleteFile) String ¶
func (m *MsgDeleteFile) String() string
func (*MsgDeleteFile) Type ¶
func (msg *MsgDeleteFile) Type() string
func (*MsgDeleteFile) Unmarshal ¶
func (m *MsgDeleteFile) Unmarshal(dAtA []byte) error
func (*MsgDeleteFile) ValidateBasic ¶
func (msg *MsgDeleteFile) ValidateBasic() error
func (*MsgDeleteFile) XXX_DiscardUnknown ¶
func (m *MsgDeleteFile) XXX_DiscardUnknown()
func (*MsgDeleteFile) XXX_Marshal ¶
func (m *MsgDeleteFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteFile) XXX_Merge ¶
func (m *MsgDeleteFile) XXX_Merge(src proto.Message)
func (*MsgDeleteFile) XXX_Size ¶
func (m *MsgDeleteFile) XXX_Size() int
func (*MsgDeleteFile) XXX_Unmarshal ¶
func (m *MsgDeleteFile) XXX_Unmarshal(b []byte) error
type MsgDeleteFileResponse ¶
type MsgDeleteFileResponse struct { }
func (*MsgDeleteFileResponse) Descriptor ¶
func (*MsgDeleteFileResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteFileResponse) Marshal ¶
func (m *MsgDeleteFileResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteFileResponse) MarshalTo ¶
func (m *MsgDeleteFileResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteFileResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteFileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteFileResponse) ProtoMessage ¶
func (*MsgDeleteFileResponse) ProtoMessage()
func (*MsgDeleteFileResponse) Reset ¶
func (m *MsgDeleteFileResponse) Reset()
func (*MsgDeleteFileResponse) Size ¶
func (m *MsgDeleteFileResponse) Size() (n int)
func (*MsgDeleteFileResponse) String ¶
func (m *MsgDeleteFileResponse) String() string
func (*MsgDeleteFileResponse) Unmarshal ¶
func (m *MsgDeleteFileResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteFileResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteFileResponse) XXX_DiscardUnknown()
func (*MsgDeleteFileResponse) XXX_Marshal ¶
func (m *MsgDeleteFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteFileResponse) XXX_Merge ¶
func (m *MsgDeleteFileResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteFileResponse) XXX_Size ¶
func (m *MsgDeleteFileResponse) XXX_Size() int
func (*MsgDeleteFileResponse) XXX_Unmarshal ¶
func (m *MsgDeleteFileResponse) XXX_Unmarshal(b []byte) error
type MsgMakeRoot ¶
type MsgMakeRoot struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` RootHashPath string `protobuf:"bytes,3,opt,name=rootHashPath,proto3" json:"rootHashPath,omitempty"` Contents string `protobuf:"bytes,4,opt,name=contents,proto3" json:"contents,omitempty"` Editors string `protobuf:"bytes,5,opt,name=editors,proto3" json:"editors,omitempty"` Viewers string `protobuf:"bytes,6,opt,name=viewers,proto3" json:"viewers,omitempty"` TrackingNumber string `protobuf:"bytes,7,opt,name=trackingNumber,proto3" json:"trackingNumber,omitempty"` }
func CreateMsgMakeRoot ¶
func CreateMsgMakeRoot(creator string) (*MsgMakeRoot, error)
func NewMsgMakeRoot
deprecated
func (*MsgMakeRoot) Descriptor ¶
func (*MsgMakeRoot) Descriptor() ([]byte, []int)
func (*MsgMakeRoot) GetAccount ¶
func (m *MsgMakeRoot) GetAccount() string
func (*MsgMakeRoot) GetContents ¶
func (m *MsgMakeRoot) GetContents() string
func (*MsgMakeRoot) GetCreator ¶
func (m *MsgMakeRoot) GetCreator() string
func (*MsgMakeRoot) GetEditors ¶
func (m *MsgMakeRoot) GetEditors() string
func (*MsgMakeRoot) GetRootHashPath ¶
func (m *MsgMakeRoot) GetRootHashPath() string
func (*MsgMakeRoot) GetSignBytes ¶
func (msg *MsgMakeRoot) GetSignBytes() []byte
func (*MsgMakeRoot) GetSigners ¶
func (msg *MsgMakeRoot) GetSigners() []sdk.AccAddress
func (*MsgMakeRoot) GetTrackingNumber ¶
func (m *MsgMakeRoot) GetTrackingNumber() string
func (*MsgMakeRoot) GetViewers ¶
func (m *MsgMakeRoot) GetViewers() string
func (*MsgMakeRoot) Marshal ¶
func (m *MsgMakeRoot) Marshal() (dAtA []byte, err error)
func (*MsgMakeRoot) MarshalToSizedBuffer ¶
func (m *MsgMakeRoot) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMakeRoot) ProtoMessage ¶
func (*MsgMakeRoot) ProtoMessage()
func (*MsgMakeRoot) Reset ¶
func (m *MsgMakeRoot) Reset()
func (*MsgMakeRoot) Route ¶
func (msg *MsgMakeRoot) Route() string
func (*MsgMakeRoot) Size ¶
func (m *MsgMakeRoot) Size() (n int)
func (*MsgMakeRoot) String ¶
func (m *MsgMakeRoot) String() string
func (*MsgMakeRoot) Type ¶
func (msg *MsgMakeRoot) Type() string
func (*MsgMakeRoot) Unmarshal ¶
func (m *MsgMakeRoot) Unmarshal(dAtA []byte) error
func (*MsgMakeRoot) ValidateBasic ¶
func (msg *MsgMakeRoot) ValidateBasic() error
func (*MsgMakeRoot) XXX_DiscardUnknown ¶
func (m *MsgMakeRoot) XXX_DiscardUnknown()
func (*MsgMakeRoot) XXX_Marshal ¶
func (m *MsgMakeRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMakeRoot) XXX_Merge ¶
func (m *MsgMakeRoot) XXX_Merge(src proto.Message)
func (*MsgMakeRoot) XXX_Size ¶
func (m *MsgMakeRoot) XXX_Size() int
func (*MsgMakeRoot) XXX_Unmarshal ¶
func (m *MsgMakeRoot) XXX_Unmarshal(b []byte) error
type MsgMakeRootResponse ¶
type MsgMakeRootResponse struct { }
func (*MsgMakeRootResponse) Descriptor ¶
func (*MsgMakeRootResponse) Descriptor() ([]byte, []int)
func (*MsgMakeRootResponse) Marshal ¶
func (m *MsgMakeRootResponse) Marshal() (dAtA []byte, err error)
func (*MsgMakeRootResponse) MarshalTo ¶
func (m *MsgMakeRootResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMakeRootResponse) MarshalToSizedBuffer ¶
func (m *MsgMakeRootResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMakeRootResponse) ProtoMessage ¶
func (*MsgMakeRootResponse) ProtoMessage()
func (*MsgMakeRootResponse) Reset ¶
func (m *MsgMakeRootResponse) Reset()
func (*MsgMakeRootResponse) Size ¶
func (m *MsgMakeRootResponse) Size() (n int)
func (*MsgMakeRootResponse) String ¶
func (m *MsgMakeRootResponse) String() string
func (*MsgMakeRootResponse) Unmarshal ¶
func (m *MsgMakeRootResponse) Unmarshal(dAtA []byte) error
func (*MsgMakeRootResponse) XXX_DiscardUnknown ¶
func (m *MsgMakeRootResponse) XXX_DiscardUnknown()
func (*MsgMakeRootResponse) XXX_Marshal ¶
func (m *MsgMakeRootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMakeRootResponse) XXX_Merge ¶
func (m *MsgMakeRootResponse) XXX_Merge(src proto.Message)
func (*MsgMakeRootResponse) XXX_Size ¶
func (m *MsgMakeRootResponse) XXX_Size() int
func (*MsgMakeRootResponse) XXX_Unmarshal ¶
func (m *MsgMakeRootResponse) XXX_Unmarshal(b []byte) error
type MsgMakeRootV2 ¶
type MsgMakeRootV2 struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Editors string `protobuf:"bytes,2,opt,name=editors,proto3" json:"editors,omitempty"` Viewers string `protobuf:"bytes,3,opt,name=viewers,proto3" json:"viewers,omitempty"` TrackingNumber string `protobuf:"bytes,4,opt,name=trackingNumber,proto3" json:"trackingNumber,omitempty"` }
func NewMsgMakeRootV2 ¶
func NewMsgMakeRootV2(creator string, editors string, viewers string, trackingNumber string) *MsgMakeRootV2
func (*MsgMakeRootV2) Descriptor ¶
func (*MsgMakeRootV2) Descriptor() ([]byte, []int)
func (*MsgMakeRootV2) GetCreator ¶
func (m *MsgMakeRootV2) GetCreator() string
func (*MsgMakeRootV2) GetEditors ¶
func (m *MsgMakeRootV2) GetEditors() string
func (*MsgMakeRootV2) GetSignBytes ¶
func (msg *MsgMakeRootV2) GetSignBytes() []byte
func (*MsgMakeRootV2) GetSigners ¶
func (msg *MsgMakeRootV2) GetSigners() []sdk.AccAddress
func (*MsgMakeRootV2) GetTrackingNumber ¶
func (m *MsgMakeRootV2) GetTrackingNumber() string
func (*MsgMakeRootV2) GetViewers ¶
func (m *MsgMakeRootV2) GetViewers() string
func (*MsgMakeRootV2) Marshal ¶
func (m *MsgMakeRootV2) Marshal() (dAtA []byte, err error)
func (*MsgMakeRootV2) MarshalToSizedBuffer ¶
func (m *MsgMakeRootV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMakeRootV2) ProtoMessage ¶
func (*MsgMakeRootV2) ProtoMessage()
func (*MsgMakeRootV2) Reset ¶
func (m *MsgMakeRootV2) Reset()
func (*MsgMakeRootV2) Route ¶
func (msg *MsgMakeRootV2) Route() string
func (*MsgMakeRootV2) Size ¶
func (m *MsgMakeRootV2) Size() (n int)
func (*MsgMakeRootV2) String ¶
func (m *MsgMakeRootV2) String() string
func (*MsgMakeRootV2) Type ¶
func (msg *MsgMakeRootV2) Type() string
func (*MsgMakeRootV2) Unmarshal ¶
func (m *MsgMakeRootV2) Unmarshal(dAtA []byte) error
func (*MsgMakeRootV2) ValidateBasic ¶
func (msg *MsgMakeRootV2) ValidateBasic() error
func (*MsgMakeRootV2) XXX_DiscardUnknown ¶
func (m *MsgMakeRootV2) XXX_DiscardUnknown()
func (*MsgMakeRootV2) XXX_Marshal ¶
func (m *MsgMakeRootV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMakeRootV2) XXX_Merge ¶
func (m *MsgMakeRootV2) XXX_Merge(src proto.Message)
func (*MsgMakeRootV2) XXX_Size ¶
func (m *MsgMakeRootV2) XXX_Size() int
func (*MsgMakeRootV2) XXX_Unmarshal ¶
func (m *MsgMakeRootV2) XXX_Unmarshal(b []byte) error
type MsgPostFile ¶
type MsgPostFile struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` HashParent string `protobuf:"bytes,3,opt,name=hashParent,proto3" json:"hashParent,omitempty"` HashChild string `protobuf:"bytes,4,opt,name=hashChild,proto3" json:"hashChild,omitempty"` Contents string `protobuf:"bytes,5,opt,name=contents,proto3" json:"contents,omitempty"` Viewers string `protobuf:"bytes,6,opt,name=viewers,proto3" json:"viewers,omitempty"` Editors string `protobuf:"bytes,7,opt,name=editors,proto3" json:"editors,omitempty"` TrackingNumber string `protobuf:"bytes,8,opt,name=trackingNumber,proto3" json:"trackingNumber,omitempty"` }
func CreateMsgPostFile ¶
func NewMsgPostFile ¶
func (*MsgPostFile) Descriptor ¶
func (*MsgPostFile) Descriptor() ([]byte, []int)
func (*MsgPostFile) GetAccount ¶
func (m *MsgPostFile) GetAccount() string
func (*MsgPostFile) GetContents ¶
func (m *MsgPostFile) GetContents() string
func (*MsgPostFile) GetCreator ¶
func (m *MsgPostFile) GetCreator() string
func (*MsgPostFile) GetEditors ¶
func (m *MsgPostFile) GetEditors() string
func (*MsgPostFile) GetHashChild ¶
func (m *MsgPostFile) GetHashChild() string
func (*MsgPostFile) GetHashParent ¶
func (m *MsgPostFile) GetHashParent() string
func (*MsgPostFile) GetSignBytes ¶
func (msg *MsgPostFile) GetSignBytes() []byte
func (*MsgPostFile) GetSigners ¶
func (msg *MsgPostFile) GetSigners() []sdk.AccAddress
func (*MsgPostFile) GetTrackingNumber ¶
func (m *MsgPostFile) GetTrackingNumber() string
func (*MsgPostFile) GetViewers ¶
func (m *MsgPostFile) GetViewers() string
func (*MsgPostFile) Marshal ¶
func (m *MsgPostFile) Marshal() (dAtA []byte, err error)
func (*MsgPostFile) MarshalToSizedBuffer ¶
func (m *MsgPostFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPostFile) ProtoMessage ¶
func (*MsgPostFile) ProtoMessage()
func (*MsgPostFile) Reset ¶
func (m *MsgPostFile) Reset()
func (*MsgPostFile) Route ¶
func (msg *MsgPostFile) Route() string
func (*MsgPostFile) Size ¶
func (m *MsgPostFile) Size() (n int)
func (*MsgPostFile) String ¶
func (m *MsgPostFile) String() string
func (*MsgPostFile) Type ¶
func (msg *MsgPostFile) Type() string
func (*MsgPostFile) Unmarshal ¶
func (m *MsgPostFile) Unmarshal(dAtA []byte) error
func (*MsgPostFile) ValidateBasic ¶
func (msg *MsgPostFile) ValidateBasic() error
func (*MsgPostFile) XXX_DiscardUnknown ¶
func (m *MsgPostFile) XXX_DiscardUnknown()
func (*MsgPostFile) XXX_Marshal ¶
func (m *MsgPostFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPostFile) XXX_Merge ¶
func (m *MsgPostFile) XXX_Merge(src proto.Message)
func (*MsgPostFile) XXX_Size ¶
func (m *MsgPostFile) XXX_Size() int
func (*MsgPostFile) XXX_Unmarshal ¶
func (m *MsgPostFile) XXX_Unmarshal(b []byte) error
type MsgPostFileResponse ¶
type MsgPostFileResponse struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
}
func (*MsgPostFileResponse) Descriptor ¶
func (*MsgPostFileResponse) Descriptor() ([]byte, []int)
func (*MsgPostFileResponse) GetPath ¶
func (m *MsgPostFileResponse) GetPath() string
func (*MsgPostFileResponse) Marshal ¶
func (m *MsgPostFileResponse) Marshal() (dAtA []byte, err error)
func (*MsgPostFileResponse) MarshalTo ¶
func (m *MsgPostFileResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgPostFileResponse) MarshalToSizedBuffer ¶
func (m *MsgPostFileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPostFileResponse) ProtoMessage ¶
func (*MsgPostFileResponse) ProtoMessage()
func (*MsgPostFileResponse) Reset ¶
func (m *MsgPostFileResponse) Reset()
func (*MsgPostFileResponse) Size ¶
func (m *MsgPostFileResponse) Size() (n int)
func (*MsgPostFileResponse) String ¶
func (m *MsgPostFileResponse) String() string
func (*MsgPostFileResponse) Unmarshal ¶
func (m *MsgPostFileResponse) Unmarshal(dAtA []byte) error
func (*MsgPostFileResponse) XXX_DiscardUnknown ¶
func (m *MsgPostFileResponse) XXX_DiscardUnknown()
func (*MsgPostFileResponse) XXX_Marshal ¶
func (m *MsgPostFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPostFileResponse) XXX_Merge ¶
func (m *MsgPostFileResponse) XXX_Merge(src proto.Message)
func (*MsgPostFileResponse) XXX_Size ¶
func (m *MsgPostFileResponse) XXX_Size() int
func (*MsgPostFileResponse) XXX_Unmarshal ¶
func (m *MsgPostFileResponse) XXX_Unmarshal(b []byte) error
type MsgPostkey ¶
type MsgPostkey struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` }
func NewMsgPostkey ¶
func NewMsgPostkey(creator string, key string) *MsgPostkey
func (*MsgPostkey) Descriptor ¶
func (*MsgPostkey) Descriptor() ([]byte, []int)
func (*MsgPostkey) GetCreator ¶
func (m *MsgPostkey) GetCreator() string
func (*MsgPostkey) GetKey ¶
func (m *MsgPostkey) GetKey() string
func (*MsgPostkey) GetSignBytes ¶
func (msg *MsgPostkey) GetSignBytes() []byte
func (*MsgPostkey) GetSigners ¶
func (msg *MsgPostkey) GetSigners() []sdk.AccAddress
func (*MsgPostkey) Marshal ¶
func (m *MsgPostkey) Marshal() (dAtA []byte, err error)
func (*MsgPostkey) MarshalToSizedBuffer ¶
func (m *MsgPostkey) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPostkey) ProtoMessage ¶
func (*MsgPostkey) ProtoMessage()
func (*MsgPostkey) Reset ¶
func (m *MsgPostkey) Reset()
func (*MsgPostkey) Route ¶
func (msg *MsgPostkey) Route() string
func (*MsgPostkey) Size ¶
func (m *MsgPostkey) Size() (n int)
func (*MsgPostkey) String ¶
func (m *MsgPostkey) String() string
func (*MsgPostkey) Type ¶
func (msg *MsgPostkey) Type() string
func (*MsgPostkey) Unmarshal ¶
func (m *MsgPostkey) Unmarshal(dAtA []byte) error
func (*MsgPostkey) ValidateBasic ¶
func (msg *MsgPostkey) ValidateBasic() error
func (*MsgPostkey) XXX_DiscardUnknown ¶
func (m *MsgPostkey) XXX_DiscardUnknown()
func (*MsgPostkey) XXX_Marshal ¶
func (m *MsgPostkey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPostkey) XXX_Merge ¶
func (m *MsgPostkey) XXX_Merge(src proto.Message)
func (*MsgPostkey) XXX_Size ¶
func (m *MsgPostkey) XXX_Size() int
func (*MsgPostkey) XXX_Unmarshal ¶
func (m *MsgPostkey) XXX_Unmarshal(b []byte) error
type MsgPostkeyResponse ¶
type MsgPostkeyResponse struct { }
func (*MsgPostkeyResponse) Descriptor ¶
func (*MsgPostkeyResponse) Descriptor() ([]byte, []int)
func (*MsgPostkeyResponse) Marshal ¶
func (m *MsgPostkeyResponse) Marshal() (dAtA []byte, err error)
func (*MsgPostkeyResponse) MarshalTo ¶
func (m *MsgPostkeyResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgPostkeyResponse) MarshalToSizedBuffer ¶
func (m *MsgPostkeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPostkeyResponse) ProtoMessage ¶
func (*MsgPostkeyResponse) ProtoMessage()
func (*MsgPostkeyResponse) Reset ¶
func (m *MsgPostkeyResponse) Reset()
func (*MsgPostkeyResponse) Size ¶
func (m *MsgPostkeyResponse) Size() (n int)
func (*MsgPostkeyResponse) String ¶
func (m *MsgPostkeyResponse) String() string
func (*MsgPostkeyResponse) Unmarshal ¶
func (m *MsgPostkeyResponse) Unmarshal(dAtA []byte) error
func (*MsgPostkeyResponse) XXX_DiscardUnknown ¶
func (m *MsgPostkeyResponse) XXX_DiscardUnknown()
func (*MsgPostkeyResponse) XXX_Marshal ¶
func (m *MsgPostkeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPostkeyResponse) XXX_Merge ¶
func (m *MsgPostkeyResponse) XXX_Merge(src proto.Message)
func (*MsgPostkeyResponse) XXX_Size ¶
func (m *MsgPostkeyResponse) XXX_Size() int
func (*MsgPostkeyResponse) XXX_Unmarshal ¶
func (m *MsgPostkeyResponse) XXX_Unmarshal(b []byte) error
type MsgRemoveEditors ¶
type MsgRemoveEditors struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` EditorIds string `protobuf:"bytes,2,opt,name=editorIds,proto3" json:"editorIds,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Fileowner string `protobuf:"bytes,4,opt,name=fileowner,proto3" json:"fileowner,omitempty"` }
func NewMsgRemoveEditors ¶
func NewMsgRemoveEditors(creator string, editorIds string, address string, fileowner string) *MsgRemoveEditors
func (*MsgRemoveEditors) Descriptor ¶
func (*MsgRemoveEditors) Descriptor() ([]byte, []int)
func (*MsgRemoveEditors) GetAddress ¶
func (m *MsgRemoveEditors) GetAddress() string
func (*MsgRemoveEditors) GetCreator ¶
func (m *MsgRemoveEditors) GetCreator() string
func (*MsgRemoveEditors) GetEditorIds ¶
func (m *MsgRemoveEditors) GetEditorIds() string
func (*MsgRemoveEditors) GetFileowner ¶
func (m *MsgRemoveEditors) GetFileowner() string
func (*MsgRemoveEditors) GetSignBytes ¶
func (msg *MsgRemoveEditors) GetSignBytes() []byte
func (*MsgRemoveEditors) GetSigners ¶
func (msg *MsgRemoveEditors) GetSigners() []sdk.AccAddress
func (*MsgRemoveEditors) Marshal ¶
func (m *MsgRemoveEditors) Marshal() (dAtA []byte, err error)
func (*MsgRemoveEditors) MarshalToSizedBuffer ¶
func (m *MsgRemoveEditors) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveEditors) ProtoMessage ¶
func (*MsgRemoveEditors) ProtoMessage()
func (*MsgRemoveEditors) Reset ¶
func (m *MsgRemoveEditors) Reset()
func (*MsgRemoveEditors) Route ¶
func (msg *MsgRemoveEditors) Route() string
func (*MsgRemoveEditors) Size ¶
func (m *MsgRemoveEditors) Size() (n int)
func (*MsgRemoveEditors) String ¶
func (m *MsgRemoveEditors) String() string
func (*MsgRemoveEditors) Type ¶
func (msg *MsgRemoveEditors) Type() string
func (*MsgRemoveEditors) Unmarshal ¶
func (m *MsgRemoveEditors) Unmarshal(dAtA []byte) error
func (*MsgRemoveEditors) ValidateBasic ¶
func (msg *MsgRemoveEditors) ValidateBasic() error
func (*MsgRemoveEditors) XXX_DiscardUnknown ¶
func (m *MsgRemoveEditors) XXX_DiscardUnknown()
func (*MsgRemoveEditors) XXX_Marshal ¶
func (m *MsgRemoveEditors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveEditors) XXX_Merge ¶
func (m *MsgRemoveEditors) XXX_Merge(src proto.Message)
func (*MsgRemoveEditors) XXX_Size ¶
func (m *MsgRemoveEditors) XXX_Size() int
func (*MsgRemoveEditors) XXX_Unmarshal ¶
func (m *MsgRemoveEditors) XXX_Unmarshal(b []byte) error
type MsgRemoveEditorsResponse ¶
type MsgRemoveEditorsResponse struct { }
func (*MsgRemoveEditorsResponse) Descriptor ¶
func (*MsgRemoveEditorsResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveEditorsResponse) Marshal ¶
func (m *MsgRemoveEditorsResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveEditorsResponse) MarshalTo ¶
func (m *MsgRemoveEditorsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveEditorsResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveEditorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveEditorsResponse) ProtoMessage ¶
func (*MsgRemoveEditorsResponse) ProtoMessage()
func (*MsgRemoveEditorsResponse) Reset ¶
func (m *MsgRemoveEditorsResponse) Reset()
func (*MsgRemoveEditorsResponse) Size ¶
func (m *MsgRemoveEditorsResponse) Size() (n int)
func (*MsgRemoveEditorsResponse) String ¶
func (m *MsgRemoveEditorsResponse) String() string
func (*MsgRemoveEditorsResponse) Unmarshal ¶
func (m *MsgRemoveEditorsResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveEditorsResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveEditorsResponse) XXX_DiscardUnknown()
func (*MsgRemoveEditorsResponse) XXX_Marshal ¶
func (m *MsgRemoveEditorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveEditorsResponse) XXX_Merge ¶
func (m *MsgRemoveEditorsResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveEditorsResponse) XXX_Size ¶
func (m *MsgRemoveEditorsResponse) XXX_Size() int
func (*MsgRemoveEditorsResponse) XXX_Unmarshal ¶
func (m *MsgRemoveEditorsResponse) XXX_Unmarshal(b []byte) error
type MsgRemoveViewers ¶
type MsgRemoveViewers struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ViewerIds string `protobuf:"bytes,2,opt,name=viewerIds,proto3" json:"viewerIds,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Fileowner string `protobuf:"bytes,4,opt,name=fileowner,proto3" json:"fileowner,omitempty"` }
func NewMsgRemoveViewers ¶
func NewMsgRemoveViewers(creator string, viewerIds string, address string, fileowner string) *MsgRemoveViewers
func (*MsgRemoveViewers) Descriptor ¶
func (*MsgRemoveViewers) Descriptor() ([]byte, []int)
func (*MsgRemoveViewers) GetAddress ¶
func (m *MsgRemoveViewers) GetAddress() string
func (*MsgRemoveViewers) GetCreator ¶
func (m *MsgRemoveViewers) GetCreator() string
func (*MsgRemoveViewers) GetFileowner ¶
func (m *MsgRemoveViewers) GetFileowner() string
func (*MsgRemoveViewers) GetSignBytes ¶
func (msg *MsgRemoveViewers) GetSignBytes() []byte
func (*MsgRemoveViewers) GetSigners ¶
func (msg *MsgRemoveViewers) GetSigners() []sdk.AccAddress
func (*MsgRemoveViewers) GetViewerIds ¶
func (m *MsgRemoveViewers) GetViewerIds() string
func (*MsgRemoveViewers) Marshal ¶
func (m *MsgRemoveViewers) Marshal() (dAtA []byte, err error)
func (*MsgRemoveViewers) MarshalToSizedBuffer ¶
func (m *MsgRemoveViewers) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveViewers) ProtoMessage ¶
func (*MsgRemoveViewers) ProtoMessage()
func (*MsgRemoveViewers) Reset ¶
func (m *MsgRemoveViewers) Reset()
func (*MsgRemoveViewers) Route ¶
func (msg *MsgRemoveViewers) Route() string
func (*MsgRemoveViewers) Size ¶
func (m *MsgRemoveViewers) Size() (n int)
func (*MsgRemoveViewers) String ¶
func (m *MsgRemoveViewers) String() string
func (*MsgRemoveViewers) Type ¶
func (msg *MsgRemoveViewers) Type() string
func (*MsgRemoveViewers) Unmarshal ¶
func (m *MsgRemoveViewers) Unmarshal(dAtA []byte) error
func (*MsgRemoveViewers) ValidateBasic ¶
func (msg *MsgRemoveViewers) ValidateBasic() error
func (*MsgRemoveViewers) XXX_DiscardUnknown ¶
func (m *MsgRemoveViewers) XXX_DiscardUnknown()
func (*MsgRemoveViewers) XXX_Marshal ¶
func (m *MsgRemoveViewers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveViewers) XXX_Merge ¶
func (m *MsgRemoveViewers) XXX_Merge(src proto.Message)
func (*MsgRemoveViewers) XXX_Size ¶
func (m *MsgRemoveViewers) XXX_Size() int
func (*MsgRemoveViewers) XXX_Unmarshal ¶
func (m *MsgRemoveViewers) XXX_Unmarshal(b []byte) error
type MsgRemoveViewersResponse ¶
type MsgRemoveViewersResponse struct { }
func (*MsgRemoveViewersResponse) Descriptor ¶
func (*MsgRemoveViewersResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveViewersResponse) Marshal ¶
func (m *MsgRemoveViewersResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveViewersResponse) MarshalTo ¶
func (m *MsgRemoveViewersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveViewersResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveViewersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveViewersResponse) ProtoMessage ¶
func (*MsgRemoveViewersResponse) ProtoMessage()
func (*MsgRemoveViewersResponse) Reset ¶
func (m *MsgRemoveViewersResponse) Reset()
func (*MsgRemoveViewersResponse) Size ¶
func (m *MsgRemoveViewersResponse) Size() (n int)
func (*MsgRemoveViewersResponse) String ¶
func (m *MsgRemoveViewersResponse) String() string
func (*MsgRemoveViewersResponse) Unmarshal ¶
func (m *MsgRemoveViewersResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveViewersResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveViewersResponse) XXX_DiscardUnknown()
func (*MsgRemoveViewersResponse) XXX_Marshal ¶
func (m *MsgRemoveViewersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveViewersResponse) XXX_Merge ¶
func (m *MsgRemoveViewersResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveViewersResponse) XXX_Size ¶
func (m *MsgRemoveViewersResponse) XXX_Size() int
func (*MsgRemoveViewersResponse) XXX_Unmarshal ¶
func (m *MsgRemoveViewersResponse) XXX_Unmarshal(b []byte) error
type MsgResetEditors ¶
type MsgResetEditors struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Fileowner string `protobuf:"bytes,3,opt,name=fileowner,proto3" json:"fileowner,omitempty"` }
func NewMsgResetEditors ¶
func NewMsgResetEditors(creator string, address string, fileowner string) *MsgResetEditors
func (*MsgResetEditors) Descriptor ¶
func (*MsgResetEditors) Descriptor() ([]byte, []int)
func (*MsgResetEditors) GetAddress ¶
func (m *MsgResetEditors) GetAddress() string
func (*MsgResetEditors) GetCreator ¶
func (m *MsgResetEditors) GetCreator() string
func (*MsgResetEditors) GetFileowner ¶
func (m *MsgResetEditors) GetFileowner() string
func (*MsgResetEditors) GetSignBytes ¶
func (msg *MsgResetEditors) GetSignBytes() []byte
func (*MsgResetEditors) GetSigners ¶
func (msg *MsgResetEditors) GetSigners() []sdk.AccAddress
func (*MsgResetEditors) Marshal ¶
func (m *MsgResetEditors) Marshal() (dAtA []byte, err error)
func (*MsgResetEditors) MarshalToSizedBuffer ¶
func (m *MsgResetEditors) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgResetEditors) ProtoMessage ¶
func (*MsgResetEditors) ProtoMessage()
func (*MsgResetEditors) Reset ¶
func (m *MsgResetEditors) Reset()
func (*MsgResetEditors) Route ¶
func (msg *MsgResetEditors) Route() string
func (*MsgResetEditors) Size ¶
func (m *MsgResetEditors) Size() (n int)
func (*MsgResetEditors) String ¶
func (m *MsgResetEditors) String() string
func (*MsgResetEditors) Type ¶
func (msg *MsgResetEditors) Type() string
func (*MsgResetEditors) Unmarshal ¶
func (m *MsgResetEditors) Unmarshal(dAtA []byte) error
func (*MsgResetEditors) ValidateBasic ¶
func (msg *MsgResetEditors) ValidateBasic() error
func (*MsgResetEditors) XXX_DiscardUnknown ¶
func (m *MsgResetEditors) XXX_DiscardUnknown()
func (*MsgResetEditors) XXX_Marshal ¶
func (m *MsgResetEditors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgResetEditors) XXX_Merge ¶
func (m *MsgResetEditors) XXX_Merge(src proto.Message)
func (*MsgResetEditors) XXX_Size ¶
func (m *MsgResetEditors) XXX_Size() int
func (*MsgResetEditors) XXX_Unmarshal ¶
func (m *MsgResetEditors) XXX_Unmarshal(b []byte) error
type MsgResetEditorsResponse ¶
type MsgResetEditorsResponse struct { }
func (*MsgResetEditorsResponse) Descriptor ¶
func (*MsgResetEditorsResponse) Descriptor() ([]byte, []int)
func (*MsgResetEditorsResponse) Marshal ¶
func (m *MsgResetEditorsResponse) Marshal() (dAtA []byte, err error)
func (*MsgResetEditorsResponse) MarshalTo ¶
func (m *MsgResetEditorsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgResetEditorsResponse) MarshalToSizedBuffer ¶
func (m *MsgResetEditorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgResetEditorsResponse) ProtoMessage ¶
func (*MsgResetEditorsResponse) ProtoMessage()
func (*MsgResetEditorsResponse) Reset ¶
func (m *MsgResetEditorsResponse) Reset()
func (*MsgResetEditorsResponse) Size ¶
func (m *MsgResetEditorsResponse) Size() (n int)
func (*MsgResetEditorsResponse) String ¶
func (m *MsgResetEditorsResponse) String() string
func (*MsgResetEditorsResponse) Unmarshal ¶
func (m *MsgResetEditorsResponse) Unmarshal(dAtA []byte) error
func (*MsgResetEditorsResponse) XXX_DiscardUnknown ¶
func (m *MsgResetEditorsResponse) XXX_DiscardUnknown()
func (*MsgResetEditorsResponse) XXX_Marshal ¶
func (m *MsgResetEditorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgResetEditorsResponse) XXX_Merge ¶
func (m *MsgResetEditorsResponse) XXX_Merge(src proto.Message)
func (*MsgResetEditorsResponse) XXX_Size ¶
func (m *MsgResetEditorsResponse) XXX_Size() int
func (*MsgResetEditorsResponse) XXX_Unmarshal ¶
func (m *MsgResetEditorsResponse) XXX_Unmarshal(b []byte) error
type MsgResetViewers ¶
type MsgResetViewers struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Fileowner string `protobuf:"bytes,3,opt,name=fileowner,proto3" json:"fileowner,omitempty"` }
func NewMsgResetViewers ¶
func NewMsgResetViewers(creator string, address string, fileowner string) *MsgResetViewers
func (*MsgResetViewers) Descriptor ¶
func (*MsgResetViewers) Descriptor() ([]byte, []int)
func (*MsgResetViewers) GetAddress ¶
func (m *MsgResetViewers) GetAddress() string
func (*MsgResetViewers) GetCreator ¶
func (m *MsgResetViewers) GetCreator() string
func (*MsgResetViewers) GetFileowner ¶
func (m *MsgResetViewers) GetFileowner() string
func (*MsgResetViewers) GetSignBytes ¶
func (msg *MsgResetViewers) GetSignBytes() []byte
func (*MsgResetViewers) GetSigners ¶
func (msg *MsgResetViewers) GetSigners() []sdk.AccAddress
func (*MsgResetViewers) Marshal ¶
func (m *MsgResetViewers) Marshal() (dAtA []byte, err error)
func (*MsgResetViewers) MarshalToSizedBuffer ¶
func (m *MsgResetViewers) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgResetViewers) ProtoMessage ¶
func (*MsgResetViewers) ProtoMessage()
func (*MsgResetViewers) Reset ¶
func (m *MsgResetViewers) Reset()
func (*MsgResetViewers) Route ¶
func (msg *MsgResetViewers) Route() string
func (*MsgResetViewers) Size ¶
func (m *MsgResetViewers) Size() (n int)
func (*MsgResetViewers) String ¶
func (m *MsgResetViewers) String() string
func (*MsgResetViewers) Type ¶
func (msg *MsgResetViewers) Type() string
func (*MsgResetViewers) Unmarshal ¶
func (m *MsgResetViewers) Unmarshal(dAtA []byte) error
func (*MsgResetViewers) ValidateBasic ¶
func (msg *MsgResetViewers) ValidateBasic() error
func (*MsgResetViewers) XXX_DiscardUnknown ¶
func (m *MsgResetViewers) XXX_DiscardUnknown()
func (*MsgResetViewers) XXX_Marshal ¶
func (m *MsgResetViewers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgResetViewers) XXX_Merge ¶
func (m *MsgResetViewers) XXX_Merge(src proto.Message)
func (*MsgResetViewers) XXX_Size ¶
func (m *MsgResetViewers) XXX_Size() int
func (*MsgResetViewers) XXX_Unmarshal ¶
func (m *MsgResetViewers) XXX_Unmarshal(b []byte) error
type MsgResetViewersResponse ¶
type MsgResetViewersResponse struct { }
func (*MsgResetViewersResponse) Descriptor ¶
func (*MsgResetViewersResponse) Descriptor() ([]byte, []int)
func (*MsgResetViewersResponse) Marshal ¶
func (m *MsgResetViewersResponse) Marshal() (dAtA []byte, err error)
func (*MsgResetViewersResponse) MarshalTo ¶
func (m *MsgResetViewersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgResetViewersResponse) MarshalToSizedBuffer ¶
func (m *MsgResetViewersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgResetViewersResponse) ProtoMessage ¶
func (*MsgResetViewersResponse) ProtoMessage()
func (*MsgResetViewersResponse) Reset ¶
func (m *MsgResetViewersResponse) Reset()
func (*MsgResetViewersResponse) Size ¶
func (m *MsgResetViewersResponse) Size() (n int)
func (*MsgResetViewersResponse) String ¶
func (m *MsgResetViewersResponse) String() string
func (*MsgResetViewersResponse) Unmarshal ¶
func (m *MsgResetViewersResponse) Unmarshal(dAtA []byte) error
func (*MsgResetViewersResponse) XXX_DiscardUnknown ¶
func (m *MsgResetViewersResponse) XXX_DiscardUnknown()
func (*MsgResetViewersResponse) XXX_Marshal ¶
func (m *MsgResetViewersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgResetViewersResponse) XXX_Merge ¶
func (m *MsgResetViewersResponse) XXX_Merge(src proto.Message)
func (*MsgResetViewersResponse) XXX_Size ¶
func (m *MsgResetViewersResponse) XXX_Size() int
func (*MsgResetViewersResponse) XXX_Unmarshal ¶
func (m *MsgResetViewersResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { PostFile(context.Context, *MsgPostFile) (*MsgPostFileResponse, error) AddViewers(context.Context, *MsgAddViewers) (*MsgAddViewersResponse, error) Postkey(context.Context, *MsgPostkey) (*MsgPostkeyResponse, error) DeleteFile(context.Context, *MsgDeleteFile) (*MsgDeleteFileResponse, error) RemoveViewers(context.Context, *MsgRemoveViewers) (*MsgRemoveViewersResponse, error) MakeRoot(context.Context, *MsgMakeRoot) (*MsgMakeRootResponse, error) MakeRootV2(context.Context, *MsgMakeRootV2) (*MsgMakeRootResponse, error) AddEditors(context.Context, *MsgAddEditors) (*MsgAddEditorsResponse, error) RemoveEditors(context.Context, *MsgRemoveEditors) (*MsgRemoveEditorsResponse, error) ResetEditors(context.Context, *MsgResetEditors) (*MsgResetEditorsResponse, error) ResetViewers(context.Context, *MsgResetViewers) (*MsgResetViewersResponse, error) ChangeOwner(context.Context, *MsgChangeOwner) (*MsgChangeOwnerResponse, error) }
MsgServer is the server API for Msg service.
type Params ¶
type Params struct { }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type Pubkey ¶
type Pubkey struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` }
func (*Pubkey) Descriptor ¶
func (*Pubkey) GetAddress ¶
func (*Pubkey) MarshalToSizedBuffer ¶
func (*Pubkey) ProtoMessage ¶
func (*Pubkey) ProtoMessage()
func (*Pubkey) XXX_DiscardUnknown ¶
func (m *Pubkey) XXX_DiscardUnknown()
func (*Pubkey) XXX_Marshal ¶
func (*Pubkey) XXX_Unmarshal ¶
type QueryAllFilesRequest ¶
type QueryAllFilesRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllFilesRequest) Descriptor ¶
func (*QueryAllFilesRequest) Descriptor() ([]byte, []int)
func (*QueryAllFilesRequest) GetPagination ¶
func (m *QueryAllFilesRequest) GetPagination() *query.PageRequest
func (*QueryAllFilesRequest) Marshal ¶
func (m *QueryAllFilesRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllFilesRequest) MarshalTo ¶
func (m *QueryAllFilesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllFilesRequest) MarshalToSizedBuffer ¶
func (m *QueryAllFilesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllFilesRequest) ProtoMessage ¶
func (*QueryAllFilesRequest) ProtoMessage()
func (*QueryAllFilesRequest) Reset ¶
func (m *QueryAllFilesRequest) Reset()
func (*QueryAllFilesRequest) Size ¶
func (m *QueryAllFilesRequest) Size() (n int)
func (*QueryAllFilesRequest) String ¶
func (m *QueryAllFilesRequest) String() string
func (*QueryAllFilesRequest) Unmarshal ¶
func (m *QueryAllFilesRequest) Unmarshal(dAtA []byte) error
func (*QueryAllFilesRequest) XXX_DiscardUnknown ¶
func (m *QueryAllFilesRequest) XXX_DiscardUnknown()
func (*QueryAllFilesRequest) XXX_Marshal ¶
func (m *QueryAllFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllFilesRequest) XXX_Merge ¶
func (m *QueryAllFilesRequest) XXX_Merge(src proto.Message)
func (*QueryAllFilesRequest) XXX_Size ¶
func (m *QueryAllFilesRequest) XXX_Size() int
func (*QueryAllFilesRequest) XXX_Unmarshal ¶
func (m *QueryAllFilesRequest) XXX_Unmarshal(b []byte) error
type QueryAllFilesResponse ¶
type QueryAllFilesResponse struct { Files []Files `protobuf:"bytes,1,rep,name=files,proto3" json:"files"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllFilesResponse) Descriptor ¶
func (*QueryAllFilesResponse) Descriptor() ([]byte, []int)
func (*QueryAllFilesResponse) GetFiles ¶
func (m *QueryAllFilesResponse) GetFiles() []Files
func (*QueryAllFilesResponse) GetPagination ¶
func (m *QueryAllFilesResponse) GetPagination() *query.PageResponse
func (*QueryAllFilesResponse) Marshal ¶
func (m *QueryAllFilesResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllFilesResponse) MarshalTo ¶
func (m *QueryAllFilesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllFilesResponse) MarshalToSizedBuffer ¶
func (m *QueryAllFilesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllFilesResponse) ProtoMessage ¶
func (*QueryAllFilesResponse) ProtoMessage()
func (*QueryAllFilesResponse) Reset ¶
func (m *QueryAllFilesResponse) Reset()
func (*QueryAllFilesResponse) Size ¶
func (m *QueryAllFilesResponse) Size() (n int)
func (*QueryAllFilesResponse) String ¶
func (m *QueryAllFilesResponse) String() string
func (*QueryAllFilesResponse) Unmarshal ¶
func (m *QueryAllFilesResponse) Unmarshal(dAtA []byte) error
func (*QueryAllFilesResponse) XXX_DiscardUnknown ¶
func (m *QueryAllFilesResponse) XXX_DiscardUnknown()
func (*QueryAllFilesResponse) XXX_Marshal ¶
func (m *QueryAllFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllFilesResponse) XXX_Merge ¶
func (m *QueryAllFilesResponse) XXX_Merge(src proto.Message)
func (*QueryAllFilesResponse) XXX_Size ¶
func (m *QueryAllFilesResponse) XXX_Size() int
func (*QueryAllFilesResponse) XXX_Unmarshal ¶
func (m *QueryAllFilesResponse) XXX_Unmarshal(b []byte) error
type QueryAllPubkeysRequest ¶
type QueryAllPubkeysRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllPubkeysRequest) Descriptor ¶
func (*QueryAllPubkeysRequest) Descriptor() ([]byte, []int)
func (*QueryAllPubkeysRequest) GetPagination ¶
func (m *QueryAllPubkeysRequest) GetPagination() *query.PageRequest
func (*QueryAllPubkeysRequest) Marshal ¶
func (m *QueryAllPubkeysRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllPubkeysRequest) MarshalTo ¶
func (m *QueryAllPubkeysRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPubkeysRequest) MarshalToSizedBuffer ¶
func (m *QueryAllPubkeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPubkeysRequest) ProtoMessage ¶
func (*QueryAllPubkeysRequest) ProtoMessage()
func (*QueryAllPubkeysRequest) Reset ¶
func (m *QueryAllPubkeysRequest) Reset()
func (*QueryAllPubkeysRequest) Size ¶
func (m *QueryAllPubkeysRequest) Size() (n int)
func (*QueryAllPubkeysRequest) String ¶
func (m *QueryAllPubkeysRequest) String() string
func (*QueryAllPubkeysRequest) Unmarshal ¶
func (m *QueryAllPubkeysRequest) Unmarshal(dAtA []byte) error
func (*QueryAllPubkeysRequest) XXX_DiscardUnknown ¶
func (m *QueryAllPubkeysRequest) XXX_DiscardUnknown()
func (*QueryAllPubkeysRequest) XXX_Marshal ¶
func (m *QueryAllPubkeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPubkeysRequest) XXX_Merge ¶
func (m *QueryAllPubkeysRequest) XXX_Merge(src proto.Message)
func (*QueryAllPubkeysRequest) XXX_Size ¶
func (m *QueryAllPubkeysRequest) XXX_Size() int
func (*QueryAllPubkeysRequest) XXX_Unmarshal ¶
func (m *QueryAllPubkeysRequest) XXX_Unmarshal(b []byte) error
type QueryAllPubkeysResponse ¶
type QueryAllPubkeysResponse struct { Pubkey []Pubkey `protobuf:"bytes,1,rep,name=pubkey,proto3" json:"pubkey"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllPubkeysResponse) Descriptor ¶
func (*QueryAllPubkeysResponse) Descriptor() ([]byte, []int)
func (*QueryAllPubkeysResponse) GetPagination ¶
func (m *QueryAllPubkeysResponse) GetPagination() *query.PageResponse
func (*QueryAllPubkeysResponse) GetPubkey ¶
func (m *QueryAllPubkeysResponse) GetPubkey() []Pubkey
func (*QueryAllPubkeysResponse) Marshal ¶
func (m *QueryAllPubkeysResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllPubkeysResponse) MarshalTo ¶
func (m *QueryAllPubkeysResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPubkeysResponse) MarshalToSizedBuffer ¶
func (m *QueryAllPubkeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPubkeysResponse) ProtoMessage ¶
func (*QueryAllPubkeysResponse) ProtoMessage()
func (*QueryAllPubkeysResponse) Reset ¶
func (m *QueryAllPubkeysResponse) Reset()
func (*QueryAllPubkeysResponse) Size ¶
func (m *QueryAllPubkeysResponse) Size() (n int)
func (*QueryAllPubkeysResponse) String ¶
func (m *QueryAllPubkeysResponse) String() string
func (*QueryAllPubkeysResponse) Unmarshal ¶
func (m *QueryAllPubkeysResponse) Unmarshal(dAtA []byte) error
func (*QueryAllPubkeysResponse) XXX_DiscardUnknown ¶
func (m *QueryAllPubkeysResponse) XXX_DiscardUnknown()
func (*QueryAllPubkeysResponse) XXX_Marshal ¶
func (m *QueryAllPubkeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPubkeysResponse) XXX_Merge ¶
func (m *QueryAllPubkeysResponse) XXX_Merge(src proto.Message)
func (*QueryAllPubkeysResponse) XXX_Size ¶
func (m *QueryAllPubkeysResponse) XXX_Size() int
func (*QueryAllPubkeysResponse) XXX_Unmarshal ¶
func (m *QueryAllPubkeysResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of Encrypt items. Encrypt(ctx context.Context, in *QueryEncryptRequest, opts ...grpc.CallOption) (*QueryEncryptResponse, error) // Queries a list of Decrypt items. Decrypt(ctx context.Context, in *QueryDecryptRequest, opts ...grpc.CallOption) (*QueryDecryptResponse, error) // Queries a Files by index. Files(ctx context.Context, in *QueryFileRequest, opts ...grpc.CallOption) (*QueryFileResponse, error) // Queries a list of Files items. FilesAll(ctx context.Context, in *QueryAllFilesRequest, opts ...grpc.CallOption) (*QueryAllFilesResponse, error) // Queries a Pubkey by index. Pubkey(ctx context.Context, in *QueryPubkeyRequest, opts ...grpc.CallOption) (*QueryPubkeyResponse, error) // Queries a list of Pubkey items. PubkeyAll(ctx context.Context, in *QueryAllPubkeysRequest, opts ...grpc.CallOption) (*QueryAllPubkeysResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryDecryptRequest ¶
type QueryDecryptRequest struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
}
func (*QueryDecryptRequest) Descriptor ¶
func (*QueryDecryptRequest) Descriptor() ([]byte, []int)
func (*QueryDecryptRequest) GetMessage ¶
func (m *QueryDecryptRequest) GetMessage() string
func (*QueryDecryptRequest) Marshal ¶
func (m *QueryDecryptRequest) Marshal() (dAtA []byte, err error)
func (*QueryDecryptRequest) MarshalTo ¶
func (m *QueryDecryptRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDecryptRequest) MarshalToSizedBuffer ¶
func (m *QueryDecryptRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDecryptRequest) ProtoMessage ¶
func (*QueryDecryptRequest) ProtoMessage()
func (*QueryDecryptRequest) Reset ¶
func (m *QueryDecryptRequest) Reset()
func (*QueryDecryptRequest) Size ¶
func (m *QueryDecryptRequest) Size() (n int)
func (*QueryDecryptRequest) String ¶
func (m *QueryDecryptRequest) String() string
func (*QueryDecryptRequest) Unmarshal ¶
func (m *QueryDecryptRequest) Unmarshal(dAtA []byte) error
func (*QueryDecryptRequest) XXX_DiscardUnknown ¶
func (m *QueryDecryptRequest) XXX_DiscardUnknown()
func (*QueryDecryptRequest) XXX_Marshal ¶
func (m *QueryDecryptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDecryptRequest) XXX_Merge ¶
func (m *QueryDecryptRequest) XXX_Merge(src proto.Message)
func (*QueryDecryptRequest) XXX_Size ¶
func (m *QueryDecryptRequest) XXX_Size() int
func (*QueryDecryptRequest) XXX_Unmarshal ¶
func (m *QueryDecryptRequest) XXX_Unmarshal(b []byte) error
type QueryDecryptResponse ¶
type QueryDecryptResponse struct {
Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*QueryDecryptResponse) Descriptor ¶
func (*QueryDecryptResponse) Descriptor() ([]byte, []int)
func (*QueryDecryptResponse) GetData ¶
func (m *QueryDecryptResponse) GetData() string
func (*QueryDecryptResponse) Marshal ¶
func (m *QueryDecryptResponse) Marshal() (dAtA []byte, err error)
func (*QueryDecryptResponse) MarshalTo ¶
func (m *QueryDecryptResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDecryptResponse) MarshalToSizedBuffer ¶
func (m *QueryDecryptResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDecryptResponse) ProtoMessage ¶
func (*QueryDecryptResponse) ProtoMessage()
func (*QueryDecryptResponse) Reset ¶
func (m *QueryDecryptResponse) Reset()
func (*QueryDecryptResponse) Size ¶
func (m *QueryDecryptResponse) Size() (n int)
func (*QueryDecryptResponse) String ¶
func (m *QueryDecryptResponse) String() string
func (*QueryDecryptResponse) Unmarshal ¶
func (m *QueryDecryptResponse) Unmarshal(dAtA []byte) error
func (*QueryDecryptResponse) XXX_DiscardUnknown ¶
func (m *QueryDecryptResponse) XXX_DiscardUnknown()
func (*QueryDecryptResponse) XXX_Marshal ¶
func (m *QueryDecryptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDecryptResponse) XXX_Merge ¶
func (m *QueryDecryptResponse) XXX_Merge(src proto.Message)
func (*QueryDecryptResponse) XXX_Size ¶
func (m *QueryDecryptResponse) XXX_Size() int
func (*QueryDecryptResponse) XXX_Unmarshal ¶
func (m *QueryDecryptResponse) XXX_Unmarshal(b []byte) error
type QueryEncryptRequest ¶
type QueryEncryptRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` }
func (*QueryEncryptRequest) Descriptor ¶
func (*QueryEncryptRequest) Descriptor() ([]byte, []int)
func (*QueryEncryptRequest) GetAddress ¶
func (m *QueryEncryptRequest) GetAddress() string
func (*QueryEncryptRequest) GetMessage ¶
func (m *QueryEncryptRequest) GetMessage() string
func (*QueryEncryptRequest) Marshal ¶
func (m *QueryEncryptRequest) Marshal() (dAtA []byte, err error)
func (*QueryEncryptRequest) MarshalTo ¶
func (m *QueryEncryptRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEncryptRequest) MarshalToSizedBuffer ¶
func (m *QueryEncryptRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEncryptRequest) ProtoMessage ¶
func (*QueryEncryptRequest) ProtoMessage()
func (*QueryEncryptRequest) Reset ¶
func (m *QueryEncryptRequest) Reset()
func (*QueryEncryptRequest) Size ¶
func (m *QueryEncryptRequest) Size() (n int)
func (*QueryEncryptRequest) String ¶
func (m *QueryEncryptRequest) String() string
func (*QueryEncryptRequest) Unmarshal ¶
func (m *QueryEncryptRequest) Unmarshal(dAtA []byte) error
func (*QueryEncryptRequest) XXX_DiscardUnknown ¶
func (m *QueryEncryptRequest) XXX_DiscardUnknown()
func (*QueryEncryptRequest) XXX_Marshal ¶
func (m *QueryEncryptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEncryptRequest) XXX_Merge ¶
func (m *QueryEncryptRequest) XXX_Merge(src proto.Message)
func (*QueryEncryptRequest) XXX_Size ¶
func (m *QueryEncryptRequest) XXX_Size() int
func (*QueryEncryptRequest) XXX_Unmarshal ¶
func (m *QueryEncryptRequest) XXX_Unmarshal(b []byte) error
type QueryEncryptResponse ¶
type QueryEncryptResponse struct {
EncryptionData string `protobuf:"bytes,1,opt,name=encryptionData,proto3" json:"encryptionData,omitempty"`
}
func (*QueryEncryptResponse) Descriptor ¶
func (*QueryEncryptResponse) Descriptor() ([]byte, []int)
func (*QueryEncryptResponse) GetEncryptionData ¶
func (m *QueryEncryptResponse) GetEncryptionData() string
func (*QueryEncryptResponse) Marshal ¶
func (m *QueryEncryptResponse) Marshal() (dAtA []byte, err error)
func (*QueryEncryptResponse) MarshalTo ¶
func (m *QueryEncryptResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEncryptResponse) MarshalToSizedBuffer ¶
func (m *QueryEncryptResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEncryptResponse) ProtoMessage ¶
func (*QueryEncryptResponse) ProtoMessage()
func (*QueryEncryptResponse) Reset ¶
func (m *QueryEncryptResponse) Reset()
func (*QueryEncryptResponse) Size ¶
func (m *QueryEncryptResponse) Size() (n int)
func (*QueryEncryptResponse) String ¶
func (m *QueryEncryptResponse) String() string
func (*QueryEncryptResponse) Unmarshal ¶
func (m *QueryEncryptResponse) Unmarshal(dAtA []byte) error
func (*QueryEncryptResponse) XXX_DiscardUnknown ¶
func (m *QueryEncryptResponse) XXX_DiscardUnknown()
func (*QueryEncryptResponse) XXX_Marshal ¶
func (m *QueryEncryptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEncryptResponse) XXX_Merge ¶
func (m *QueryEncryptResponse) XXX_Merge(src proto.Message)
func (*QueryEncryptResponse) XXX_Size ¶
func (m *QueryEncryptResponse) XXX_Size() int
func (*QueryEncryptResponse) XXX_Unmarshal ¶
func (m *QueryEncryptResponse) XXX_Unmarshal(b []byte) error
type QueryFileRequest ¶
type QueryFileRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` OwnerAddress string `protobuf:"bytes,2,opt,name=ownerAddress,proto3" json:"ownerAddress,omitempty"` }
func (*QueryFileRequest) Descriptor ¶
func (*QueryFileRequest) Descriptor() ([]byte, []int)
func (*QueryFileRequest) GetAddress ¶
func (m *QueryFileRequest) GetAddress() string
func (*QueryFileRequest) GetOwnerAddress ¶
func (m *QueryFileRequest) GetOwnerAddress() string
func (*QueryFileRequest) Marshal ¶
func (m *QueryFileRequest) Marshal() (dAtA []byte, err error)
func (*QueryFileRequest) MarshalToSizedBuffer ¶
func (m *QueryFileRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFileRequest) ProtoMessage ¶
func (*QueryFileRequest) ProtoMessage()
func (*QueryFileRequest) Reset ¶
func (m *QueryFileRequest) Reset()
func (*QueryFileRequest) Size ¶
func (m *QueryFileRequest) Size() (n int)
func (*QueryFileRequest) String ¶
func (m *QueryFileRequest) String() string
func (*QueryFileRequest) Unmarshal ¶
func (m *QueryFileRequest) Unmarshal(dAtA []byte) error
func (*QueryFileRequest) XXX_DiscardUnknown ¶
func (m *QueryFileRequest) XXX_DiscardUnknown()
func (*QueryFileRequest) XXX_Marshal ¶
func (m *QueryFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFileRequest) XXX_Merge ¶
func (m *QueryFileRequest) XXX_Merge(src proto.Message)
func (*QueryFileRequest) XXX_Size ¶
func (m *QueryFileRequest) XXX_Size() int
func (*QueryFileRequest) XXX_Unmarshal ¶
func (m *QueryFileRequest) XXX_Unmarshal(b []byte) error
type QueryFileResponse ¶
type QueryFileResponse struct {
Files Files `protobuf:"bytes,1,opt,name=files,proto3" json:"files"`
}
func (*QueryFileResponse) Descriptor ¶
func (*QueryFileResponse) Descriptor() ([]byte, []int)
func (*QueryFileResponse) GetFiles ¶
func (m *QueryFileResponse) GetFiles() Files
func (*QueryFileResponse) Marshal ¶
func (m *QueryFileResponse) Marshal() (dAtA []byte, err error)
func (*QueryFileResponse) MarshalTo ¶
func (m *QueryFileResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryFileResponse) MarshalToSizedBuffer ¶
func (m *QueryFileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFileResponse) ProtoMessage ¶
func (*QueryFileResponse) ProtoMessage()
func (*QueryFileResponse) Reset ¶
func (m *QueryFileResponse) Reset()
func (*QueryFileResponse) Size ¶
func (m *QueryFileResponse) Size() (n int)
func (*QueryFileResponse) String ¶
func (m *QueryFileResponse) String() string
func (*QueryFileResponse) Unmarshal ¶
func (m *QueryFileResponse) Unmarshal(dAtA []byte) error
func (*QueryFileResponse) XXX_DiscardUnknown ¶
func (m *QueryFileResponse) XXX_DiscardUnknown()
func (*QueryFileResponse) XXX_Marshal ¶
func (m *QueryFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFileResponse) XXX_Merge ¶
func (m *QueryFileResponse) XXX_Merge(src proto.Message)
func (*QueryFileResponse) XXX_Size ¶
func (m *QueryFileResponse) XXX_Size() int
func (*QueryFileResponse) XXX_Unmarshal ¶
func (m *QueryFileResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryPubkeyRequest ¶
type QueryPubkeyRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (*QueryPubkeyRequest) Descriptor ¶
func (*QueryPubkeyRequest) Descriptor() ([]byte, []int)
func (*QueryPubkeyRequest) GetAddress ¶
func (m *QueryPubkeyRequest) GetAddress() string
func (*QueryPubkeyRequest) Marshal ¶
func (m *QueryPubkeyRequest) Marshal() (dAtA []byte, err error)
func (*QueryPubkeyRequest) MarshalTo ¶
func (m *QueryPubkeyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPubkeyRequest) MarshalToSizedBuffer ¶
func (m *QueryPubkeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPubkeyRequest) ProtoMessage ¶
func (*QueryPubkeyRequest) ProtoMessage()
func (*QueryPubkeyRequest) Reset ¶
func (m *QueryPubkeyRequest) Reset()
func (*QueryPubkeyRequest) Size ¶
func (m *QueryPubkeyRequest) Size() (n int)
func (*QueryPubkeyRequest) String ¶
func (m *QueryPubkeyRequest) String() string
func (*QueryPubkeyRequest) Unmarshal ¶
func (m *QueryPubkeyRequest) Unmarshal(dAtA []byte) error
func (*QueryPubkeyRequest) XXX_DiscardUnknown ¶
func (m *QueryPubkeyRequest) XXX_DiscardUnknown()
func (*QueryPubkeyRequest) XXX_Marshal ¶
func (m *QueryPubkeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPubkeyRequest) XXX_Merge ¶
func (m *QueryPubkeyRequest) XXX_Merge(src proto.Message)
func (*QueryPubkeyRequest) XXX_Size ¶
func (m *QueryPubkeyRequest) XXX_Size() int
func (*QueryPubkeyRequest) XXX_Unmarshal ¶
func (m *QueryPubkeyRequest) XXX_Unmarshal(b []byte) error
type QueryPubkeyResponse ¶
type QueryPubkeyResponse struct {
Pubkey Pubkey `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey"`
}
func (*QueryPubkeyResponse) Descriptor ¶
func (*QueryPubkeyResponse) Descriptor() ([]byte, []int)
func (*QueryPubkeyResponse) GetPubkey ¶
func (m *QueryPubkeyResponse) GetPubkey() Pubkey
func (*QueryPubkeyResponse) Marshal ¶
func (m *QueryPubkeyResponse) Marshal() (dAtA []byte, err error)
func (*QueryPubkeyResponse) MarshalTo ¶
func (m *QueryPubkeyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPubkeyResponse) MarshalToSizedBuffer ¶
func (m *QueryPubkeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPubkeyResponse) ProtoMessage ¶
func (*QueryPubkeyResponse) ProtoMessage()
func (*QueryPubkeyResponse) Reset ¶
func (m *QueryPubkeyResponse) Reset()
func (*QueryPubkeyResponse) Size ¶
func (m *QueryPubkeyResponse) Size() (n int)
func (*QueryPubkeyResponse) String ¶
func (m *QueryPubkeyResponse) String() string
func (*QueryPubkeyResponse) Unmarshal ¶
func (m *QueryPubkeyResponse) Unmarshal(dAtA []byte) error
func (*QueryPubkeyResponse) XXX_DiscardUnknown ¶
func (m *QueryPubkeyResponse) XXX_DiscardUnknown()
func (*QueryPubkeyResponse) XXX_Marshal ¶
func (m *QueryPubkeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPubkeyResponse) XXX_Merge ¶
func (m *QueryPubkeyResponse) XXX_Merge(src proto.Message)
func (*QueryPubkeyResponse) XXX_Size ¶
func (m *QueryPubkeyResponse) XXX_Size() int
func (*QueryPubkeyResponse) XXX_Unmarshal ¶
func (m *QueryPubkeyResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of Encrypt items. Encrypt(context.Context, *QueryEncryptRequest) (*QueryEncryptResponse, error) // Queries a list of Decrypt items. Decrypt(context.Context, *QueryDecryptRequest) (*QueryDecryptResponse, error) // Queries a Files by index. Files(context.Context, *QueryFileRequest) (*QueryFileResponse, error) // Queries a list of Files items. FilesAll(context.Context, *QueryAllFilesRequest) (*QueryAllFilesResponse, error) // Queries a Pubkey by index. Pubkey(context.Context, *QueryPubkeyRequest) (*QueryPubkeyResponse, error) // Queries a list of Pubkey items. PubkeyAll(context.Context, *QueryAllPubkeysRequest) (*QueryAllPubkeysResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddEditors ¶
func (*UnimplementedMsgServer) AddEditors(ctx context.Context, req *MsgAddEditors) (*MsgAddEditorsResponse, error)
func (*UnimplementedMsgServer) AddViewers ¶
func (*UnimplementedMsgServer) AddViewers(ctx context.Context, req *MsgAddViewers) (*MsgAddViewersResponse, error)
func (*UnimplementedMsgServer) ChangeOwner ¶
func (*UnimplementedMsgServer) ChangeOwner(ctx context.Context, req *MsgChangeOwner) (*MsgChangeOwnerResponse, error)
func (*UnimplementedMsgServer) DeleteFile ¶
func (*UnimplementedMsgServer) DeleteFile(ctx context.Context, req *MsgDeleteFile) (*MsgDeleteFileResponse, error)
func (*UnimplementedMsgServer) MakeRoot ¶
func (*UnimplementedMsgServer) MakeRoot(ctx context.Context, req *MsgMakeRoot) (*MsgMakeRootResponse, error)
func (*UnimplementedMsgServer) MakeRootV2 ¶
func (*UnimplementedMsgServer) MakeRootV2(ctx context.Context, req *MsgMakeRootV2) (*MsgMakeRootResponse, error)
func (*UnimplementedMsgServer) PostFile ¶
func (*UnimplementedMsgServer) PostFile(ctx context.Context, req *MsgPostFile) (*MsgPostFileResponse, error)
func (*UnimplementedMsgServer) Postkey ¶
func (*UnimplementedMsgServer) Postkey(ctx context.Context, req *MsgPostkey) (*MsgPostkeyResponse, error)
func (*UnimplementedMsgServer) RemoveEditors ¶
func (*UnimplementedMsgServer) RemoveEditors(ctx context.Context, req *MsgRemoveEditors) (*MsgRemoveEditorsResponse, error)
func (*UnimplementedMsgServer) RemoveViewers ¶
func (*UnimplementedMsgServer) RemoveViewers(ctx context.Context, req *MsgRemoveViewers) (*MsgRemoveViewersResponse, error)
func (*UnimplementedMsgServer) ResetEditors ¶
func (*UnimplementedMsgServer) ResetEditors(ctx context.Context, req *MsgResetEditors) (*MsgResetEditorsResponse, error)
func (*UnimplementedMsgServer) ResetViewers ¶
func (*UnimplementedMsgServer) ResetViewers(ctx context.Context, req *MsgResetViewers) (*MsgResetViewersResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Decrypt ¶
func (*UnimplementedQueryServer) Decrypt(ctx context.Context, req *QueryDecryptRequest) (*QueryDecryptResponse, error)
func (*UnimplementedQueryServer) Encrypt ¶
func (*UnimplementedQueryServer) Encrypt(ctx context.Context, req *QueryEncryptRequest) (*QueryEncryptResponse, error)
func (*UnimplementedQueryServer) Files ¶
func (*UnimplementedQueryServer) Files(ctx context.Context, req *QueryFileRequest) (*QueryFileResponse, error)
func (*UnimplementedQueryServer) FilesAll ¶
func (*UnimplementedQueryServer) FilesAll(ctx context.Context, req *QueryAllFilesRequest) (*QueryAllFilesResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Pubkey ¶
func (*UnimplementedQueryServer) Pubkey(ctx context.Context, req *QueryPubkeyRequest) (*QueryPubkeyResponse, error)
func (*UnimplementedQueryServer) PubkeyAll ¶
func (*UnimplementedQueryServer) PubkeyAll(ctx context.Context, req *QueryAllPubkeysRequest) (*QueryAllPubkeysResponse, error)
Source Files ¶
- codec.go
- errors.go
- expected_keepers.go
- files.pb.go
- genesis.go
- genesis.pb.go
- key_files.go
- key_pubkey.go
- keys.go
- merkle-paths.go
- message_add_editors.go
- message_add_viewers.go
- message_change_owner.go
- message_delete_file.go
- message_make_root.go
- message_make_rootv2.go
- message_post_file.go
- message_postkey.go
- message_remove_editors.go
- message_remove_viewers.go
- message_reset_editors.go
- message_reset_viewers.go
- params.go
- params.pb.go
- pubkey.pb.go
- query.pb.go
- query.pb.gw.go
- test_helpers.go
- tx.pb.go
- types.go