types

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: GPL-3.0 Imports: 31 Imported by: 4

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 = "channel"

	// 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_channel"
)
View Source
const (
	TypeMsgCreateHowIs = "create_how_is"
	TypeMsgUpdateHowIs = "update_how_is"
	TypeMsgDeleteHowIs = "delete_how_is"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	// HowIsKeyPrefix is the prefix to retrieve all HowIs
	HowIsKeyPrefix = "HowIs/value/"
)
View Source
const TypeMsgCreateChannel = "create_channel"
View Source
const TypeMsgDeleteChannel = "delete_channel"
View Source
const TypeMsgReadChannel = "read_channel"
View Source
const TypeMsgUpdateChannel = "update_channel"

Variables

View Source
var (
	ErrInvalidLengthChannel        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowChannel          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupChannel = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthConfig        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowConfig          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupConfig = 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 (
	ErrInvalidLengthHowIs        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHowIs          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupHowIs = 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 (
	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")
)
View Source
var (
	ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)

x/channel module sentinel errors

Functions

func HowIsKey

func HowIsKey(
	index string,
) []byte

HowIsKey returns the store key to retrieve a HowIs from the index fields

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func 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 CapabilityKeeper

type CapabilityKeeper interface {
}

type Channel

type Channel struct {
	// Label is human-readable name of the channel.
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	// Description is a human-readable description of the channel.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Did is the identifier of the channel.
	Did string `protobuf:"bytes,4,opt,name=did,proto3" json:"did,omitempty"`
	// RegisterdObject is the object that is registered as the payload for the channel.
	RegisteredObject *types.ObjectDoc `protobuf:"bytes,5,opt,name=registered_object,json=registeredObject,proto3" json:"registered_object,omitempty"`
}

func (*Channel) Descriptor

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

func (*Channel) GetDescription

func (m *Channel) GetDescription() string

func (*Channel) GetDid

func (m *Channel) GetDid() string

func (*Channel) GetLabel

func (m *Channel) GetLabel() string

func (*Channel) GetRegisteredObject

func (m *Channel) GetRegisteredObject() *types.ObjectDoc

func (*Channel) Marshal

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

func (*Channel) MarshalTo

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

func (*Channel) MarshalToSizedBuffer

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

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) Reset

func (m *Channel) Reset()

func (*Channel) Size

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

func (*Channel) String

func (m *Channel) String() string

func (*Channel) Unmarshal

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

func (*Channel) XXX_DiscardUnknown

func (m *Channel) XXX_DiscardUnknown()

func (*Channel) XXX_Marshal

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

func (*Channel) XXX_Merge

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

func (*Channel) XXX_Size

func (m *Channel) XXX_Size() int

func (*Channel) XXX_Unmarshal

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

type ChannelMessage

type ChannelMessage struct {
	// Owner is the peer that originated the message.
	Peer *types1.Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"`
	// Did is the identifier of the channel.
	Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
	// Data is the data being sent.
	Object *types.ObjectDoc `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	// Metadata is the metadata associated with the message.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
}

ChannelMessage is a message sent to a channel.

func (*ChannelMessage) Descriptor

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

func (*ChannelMessage) GetDid

func (m *ChannelMessage) GetDid() string

func (*ChannelMessage) GetMetadata

func (m *ChannelMessage) GetMetadata() map[string]string

func (*ChannelMessage) GetObject

func (m *ChannelMessage) GetObject() *types.ObjectDoc

func (*ChannelMessage) GetPeer

func (m *ChannelMessage) GetPeer() *types1.Peer

func (*ChannelMessage) Marshal

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

func (*ChannelMessage) MarshalTo

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

func (*ChannelMessage) MarshalToSizedBuffer

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

func (*ChannelMessage) ProtoMessage

func (*ChannelMessage) ProtoMessage()

func (*ChannelMessage) Reset

func (m *ChannelMessage) Reset()

func (*ChannelMessage) Size

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

func (*ChannelMessage) String

func (m *ChannelMessage) String() string

func (*ChannelMessage) Unmarshal

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

func (*ChannelMessage) XXX_DiscardUnknown

func (m *ChannelMessage) XXX_DiscardUnknown()

func (*ChannelMessage) XXX_Marshal

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

func (*ChannelMessage) XXX_Merge

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

func (*ChannelMessage) XXX_Size

func (m *ChannelMessage) XXX_Size() int

func (*ChannelMessage) XXX_Unmarshal

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

type Config

type Config struct {
}

func (*Config) Descriptor

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

func (*Config) Marshal

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

func (*Config) MarshalTo

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

func (*Config) MarshalToSizedBuffer

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

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) Size

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

func (*Config) String

func (m *Config) String() string

func (*Config) Unmarshal

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

func (*Config) XXX_DiscardUnknown

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal

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

func (*Config) XXX_Merge

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

func (*Config) XXX_Size

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params    Params  `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	HowIsList []HowIs `protobuf:"bytes,2,rep,name=howIsList,proto3" json:"howIsList"`
}

GenesisState defines the channel 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) GetHowIsList

func (m *GenesisState) GetHowIsList() []HowIs

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

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 HowIs

type HowIs struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	Did   string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
	// Document is the DID Document of the registered name and account encoded as JSON
	Document []byte `protobuf:"bytes,3,opt,name=document,proto3" json:"document,omitempty"`
	Creator  string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"`
}

func (*HowIs) Descriptor

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

func (*HowIs) GetCreator

func (m *HowIs) GetCreator() string

func (*HowIs) GetDid

func (m *HowIs) GetDid() string

func (*HowIs) GetDocument

func (m *HowIs) GetDocument() []byte

func (*HowIs) GetIndex

func (m *HowIs) GetIndex() string

func (*HowIs) Marshal

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

func (*HowIs) MarshalTo

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

func (*HowIs) MarshalToSizedBuffer

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

func (*HowIs) ProtoMessage

func (*HowIs) ProtoMessage()

func (*HowIs) Reset

func (m *HowIs) Reset()

func (*HowIs) Size

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

func (*HowIs) String

func (m *HowIs) String() string

func (*HowIs) Unmarshal

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

func (*HowIs) XXX_DiscardUnknown

func (m *HowIs) XXX_DiscardUnknown()

func (*HowIs) XXX_Marshal

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

func (*HowIs) XXX_Merge

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

func (*HowIs) XXX_Size

func (m *HowIs) XXX_Size() int

func (*HowIs) XXX_Unmarshal

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

type MintKeeper

type MintKeeper interface {
}

type MsgClient

type MsgClient interface {
	CreateChannel(ctx context.Context, in *MsgCreateChannel, opts ...grpc.CallOption) (*MsgCreateChannelResponse, error)
	ReadChannel(ctx context.Context, in *MsgReadChannel, opts ...grpc.CallOption) (*MsgReadChannelResponse, error)
	DeleteChannel(ctx context.Context, in *MsgDeleteChannel, opts ...grpc.CallOption) (*MsgDeleteChannelResponse, error)
	UpdateChannel(ctx context.Context, in *MsgUpdateChannel, opts ...grpc.CallOption) (*MsgUpdateChannelResponse, error)
	CreateHowIs(ctx context.Context, in *MsgCreateHowIs, opts ...grpc.CallOption) (*MsgCreateHowIsResponse, error)
	UpdateHowIs(ctx context.Context, in *MsgUpdateHowIs, opts ...grpc.CallOption) (*MsgUpdateHowIsResponse, error)
	DeleteHowIs(ctx context.Context, in *MsgDeleteHowIs, opts ...grpc.CallOption) (*MsgDeleteHowIsResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreateChannel

type MsgCreateChannel struct {
	Creator     string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	ObjectDid   string `protobuf:"bytes,4,opt,name=object_did,json=objectDid,proto3" json:"object_did,omitempty"`
	Ttl         int64  `protobuf:"varint,5,opt,name=ttl,proto3" json:"ttl,omitempty"`
	MaxSize     int64  `protobuf:"varint,6,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"`
}

func NewMsgCreateChannel

func NewMsgCreateChannel(creator string, name string, description string, object string, ttl int64, maxSize int64) *MsgCreateChannel

func (*MsgCreateChannel) Descriptor

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

func (*MsgCreateChannel) GetCreator

func (m *MsgCreateChannel) GetCreator() string

func (*MsgCreateChannel) GetDescription

func (m *MsgCreateChannel) GetDescription() string

func (*MsgCreateChannel) GetMaxSize

func (m *MsgCreateChannel) GetMaxSize() int64

func (*MsgCreateChannel) GetName

func (m *MsgCreateChannel) GetName() string

func (*MsgCreateChannel) GetObjectDid

func (m *MsgCreateChannel) GetObjectDid() string

func (*MsgCreateChannel) GetSignBytes

func (msg *MsgCreateChannel) GetSignBytes() []byte

func (*MsgCreateChannel) GetSigners

func (msg *MsgCreateChannel) GetSigners() []sdk.AccAddress

func (*MsgCreateChannel) GetTtl

func (m *MsgCreateChannel) GetTtl() int64

func (*MsgCreateChannel) Marshal

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

func (*MsgCreateChannel) MarshalTo

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

func (*MsgCreateChannel) MarshalToSizedBuffer

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

func (*MsgCreateChannel) ProtoMessage

func (*MsgCreateChannel) ProtoMessage()

func (*MsgCreateChannel) Reset

func (m *MsgCreateChannel) Reset()

func (*MsgCreateChannel) Route

func (msg *MsgCreateChannel) Route() string

func (*MsgCreateChannel) Size

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

func (*MsgCreateChannel) String

func (m *MsgCreateChannel) String() string

func (*MsgCreateChannel) Type

func (msg *MsgCreateChannel) Type() string

func (*MsgCreateChannel) Unmarshal

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

func (*MsgCreateChannel) ValidateBasic

func (msg *MsgCreateChannel) ValidateBasic() error

func (*MsgCreateChannel) XXX_DiscardUnknown

func (m *MsgCreateChannel) XXX_DiscardUnknown()

func (*MsgCreateChannel) XXX_Marshal

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

func (*MsgCreateChannel) XXX_Merge

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

func (*MsgCreateChannel) XXX_Size

func (m *MsgCreateChannel) XXX_Size() int

func (*MsgCreateChannel) XXX_Unmarshal

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

type MsgCreateChannelResponse

type MsgCreateChannelResponse struct {
}

func (*MsgCreateChannelResponse) Descriptor

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

func (*MsgCreateChannelResponse) Marshal

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

func (*MsgCreateChannelResponse) MarshalTo

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

func (*MsgCreateChannelResponse) MarshalToSizedBuffer

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

func (*MsgCreateChannelResponse) ProtoMessage

func (*MsgCreateChannelResponse) ProtoMessage()

func (*MsgCreateChannelResponse) Reset

func (m *MsgCreateChannelResponse) Reset()

func (*MsgCreateChannelResponse) Size

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

func (*MsgCreateChannelResponse) String

func (m *MsgCreateChannelResponse) String() string

func (*MsgCreateChannelResponse) Unmarshal

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

func (*MsgCreateChannelResponse) XXX_DiscardUnknown

func (m *MsgCreateChannelResponse) XXX_DiscardUnknown()

func (*MsgCreateChannelResponse) XXX_Marshal

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

func (*MsgCreateChannelResponse) XXX_Merge

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

func (*MsgCreateChannelResponse) XXX_Size

func (m *MsgCreateChannelResponse) XXX_Size() int

func (*MsgCreateChannelResponse) XXX_Unmarshal

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

type MsgCreateHowIs

type MsgCreateHowIs struct {
	Creator      string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Index        string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
	Did          string `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"`
	DocumentJson string `protobuf:"bytes,4,opt,name=documentJson,proto3" json:"documentJson,omitempty"`
}

func NewMsgCreateHowIs

func NewMsgCreateHowIs(
	creator string,
	index string,
	did string,
	value string,

) *MsgCreateHowIs

func (*MsgCreateHowIs) Descriptor

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

func (*MsgCreateHowIs) GetCreator

func (m *MsgCreateHowIs) GetCreator() string

func (*MsgCreateHowIs) GetDid

func (m *MsgCreateHowIs) GetDid() string

func (*MsgCreateHowIs) GetDocumentJson

func (m *MsgCreateHowIs) GetDocumentJson() string

func (*MsgCreateHowIs) GetIndex

func (m *MsgCreateHowIs) GetIndex() string

func (*MsgCreateHowIs) GetSignBytes

func (msg *MsgCreateHowIs) GetSignBytes() []byte

func (*MsgCreateHowIs) GetSigners

func (msg *MsgCreateHowIs) GetSigners() []sdk.AccAddress

func (*MsgCreateHowIs) Marshal

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

func (*MsgCreateHowIs) MarshalTo

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

func (*MsgCreateHowIs) MarshalToSizedBuffer

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

func (*MsgCreateHowIs) ProtoMessage

func (*MsgCreateHowIs) ProtoMessage()

func (*MsgCreateHowIs) Reset

func (m *MsgCreateHowIs) Reset()

func (*MsgCreateHowIs) Route

func (msg *MsgCreateHowIs) Route() string

func (*MsgCreateHowIs) Size

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

func (*MsgCreateHowIs) String

func (m *MsgCreateHowIs) String() string

func (*MsgCreateHowIs) Type

func (msg *MsgCreateHowIs) Type() string

func (*MsgCreateHowIs) Unmarshal

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

func (*MsgCreateHowIs) ValidateBasic

func (msg *MsgCreateHowIs) ValidateBasic() error

func (*MsgCreateHowIs) XXX_DiscardUnknown

func (m *MsgCreateHowIs) XXX_DiscardUnknown()

func (*MsgCreateHowIs) XXX_Marshal

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

func (*MsgCreateHowIs) XXX_Merge

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

func (*MsgCreateHowIs) XXX_Size

func (m *MsgCreateHowIs) XXX_Size() int

func (*MsgCreateHowIs) XXX_Unmarshal

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

type MsgCreateHowIsResponse

type MsgCreateHowIsResponse struct {
}

func (*MsgCreateHowIsResponse) Descriptor

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

func (*MsgCreateHowIsResponse) Marshal

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

func (*MsgCreateHowIsResponse) MarshalTo

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

func (*MsgCreateHowIsResponse) MarshalToSizedBuffer

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

func (*MsgCreateHowIsResponse) ProtoMessage

func (*MsgCreateHowIsResponse) ProtoMessage()

func (*MsgCreateHowIsResponse) Reset

func (m *MsgCreateHowIsResponse) Reset()

func (*MsgCreateHowIsResponse) Size

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

func (*MsgCreateHowIsResponse) String

func (m *MsgCreateHowIsResponse) String() string

func (*MsgCreateHowIsResponse) Unmarshal

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

func (*MsgCreateHowIsResponse) XXX_DiscardUnknown

func (m *MsgCreateHowIsResponse) XXX_DiscardUnknown()

func (*MsgCreateHowIsResponse) XXX_Marshal

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

func (*MsgCreateHowIsResponse) XXX_Merge

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

func (*MsgCreateHowIsResponse) XXX_Size

func (m *MsgCreateHowIsResponse) XXX_Size() int

func (*MsgCreateHowIsResponse) XXX_Unmarshal

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

type MsgDeleteChannel

type MsgDeleteChannel struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Did       string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
	PublicKey string `protobuf:"bytes,3,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
}

func NewMsgDeleteChannel

func NewMsgDeleteChannel(creator string, did string, publicKey string) *MsgDeleteChannel

func (*MsgDeleteChannel) Descriptor

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

func (*MsgDeleteChannel) GetCreator

func (m *MsgDeleteChannel) GetCreator() string

func (*MsgDeleteChannel) GetDid

func (m *MsgDeleteChannel) GetDid() string

func (*MsgDeleteChannel) GetPublicKey

func (m *MsgDeleteChannel) GetPublicKey() string

func (*MsgDeleteChannel) GetSignBytes

func (msg *MsgDeleteChannel) GetSignBytes() []byte

func (*MsgDeleteChannel) GetSigners

func (msg *MsgDeleteChannel) GetSigners() []sdk.AccAddress

func (*MsgDeleteChannel) Marshal

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

func (*MsgDeleteChannel) MarshalTo

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

func (*MsgDeleteChannel) MarshalToSizedBuffer

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

func (*MsgDeleteChannel) ProtoMessage

func (*MsgDeleteChannel) ProtoMessage()

func (*MsgDeleteChannel) Reset

func (m *MsgDeleteChannel) Reset()

func (*MsgDeleteChannel) Route

func (msg *MsgDeleteChannel) Route() string

func (*MsgDeleteChannel) Size

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

func (*MsgDeleteChannel) String

func (m *MsgDeleteChannel) String() string

func (*MsgDeleteChannel) Type

func (msg *MsgDeleteChannel) Type() string

func (*MsgDeleteChannel) Unmarshal

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

func (*MsgDeleteChannel) ValidateBasic

func (msg *MsgDeleteChannel) ValidateBasic() error

func (*MsgDeleteChannel) XXX_DiscardUnknown

func (m *MsgDeleteChannel) XXX_DiscardUnknown()

func (*MsgDeleteChannel) XXX_Marshal

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

func (*MsgDeleteChannel) XXX_Merge

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

func (*MsgDeleteChannel) XXX_Size

func (m *MsgDeleteChannel) XXX_Size() int

func (*MsgDeleteChannel) XXX_Unmarshal

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

type MsgDeleteChannelResponse

type MsgDeleteChannelResponse struct {
}

func (*MsgDeleteChannelResponse) Descriptor

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

func (*MsgDeleteChannelResponse) Marshal

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

func (*MsgDeleteChannelResponse) MarshalTo

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

func (*MsgDeleteChannelResponse) MarshalToSizedBuffer

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

func (*MsgDeleteChannelResponse) ProtoMessage

func (*MsgDeleteChannelResponse) ProtoMessage()

func (*MsgDeleteChannelResponse) Reset

func (m *MsgDeleteChannelResponse) Reset()

func (*MsgDeleteChannelResponse) Size

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

func (*MsgDeleteChannelResponse) String

func (m *MsgDeleteChannelResponse) String() string

func (*MsgDeleteChannelResponse) Unmarshal

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

func (*MsgDeleteChannelResponse) XXX_DiscardUnknown

func (m *MsgDeleteChannelResponse) XXX_DiscardUnknown()

func (*MsgDeleteChannelResponse) XXX_Marshal

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

func (*MsgDeleteChannelResponse) XXX_Merge

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

func (*MsgDeleteChannelResponse) XXX_Size

func (m *MsgDeleteChannelResponse) XXX_Size() int

func (*MsgDeleteChannelResponse) XXX_Unmarshal

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

type MsgDeleteHowIs

type MsgDeleteHowIs struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Index   string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
}

func NewMsgDeleteHowIs

func NewMsgDeleteHowIs(
	creator string,
	index string,

) *MsgDeleteHowIs

func (*MsgDeleteHowIs) Descriptor

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

func (*MsgDeleteHowIs) GetCreator

func (m *MsgDeleteHowIs) GetCreator() string

func (*MsgDeleteHowIs) GetIndex

func (m *MsgDeleteHowIs) GetIndex() string

func (*MsgDeleteHowIs) GetSignBytes

func (msg *MsgDeleteHowIs) GetSignBytes() []byte

func (*MsgDeleteHowIs) GetSigners

func (msg *MsgDeleteHowIs) GetSigners() []sdk.AccAddress

func (*MsgDeleteHowIs) Marshal

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

func (*MsgDeleteHowIs) MarshalTo

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

func (*MsgDeleteHowIs) MarshalToSizedBuffer

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

func (*MsgDeleteHowIs) ProtoMessage

func (*MsgDeleteHowIs) ProtoMessage()

func (*MsgDeleteHowIs) Reset

func (m *MsgDeleteHowIs) Reset()

func (*MsgDeleteHowIs) Route

func (msg *MsgDeleteHowIs) Route() string

func (*MsgDeleteHowIs) Size

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

func (*MsgDeleteHowIs) String

func (m *MsgDeleteHowIs) String() string

func (*MsgDeleteHowIs) Type

func (msg *MsgDeleteHowIs) Type() string

func (*MsgDeleteHowIs) Unmarshal

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

func (*MsgDeleteHowIs) ValidateBasic

func (msg *MsgDeleteHowIs) ValidateBasic() error

func (*MsgDeleteHowIs) XXX_DiscardUnknown

func (m *MsgDeleteHowIs) XXX_DiscardUnknown()

func (*MsgDeleteHowIs) XXX_Marshal

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

func (*MsgDeleteHowIs) XXX_Merge

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

func (*MsgDeleteHowIs) XXX_Size

func (m *MsgDeleteHowIs) XXX_Size() int

func (*MsgDeleteHowIs) XXX_Unmarshal

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

type MsgDeleteHowIsResponse

type MsgDeleteHowIsResponse struct {
}

func (*MsgDeleteHowIsResponse) Descriptor

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

func (*MsgDeleteHowIsResponse) Marshal

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

func (*MsgDeleteHowIsResponse) MarshalTo

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

func (*MsgDeleteHowIsResponse) MarshalToSizedBuffer

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

func (*MsgDeleteHowIsResponse) ProtoMessage

func (*MsgDeleteHowIsResponse) ProtoMessage()

func (*MsgDeleteHowIsResponse) Reset

func (m *MsgDeleteHowIsResponse) Reset()

func (*MsgDeleteHowIsResponse) Size

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

func (*MsgDeleteHowIsResponse) String

func (m *MsgDeleteHowIsResponse) String() string

func (*MsgDeleteHowIsResponse) Unmarshal

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

func (*MsgDeleteHowIsResponse) XXX_DiscardUnknown

func (m *MsgDeleteHowIsResponse) XXX_DiscardUnknown()

func (*MsgDeleteHowIsResponse) XXX_Marshal

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

func (*MsgDeleteHowIsResponse) XXX_Merge

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

func (*MsgDeleteHowIsResponse) XXX_Size

func (m *MsgDeleteHowIsResponse) XXX_Size() int

func (*MsgDeleteHowIsResponse) XXX_Unmarshal

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

type MsgReadChannel

type MsgReadChannel struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Did     string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
}

func NewMsgReadChannel

func NewMsgReadChannel(creator string, did string) *MsgReadChannel

func (*MsgReadChannel) Descriptor

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

func (*MsgReadChannel) GetCreator

func (m *MsgReadChannel) GetCreator() string

func (*MsgReadChannel) GetDid

func (m *MsgReadChannel) GetDid() string

func (*MsgReadChannel) GetSignBytes

func (msg *MsgReadChannel) GetSignBytes() []byte

func (*MsgReadChannel) GetSigners

func (msg *MsgReadChannel) GetSigners() []sdk.AccAddress

func (*MsgReadChannel) Marshal

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

func (*MsgReadChannel) MarshalTo

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

func (*MsgReadChannel) MarshalToSizedBuffer

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

func (*MsgReadChannel) ProtoMessage

func (*MsgReadChannel) ProtoMessage()

func (*MsgReadChannel) Reset

func (m *MsgReadChannel) Reset()

func (*MsgReadChannel) Route

func (msg *MsgReadChannel) Route() string

func (*MsgReadChannel) Size

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

func (*MsgReadChannel) String

func (m *MsgReadChannel) String() string

func (*MsgReadChannel) Type

func (msg *MsgReadChannel) Type() string

func (*MsgReadChannel) Unmarshal

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

func (*MsgReadChannel) ValidateBasic

func (msg *MsgReadChannel) ValidateBasic() error

func (*MsgReadChannel) XXX_DiscardUnknown

func (m *MsgReadChannel) XXX_DiscardUnknown()

func (*MsgReadChannel) XXX_Marshal

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

func (*MsgReadChannel) XXX_Merge

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

func (*MsgReadChannel) XXX_Size

func (m *MsgReadChannel) XXX_Size() int

func (*MsgReadChannel) XXX_Unmarshal

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

type MsgReadChannelResponse

type MsgReadChannelResponse struct {
}

func (*MsgReadChannelResponse) Descriptor

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

func (*MsgReadChannelResponse) Marshal

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

func (*MsgReadChannelResponse) MarshalTo

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

func (*MsgReadChannelResponse) MarshalToSizedBuffer

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

func (*MsgReadChannelResponse) ProtoMessage

func (*MsgReadChannelResponse) ProtoMessage()

func (*MsgReadChannelResponse) Reset

func (m *MsgReadChannelResponse) Reset()

func (*MsgReadChannelResponse) Size

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

func (*MsgReadChannelResponse) String

func (m *MsgReadChannelResponse) String() string

func (*MsgReadChannelResponse) Unmarshal

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

func (*MsgReadChannelResponse) XXX_DiscardUnknown

func (m *MsgReadChannelResponse) XXX_DiscardUnknown()

func (*MsgReadChannelResponse) XXX_Marshal

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

func (*MsgReadChannelResponse) XXX_Merge

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

func (*MsgReadChannelResponse) XXX_Size

func (m *MsgReadChannelResponse) XXX_Size() int

func (*MsgReadChannelResponse) XXX_Unmarshal

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

type MsgUpdateChannel

type MsgUpdateChannel struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Did     string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
}

func NewMsgUpdateChannel

func NewMsgUpdateChannel(creator string, did string) *MsgUpdateChannel

func (*MsgUpdateChannel) Descriptor

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

func (*MsgUpdateChannel) GetCreator

func (m *MsgUpdateChannel) GetCreator() string

func (*MsgUpdateChannel) GetDid

func (m *MsgUpdateChannel) GetDid() string

func (*MsgUpdateChannel) GetSignBytes

func (msg *MsgUpdateChannel) GetSignBytes() []byte

func (*MsgUpdateChannel) GetSigners

func (msg *MsgUpdateChannel) GetSigners() []sdk.AccAddress

func (*MsgUpdateChannel) Marshal

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

func (*MsgUpdateChannel) MarshalTo

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

func (*MsgUpdateChannel) MarshalToSizedBuffer

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

func (*MsgUpdateChannel) ProtoMessage

func (*MsgUpdateChannel) ProtoMessage()

func (*MsgUpdateChannel) Reset

func (m *MsgUpdateChannel) Reset()

func (*MsgUpdateChannel) Route

func (msg *MsgUpdateChannel) Route() string

func (*MsgUpdateChannel) Size

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

func (*MsgUpdateChannel) String

func (m *MsgUpdateChannel) String() string

func (*MsgUpdateChannel) Type

func (msg *MsgUpdateChannel) Type() string

func (*MsgUpdateChannel) Unmarshal

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

func (*MsgUpdateChannel) ValidateBasic

func (msg *MsgUpdateChannel) ValidateBasic() error

func (*MsgUpdateChannel) XXX_DiscardUnknown

func (m *MsgUpdateChannel) XXX_DiscardUnknown()

func (*MsgUpdateChannel) XXX_Marshal

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

func (*MsgUpdateChannel) XXX_Merge

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

func (*MsgUpdateChannel) XXX_Size

func (m *MsgUpdateChannel) XXX_Size() int

func (*MsgUpdateChannel) XXX_Unmarshal

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

type MsgUpdateChannelResponse

type MsgUpdateChannelResponse struct {
}

func (*MsgUpdateChannelResponse) Descriptor

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

func (*MsgUpdateChannelResponse) Marshal

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

func (*MsgUpdateChannelResponse) MarshalTo

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

func (*MsgUpdateChannelResponse) MarshalToSizedBuffer

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

func (*MsgUpdateChannelResponse) ProtoMessage

func (*MsgUpdateChannelResponse) ProtoMessage()

func (*MsgUpdateChannelResponse) Reset

func (m *MsgUpdateChannelResponse) Reset()

func (*MsgUpdateChannelResponse) Size

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

func (*MsgUpdateChannelResponse) String

func (m *MsgUpdateChannelResponse) String() string

func (*MsgUpdateChannelResponse) Unmarshal

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

func (*MsgUpdateChannelResponse) XXX_DiscardUnknown

func (m *MsgUpdateChannelResponse) XXX_DiscardUnknown()

func (*MsgUpdateChannelResponse) XXX_Marshal

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

func (*MsgUpdateChannelResponse) XXX_Merge

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

func (*MsgUpdateChannelResponse) XXX_Size

func (m *MsgUpdateChannelResponse) XXX_Size() int

func (*MsgUpdateChannelResponse) XXX_Unmarshal

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

type MsgUpdateHowIs

type MsgUpdateHowIs struct {
	Creator      string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Index        string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
	Did          string `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"`
	DocumentJson string `protobuf:"bytes,4,opt,name=documentJson,proto3" json:"documentJson,omitempty"`
}

func NewMsgUpdateHowIs

func NewMsgUpdateHowIs(
	creator string,
	index string,
	did string,
	value string,

) *MsgUpdateHowIs

func (*MsgUpdateHowIs) Descriptor

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

func (*MsgUpdateHowIs) GetCreator

func (m *MsgUpdateHowIs) GetCreator() string

func (*MsgUpdateHowIs) GetDid

func (m *MsgUpdateHowIs) GetDid() string

func (*MsgUpdateHowIs) GetDocumentJson

func (m *MsgUpdateHowIs) GetDocumentJson() string

func (*MsgUpdateHowIs) GetIndex

func (m *MsgUpdateHowIs) GetIndex() string

func (*MsgUpdateHowIs) GetSignBytes

func (msg *MsgUpdateHowIs) GetSignBytes() []byte

func (*MsgUpdateHowIs) GetSigners

func (msg *MsgUpdateHowIs) GetSigners() []sdk.AccAddress

func (*MsgUpdateHowIs) Marshal

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

func (*MsgUpdateHowIs) MarshalTo

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

func (*MsgUpdateHowIs) MarshalToSizedBuffer

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

func (*MsgUpdateHowIs) ProtoMessage

func (*MsgUpdateHowIs) ProtoMessage()

func (*MsgUpdateHowIs) Reset

func (m *MsgUpdateHowIs) Reset()

func (*MsgUpdateHowIs) Route

func (msg *MsgUpdateHowIs) Route() string

func (*MsgUpdateHowIs) Size

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

func (*MsgUpdateHowIs) String

func (m *MsgUpdateHowIs) String() string

func (*MsgUpdateHowIs) Type

func (msg *MsgUpdateHowIs) Type() string

func (*MsgUpdateHowIs) Unmarshal

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

func (*MsgUpdateHowIs) ValidateBasic

func (msg *MsgUpdateHowIs) ValidateBasic() error

func (*MsgUpdateHowIs) XXX_DiscardUnknown

func (m *MsgUpdateHowIs) XXX_DiscardUnknown()

func (*MsgUpdateHowIs) XXX_Marshal

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

func (*MsgUpdateHowIs) XXX_Merge

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

func (*MsgUpdateHowIs) XXX_Size

func (m *MsgUpdateHowIs) XXX_Size() int

func (*MsgUpdateHowIs) XXX_Unmarshal

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

type MsgUpdateHowIsResponse

type MsgUpdateHowIsResponse struct {
}

func (*MsgUpdateHowIsResponse) Descriptor

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

func (*MsgUpdateHowIsResponse) Marshal

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

func (*MsgUpdateHowIsResponse) MarshalTo

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

func (*MsgUpdateHowIsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateHowIsResponse) ProtoMessage

func (*MsgUpdateHowIsResponse) ProtoMessage()

func (*MsgUpdateHowIsResponse) Reset

func (m *MsgUpdateHowIsResponse) Reset()

func (*MsgUpdateHowIsResponse) Size

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

func (*MsgUpdateHowIsResponse) String

func (m *MsgUpdateHowIsResponse) String() string

func (*MsgUpdateHowIsResponse) Unmarshal

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

func (*MsgUpdateHowIsResponse) XXX_DiscardUnknown

func (m *MsgUpdateHowIsResponse) XXX_DiscardUnknown()

func (*MsgUpdateHowIsResponse) XXX_Marshal

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

func (*MsgUpdateHowIsResponse) XXX_Merge

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

func (*MsgUpdateHowIsResponse) XXX_Size

func (m *MsgUpdateHowIsResponse) XXX_Size() int

func (*MsgUpdateHowIsResponse) XXX_Unmarshal

func (m *MsgUpdateHowIsResponse) 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 QueryAllHowIsRequest

type QueryAllHowIsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllHowIsRequest) Descriptor

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

func (*QueryAllHowIsRequest) GetPagination

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

func (*QueryAllHowIsRequest) Marshal

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

func (*QueryAllHowIsRequest) MarshalTo

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

func (*QueryAllHowIsRequest) MarshalToSizedBuffer

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

func (*QueryAllHowIsRequest) ProtoMessage

func (*QueryAllHowIsRequest) ProtoMessage()

func (*QueryAllHowIsRequest) Reset

func (m *QueryAllHowIsRequest) Reset()

func (*QueryAllHowIsRequest) Size

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

func (*QueryAllHowIsRequest) String

func (m *QueryAllHowIsRequest) String() string

func (*QueryAllHowIsRequest) Unmarshal

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

func (*QueryAllHowIsRequest) XXX_DiscardUnknown

func (m *QueryAllHowIsRequest) XXX_DiscardUnknown()

func (*QueryAllHowIsRequest) XXX_Marshal

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

func (*QueryAllHowIsRequest) XXX_Merge

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

func (*QueryAllHowIsRequest) XXX_Size

func (m *QueryAllHowIsRequest) XXX_Size() int

func (*QueryAllHowIsRequest) XXX_Unmarshal

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

type QueryAllHowIsResponse

type QueryAllHowIsResponse struct {
	HowIs      []HowIs             `protobuf:"bytes,1,rep,name=howIs,proto3" json:"howIs"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllHowIsResponse) Descriptor

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

func (*QueryAllHowIsResponse) GetHowIs

func (m *QueryAllHowIsResponse) GetHowIs() []HowIs

func (*QueryAllHowIsResponse) GetPagination

func (m *QueryAllHowIsResponse) GetPagination() *query.PageResponse

func (*QueryAllHowIsResponse) Marshal

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

func (*QueryAllHowIsResponse) MarshalTo

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

func (*QueryAllHowIsResponse) MarshalToSizedBuffer

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

func (*QueryAllHowIsResponse) ProtoMessage

func (*QueryAllHowIsResponse) ProtoMessage()

func (*QueryAllHowIsResponse) Reset

func (m *QueryAllHowIsResponse) Reset()

func (*QueryAllHowIsResponse) Size

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

func (*QueryAllHowIsResponse) String

func (m *QueryAllHowIsResponse) String() string

func (*QueryAllHowIsResponse) Unmarshal

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

func (*QueryAllHowIsResponse) XXX_DiscardUnknown

func (m *QueryAllHowIsResponse) XXX_DiscardUnknown()

func (*QueryAllHowIsResponse) XXX_Marshal

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

func (*QueryAllHowIsResponse) XXX_Merge

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

func (*QueryAllHowIsResponse) XXX_Size

func (m *QueryAllHowIsResponse) XXX_Size() int

func (*QueryAllHowIsResponse) XXX_Unmarshal

func (m *QueryAllHowIsResponse) 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 HowIs by index.
	HowIs(ctx context.Context, in *QueryGetHowIsRequest, opts ...grpc.CallOption) (*QueryGetHowIsResponse, error)
	// Queries a list of HowIs items.
	HowIsAll(ctx context.Context, in *QueryAllHowIsRequest, opts ...grpc.CallOption) (*QueryAllHowIsResponse, 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 QueryGetHowIsRequest

type QueryGetHowIsRequest struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}

func (*QueryGetHowIsRequest) Descriptor

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

func (*QueryGetHowIsRequest) GetIndex

func (m *QueryGetHowIsRequest) GetIndex() string

func (*QueryGetHowIsRequest) Marshal

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

func (*QueryGetHowIsRequest) MarshalTo

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

func (*QueryGetHowIsRequest) MarshalToSizedBuffer

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

func (*QueryGetHowIsRequest) ProtoMessage

func (*QueryGetHowIsRequest) ProtoMessage()

func (*QueryGetHowIsRequest) Reset

func (m *QueryGetHowIsRequest) Reset()

func (*QueryGetHowIsRequest) Size

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

func (*QueryGetHowIsRequest) String

func (m *QueryGetHowIsRequest) String() string

func (*QueryGetHowIsRequest) Unmarshal

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

func (*QueryGetHowIsRequest) XXX_DiscardUnknown

func (m *QueryGetHowIsRequest) XXX_DiscardUnknown()

func (*QueryGetHowIsRequest) XXX_Marshal

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

func (*QueryGetHowIsRequest) XXX_Merge

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

func (*QueryGetHowIsRequest) XXX_Size

func (m *QueryGetHowIsRequest) XXX_Size() int

func (*QueryGetHowIsRequest) XXX_Unmarshal

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

type QueryGetHowIsResponse

type QueryGetHowIsResponse struct {
	HowIs HowIs `protobuf:"bytes,1,opt,name=howIs,proto3" json:"howIs"`
}

func (*QueryGetHowIsResponse) Descriptor

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

func (*QueryGetHowIsResponse) GetHowIs

func (m *QueryGetHowIsResponse) GetHowIs() HowIs

func (*QueryGetHowIsResponse) Marshal

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

func (*QueryGetHowIsResponse) MarshalTo

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

func (*QueryGetHowIsResponse) MarshalToSizedBuffer

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

func (*QueryGetHowIsResponse) ProtoMessage

func (*QueryGetHowIsResponse) ProtoMessage()

func (*QueryGetHowIsResponse) Reset

func (m *QueryGetHowIsResponse) Reset()

func (*QueryGetHowIsResponse) Size

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

func (*QueryGetHowIsResponse) String

func (m *QueryGetHowIsResponse) String() string

func (*QueryGetHowIsResponse) Unmarshal

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

func (*QueryGetHowIsResponse) XXX_DiscardUnknown

func (m *QueryGetHowIsResponse) XXX_DiscardUnknown()

func (*QueryGetHowIsResponse) XXX_Marshal

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

func (*QueryGetHowIsResponse) XXX_Merge

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

func (*QueryGetHowIsResponse) XXX_Size

func (m *QueryGetHowIsResponse) XXX_Size() int

func (*QueryGetHowIsResponse) XXX_Unmarshal

func (m *QueryGetHowIsResponse) 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 QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a HowIs by index.
	HowIs(context.Context, *QueryGetHowIsRequest) (*QueryGetHowIsResponse, error)
	// Queries a list of HowIs items.
	HowIsAll(context.Context, *QueryAllHowIsRequest) (*QueryAllHowIsResponse, 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) CreateChannel

func (*UnimplementedMsgServer) CreateHowIs

func (*UnimplementedMsgServer) DeleteChannel

func (*UnimplementedMsgServer) DeleteHowIs

func (*UnimplementedMsgServer) ReadChannel

func (*UnimplementedMsgServer) UpdateChannel

func (*UnimplementedMsgServer) UpdateHowIs

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) HowIs

func (*UnimplementedQueryServer) HowIsAll

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

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