stride

package
v2.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeMsgSubmitQueryResponse = "submitqueryresponse"

	// RouterKey is the message route for icq
	RouterKey = "interchainquery"
)

interchainquery message types

Variables

View Source
var (
	ErrInvalidLengthMessages        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessages          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessages = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)

Functions

func RegisterCometTypes

func RegisterCometTypes()

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

Types

type AppModuleBasic

type AppModuleBasic struct{}

AppModuleBasic implements the AppModuleBasic interface

func (AppModuleBasic) DefaultGenesis

func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage

func (AppModuleBasic) GetQueryCmd

func (AppModuleBasic) GetQueryCmd() *cobra.Command

func (AppModuleBasic) GetTxCmd

func (a AppModuleBasic) GetTxCmd() *cobra.Command

func (AppModuleBasic) Name

func (AppModuleBasic) Name() string

func (AppModuleBasic) RegisterGRPCGatewayRoutes

func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)

func (AppModuleBasic) RegisterInterfaces

func (a AppModuleBasic) RegisterInterfaces(reg cdctypes.InterfaceRegistry)

func (AppModuleBasic) RegisterLegacyAminoCodec

func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

func (AppModuleBasic) ValidateGenesis

func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error

type MsgSubmitQueryResponse

type MsgSubmitQueryResponse struct {
	ChainId     string           `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"`
	QueryId     string           `protobuf:"bytes,2,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty" yaml:"query_id"`
	Result      []byte           `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty" yaml:"result"`
	ProofOps    *crypto.ProofOps `protobuf:"bytes,4,opt,name=proof_ops,json=proofOps,proto3" json:"proof_ops,omitempty" yaml:"proof_ops"`
	Height      int64            `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty" yaml:"height"`
	FromAddress string           `protobuf:"bytes,6,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
}

MsgSubmitQueryResponse represents a message type to fulfil a query request.

func (*MsgSubmitQueryResponse) Descriptor

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

func (MsgSubmitQueryResponse) GetSignBytes

func (msg MsgSubmitQueryResponse) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgSubmitQueryResponse) GetSigners

func (msg MsgSubmitQueryResponse) GetSigners() []sdk.AccAddress

GetSigners Implements Msg.

func (*MsgSubmitQueryResponse) Marshal

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

func (*MsgSubmitQueryResponse) MarshalTo

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

func (*MsgSubmitQueryResponse) MarshalToSizedBuffer

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

func (*MsgSubmitQueryResponse) ProtoMessage

func (*MsgSubmitQueryResponse) ProtoMessage()

func (*MsgSubmitQueryResponse) Reset

func (m *MsgSubmitQueryResponse) Reset()

func (MsgSubmitQueryResponse) Route

func (msg MsgSubmitQueryResponse) Route() string

Route Implements Msg.

func (*MsgSubmitQueryResponse) Size

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

func (*MsgSubmitQueryResponse) String

func (m *MsgSubmitQueryResponse) String() string

func (MsgSubmitQueryResponse) Type

func (msg MsgSubmitQueryResponse) Type() string

Type Implements Msg.

func (*MsgSubmitQueryResponse) Unmarshal

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

func (MsgSubmitQueryResponse) ValidateBasic

func (msg MsgSubmitQueryResponse) ValidateBasic() error

ValidateBasic Implements Msg.

func (*MsgSubmitQueryResponse) XXX_DiscardUnknown

func (m *MsgSubmitQueryResponse) XXX_DiscardUnknown()

func (*MsgSubmitQueryResponse) XXX_Marshal

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

func (*MsgSubmitQueryResponse) XXX_Merge

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

func (*MsgSubmitQueryResponse) XXX_Size

func (m *MsgSubmitQueryResponse) XXX_Size() int

func (*MsgSubmitQueryResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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