types

package
v2.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 33 Imported by: 0

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

	// 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_cfesignature"

	SignatureKey = "Signature-Value-"

	PayloadLinkKey = "Payload-Value-"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const TypeMsgCreateAccount = "create_account"
View Source
const TypeMsgPublishReferencePayloadLink = "publish_reference_payload_link"
View Source
const TypeMsgStoreSignature = "store_signature"

Variables

View Source
var (
	Amino     = codec.NewLegacyAmino()
	ModuleCdc = codec.NewAminoCodec(Amino)
)
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 (
	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 (
	ErrInvalidLengthSignature        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSignature          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSignature = 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 (
	ParamsKey = []byte{0x00}
)

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

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

	// Return a new account with the next account number and the specified address. Does not save the new account to the store.
	NewAccountWithAddress(sdk.Context, sdk.AccAddress) types.AccountI

	// Set an account in the store.
	SetAccount(sdk.Context, types.AccountI)

	GetModuleAddress(name string) sdk.AccAddress
	GetModuleAccount(ctx sdk.Context, name string) types.ModuleAccountI

	// TODO remove with genesis 2-phases refactor https://github.com/cosmos/cosmos-sdk/issues/2862
	SetModuleAccount(sdk.Context, types.ModuleAccountI)
}

AccountKeeper defines the expected account keeper (noalias)

type GenesisState

type GenesisState struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

GenesisState defines the cfesignature 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) 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 MsgClient

type MsgClient interface {
	StoreSignature(ctx context.Context, in *MsgStoreSignature, opts ...grpc.CallOption) (*MsgStoreSignatureResponse, error)
	PublishReferencePayloadLink(ctx context.Context, in *MsgPublishReferencePayloadLink, opts ...grpc.CallOption) (*MsgPublishReferencePayloadLinkResponse, error)
	CreateAccount(ctx context.Context, in *MsgCreateAccount, opts ...grpc.CallOption) (*MsgCreateAccountResponse, 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 MsgCreateAccount

type MsgCreateAccount struct {
	Creator          string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	AccAddressString string `protobuf:"bytes,2,opt,name=accAddressString,proto3" json:"accAddressString,omitempty"`
	PubKeyString     string `protobuf:"bytes,3,opt,name=pubKeyString,proto3" json:"pubKeyString,omitempty"`
}

func NewMsgCreateAccount

func NewMsgCreateAccount(creator string, accAddressString string, pubKeyString string) *MsgCreateAccount

func (*MsgCreateAccount) Descriptor

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

func (*MsgCreateAccount) GetAccAddressString

func (m *MsgCreateAccount) GetAccAddressString() string

func (*MsgCreateAccount) GetCreator

func (m *MsgCreateAccount) GetCreator() string

func (*MsgCreateAccount) GetPubKeyString

func (m *MsgCreateAccount) GetPubKeyString() string

func (*MsgCreateAccount) GetSignBytes

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

func (*MsgCreateAccount) GetSigners

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

func (*MsgCreateAccount) Marshal

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

func (*MsgCreateAccount) MarshalTo

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

func (*MsgCreateAccount) MarshalToSizedBuffer

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

func (*MsgCreateAccount) ProtoMessage

func (*MsgCreateAccount) ProtoMessage()

func (*MsgCreateAccount) Reset

func (m *MsgCreateAccount) Reset()

func (*MsgCreateAccount) Route

func (msg *MsgCreateAccount) Route() string

func (*MsgCreateAccount) Size

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

func (*MsgCreateAccount) String

func (m *MsgCreateAccount) String() string

func (*MsgCreateAccount) Type

func (msg *MsgCreateAccount) Type() string

func (*MsgCreateAccount) Unmarshal

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

func (*MsgCreateAccount) ValidateBasic

func (msg *MsgCreateAccount) ValidateBasic() error

func (*MsgCreateAccount) XXX_DiscardUnknown

func (m *MsgCreateAccount) XXX_DiscardUnknown()

func (*MsgCreateAccount) XXX_Marshal

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

func (*MsgCreateAccount) XXX_Merge

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

func (*MsgCreateAccount) XXX_Size

func (m *MsgCreateAccount) XXX_Size() int

func (*MsgCreateAccount) XXX_Unmarshal

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

type MsgCreateAccountResponse

type MsgCreateAccountResponse struct {
	AccountNumber string `protobuf:"bytes,1,opt,name=accountNumber,proto3" json:"accountNumber,omitempty"`
}

func (*MsgCreateAccountResponse) Descriptor

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

func (*MsgCreateAccountResponse) GetAccountNumber

func (m *MsgCreateAccountResponse) GetAccountNumber() string

func (*MsgCreateAccountResponse) Marshal

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

func (*MsgCreateAccountResponse) MarshalTo

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

func (*MsgCreateAccountResponse) MarshalToSizedBuffer

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

func (*MsgCreateAccountResponse) ProtoMessage

func (*MsgCreateAccountResponse) ProtoMessage()

func (*MsgCreateAccountResponse) Reset

func (m *MsgCreateAccountResponse) Reset()

func (*MsgCreateAccountResponse) Size

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

func (*MsgCreateAccountResponse) String

func (m *MsgCreateAccountResponse) String() string

func (*MsgCreateAccountResponse) Unmarshal

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

func (*MsgCreateAccountResponse) XXX_DiscardUnknown

func (m *MsgCreateAccountResponse) XXX_DiscardUnknown()

func (*MsgCreateAccountResponse) XXX_Marshal

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

func (*MsgCreateAccountResponse) XXX_Merge

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

func (*MsgCreateAccountResponse) XXX_Size

func (m *MsgCreateAccountResponse) XXX_Size() int

func (*MsgCreateAccountResponse) XXX_Unmarshal

func (m *MsgCreateAccountResponse) XXX_Unmarshal(b []byte) error
type MsgPublishReferencePayloadLink 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"`
	Value   string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
}
func NewMsgPublishReferencePayloadLink(creator string, key string, value string) *MsgPublishReferencePayloadLink

func (*MsgPublishReferencePayloadLink) Descriptor

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

func (*MsgPublishReferencePayloadLink) GetCreator

func (m *MsgPublishReferencePayloadLink) GetCreator() string

func (*MsgPublishReferencePayloadLink) GetKey

func (*MsgPublishReferencePayloadLink) GetSignBytes

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

func (*MsgPublishReferencePayloadLink) GetSigners

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

func (*MsgPublishReferencePayloadLink) GetValue

func (m *MsgPublishReferencePayloadLink) GetValue() string

func (*MsgPublishReferencePayloadLink) Marshal

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

func (*MsgPublishReferencePayloadLink) MarshalTo

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

func (*MsgPublishReferencePayloadLink) MarshalToSizedBuffer

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

func (*MsgPublishReferencePayloadLink) ProtoMessage

func (*MsgPublishReferencePayloadLink) ProtoMessage()

func (*MsgPublishReferencePayloadLink) Reset

func (m *MsgPublishReferencePayloadLink) Reset()

func (*MsgPublishReferencePayloadLink) Route

func (*MsgPublishReferencePayloadLink) Size

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

func (*MsgPublishReferencePayloadLink) String

func (*MsgPublishReferencePayloadLink) Type

func (*MsgPublishReferencePayloadLink) Unmarshal

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

func (*MsgPublishReferencePayloadLink) ValidateBasic

func (msg *MsgPublishReferencePayloadLink) ValidateBasic() error

func (*MsgPublishReferencePayloadLink) XXX_DiscardUnknown

func (m *MsgPublishReferencePayloadLink) XXX_DiscardUnknown()

func (*MsgPublishReferencePayloadLink) XXX_Marshal

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

func (*MsgPublishReferencePayloadLink) XXX_Merge

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

func (*MsgPublishReferencePayloadLink) XXX_Size

func (m *MsgPublishReferencePayloadLink) XXX_Size() int

func (*MsgPublishReferencePayloadLink) XXX_Unmarshal

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

type MsgPublishReferencePayloadLinkResponse

type MsgPublishReferencePayloadLinkResponse struct {
	TxTimestamp string `protobuf:"bytes,1,opt,name=txTimestamp,proto3" json:"txTimestamp,omitempty"`
}

func (*MsgPublishReferencePayloadLinkResponse) Descriptor

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

func (*MsgPublishReferencePayloadLinkResponse) GetTxTimestamp

func (m *MsgPublishReferencePayloadLinkResponse) GetTxTimestamp() string

func (*MsgPublishReferencePayloadLinkResponse) Marshal

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

func (*MsgPublishReferencePayloadLinkResponse) MarshalTo

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

func (*MsgPublishReferencePayloadLinkResponse) MarshalToSizedBuffer

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

func (*MsgPublishReferencePayloadLinkResponse) ProtoMessage

func (*MsgPublishReferencePayloadLinkResponse) Reset

func (*MsgPublishReferencePayloadLinkResponse) Size

func (*MsgPublishReferencePayloadLinkResponse) String

func (*MsgPublishReferencePayloadLinkResponse) Unmarshal

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

func (*MsgPublishReferencePayloadLinkResponse) XXX_DiscardUnknown

func (m *MsgPublishReferencePayloadLinkResponse) XXX_DiscardUnknown()

func (*MsgPublishReferencePayloadLinkResponse) XXX_Marshal

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

func (*MsgPublishReferencePayloadLinkResponse) XXX_Merge

func (*MsgPublishReferencePayloadLinkResponse) XXX_Size

func (*MsgPublishReferencePayloadLinkResponse) XXX_Unmarshal

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

type MsgServer

MsgServer is the server API for Msg service.

type MsgStoreSignature

type MsgStoreSignature struct {
	Creator       string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	StorageKey    string `protobuf:"bytes,2,opt,name=storageKey,proto3" json:"storageKey,omitempty"`
	SignatureJSON string `protobuf:"bytes,3,opt,name=signatureJSON,proto3" json:"signatureJSON,omitempty"`
}

func NewMsgStoreSignature

func NewMsgStoreSignature(creator string, storageKey string, signatureJSON string) *MsgStoreSignature

func (*MsgStoreSignature) Descriptor

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

func (*MsgStoreSignature) GetCreator

func (m *MsgStoreSignature) GetCreator() string

func (*MsgStoreSignature) GetSignBytes

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

func (*MsgStoreSignature) GetSignatureJSON

func (m *MsgStoreSignature) GetSignatureJSON() string

func (*MsgStoreSignature) GetSigners

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

func (*MsgStoreSignature) GetStorageKey

func (m *MsgStoreSignature) GetStorageKey() string

func (*MsgStoreSignature) Marshal

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

func (*MsgStoreSignature) MarshalTo

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

func (*MsgStoreSignature) MarshalToSizedBuffer

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

func (*MsgStoreSignature) ProtoMessage

func (*MsgStoreSignature) ProtoMessage()

func (*MsgStoreSignature) Reset

func (m *MsgStoreSignature) Reset()

func (*MsgStoreSignature) Route

func (msg *MsgStoreSignature) Route() string

func (*MsgStoreSignature) Size

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

func (*MsgStoreSignature) String

func (m *MsgStoreSignature) String() string

func (*MsgStoreSignature) Type

func (msg *MsgStoreSignature) Type() string

func (*MsgStoreSignature) Unmarshal

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

func (*MsgStoreSignature) ValidateBasic

func (msg *MsgStoreSignature) ValidateBasic() error

func (*MsgStoreSignature) XXX_DiscardUnknown

func (m *MsgStoreSignature) XXX_DiscardUnknown()

func (*MsgStoreSignature) XXX_Marshal

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

func (*MsgStoreSignature) XXX_Merge

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

func (*MsgStoreSignature) XXX_Size

func (m *MsgStoreSignature) XXX_Size() int

func (*MsgStoreSignature) XXX_Unmarshal

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

type MsgStoreSignatureResponse

type MsgStoreSignatureResponse struct {
	TxId        string `protobuf:"bytes,1,opt,name=txId,proto3" json:"txId,omitempty"`
	TxTimestamp string `protobuf:"bytes,2,opt,name=txTimestamp,proto3" json:"txTimestamp,omitempty"`
}

func (*MsgStoreSignatureResponse) Descriptor

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

func (*MsgStoreSignatureResponse) GetTxId

func (m *MsgStoreSignatureResponse) GetTxId() string

func (*MsgStoreSignatureResponse) GetTxTimestamp

func (m *MsgStoreSignatureResponse) GetTxTimestamp() string

func (*MsgStoreSignatureResponse) Marshal

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

func (*MsgStoreSignatureResponse) MarshalTo

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

func (*MsgStoreSignatureResponse) MarshalToSizedBuffer

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

func (*MsgStoreSignatureResponse) ProtoMessage

func (*MsgStoreSignatureResponse) ProtoMessage()

func (*MsgStoreSignatureResponse) Reset

func (m *MsgStoreSignatureResponse) Reset()

func (*MsgStoreSignatureResponse) Size

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

func (*MsgStoreSignatureResponse) String

func (m *MsgStoreSignatureResponse) String() string

func (*MsgStoreSignatureResponse) Unmarshal

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

func (*MsgStoreSignatureResponse) XXX_DiscardUnknown

func (m *MsgStoreSignatureResponse) XXX_DiscardUnknown()

func (*MsgStoreSignatureResponse) XXX_Marshal

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

func (*MsgStoreSignatureResponse) XXX_Merge

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

func (*MsgStoreSignatureResponse) XXX_Size

func (m *MsgStoreSignatureResponse) XXX_Size() int

func (*MsgStoreSignatureResponse) XXX_Unmarshal

func (m *MsgStoreSignatureResponse) 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 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 CreateReferenceId items.
	CreateReferenceId(ctx context.Context, in *QueryCreateReferenceIdRequest, opts ...grpc.CallOption) (*QueryCreateReferenceIdResponse, error)
	// Queries a list of CreateStorageKey items.
	CreateStorageKey(ctx context.Context, in *QueryCreateStorageKeyRequest, opts ...grpc.CallOption) (*QueryCreateStorageKeyResponse, error)
	// Queries a list of CreateReferencePayloadLink items.
	CreateReferencePayloadLink(ctx context.Context, in *QueryCreateReferencePayloadLinkRequest, opts ...grpc.CallOption) (*QueryCreateReferencePayloadLinkResponse, error)
	// Queries a list of VerifySignature items.
	VerifySignature(ctx context.Context, in *QueryVerifySignatureRequest, opts ...grpc.CallOption) (*QueryVerifySignatureResponse, error)
	// Queries a list of GetAccountInfo items.
	GetAccountInfo(ctx context.Context, in *QueryGetAccountInfoRequest, opts ...grpc.CallOption) (*QueryGetAccountInfoResponse, error)
	// Queries a list of VerifyReferencePayloadLink items.
	VerifyReferencePayloadLink(ctx context.Context, in *QueryVerifyReferencePayloadLinkRequest, opts ...grpc.CallOption) (*QueryVerifyReferencePayloadLinkResponse, error)
	// Queries a list of GetReferencePayloadLink items.
	GetReferencePayloadLink(ctx context.Context, in *QueryGetReferencePayloadLinkRequest, opts ...grpc.CallOption) (*QueryGetReferencePayloadLinkResponse, 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 QueryCreateReferenceIdRequest

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

func (*QueryCreateReferenceIdRequest) Descriptor

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

func (*QueryCreateReferenceIdRequest) GetCreator

func (m *QueryCreateReferenceIdRequest) GetCreator() string

func (*QueryCreateReferenceIdRequest) Marshal

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

func (*QueryCreateReferenceIdRequest) MarshalTo

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

func (*QueryCreateReferenceIdRequest) MarshalToSizedBuffer

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

func (*QueryCreateReferenceIdRequest) ProtoMessage

func (*QueryCreateReferenceIdRequest) ProtoMessage()

func (*QueryCreateReferenceIdRequest) Reset

func (m *QueryCreateReferenceIdRequest) Reset()

func (*QueryCreateReferenceIdRequest) Size

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

func (*QueryCreateReferenceIdRequest) String

func (*QueryCreateReferenceIdRequest) Unmarshal

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

func (*QueryCreateReferenceIdRequest) XXX_DiscardUnknown

func (m *QueryCreateReferenceIdRequest) XXX_DiscardUnknown()

func (*QueryCreateReferenceIdRequest) XXX_Marshal

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

func (*QueryCreateReferenceIdRequest) XXX_Merge

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

func (*QueryCreateReferenceIdRequest) XXX_Size

func (m *QueryCreateReferenceIdRequest) XXX_Size() int

func (*QueryCreateReferenceIdRequest) XXX_Unmarshal

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

type QueryCreateReferenceIdResponse

type QueryCreateReferenceIdResponse struct {
	ReferenceId string `protobuf:"bytes,1,opt,name=referenceId,proto3" json:"referenceId,omitempty"`
}

func (*QueryCreateReferenceIdResponse) Descriptor

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

func (*QueryCreateReferenceIdResponse) GetReferenceId

func (m *QueryCreateReferenceIdResponse) GetReferenceId() string

func (*QueryCreateReferenceIdResponse) Marshal

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

func (*QueryCreateReferenceIdResponse) MarshalTo

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

func (*QueryCreateReferenceIdResponse) MarshalToSizedBuffer

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

func (*QueryCreateReferenceIdResponse) ProtoMessage

func (*QueryCreateReferenceIdResponse) ProtoMessage()

func (*QueryCreateReferenceIdResponse) Reset

func (m *QueryCreateReferenceIdResponse) Reset()

func (*QueryCreateReferenceIdResponse) Size

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

func (*QueryCreateReferenceIdResponse) String

func (*QueryCreateReferenceIdResponse) Unmarshal

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

func (*QueryCreateReferenceIdResponse) XXX_DiscardUnknown

func (m *QueryCreateReferenceIdResponse) XXX_DiscardUnknown()

func (*QueryCreateReferenceIdResponse) XXX_Marshal

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

func (*QueryCreateReferenceIdResponse) XXX_Merge

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

func (*QueryCreateReferenceIdResponse) XXX_Size

func (m *QueryCreateReferenceIdResponse) XXX_Size() int

func (*QueryCreateReferenceIdResponse) XXX_Unmarshal

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

type QueryCreateReferencePayloadLinkRequest

type QueryCreateReferencePayloadLinkRequest struct {
	ReferenceId string `protobuf:"bytes,1,opt,name=referenceId,proto3" json:"referenceId,omitempty"`
	PayloadHash string `protobuf:"bytes,2,opt,name=payloadHash,proto3" json:"payloadHash,omitempty"`
}

func (*QueryCreateReferencePayloadLinkRequest) Descriptor

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

func (*QueryCreateReferencePayloadLinkRequest) GetPayloadHash

func (m *QueryCreateReferencePayloadLinkRequest) GetPayloadHash() string

func (*QueryCreateReferencePayloadLinkRequest) GetReferenceId

func (m *QueryCreateReferencePayloadLinkRequest) GetReferenceId() string

func (*QueryCreateReferencePayloadLinkRequest) Marshal

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

func (*QueryCreateReferencePayloadLinkRequest) MarshalTo

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

func (*QueryCreateReferencePayloadLinkRequest) MarshalToSizedBuffer

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

func (*QueryCreateReferencePayloadLinkRequest) ProtoMessage

func (*QueryCreateReferencePayloadLinkRequest) Reset

func (*QueryCreateReferencePayloadLinkRequest) Size

func (*QueryCreateReferencePayloadLinkRequest) String

func (*QueryCreateReferencePayloadLinkRequest) Unmarshal

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

func (*QueryCreateReferencePayloadLinkRequest) XXX_DiscardUnknown

func (m *QueryCreateReferencePayloadLinkRequest) XXX_DiscardUnknown()

func (*QueryCreateReferencePayloadLinkRequest) XXX_Marshal

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

func (*QueryCreateReferencePayloadLinkRequest) XXX_Merge

func (*QueryCreateReferencePayloadLinkRequest) XXX_Size

func (*QueryCreateReferencePayloadLinkRequest) XXX_Unmarshal

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

type QueryCreateReferencePayloadLinkResponse

type QueryCreateReferencePayloadLinkResponse struct {
	ReferenceKey   string `protobuf:"bytes,1,opt,name=referenceKey,proto3" json:"referenceKey,omitempty"`
	ReferenceValue string `protobuf:"bytes,2,opt,name=referenceValue,proto3" json:"referenceValue,omitempty"`
}

func (*QueryCreateReferencePayloadLinkResponse) Descriptor

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

func (*QueryCreateReferencePayloadLinkResponse) GetReferenceKey

func (m *QueryCreateReferencePayloadLinkResponse) GetReferenceKey() string

func (*QueryCreateReferencePayloadLinkResponse) GetReferenceValue

func (m *QueryCreateReferencePayloadLinkResponse) GetReferenceValue() string

func (*QueryCreateReferencePayloadLinkResponse) Marshal

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

func (*QueryCreateReferencePayloadLinkResponse) MarshalTo

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

func (*QueryCreateReferencePayloadLinkResponse) MarshalToSizedBuffer

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

func (*QueryCreateReferencePayloadLinkResponse) ProtoMessage

func (*QueryCreateReferencePayloadLinkResponse) Reset

func (*QueryCreateReferencePayloadLinkResponse) Size

func (*QueryCreateReferencePayloadLinkResponse) String

func (*QueryCreateReferencePayloadLinkResponse) Unmarshal

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

func (*QueryCreateReferencePayloadLinkResponse) XXX_DiscardUnknown

func (m *QueryCreateReferencePayloadLinkResponse) XXX_DiscardUnknown()

func (*QueryCreateReferencePayloadLinkResponse) XXX_Marshal

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

func (*QueryCreateReferencePayloadLinkResponse) XXX_Merge

func (*QueryCreateReferencePayloadLinkResponse) XXX_Size

func (*QueryCreateReferencePayloadLinkResponse) XXX_Unmarshal

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

type QueryCreateStorageKeyRequest

type QueryCreateStorageKeyRequest struct {
	TargetAccAddress string `protobuf:"bytes,1,opt,name=targetAccAddress,proto3" json:"targetAccAddress,omitempty"`
	ReferenceId      string `protobuf:"bytes,2,opt,name=referenceId,proto3" json:"referenceId,omitempty"`
}

func (*QueryCreateStorageKeyRequest) Descriptor

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

func (*QueryCreateStorageKeyRequest) GetReferenceId

func (m *QueryCreateStorageKeyRequest) GetReferenceId() string

func (*QueryCreateStorageKeyRequest) GetTargetAccAddress

func (m *QueryCreateStorageKeyRequest) GetTargetAccAddress() string

func (*QueryCreateStorageKeyRequest) Marshal

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

func (*QueryCreateStorageKeyRequest) MarshalTo

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

func (*QueryCreateStorageKeyRequest) MarshalToSizedBuffer

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

func (*QueryCreateStorageKeyRequest) ProtoMessage

func (*QueryCreateStorageKeyRequest) ProtoMessage()

func (*QueryCreateStorageKeyRequest) Reset

func (m *QueryCreateStorageKeyRequest) Reset()

func (*QueryCreateStorageKeyRequest) Size

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

func (*QueryCreateStorageKeyRequest) String

func (*QueryCreateStorageKeyRequest) Unmarshal

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

func (*QueryCreateStorageKeyRequest) XXX_DiscardUnknown

func (m *QueryCreateStorageKeyRequest) XXX_DiscardUnknown()

func (*QueryCreateStorageKeyRequest) XXX_Marshal

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

func (*QueryCreateStorageKeyRequest) XXX_Merge

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

func (*QueryCreateStorageKeyRequest) XXX_Size

func (m *QueryCreateStorageKeyRequest) XXX_Size() int

func (*QueryCreateStorageKeyRequest) XXX_Unmarshal

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

type QueryCreateStorageKeyResponse

type QueryCreateStorageKeyResponse struct {
	StorageKey string `protobuf:"bytes,1,opt,name=storageKey,proto3" json:"storageKey,omitempty"`
}

func (*QueryCreateStorageKeyResponse) Descriptor

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

func (*QueryCreateStorageKeyResponse) GetStorageKey

func (m *QueryCreateStorageKeyResponse) GetStorageKey() string

func (*QueryCreateStorageKeyResponse) Marshal

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

func (*QueryCreateStorageKeyResponse) MarshalTo

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

func (*QueryCreateStorageKeyResponse) MarshalToSizedBuffer

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

func (*QueryCreateStorageKeyResponse) ProtoMessage

func (*QueryCreateStorageKeyResponse) ProtoMessage()

func (*QueryCreateStorageKeyResponse) Reset

func (m *QueryCreateStorageKeyResponse) Reset()

func (*QueryCreateStorageKeyResponse) Size

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

func (*QueryCreateStorageKeyResponse) String

func (*QueryCreateStorageKeyResponse) Unmarshal

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

func (*QueryCreateStorageKeyResponse) XXX_DiscardUnknown

func (m *QueryCreateStorageKeyResponse) XXX_DiscardUnknown()

func (*QueryCreateStorageKeyResponse) XXX_Marshal

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

func (*QueryCreateStorageKeyResponse) XXX_Merge

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

func (*QueryCreateStorageKeyResponse) XXX_Size

func (m *QueryCreateStorageKeyResponse) XXX_Size() int

func (*QueryCreateStorageKeyResponse) XXX_Unmarshal

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

type QueryGetAccountInfoRequest

type QueryGetAccountInfoRequest struct {
	AccAddressString string `protobuf:"bytes,1,opt,name=accAddressString,proto3" json:"accAddressString,omitempty"`
}

func (*QueryGetAccountInfoRequest) Descriptor

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

func (*QueryGetAccountInfoRequest) GetAccAddressString

func (m *QueryGetAccountInfoRequest) GetAccAddressString() string

func (*QueryGetAccountInfoRequest) Marshal

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

func (*QueryGetAccountInfoRequest) MarshalTo

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

func (*QueryGetAccountInfoRequest) MarshalToSizedBuffer

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

func (*QueryGetAccountInfoRequest) ProtoMessage

func (*QueryGetAccountInfoRequest) ProtoMessage()

func (*QueryGetAccountInfoRequest) Reset

func (m *QueryGetAccountInfoRequest) Reset()

func (*QueryGetAccountInfoRequest) Size

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

func (*QueryGetAccountInfoRequest) String

func (m *QueryGetAccountInfoRequest) String() string

func (*QueryGetAccountInfoRequest) Unmarshal

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

func (*QueryGetAccountInfoRequest) XXX_DiscardUnknown

func (m *QueryGetAccountInfoRequest) XXX_DiscardUnknown()

func (*QueryGetAccountInfoRequest) XXX_Marshal

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

func (*QueryGetAccountInfoRequest) XXX_Merge

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

func (*QueryGetAccountInfoRequest) XXX_Size

func (m *QueryGetAccountInfoRequest) XXX_Size() int

func (*QueryGetAccountInfoRequest) XXX_Unmarshal

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

type QueryGetAccountInfoResponse

type QueryGetAccountInfoResponse struct {
	AccAddress string `protobuf:"bytes,1,opt,name=accAddress,proto3" json:"accAddress,omitempty"`
	PubKey     string `protobuf:"bytes,2,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
}

func (*QueryGetAccountInfoResponse) Descriptor

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

func (*QueryGetAccountInfoResponse) GetAccAddress

func (m *QueryGetAccountInfoResponse) GetAccAddress() string

func (*QueryGetAccountInfoResponse) GetPubKey

func (m *QueryGetAccountInfoResponse) GetPubKey() string

func (*QueryGetAccountInfoResponse) Marshal

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

func (*QueryGetAccountInfoResponse) MarshalTo

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

func (*QueryGetAccountInfoResponse) MarshalToSizedBuffer

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

func (*QueryGetAccountInfoResponse) ProtoMessage

func (*QueryGetAccountInfoResponse) ProtoMessage()

func (*QueryGetAccountInfoResponse) Reset

func (m *QueryGetAccountInfoResponse) Reset()

func (*QueryGetAccountInfoResponse) Size

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

func (*QueryGetAccountInfoResponse) String

func (m *QueryGetAccountInfoResponse) String() string

func (*QueryGetAccountInfoResponse) Unmarshal

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

func (*QueryGetAccountInfoResponse) XXX_DiscardUnknown

func (m *QueryGetAccountInfoResponse) XXX_DiscardUnknown()

func (*QueryGetAccountInfoResponse) XXX_Marshal

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

func (*QueryGetAccountInfoResponse) XXX_Merge

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

func (*QueryGetAccountInfoResponse) XXX_Size

func (m *QueryGetAccountInfoResponse) XXX_Size() int

func (*QueryGetAccountInfoResponse) XXX_Unmarshal

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

type QueryGetReferencePayloadLinkRequest

type QueryGetReferencePayloadLinkRequest struct {
	ReferenceId string `protobuf:"bytes,1,opt,name=referenceId,proto3" json:"referenceId,omitempty"`
}

func (*QueryGetReferencePayloadLinkRequest) Descriptor

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

func (*QueryGetReferencePayloadLinkRequest) GetReferenceId

func (m *QueryGetReferencePayloadLinkRequest) GetReferenceId() string

func (*QueryGetReferencePayloadLinkRequest) Marshal

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

func (*QueryGetReferencePayloadLinkRequest) MarshalTo

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

func (*QueryGetReferencePayloadLinkRequest) MarshalToSizedBuffer

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

func (*QueryGetReferencePayloadLinkRequest) ProtoMessage

func (*QueryGetReferencePayloadLinkRequest) ProtoMessage()

func (*QueryGetReferencePayloadLinkRequest) Reset

func (*QueryGetReferencePayloadLinkRequest) Size

func (*QueryGetReferencePayloadLinkRequest) String

func (*QueryGetReferencePayloadLinkRequest) Unmarshal

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

func (*QueryGetReferencePayloadLinkRequest) XXX_DiscardUnknown

func (m *QueryGetReferencePayloadLinkRequest) XXX_DiscardUnknown()

func (*QueryGetReferencePayloadLinkRequest) XXX_Marshal

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

func (*QueryGetReferencePayloadLinkRequest) XXX_Merge

func (*QueryGetReferencePayloadLinkRequest) XXX_Size

func (*QueryGetReferencePayloadLinkRequest) XXX_Unmarshal

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

type QueryGetReferencePayloadLinkResponse

type QueryGetReferencePayloadLinkResponse struct {
	ReferencePayloadLinkValue string `protobuf:"bytes,1,opt,name=referencePayloadLinkValue,proto3" json:"referencePayloadLinkValue,omitempty"`
}

func (*QueryGetReferencePayloadLinkResponse) Descriptor

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

func (*QueryGetReferencePayloadLinkResponse) GetReferencePayloadLinkValue

func (m *QueryGetReferencePayloadLinkResponse) GetReferencePayloadLinkValue() string

func (*QueryGetReferencePayloadLinkResponse) Marshal

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

func (*QueryGetReferencePayloadLinkResponse) MarshalTo

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

func (*QueryGetReferencePayloadLinkResponse) MarshalToSizedBuffer

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

func (*QueryGetReferencePayloadLinkResponse) ProtoMessage

func (*QueryGetReferencePayloadLinkResponse) ProtoMessage()

func (*QueryGetReferencePayloadLinkResponse) Reset

func (*QueryGetReferencePayloadLinkResponse) Size

func (*QueryGetReferencePayloadLinkResponse) String

func (*QueryGetReferencePayloadLinkResponse) Unmarshal

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

func (*QueryGetReferencePayloadLinkResponse) XXX_DiscardUnknown

func (m *QueryGetReferencePayloadLinkResponse) XXX_DiscardUnknown()

func (*QueryGetReferencePayloadLinkResponse) XXX_Marshal

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

func (*QueryGetReferencePayloadLinkResponse) XXX_Merge

func (*QueryGetReferencePayloadLinkResponse) XXX_Size

func (*QueryGetReferencePayloadLinkResponse) XXX_Unmarshal

func (m *QueryGetReferencePayloadLinkResponse) 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 list of CreateReferenceId items.
	CreateReferenceId(context.Context, *QueryCreateReferenceIdRequest) (*QueryCreateReferenceIdResponse, error)
	// Queries a list of CreateStorageKey items.
	CreateStorageKey(context.Context, *QueryCreateStorageKeyRequest) (*QueryCreateStorageKeyResponse, error)
	// Queries a list of CreateReferencePayloadLink items.
	CreateReferencePayloadLink(context.Context, *QueryCreateReferencePayloadLinkRequest) (*QueryCreateReferencePayloadLinkResponse, error)
	// Queries a list of VerifySignature items.
	VerifySignature(context.Context, *QueryVerifySignatureRequest) (*QueryVerifySignatureResponse, error)
	// Queries a list of GetAccountInfo items.
	GetAccountInfo(context.Context, *QueryGetAccountInfoRequest) (*QueryGetAccountInfoResponse, error)
	// Queries a list of VerifyReferencePayloadLink items.
	VerifyReferencePayloadLink(context.Context, *QueryVerifyReferencePayloadLinkRequest) (*QueryVerifyReferencePayloadLinkResponse, error)
	// Queries a list of GetReferencePayloadLink items.
	GetReferencePayloadLink(context.Context, *QueryGetReferencePayloadLinkRequest) (*QueryGetReferencePayloadLinkResponse, error)
}

QueryServer is the server API for Query service.

type QueryVerifyReferencePayloadLinkRequest

type QueryVerifyReferencePayloadLinkRequest struct {
	ReferenceId string `protobuf:"bytes,1,opt,name=referenceId,proto3" json:"referenceId,omitempty"`
	PayloadHash string `protobuf:"bytes,2,opt,name=payloadHash,proto3" json:"payloadHash,omitempty"`
}

func (*QueryVerifyReferencePayloadLinkRequest) Descriptor

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

func (*QueryVerifyReferencePayloadLinkRequest) GetPayloadHash

func (m *QueryVerifyReferencePayloadLinkRequest) GetPayloadHash() string

func (*QueryVerifyReferencePayloadLinkRequest) GetReferenceId

func (m *QueryVerifyReferencePayloadLinkRequest) GetReferenceId() string

func (*QueryVerifyReferencePayloadLinkRequest) Marshal

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

func (*QueryVerifyReferencePayloadLinkRequest) MarshalTo

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

func (*QueryVerifyReferencePayloadLinkRequest) MarshalToSizedBuffer

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

func (*QueryVerifyReferencePayloadLinkRequest) ProtoMessage

func (*QueryVerifyReferencePayloadLinkRequest) Reset

func (*QueryVerifyReferencePayloadLinkRequest) Size

func (*QueryVerifyReferencePayloadLinkRequest) String

func (*QueryVerifyReferencePayloadLinkRequest) Unmarshal

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

func (*QueryVerifyReferencePayloadLinkRequest) XXX_DiscardUnknown

func (m *QueryVerifyReferencePayloadLinkRequest) XXX_DiscardUnknown()

func (*QueryVerifyReferencePayloadLinkRequest) XXX_Marshal

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

func (*QueryVerifyReferencePayloadLinkRequest) XXX_Merge

func (*QueryVerifyReferencePayloadLinkRequest) XXX_Size

func (*QueryVerifyReferencePayloadLinkRequest) XXX_Unmarshal

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

type QueryVerifyReferencePayloadLinkResponse

type QueryVerifyReferencePayloadLinkResponse struct {
	IsValid bool `protobuf:"varint,1,opt,name=isValid,proto3" json:"isValid,omitempty"`
}

func (*QueryVerifyReferencePayloadLinkResponse) Descriptor

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

func (*QueryVerifyReferencePayloadLinkResponse) GetIsValid

func (*QueryVerifyReferencePayloadLinkResponse) Marshal

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

func (*QueryVerifyReferencePayloadLinkResponse) MarshalTo

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

func (*QueryVerifyReferencePayloadLinkResponse) MarshalToSizedBuffer

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

func (*QueryVerifyReferencePayloadLinkResponse) ProtoMessage

func (*QueryVerifyReferencePayloadLinkResponse) Reset

func (*QueryVerifyReferencePayloadLinkResponse) Size

func (*QueryVerifyReferencePayloadLinkResponse) String

func (*QueryVerifyReferencePayloadLinkResponse) Unmarshal

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

func (*QueryVerifyReferencePayloadLinkResponse) XXX_DiscardUnknown

func (m *QueryVerifyReferencePayloadLinkResponse) XXX_DiscardUnknown()

func (*QueryVerifyReferencePayloadLinkResponse) XXX_Marshal

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

func (*QueryVerifyReferencePayloadLinkResponse) XXX_Merge

func (*QueryVerifyReferencePayloadLinkResponse) XXX_Size

func (*QueryVerifyReferencePayloadLinkResponse) XXX_Unmarshal

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

type QueryVerifySignatureRequest

type QueryVerifySignatureRequest struct {
	ReferenceId      string `protobuf:"bytes,1,opt,name=referenceId,proto3" json:"referenceId,omitempty"`
	TargetAccAddress string `protobuf:"bytes,2,opt,name=targetAccAddress,proto3" json:"targetAccAddress,omitempty"`
}

func (*QueryVerifySignatureRequest) Descriptor

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

func (*QueryVerifySignatureRequest) GetReferenceId

func (m *QueryVerifySignatureRequest) GetReferenceId() string

func (*QueryVerifySignatureRequest) GetTargetAccAddress

func (m *QueryVerifySignatureRequest) GetTargetAccAddress() string

func (*QueryVerifySignatureRequest) Marshal

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

func (*QueryVerifySignatureRequest) MarshalTo

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

func (*QueryVerifySignatureRequest) MarshalToSizedBuffer

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

func (*QueryVerifySignatureRequest) ProtoMessage

func (*QueryVerifySignatureRequest) ProtoMessage()

func (*QueryVerifySignatureRequest) Reset

func (m *QueryVerifySignatureRequest) Reset()

func (*QueryVerifySignatureRequest) Size

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

func (*QueryVerifySignatureRequest) String

func (m *QueryVerifySignatureRequest) String() string

func (*QueryVerifySignatureRequest) Unmarshal

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

func (*QueryVerifySignatureRequest) XXX_DiscardUnknown

func (m *QueryVerifySignatureRequest) XXX_DiscardUnknown()

func (*QueryVerifySignatureRequest) XXX_Marshal

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

func (*QueryVerifySignatureRequest) XXX_Merge

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

func (*QueryVerifySignatureRequest) XXX_Size

func (m *QueryVerifySignatureRequest) XXX_Size() int

func (*QueryVerifySignatureRequest) XXX_Unmarshal

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

type QueryVerifySignatureResponse

type QueryVerifySignatureResponse struct {
	Signature   string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	Algorithm   string `protobuf:"bytes,2,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
	Certificate string `protobuf:"bytes,3,opt,name=certificate,proto3" json:"certificate,omitempty"`
	Timestamp   string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Valid       string `protobuf:"bytes,5,opt,name=valid,proto3" json:"valid,omitempty"`
}

func (*QueryVerifySignatureResponse) Descriptor

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

func (*QueryVerifySignatureResponse) GetAlgorithm

func (m *QueryVerifySignatureResponse) GetAlgorithm() string

func (*QueryVerifySignatureResponse) GetCertificate

func (m *QueryVerifySignatureResponse) GetCertificate() string

func (*QueryVerifySignatureResponse) GetSignature

func (m *QueryVerifySignatureResponse) GetSignature() string

func (*QueryVerifySignatureResponse) GetTimestamp

func (m *QueryVerifySignatureResponse) GetTimestamp() string

func (*QueryVerifySignatureResponse) GetValid

func (m *QueryVerifySignatureResponse) GetValid() string

func (*QueryVerifySignatureResponse) Marshal

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

func (*QueryVerifySignatureResponse) MarshalTo

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

func (*QueryVerifySignatureResponse) MarshalToSizedBuffer

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

func (*QueryVerifySignatureResponse) ProtoMessage

func (*QueryVerifySignatureResponse) ProtoMessage()

func (*QueryVerifySignatureResponse) Reset

func (m *QueryVerifySignatureResponse) Reset()

func (*QueryVerifySignatureResponse) Size

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

func (*QueryVerifySignatureResponse) String

func (*QueryVerifySignatureResponse) Unmarshal

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

func (*QueryVerifySignatureResponse) XXX_DiscardUnknown

func (m *QueryVerifySignatureResponse) XXX_DiscardUnknown()

func (*QueryVerifySignatureResponse) XXX_Marshal

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

func (*QueryVerifySignatureResponse) XXX_Merge

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

func (*QueryVerifySignatureResponse) XXX_Size

func (m *QueryVerifySignatureResponse) XXX_Size() int

func (*QueryVerifySignatureResponse) XXX_Unmarshal

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

type Signature

type Signature struct {
	Signature   string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	Algorithm   string `protobuf:"bytes,2,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
	Certificate string `protobuf:"bytes,3,opt,name=certificate,proto3" json:"certificate,omitempty"`
	Timestamp   string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*Signature) Descriptor

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

func (*Signature) GetAlgorithm

func (m *Signature) GetAlgorithm() string

func (*Signature) GetCertificate

func (m *Signature) GetCertificate() string

func (*Signature) GetSignature

func (m *Signature) GetSignature() string

func (*Signature) GetTimestamp

func (m *Signature) GetTimestamp() string

func (*Signature) Marshal

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

func (*Signature) MarshalTo

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

func (*Signature) MarshalToSizedBuffer

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

func (*Signature) ProtoMessage

func (*Signature) ProtoMessage()

func (*Signature) Reset

func (m *Signature) Reset()

func (*Signature) Size

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

func (*Signature) String

func (m *Signature) String() string

func (*Signature) Unmarshal

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

func (*Signature) XXX_DiscardUnknown

func (m *Signature) XXX_DiscardUnknown()

func (*Signature) XXX_Marshal

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

func (*Signature) XXX_Merge

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

func (*Signature) XXX_Size

func (m *Signature) XXX_Size() int

func (*Signature) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateAccount

func (*UnimplementedMsgServer) StoreSignature

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) CreateReferenceId

func (*UnimplementedQueryServer) CreateStorageKey

func (*UnimplementedQueryServer) GetAccountInfo

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) VerifySignature

Jump to

Keyboard shortcuts

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