types

package
v3.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 40 Imported by: 5

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	// FilesKeyPrefix is the prefix to retrieve all Files
	FilesKeyPrefix = "Files/value/"
)
View Source
const (
	// PubkeyKeyPrefix is the prefix to retrieve all Pubkey
	PubkeyKeyPrefix = "Pubkey/value/"
)
View Source
const (
	TrackerKey = "Tracker-value-"
)
View Source
const TypeMsgAddEditors = "add_editors"
View Source
const TypeMsgAddViewers = "add_viewers"
View Source
const TypeMsgChangeOwner = "change_owner"
View Source
const TypeMsgDeleteFile = "delete_file"
View Source
const TypeMsgMakeRoot = "make_root"
View Source
const TypeMsgMakeRootV2 = "make_root_v2"
View Source
const TypeMsgPostFile = "post_file"
View Source
const TypeMsgPostkey = "postkey"
View Source
const TypeMsgRemoveEditors = "remove_editors"
View Source
const TypeMsgRemoveViewers = "remove_viewers"
View Source
const TypeMsgResetEditors = "reset_editors"
View Source
const TypeMsgResetViewers = "reset_viewers"

Variables

View Source
var (
	Amino     = codec.NewLegacyAmino()
	ModuleCdc = codec.NewAminoCodec(Amino)
)
View Source
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

View Source
var (
	ErrInvalidLengthFiles        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFiles          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupFiles = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPubkey        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPubkey          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPubkey = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

func AddToMerkle

func AddToMerkle(path string, append string) string

func FilesKey

func FilesKey(
	address string,
	ownerAddress string,
) []byte

FilesKey returns the store key to retrieve a Files from the index fields

func HashThenHex

func HashThenHex(any string) string

helper function to hash then hex any given string

func KeyPrefix

func KeyPrefix(p string) []byte

func MakeEditorAccessMap

func MakeEditorAccessMap(trackingNumber string, editorIds []string, aesKey string) ([]byte, error)

func MakeOwnerAddress

func MakeOwnerAddress(merklePath string, user string) string

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 MakeViewerAccessMap(trackingNumber string, viewerIds []string, aesKey string) ([]byte, error)

func MerkleHelper

func MerkleHelper(argHashpath string) (string, string)

func MerklePath

func MerklePath(path string) string

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func PubkeyKey

func PubkeyKey(
	address string,
) []byte

PubkeyKey returns the store key to retrieve a Pubkey from the index fields

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

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

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

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 CreateFolderOrFile(creator string, editorIds []string, viewerIds []string, readablePath string) (*Files, error)

func CreateRootFolder

func CreateRootFolder(creator string) (*Files, error)

func (*Files) Descriptor

func (*Files) Descriptor() ([]byte, []int)

func (*Files) GetAddress

func (m *Files) GetAddress() string

func (*Files) GetContents

func (m *Files) GetContents() string

func (*Files) GetEditAccess

func (m *Files) GetEditAccess() string

func (*Files) GetOwner

func (m *Files) GetOwner() string

func (*Files) GetTrackingNumber

func (m *Files) GetTrackingNumber() string

func (*Files) GetViewingAccess

func (m *Files) GetViewingAccess() string

func (*Files) Marshal

func (m *Files) Marshal() (dAtA []byte, err error)

func (*Files) MarshalTo

func (m *Files) MarshalTo(dAtA []byte) (int, error)

func (*Files) MarshalToSizedBuffer

func (m *Files) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Files) ProtoMessage

func (*Files) ProtoMessage()

func (*Files) Reset

func (m *Files) Reset()

func (*Files) Size

func (m *Files) Size() (n int)

func (*Files) String

func (m *Files) String() string

func (*Files) Unmarshal

func (m *Files) Unmarshal(dAtA []byte) error

func (*Files) XXX_DiscardUnknown

func (m *Files) XXX_DiscardUnknown()

func (*Files) XXX_Marshal

func (m *Files) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Files) XXX_Merge

func (m *Files) XXX_Merge(src proto.Message)

func (*Files) XXX_Size

func (m *Files) XXX_Size() int

func (*Files) XXX_Unmarshal

func (m *Files) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, 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 NewMsgAddEditors(creator string, editorIds string, editorKeys string, address string, fileowner string) *MsgAddEditors

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) MarshalTo

func (m *MsgAddEditors) MarshalTo(dAtA []byte) (int, 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 NewMsgAddViewers(creator string, viewerIds string, viewerKeys string, address string, owner string) *MsgAddViewers

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) MarshalTo

func (m *MsgAddViewers) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *MsgChangeOwner) MarshalTo(dAtA []byte) (int, 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

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) MarshalTo

func (m *MsgDeleteFile) MarshalTo(dAtA []byte) (int, 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 NewMsgMakeRoot(creator string, account string, rootHashPath string, contents string, editors string, viewers string, trackingNumber string) *MsgMakeRoot

Deprecated: NewMsgMakeRoot is being replaced by NewMsgMakeRootV2

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) MarshalTo

func (m *MsgMakeRoot) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *MsgMakeRootV2) MarshalTo(dAtA []byte) (int, 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 CreateMsgPostFile(creator string, readablePath string, jsonEditAccess []byte, trackingNumber string) (*MsgPostFile, error)

func NewMsgPostFile

func NewMsgPostFile(creator string, account string, hashparent string, hashchild string, contents string, viewers string, editors string,
	trackingNumber string,
) *MsgPostFile

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) MarshalTo

func (m *MsgPostFile) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *MsgPostkey) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *MsgRemoveEditors) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *MsgRemoveViewers) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *MsgResetEditors) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *MsgResetViewers) MarshalTo(dAtA []byte) (int, 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 Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Pubkey) GetAddress

func (m *Pubkey) GetAddress() string

func (*Pubkey) GetKey

func (m *Pubkey) GetKey() string

func (*Pubkey) Marshal

func (m *Pubkey) Marshal() (dAtA []byte, err error)

func (*Pubkey) MarshalTo

func (m *Pubkey) MarshalTo(dAtA []byte) (int, error)

func (*Pubkey) MarshalToSizedBuffer

func (m *Pubkey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Pubkey) ProtoMessage

func (*Pubkey) ProtoMessage()

func (*Pubkey) Reset

func (m *Pubkey) Reset()

func (*Pubkey) Size

func (m *Pubkey) Size() (n int)

func (*Pubkey) String

func (m *Pubkey) String() string

func (*Pubkey) Unmarshal

func (m *Pubkey) Unmarshal(dAtA []byte) error

func (*Pubkey) XXX_DiscardUnknown

func (m *Pubkey) XXX_DiscardUnknown()

func (*Pubkey) XXX_Marshal

func (m *Pubkey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pubkey) XXX_Merge

func (m *Pubkey) XXX_Merge(src proto.Message)

func (*Pubkey) XXX_Size

func (m *Pubkey) XXX_Size() int

func (*Pubkey) XXX_Unmarshal

func (m *Pubkey) XXX_Unmarshal(b []byte) error

type QueryAllFilesByOwnerRequest added in v3.0.3

type QueryAllFilesByOwnerRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Owner      string             `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
}

func (*QueryAllFilesByOwnerRequest) Descriptor added in v3.0.3

func (*QueryAllFilesByOwnerRequest) Descriptor() ([]byte, []int)

func (*QueryAllFilesByOwnerRequest) GetOwner added in v3.0.3

func (m *QueryAllFilesByOwnerRequest) GetOwner() string

func (*QueryAllFilesByOwnerRequest) GetPagination added in v3.0.3

func (m *QueryAllFilesByOwnerRequest) GetPagination() *query.PageRequest

func (*QueryAllFilesByOwnerRequest) Marshal added in v3.0.3

func (m *QueryAllFilesByOwnerRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllFilesByOwnerRequest) MarshalTo added in v3.0.3

func (m *QueryAllFilesByOwnerRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllFilesByOwnerRequest) MarshalToSizedBuffer added in v3.0.3

func (m *QueryAllFilesByOwnerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllFilesByOwnerRequest) ProtoMessage added in v3.0.3

func (*QueryAllFilesByOwnerRequest) ProtoMessage()

func (*QueryAllFilesByOwnerRequest) Reset added in v3.0.3

func (m *QueryAllFilesByOwnerRequest) Reset()

func (*QueryAllFilesByOwnerRequest) Size added in v3.0.3

func (m *QueryAllFilesByOwnerRequest) Size() (n int)

func (*QueryAllFilesByOwnerRequest) String added in v3.0.3

func (m *QueryAllFilesByOwnerRequest) String() string

func (*QueryAllFilesByOwnerRequest) Unmarshal added in v3.0.3

func (m *QueryAllFilesByOwnerRequest) Unmarshal(dAtA []byte) error

func (*QueryAllFilesByOwnerRequest) XXX_DiscardUnknown added in v3.0.3

func (m *QueryAllFilesByOwnerRequest) XXX_DiscardUnknown()

func (*QueryAllFilesByOwnerRequest) XXX_Marshal added in v3.0.3

func (m *QueryAllFilesByOwnerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllFilesByOwnerRequest) XXX_Merge added in v3.0.3

func (m *QueryAllFilesByOwnerRequest) XXX_Merge(src proto.Message)

func (*QueryAllFilesByOwnerRequest) XXX_Size added in v3.0.3

func (m *QueryAllFilesByOwnerRequest) XXX_Size() int

func (*QueryAllFilesByOwnerRequest) XXX_Unmarshal added in v3.0.3

func (m *QueryAllFilesByOwnerRequest) XXX_Unmarshal(b []byte) error

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.
	FilesAllByOwner(ctx context.Context, in *QueryAllFilesByOwnerRequest, opts ...grpc.CallOption) (*QueryAllFilesResponse, 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) MarshalTo

func (m *QueryFileRequest) MarshalTo(dAtA []byte) (int, 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.
	FilesAllByOwner(context.Context, *QueryAllFilesByOwnerRequest) (*QueryAllFilesResponse, 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) AddViewers

func (*UnimplementedMsgServer) ChangeOwner

func (*UnimplementedMsgServer) DeleteFile

func (*UnimplementedMsgServer) MakeRoot

func (*UnimplementedMsgServer) MakeRootV2

func (*UnimplementedMsgServer) PostFile

func (*UnimplementedMsgServer) Postkey

func (*UnimplementedMsgServer) RemoveEditors

func (*UnimplementedMsgServer) RemoveViewers

func (*UnimplementedMsgServer) ResetEditors

func (*UnimplementedMsgServer) ResetViewers

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Decrypt

func (*UnimplementedQueryServer) Encrypt

func (*UnimplementedQueryServer) Files

func (*UnimplementedQueryServer) FilesAll

func (*UnimplementedQueryServer) FilesAllByOwner added in v3.0.3

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Pubkey

func (*UnimplementedQueryServer) PubkeyAll

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL