Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountKeeper
- type AttestResult
- type AttestTask
- type Attestator
- type BankKeeper
- type ConsensusMsg
- type ConsensusPacketData
- func (*ConsensusPacketData) Descriptor() ([]byte, []int)
- func (m *ConsensusPacketData) GetNoData() *NoData
- func (m *ConsensusPacketData) GetPacket() isConsensusPacketData_Packet
- func (m *ConsensusPacketData) Marshal() (dAtA []byte, err error)
- func (m *ConsensusPacketData) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsensusPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsensusPacketData) ProtoMessage()
- func (m *ConsensusPacketData) Reset()
- func (m *ConsensusPacketData) Size() (n int)
- func (m *ConsensusPacketData) String() string
- func (m *ConsensusPacketData) Unmarshal(dAtA []byte) error
- func (m *ConsensusPacketData) XXX_DiscardUnknown()
- func (m *ConsensusPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusPacketData) XXX_Merge(src proto.Message)
- func (*ConsensusPacketData) XXX_OneofWrappers() []interface{}
- func (m *ConsensusPacketData) XXX_Size() int
- func (m *ConsensusPacketData) XXX_Unmarshal(b []byte) error
- type ConsensusPacketData_NoData
- type ConsensusQueueType
- type Evidence
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPortId() string
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MessageApproved
- func (*MessageApproved) Descriptor() ([]byte, []int)
- func (m *MessageApproved) GetId() uint64
- func (m *MessageApproved) GetMsg() *types.Any
- func (m *MessageApproved) GetNonce() []byte
- func (m *MessageApproved) GetSignData() []*MessageApprovedSignData
- func (m *MessageApproved) Marshal() (dAtA []byte, err error)
- func (m *MessageApproved) MarshalTo(dAtA []byte) (int, error)
- func (m *MessageApproved) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MessageApproved) ProtoMessage()
- func (m *MessageApproved) Reset()
- func (m *MessageApproved) Size() (n int)
- func (m *MessageApproved) String() string
- func (m *MessageApproved) Unmarshal(dAtA []byte) error
- func (m *MessageApproved) XXX_DiscardUnknown()
- func (m *MessageApproved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageApproved) XXX_Merge(src proto.Message)
- func (m *MessageApproved) XXX_Size() int
- func (m *MessageApproved) XXX_Unmarshal(b []byte) error
- type MessageApprovedSignData
- func (*MessageApprovedSignData) Descriptor() ([]byte, []int)
- func (m *MessageApprovedSignData) GetSignature() []byte
- func (m *MessageApprovedSignData) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
- func (m *MessageApprovedSignData) Marshal() (dAtA []byte, err error)
- func (m *MessageApprovedSignData) MarshalTo(dAtA []byte) (int, error)
- func (m *MessageApprovedSignData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MessageApprovedSignData) ProtoMessage()
- func (m *MessageApprovedSignData) Reset()
- func (m *MessageApprovedSignData) Size() (n int)
- func (m *MessageApprovedSignData) String() string
- func (m *MessageApprovedSignData) Unmarshal(dAtA []byte) error
- func (m *MessageApprovedSignData) XXX_DiscardUnknown()
- func (m *MessageApprovedSignData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageApprovedSignData) XXX_Merge(src proto.Message)
- func (m *MessageApprovedSignData) XXX_Size() int
- func (m *MessageApprovedSignData) XXX_Unmarshal(b []byte) error
- type MessageToSign
- func (*MessageToSign) Descriptor() ([]byte, []int)
- func (m *MessageToSign) GetId() uint64
- func (m *MessageToSign) GetMsg() *types.Any
- func (m *MessageToSign) GetNonce() []byte
- func (m *MessageToSign) Marshal() (dAtA []byte, err error)
- func (m *MessageToSign) MarshalTo(dAtA []byte) (int, error)
- func (m *MessageToSign) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MessageToSign) ProtoMessage()
- func (m *MessageToSign) Reset()
- func (m *MessageToSign) Size() (n int)
- func (m *MessageToSign) String() string
- func (m *MessageToSign) Unmarshal(dAtA []byte) error
- func (m *MessageToSign) XXX_DiscardUnknown()
- func (m *MessageToSign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageToSign) XXX_Merge(src proto.Message)
- func (m *MessageToSign) XXX_Size() int
- func (m *MessageToSign) XXX_Unmarshal(b []byte) error
- type MsgAddMessagesSignatures
- func (*MsgAddMessagesSignatures) Descriptor() ([]byte, []int)
- func (m *MsgAddMessagesSignatures) GetCreator() string
- func (msg *MsgAddMessagesSignatures) GetSignBytes() []byte
- func (m *MsgAddMessagesSignatures) GetSignedMessages() []*MsgAddMessagesSignatures_MsgSignedMessage
- func (msg *MsgAddMessagesSignatures) GetSigners() []sdk.AccAddress
- func (m *MsgAddMessagesSignatures) Marshal() (dAtA []byte, err error)
- func (m *MsgAddMessagesSignatures) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddMessagesSignatures) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddMessagesSignatures) ProtoMessage()
- func (m *MsgAddMessagesSignatures) Reset()
- func (msg *MsgAddMessagesSignatures) Route() string
- func (m *MsgAddMessagesSignatures) Size() (n int)
- func (m *MsgAddMessagesSignatures) String() string
- func (msg *MsgAddMessagesSignatures) Type() string
- func (m *MsgAddMessagesSignatures) Unmarshal(dAtA []byte) error
- func (msg *MsgAddMessagesSignatures) ValidateBasic() error
- func (m *MsgAddMessagesSignatures) XXX_DiscardUnknown()
- func (m *MsgAddMessagesSignatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddMessagesSignatures) XXX_Merge(src proto.Message)
- func (m *MsgAddMessagesSignatures) XXX_Size() int
- func (m *MsgAddMessagesSignatures) XXX_Unmarshal(b []byte) error
- type MsgAddMessagesSignaturesResponse
- func (*MsgAddMessagesSignaturesResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddMessagesSignaturesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddMessagesSignaturesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddMessagesSignaturesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddMessagesSignaturesResponse) ProtoMessage()
- func (m *MsgAddMessagesSignaturesResponse) Reset()
- func (m *MsgAddMessagesSignaturesResponse) Size() (n int)
- func (m *MsgAddMessagesSignaturesResponse) String() string
- func (m *MsgAddMessagesSignaturesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddMessagesSignaturesResponse) XXX_DiscardUnknown()
- func (m *MsgAddMessagesSignaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddMessagesSignaturesResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddMessagesSignaturesResponse) XXX_Size() int
- func (m *MsgAddMessagesSignaturesResponse) XXX_Unmarshal(b []byte) error
- type MsgAddMessagesSignatures_MsgSignedMessage
- func (*MsgAddMessagesSignatures_MsgSignedMessage) Descriptor() ([]byte, []int)
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetExtraData() []byte
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetId() uint64
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetQueueTypeName() string
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetSignature() []byte
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) Marshal() (dAtA []byte, err error)
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddMessagesSignatures_MsgSignedMessage) ProtoMessage()
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) Reset()
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) Size() (n int)
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) String() string
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) Unmarshal(dAtA []byte) error
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_DiscardUnknown()
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_Merge(src proto.Message)
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_Size() int
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgServer
- type NoData
- func (*NoData) Descriptor() ([]byte, []int)
- func (m *NoData) Marshal() (dAtA []byte, err error)
- func (m *NoData) MarshalTo(dAtA []byte) (int, error)
- func (m *NoData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NoData) ProtoMessage()
- func (m *NoData) Reset()
- func (m *NoData) Size() (n int)
- func (m *NoData) String() string
- func (m *NoData) Unmarshal(dAtA []byte) error
- func (m *NoData) XXX_DiscardUnknown()
- func (m *NoData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NoData) XXX_Merge(src proto.Message)
- func (m *NoData) XXX_Size() int
- func (m *NoData) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryConsensusReachedRequest
- func (*QueryConsensusReachedRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsensusReachedRequest) GetQueueTypeName() string
- func (m *QueryConsensusReachedRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConsensusReachedRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsensusReachedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsensusReachedRequest) ProtoMessage()
- func (m *QueryConsensusReachedRequest) Reset()
- func (m *QueryConsensusReachedRequest) Size() (n int)
- func (m *QueryConsensusReachedRequest) String() string
- func (m *QueryConsensusReachedRequest) Unmarshal(dAtA []byte) error
- func (m *QueryConsensusReachedRequest) XXX_DiscardUnknown()
- func (m *QueryConsensusReachedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsensusReachedRequest) XXX_Merge(src proto.Message)
- func (m *QueryConsensusReachedRequest) XXX_Size() int
- func (m *QueryConsensusReachedRequest) XXX_Unmarshal(b []byte) error
- type QueryConsensusReachedResponse
- func (*QueryConsensusReachedResponse) Descriptor() ([]byte, []int)
- func (m *QueryConsensusReachedResponse) GetMessages() []*MessageApproved
- func (m *QueryConsensusReachedResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConsensusReachedResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsensusReachedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsensusReachedResponse) ProtoMessage()
- func (m *QueryConsensusReachedResponse) Reset()
- func (m *QueryConsensusReachedResponse) Size() (n int)
- func (m *QueryConsensusReachedResponse) String() string
- func (m *QueryConsensusReachedResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConsensusReachedResponse) XXX_DiscardUnknown()
- func (m *QueryConsensusReachedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsensusReachedResponse) XXX_Merge(src proto.Message)
- func (m *QueryConsensusReachedResponse) XXX_Size() int
- func (m *QueryConsensusReachedResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryQueuedMessagesForSigningRequest
- func (*QueryQueuedMessagesForSigningRequest) Descriptor() ([]byte, []int)
- func (m *QueryQueuedMessagesForSigningRequest) GetQueueTypeName() string
- func (m *QueryQueuedMessagesForSigningRequest) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
- func (m *QueryQueuedMessagesForSigningRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryQueuedMessagesForSigningRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryQueuedMessagesForSigningRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryQueuedMessagesForSigningRequest) ProtoMessage()
- func (m *QueryQueuedMessagesForSigningRequest) Reset()
- func (m *QueryQueuedMessagesForSigningRequest) Size() (n int)
- func (m *QueryQueuedMessagesForSigningRequest) String() string
- func (m *QueryQueuedMessagesForSigningRequest) Unmarshal(dAtA []byte) error
- func (m *QueryQueuedMessagesForSigningRequest) XXX_DiscardUnknown()
- func (m *QueryQueuedMessagesForSigningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryQueuedMessagesForSigningRequest) XXX_Merge(src proto.Message)
- func (m *QueryQueuedMessagesForSigningRequest) XXX_Size() int
- func (m *QueryQueuedMessagesForSigningRequest) XXX_Unmarshal(b []byte) error
- type QueryQueuedMessagesForSigningResponse
- func (*QueryQueuedMessagesForSigningResponse) Descriptor() ([]byte, []int)
- func (m *QueryQueuedMessagesForSigningResponse) GetMessageToSign() []*MessageToSign
- func (m *QueryQueuedMessagesForSigningResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryQueuedMessagesForSigningResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryQueuedMessagesForSigningResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryQueuedMessagesForSigningResponse) ProtoMessage()
- func (m *QueryQueuedMessagesForSigningResponse) Reset()
- func (m *QueryQueuedMessagesForSigningResponse) Size() (n int)
- func (m *QueryQueuedMessagesForSigningResponse) String() string
- func (m *QueryQueuedMessagesForSigningResponse) Unmarshal(dAtA []byte) error
- func (m *QueryQueuedMessagesForSigningResponse) XXX_DiscardUnknown()
- func (m *QueryQueuedMessagesForSigningResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryQueuedMessagesForSigningResponse) XXX_Merge(src proto.Message)
- func (m *QueryQueuedMessagesForSigningResponse) XXX_Size() int
- func (m *QueryQueuedMessagesForSigningResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueuedSignedMessage
- func (q *QueuedSignedMessage) AddSignData(data *SignData)
- func (*QueuedSignedMessage) Descriptor() ([]byte, []int)
- func (m *QueuedSignedMessage) GetId() uint64
- func (m *QueuedSignedMessage) GetMsg() *types.Any
- func (m *QueuedSignedMessage) GetSignData() []*SignData
- func (m *QueuedSignedMessage) Marshal() (dAtA []byte, err error)
- func (m *QueuedSignedMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *QueuedSignedMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (q *QueuedSignedMessage) Nonce() []byte
- func (*QueuedSignedMessage) ProtoMessage()
- func (m *QueuedSignedMessage) Reset()
- func (q *QueuedSignedMessage) SdkMsg() (sdk.Msg, error)
- func (m *QueuedSignedMessage) Size() (n int)
- func (m *QueuedSignedMessage) String() string
- func (m *QueuedSignedMessage) Unmarshal(dAtA []byte) error
- func (m *QueuedSignedMessage) XXX_DiscardUnknown()
- func (m *QueuedSignedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueuedSignedMessage) XXX_Merge(src proto.Message)
- func (m *QueuedSignedMessage) XXX_Size() int
- func (m *QueuedSignedMessage) XXX_Unmarshal(b []byte) error
- type QueuedSignedMessageI
- type SignData
- func (*SignData) Descriptor() ([]byte, []int)
- func (m *SignData) GetExtraData() []byte
- func (m *SignData) GetPubKey() []byte
- func (m *SignData) GetSignature() []byte
- func (m *SignData) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
- func (m *SignData) Marshal() (dAtA []byte, err error)
- func (m *SignData) MarshalTo(dAtA []byte) (int, error)
- func (m *SignData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignData) ProtoMessage()
- func (m *SignData) Reset()
- func (m *SignData) Size() (n int)
- func (m *SignData) String() string
- func (m *SignData) Unmarshal(dAtA []byte) error
- func (m *SignData) XXX_DiscardUnknown()
- func (m *SignData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignData) XXX_Merge(src proto.Message)
- func (m *SignData) XXX_Size() int
- func (m *SignData) XXX_Unmarshal(b []byte) error
- type SignSmartContractExecute
- func (*SignSmartContractExecute) Descriptor() ([]byte, []int)
- func (m *SignSmartContractExecute) GetId() uint64
- func (m *SignSmartContractExecute) Marshal() (dAtA []byte, err error)
- func (m *SignSmartContractExecute) MarshalTo(dAtA []byte) (int, error)
- func (m *SignSmartContractExecute) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignSmartContractExecute) ProtoMessage()
- func (m *SignSmartContractExecute) Reset()
- func (m *SignSmartContractExecute) Size() (n int)
- func (m *SignSmartContractExecute) String() string
- func (m *SignSmartContractExecute) Unmarshal(dAtA []byte) error
- func (m *SignSmartContractExecute) XXX_DiscardUnknown()
- func (m *SignSmartContractExecute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignSmartContractExecute) XXX_Merge(src proto.Message)
- func (m *SignSmartContractExecute) XXX_Size() int
- func (m *SignSmartContractExecute) XXX_Unmarshal(b []byte) error
- type TypeChecker
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) ConsensusReached(ctx context.Context, req *QueryConsensusReachedRequest) (*QueryConsensusReachedResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) QueuedMessagesForSigning(ctx context.Context, req *QueryQueuedMessagesForSigningRequest) (*QueryQueuedMessagesForSigningResponse, error)
- type ValsetKeeper
Constants ¶
const ( EventTypeTimeout = "timeout" AttributeKeyAckSuccess = "success" AttributeKeyAck = "acknowledgement" AttributeKeyAckError = "error" )
IBC events
const ( // ModuleName defines the module name ModuleName = "consensus" // 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_consensus" // Version defines the current version the IBC module supports Version = "consensus-1" // PortID is the default port id that module binds to PortID = "consensus" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const TypeMsgAddMessagesSignatures = "add_messages_signatures"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthConsensusQueue = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowConsensusQueue = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupConsensusQueue = fmt.Errorf("proto: unexpected end of group") )
var ( ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error") ErrInvalidPacketTimeout = sdkerrors.Register(ModuleName, 1500, "invalid packet timeout") ErrInvalidVersion = sdkerrors.Register(ModuleName, 1501, "invalid version") )
x/consensus module sentinel errors
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPacket = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPacket = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPacket = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthSigningMessages = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSigningMessages = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSigningMessages = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( // PortKey defines the key to store the port ID in store PortKey = KeyPrefix("consensus-port-") )
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type AttestResult ¶
type AttestResult struct { }
type AttestTask ¶
type AttestTask interface {
Attest()
}
type Attestator ¶
type Attestator interface { // ConsensusQueue tells in which ConsensusQueue to store the messages that require signatures. ConsensusQueue() ConsensusQueueType // Type tells the type of allowed message types for the ConsensusQueue. Type() any // ValidateEvidence takes a task and an evidence and does a validation to make sure that it's correct. ValidateEvidence(ctx context.Context, task AttestTask, evidence Evidence) error // ProcessAllEvidence processes all given evidences and internally does whatever it needs to do with // that information. It returns the result back to the caller. ProcessAllEvidence(ctx context.Context, task AttestTask, evidence []Evidence) (AttestResult, error) }
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type ConsensusMsg ¶
type ConsensusPacketData ¶
type ConsensusPacketData struct { // Types that are valid to be assigned to Packet: // *ConsensusPacketData_NoData Packet isConsensusPacketData_Packet `protobuf_oneof:"packet"` }
func (*ConsensusPacketData) Descriptor ¶
func (*ConsensusPacketData) Descriptor() ([]byte, []int)
func (*ConsensusPacketData) GetNoData ¶
func (m *ConsensusPacketData) GetNoData() *NoData
func (*ConsensusPacketData) GetPacket ¶
func (m *ConsensusPacketData) GetPacket() isConsensusPacketData_Packet
func (*ConsensusPacketData) Marshal ¶
func (m *ConsensusPacketData) Marshal() (dAtA []byte, err error)
func (*ConsensusPacketData) MarshalTo ¶
func (m *ConsensusPacketData) MarshalTo(dAtA []byte) (int, error)
func (*ConsensusPacketData) MarshalToSizedBuffer ¶
func (m *ConsensusPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsensusPacketData) ProtoMessage ¶
func (*ConsensusPacketData) ProtoMessage()
func (*ConsensusPacketData) Reset ¶
func (m *ConsensusPacketData) Reset()
func (*ConsensusPacketData) Size ¶
func (m *ConsensusPacketData) Size() (n int)
func (*ConsensusPacketData) String ¶
func (m *ConsensusPacketData) String() string
func (*ConsensusPacketData) Unmarshal ¶
func (m *ConsensusPacketData) Unmarshal(dAtA []byte) error
func (*ConsensusPacketData) XXX_DiscardUnknown ¶
func (m *ConsensusPacketData) XXX_DiscardUnknown()
func (*ConsensusPacketData) XXX_Marshal ¶
func (m *ConsensusPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusPacketData) XXX_Merge ¶
func (m *ConsensusPacketData) XXX_Merge(src proto.Message)
func (*ConsensusPacketData) XXX_OneofWrappers ¶
func (*ConsensusPacketData) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ConsensusPacketData) XXX_Size ¶
func (m *ConsensusPacketData) XXX_Size() int
func (*ConsensusPacketData) XXX_Unmarshal ¶
func (m *ConsensusPacketData) XXX_Unmarshal(b []byte) error
type ConsensusPacketData_NoData ¶
type ConsensusPacketData_NoData struct {
NoData *NoData `protobuf:"bytes,1,opt,name=noData,proto3,oneof" json:"noData,omitempty"`
}
func (*ConsensusPacketData_NoData) MarshalTo ¶
func (m *ConsensusPacketData_NoData) MarshalTo(dAtA []byte) (int, error)
func (*ConsensusPacketData_NoData) MarshalToSizedBuffer ¶
func (m *ConsensusPacketData_NoData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsensusPacketData_NoData) Size ¶
func (m *ConsensusPacketData_NoData) Size() (n int)
type ConsensusQueueType ¶
type ConsensusQueueType string
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` }
GenesisState defines the consensus 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) GetPortId ¶
func (m *GenesisState) GetPortId() string
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MessageApproved ¶
type MessageApproved struct { Nonce []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Msg *types.Any `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` SignData []*MessageApprovedSignData `protobuf:"bytes,4,rep,name=signData,proto3" json:"signData,omitempty"` }
func (*MessageApproved) Descriptor ¶
func (*MessageApproved) Descriptor() ([]byte, []int)
func (*MessageApproved) GetId ¶
func (m *MessageApproved) GetId() uint64
func (*MessageApproved) GetMsg ¶
func (m *MessageApproved) GetMsg() *types.Any
func (*MessageApproved) GetNonce ¶
func (m *MessageApproved) GetNonce() []byte
func (*MessageApproved) GetSignData ¶
func (m *MessageApproved) GetSignData() []*MessageApprovedSignData
func (*MessageApproved) Marshal ¶
func (m *MessageApproved) Marshal() (dAtA []byte, err error)
func (*MessageApproved) MarshalToSizedBuffer ¶
func (m *MessageApproved) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MessageApproved) ProtoMessage ¶
func (*MessageApproved) ProtoMessage()
func (*MessageApproved) Reset ¶
func (m *MessageApproved) Reset()
func (*MessageApproved) Size ¶
func (m *MessageApproved) Size() (n int)
func (*MessageApproved) String ¶
func (m *MessageApproved) String() string
func (*MessageApproved) Unmarshal ¶
func (m *MessageApproved) Unmarshal(dAtA []byte) error
func (*MessageApproved) XXX_DiscardUnknown ¶
func (m *MessageApproved) XXX_DiscardUnknown()
func (*MessageApproved) XXX_Marshal ¶
func (m *MessageApproved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageApproved) XXX_Merge ¶
func (m *MessageApproved) XXX_Merge(src proto.Message)
func (*MessageApproved) XXX_Size ¶
func (m *MessageApproved) XXX_Size() int
func (*MessageApproved) XXX_Unmarshal ¶
func (m *MessageApproved) XXX_Unmarshal(b []byte) error
type MessageApprovedSignData ¶
type MessageApprovedSignData struct { ValAddress github_com_cosmos_cosmos_sdk_types.ValAddress `` /* 128-byte string literal not displayed */ Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` }
func (*MessageApprovedSignData) Descriptor ¶
func (*MessageApprovedSignData) Descriptor() ([]byte, []int)
func (*MessageApprovedSignData) GetSignature ¶
func (m *MessageApprovedSignData) GetSignature() []byte
func (*MessageApprovedSignData) GetValAddress ¶
func (m *MessageApprovedSignData) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
func (*MessageApprovedSignData) Marshal ¶
func (m *MessageApprovedSignData) Marshal() (dAtA []byte, err error)
func (*MessageApprovedSignData) MarshalTo ¶
func (m *MessageApprovedSignData) MarshalTo(dAtA []byte) (int, error)
func (*MessageApprovedSignData) MarshalToSizedBuffer ¶
func (m *MessageApprovedSignData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MessageApprovedSignData) ProtoMessage ¶
func (*MessageApprovedSignData) ProtoMessage()
func (*MessageApprovedSignData) Reset ¶
func (m *MessageApprovedSignData) Reset()
func (*MessageApprovedSignData) Size ¶
func (m *MessageApprovedSignData) Size() (n int)
func (*MessageApprovedSignData) String ¶
func (m *MessageApprovedSignData) String() string
func (*MessageApprovedSignData) Unmarshal ¶
func (m *MessageApprovedSignData) Unmarshal(dAtA []byte) error
func (*MessageApprovedSignData) XXX_DiscardUnknown ¶
func (m *MessageApprovedSignData) XXX_DiscardUnknown()
func (*MessageApprovedSignData) XXX_Marshal ¶
func (m *MessageApprovedSignData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageApprovedSignData) XXX_Merge ¶
func (m *MessageApprovedSignData) XXX_Merge(src proto.Message)
func (*MessageApprovedSignData) XXX_Size ¶
func (m *MessageApprovedSignData) XXX_Size() int
func (*MessageApprovedSignData) XXX_Unmarshal ¶
func (m *MessageApprovedSignData) XXX_Unmarshal(b []byte) error
type MessageToSign ¶
type MessageToSign struct { Nonce []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Msg *types.Any `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` }
func (*MessageToSign) Descriptor ¶
func (*MessageToSign) Descriptor() ([]byte, []int)
func (*MessageToSign) GetId ¶
func (m *MessageToSign) GetId() uint64
func (*MessageToSign) GetMsg ¶
func (m *MessageToSign) GetMsg() *types.Any
func (*MessageToSign) GetNonce ¶
func (m *MessageToSign) GetNonce() []byte
func (*MessageToSign) Marshal ¶
func (m *MessageToSign) Marshal() (dAtA []byte, err error)
func (*MessageToSign) MarshalToSizedBuffer ¶
func (m *MessageToSign) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MessageToSign) ProtoMessage ¶
func (*MessageToSign) ProtoMessage()
func (*MessageToSign) Reset ¶
func (m *MessageToSign) Reset()
func (*MessageToSign) Size ¶
func (m *MessageToSign) Size() (n int)
func (*MessageToSign) String ¶
func (m *MessageToSign) String() string
func (*MessageToSign) Unmarshal ¶
func (m *MessageToSign) Unmarshal(dAtA []byte) error
func (*MessageToSign) XXX_DiscardUnknown ¶
func (m *MessageToSign) XXX_DiscardUnknown()
func (*MessageToSign) XXX_Marshal ¶
func (m *MessageToSign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageToSign) XXX_Merge ¶
func (m *MessageToSign) XXX_Merge(src proto.Message)
func (*MessageToSign) XXX_Size ¶
func (m *MessageToSign) XXX_Size() int
func (*MessageToSign) XXX_Unmarshal ¶
func (m *MessageToSign) XXX_Unmarshal(b []byte) error
type MsgAddMessagesSignatures ¶
type MsgAddMessagesSignatures struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` SignedMessages []*MsgAddMessagesSignatures_MsgSignedMessage `protobuf:"bytes,2,rep,name=signedMessages,proto3" json:"signedMessages,omitempty"` }
func NewMsgAddMessagesSignatures ¶
func NewMsgAddMessagesSignatures(creator string) *MsgAddMessagesSignatures
func (*MsgAddMessagesSignatures) Descriptor ¶
func (*MsgAddMessagesSignatures) Descriptor() ([]byte, []int)
func (*MsgAddMessagesSignatures) GetCreator ¶
func (m *MsgAddMessagesSignatures) GetCreator() string
func (*MsgAddMessagesSignatures) GetSignBytes ¶
func (msg *MsgAddMessagesSignatures) GetSignBytes() []byte
func (*MsgAddMessagesSignatures) GetSignedMessages ¶
func (m *MsgAddMessagesSignatures) GetSignedMessages() []*MsgAddMessagesSignatures_MsgSignedMessage
func (*MsgAddMessagesSignatures) GetSigners ¶
func (msg *MsgAddMessagesSignatures) GetSigners() []sdk.AccAddress
func (*MsgAddMessagesSignatures) Marshal ¶
func (m *MsgAddMessagesSignatures) Marshal() (dAtA []byte, err error)
func (*MsgAddMessagesSignatures) MarshalTo ¶
func (m *MsgAddMessagesSignatures) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddMessagesSignatures) MarshalToSizedBuffer ¶
func (m *MsgAddMessagesSignatures) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddMessagesSignatures) ProtoMessage ¶
func (*MsgAddMessagesSignatures) ProtoMessage()
func (*MsgAddMessagesSignatures) Reset ¶
func (m *MsgAddMessagesSignatures) Reset()
func (*MsgAddMessagesSignatures) Route ¶
func (msg *MsgAddMessagesSignatures) Route() string
func (*MsgAddMessagesSignatures) Size ¶
func (m *MsgAddMessagesSignatures) Size() (n int)
func (*MsgAddMessagesSignatures) String ¶
func (m *MsgAddMessagesSignatures) String() string
func (*MsgAddMessagesSignatures) Type ¶
func (msg *MsgAddMessagesSignatures) Type() string
func (*MsgAddMessagesSignatures) Unmarshal ¶
func (m *MsgAddMessagesSignatures) Unmarshal(dAtA []byte) error
func (*MsgAddMessagesSignatures) ValidateBasic ¶
func (msg *MsgAddMessagesSignatures) ValidateBasic() error
func (*MsgAddMessagesSignatures) XXX_DiscardUnknown ¶
func (m *MsgAddMessagesSignatures) XXX_DiscardUnknown()
func (*MsgAddMessagesSignatures) XXX_Marshal ¶
func (m *MsgAddMessagesSignatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddMessagesSignatures) XXX_Merge ¶
func (m *MsgAddMessagesSignatures) XXX_Merge(src proto.Message)
func (*MsgAddMessagesSignatures) XXX_Size ¶
func (m *MsgAddMessagesSignatures) XXX_Size() int
func (*MsgAddMessagesSignatures) XXX_Unmarshal ¶
func (m *MsgAddMessagesSignatures) XXX_Unmarshal(b []byte) error
type MsgAddMessagesSignaturesResponse ¶
type MsgAddMessagesSignaturesResponse struct { }
func (*MsgAddMessagesSignaturesResponse) Descriptor ¶
func (*MsgAddMessagesSignaturesResponse) Descriptor() ([]byte, []int)
func (*MsgAddMessagesSignaturesResponse) Marshal ¶
func (m *MsgAddMessagesSignaturesResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddMessagesSignaturesResponse) MarshalTo ¶
func (m *MsgAddMessagesSignaturesResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddMessagesSignaturesResponse) MarshalToSizedBuffer ¶
func (m *MsgAddMessagesSignaturesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddMessagesSignaturesResponse) ProtoMessage ¶
func (*MsgAddMessagesSignaturesResponse) ProtoMessage()
func (*MsgAddMessagesSignaturesResponse) Reset ¶
func (m *MsgAddMessagesSignaturesResponse) Reset()
func (*MsgAddMessagesSignaturesResponse) Size ¶
func (m *MsgAddMessagesSignaturesResponse) Size() (n int)
func (*MsgAddMessagesSignaturesResponse) String ¶
func (m *MsgAddMessagesSignaturesResponse) String() string
func (*MsgAddMessagesSignaturesResponse) Unmarshal ¶
func (m *MsgAddMessagesSignaturesResponse) Unmarshal(dAtA []byte) error
func (*MsgAddMessagesSignaturesResponse) XXX_DiscardUnknown ¶
func (m *MsgAddMessagesSignaturesResponse) XXX_DiscardUnknown()
func (*MsgAddMessagesSignaturesResponse) XXX_Marshal ¶
func (m *MsgAddMessagesSignaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddMessagesSignaturesResponse) XXX_Merge ¶
func (m *MsgAddMessagesSignaturesResponse) XXX_Merge(src proto.Message)
func (*MsgAddMessagesSignaturesResponse) XXX_Size ¶
func (m *MsgAddMessagesSignaturesResponse) XXX_Size() int
func (*MsgAddMessagesSignaturesResponse) XXX_Unmarshal ¶
func (m *MsgAddMessagesSignaturesResponse) XXX_Unmarshal(b []byte) error
type MsgAddMessagesSignatures_MsgSignedMessage ¶
type MsgAddMessagesSignatures_MsgSignedMessage struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` QueueTypeName string `protobuf:"bytes,2,opt,name=queueTypeName,proto3" json:"queueTypeName,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` ExtraData []byte `protobuf:"bytes,4,opt,name=extraData,proto3" json:"extraData,omitempty"` }
func (*MsgAddMessagesSignatures_MsgSignedMessage) Descriptor ¶
func (*MsgAddMessagesSignatures_MsgSignedMessage) Descriptor() ([]byte, []int)
func (*MsgAddMessagesSignatures_MsgSignedMessage) GetExtraData ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetExtraData() []byte
func (*MsgAddMessagesSignatures_MsgSignedMessage) GetId ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetId() uint64
func (*MsgAddMessagesSignatures_MsgSignedMessage) GetQueueTypeName ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetQueueTypeName() string
func (*MsgAddMessagesSignatures_MsgSignedMessage) GetSignature ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetSignature() []byte
func (*MsgAddMessagesSignatures_MsgSignedMessage) Marshal ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) Marshal() (dAtA []byte, err error)
func (*MsgAddMessagesSignatures_MsgSignedMessage) MarshalTo ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddMessagesSignatures_MsgSignedMessage) MarshalToSizedBuffer ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddMessagesSignatures_MsgSignedMessage) ProtoMessage ¶
func (*MsgAddMessagesSignatures_MsgSignedMessage) ProtoMessage()
func (*MsgAddMessagesSignatures_MsgSignedMessage) Reset ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) Reset()
func (*MsgAddMessagesSignatures_MsgSignedMessage) Size ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) Size() (n int)
func (*MsgAddMessagesSignatures_MsgSignedMessage) String ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) String() string
func (*MsgAddMessagesSignatures_MsgSignedMessage) Unmarshal ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) Unmarshal(dAtA []byte) error
func (*MsgAddMessagesSignatures_MsgSignedMessage) XXX_DiscardUnknown ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_DiscardUnknown()
func (*MsgAddMessagesSignatures_MsgSignedMessage) XXX_Marshal ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddMessagesSignatures_MsgSignedMessage) XXX_Merge ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_Merge(src proto.Message)
func (*MsgAddMessagesSignatures_MsgSignedMessage) XXX_Size ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_Size() int
func (*MsgAddMessagesSignatures_MsgSignedMessage) XXX_Unmarshal ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface {
AddMessagesSignatures(ctx context.Context, in *MsgAddMessagesSignatures, opts ...grpc.CallOption) (*MsgAddMessagesSignaturesResponse, 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 MsgServer ¶
type MsgServer interface {
AddMessagesSignatures(context.Context, *MsgAddMessagesSignatures) (*MsgAddMessagesSignaturesResponse, error)
}
MsgServer is the server API for Msg service.
type NoData ¶
type NoData struct { }
func (*NoData) Descriptor ¶
func (*NoData) MarshalToSizedBuffer ¶
func (*NoData) ProtoMessage ¶
func (*NoData) ProtoMessage()
func (*NoData) XXX_DiscardUnknown ¶
func (m *NoData) XXX_DiscardUnknown()
func (*NoData) XXX_Marshal ¶
func (*NoData) XXX_Unmarshal ¶
type Params ¶
type Params struct { }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type 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 QueuedMessagesForSigning items. QueuedMessagesForSigning(ctx context.Context, in *QueryQueuedMessagesForSigningRequest, opts ...grpc.CallOption) (*QueryQueuedMessagesForSigningResponse, error) // Queries a list of ConsensusReached items. ConsensusReached(ctx context.Context, in *QueryConsensusReachedRequest, opts ...grpc.CallOption) (*QueryConsensusReachedResponse, 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 QueryConsensusReachedRequest ¶
type QueryConsensusReachedRequest struct {
QueueTypeName string `protobuf:"bytes,1,opt,name=queueTypeName,proto3" json:"queueTypeName,omitempty"`
}
func (*QueryConsensusReachedRequest) Descriptor ¶
func (*QueryConsensusReachedRequest) Descriptor() ([]byte, []int)
func (*QueryConsensusReachedRequest) GetQueueTypeName ¶
func (m *QueryConsensusReachedRequest) GetQueueTypeName() string
func (*QueryConsensusReachedRequest) Marshal ¶
func (m *QueryConsensusReachedRequest) Marshal() (dAtA []byte, err error)
func (*QueryConsensusReachedRequest) MarshalTo ¶
func (m *QueryConsensusReachedRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsensusReachedRequest) MarshalToSizedBuffer ¶
func (m *QueryConsensusReachedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsensusReachedRequest) ProtoMessage ¶
func (*QueryConsensusReachedRequest) ProtoMessage()
func (*QueryConsensusReachedRequest) Reset ¶
func (m *QueryConsensusReachedRequest) Reset()
func (*QueryConsensusReachedRequest) Size ¶
func (m *QueryConsensusReachedRequest) Size() (n int)
func (*QueryConsensusReachedRequest) String ¶
func (m *QueryConsensusReachedRequest) String() string
func (*QueryConsensusReachedRequest) Unmarshal ¶
func (m *QueryConsensusReachedRequest) Unmarshal(dAtA []byte) error
func (*QueryConsensusReachedRequest) XXX_DiscardUnknown ¶
func (m *QueryConsensusReachedRequest) XXX_DiscardUnknown()
func (*QueryConsensusReachedRequest) XXX_Marshal ¶
func (m *QueryConsensusReachedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsensusReachedRequest) XXX_Merge ¶
func (m *QueryConsensusReachedRequest) XXX_Merge(src proto.Message)
func (*QueryConsensusReachedRequest) XXX_Size ¶
func (m *QueryConsensusReachedRequest) XXX_Size() int
func (*QueryConsensusReachedRequest) XXX_Unmarshal ¶
func (m *QueryConsensusReachedRequest) XXX_Unmarshal(b []byte) error
type QueryConsensusReachedResponse ¶
type QueryConsensusReachedResponse struct {
Messages []*MessageApproved `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
}
func (*QueryConsensusReachedResponse) Descriptor ¶
func (*QueryConsensusReachedResponse) Descriptor() ([]byte, []int)
func (*QueryConsensusReachedResponse) GetMessages ¶
func (m *QueryConsensusReachedResponse) GetMessages() []*MessageApproved
func (*QueryConsensusReachedResponse) Marshal ¶
func (m *QueryConsensusReachedResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsensusReachedResponse) MarshalTo ¶
func (m *QueryConsensusReachedResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsensusReachedResponse) MarshalToSizedBuffer ¶
func (m *QueryConsensusReachedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsensusReachedResponse) ProtoMessage ¶
func (*QueryConsensusReachedResponse) ProtoMessage()
func (*QueryConsensusReachedResponse) Reset ¶
func (m *QueryConsensusReachedResponse) Reset()
func (*QueryConsensusReachedResponse) Size ¶
func (m *QueryConsensusReachedResponse) Size() (n int)
func (*QueryConsensusReachedResponse) String ¶
func (m *QueryConsensusReachedResponse) String() string
func (*QueryConsensusReachedResponse) Unmarshal ¶
func (m *QueryConsensusReachedResponse) Unmarshal(dAtA []byte) error
func (*QueryConsensusReachedResponse) XXX_DiscardUnknown ¶
func (m *QueryConsensusReachedResponse) XXX_DiscardUnknown()
func (*QueryConsensusReachedResponse) XXX_Marshal ¶
func (m *QueryConsensusReachedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsensusReachedResponse) XXX_Merge ¶
func (m *QueryConsensusReachedResponse) XXX_Merge(src proto.Message)
func (*QueryConsensusReachedResponse) XXX_Size ¶
func (m *QueryConsensusReachedResponse) XXX_Size() int
func (*QueryConsensusReachedResponse) XXX_Unmarshal ¶
func (m *QueryConsensusReachedResponse) 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 QueryQueuedMessagesForSigningRequest ¶
type QueryQueuedMessagesForSigningRequest struct { ValAddress github_com_cosmos_cosmos_sdk_types.ValAddress `` /* 128-byte string literal not displayed */ QueueTypeName string `protobuf:"bytes,2,opt,name=queueTypeName,proto3" json:"queueTypeName,omitempty"` }
func (*QueryQueuedMessagesForSigningRequest) Descriptor ¶
func (*QueryQueuedMessagesForSigningRequest) Descriptor() ([]byte, []int)
func (*QueryQueuedMessagesForSigningRequest) GetQueueTypeName ¶
func (m *QueryQueuedMessagesForSigningRequest) GetQueueTypeName() string
func (*QueryQueuedMessagesForSigningRequest) GetValAddress ¶
func (m *QueryQueuedMessagesForSigningRequest) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
func (*QueryQueuedMessagesForSigningRequest) Marshal ¶
func (m *QueryQueuedMessagesForSigningRequest) Marshal() (dAtA []byte, err error)
func (*QueryQueuedMessagesForSigningRequest) MarshalTo ¶
func (m *QueryQueuedMessagesForSigningRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryQueuedMessagesForSigningRequest) MarshalToSizedBuffer ¶
func (m *QueryQueuedMessagesForSigningRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryQueuedMessagesForSigningRequest) ProtoMessage ¶
func (*QueryQueuedMessagesForSigningRequest) ProtoMessage()
func (*QueryQueuedMessagesForSigningRequest) Reset ¶
func (m *QueryQueuedMessagesForSigningRequest) Reset()
func (*QueryQueuedMessagesForSigningRequest) Size ¶
func (m *QueryQueuedMessagesForSigningRequest) Size() (n int)
func (*QueryQueuedMessagesForSigningRequest) String ¶
func (m *QueryQueuedMessagesForSigningRequest) String() string
func (*QueryQueuedMessagesForSigningRequest) Unmarshal ¶
func (m *QueryQueuedMessagesForSigningRequest) Unmarshal(dAtA []byte) error
func (*QueryQueuedMessagesForSigningRequest) XXX_DiscardUnknown ¶
func (m *QueryQueuedMessagesForSigningRequest) XXX_DiscardUnknown()
func (*QueryQueuedMessagesForSigningRequest) XXX_Marshal ¶
func (m *QueryQueuedMessagesForSigningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryQueuedMessagesForSigningRequest) XXX_Merge ¶
func (m *QueryQueuedMessagesForSigningRequest) XXX_Merge(src proto.Message)
func (*QueryQueuedMessagesForSigningRequest) XXX_Size ¶
func (m *QueryQueuedMessagesForSigningRequest) XXX_Size() int
func (*QueryQueuedMessagesForSigningRequest) XXX_Unmarshal ¶
func (m *QueryQueuedMessagesForSigningRequest) XXX_Unmarshal(b []byte) error
type QueryQueuedMessagesForSigningResponse ¶
type QueryQueuedMessagesForSigningResponse struct {
MessageToSign []*MessageToSign `protobuf:"bytes,1,rep,name=messageToSign,proto3" json:"messageToSign,omitempty"`
}
func (*QueryQueuedMessagesForSigningResponse) Descriptor ¶
func (*QueryQueuedMessagesForSigningResponse) Descriptor() ([]byte, []int)
func (*QueryQueuedMessagesForSigningResponse) GetMessageToSign ¶
func (m *QueryQueuedMessagesForSigningResponse) GetMessageToSign() []*MessageToSign
func (*QueryQueuedMessagesForSigningResponse) Marshal ¶
func (m *QueryQueuedMessagesForSigningResponse) Marshal() (dAtA []byte, err error)
func (*QueryQueuedMessagesForSigningResponse) MarshalTo ¶
func (m *QueryQueuedMessagesForSigningResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryQueuedMessagesForSigningResponse) MarshalToSizedBuffer ¶
func (m *QueryQueuedMessagesForSigningResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryQueuedMessagesForSigningResponse) ProtoMessage ¶
func (*QueryQueuedMessagesForSigningResponse) ProtoMessage()
func (*QueryQueuedMessagesForSigningResponse) Reset ¶
func (m *QueryQueuedMessagesForSigningResponse) Reset()
func (*QueryQueuedMessagesForSigningResponse) Size ¶
func (m *QueryQueuedMessagesForSigningResponse) Size() (n int)
func (*QueryQueuedMessagesForSigningResponse) String ¶
func (m *QueryQueuedMessagesForSigningResponse) String() string
func (*QueryQueuedMessagesForSigningResponse) Unmarshal ¶
func (m *QueryQueuedMessagesForSigningResponse) Unmarshal(dAtA []byte) error
func (*QueryQueuedMessagesForSigningResponse) XXX_DiscardUnknown ¶
func (m *QueryQueuedMessagesForSigningResponse) XXX_DiscardUnknown()
func (*QueryQueuedMessagesForSigningResponse) XXX_Marshal ¶
func (m *QueryQueuedMessagesForSigningResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryQueuedMessagesForSigningResponse) XXX_Merge ¶
func (m *QueryQueuedMessagesForSigningResponse) XXX_Merge(src proto.Message)
func (*QueryQueuedMessagesForSigningResponse) XXX_Size ¶
func (m *QueryQueuedMessagesForSigningResponse) XXX_Size() int
func (*QueryQueuedMessagesForSigningResponse) XXX_Unmarshal ¶
func (m *QueryQueuedMessagesForSigningResponse) 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 QueuedMessagesForSigning items. QueuedMessagesForSigning(context.Context, *QueryQueuedMessagesForSigningRequest) (*QueryQueuedMessagesForSigningResponse, error) // Queries a list of ConsensusReached items. ConsensusReached(context.Context, *QueryConsensusReachedRequest) (*QueryConsensusReachedResponse, error) }
QueryServer is the server API for Query service.
type QueuedSignedMessage ¶
type QueuedSignedMessage struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Msg *types.Any `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` SignData []*SignData `protobuf:"bytes,3,rep,name=signData,proto3" json:"signData,omitempty"` }
message for storing the queued signed message in the internal queue
func (*QueuedSignedMessage) AddSignData ¶
func (q *QueuedSignedMessage) AddSignData(data *SignData)
func (*QueuedSignedMessage) Descriptor ¶
func (*QueuedSignedMessage) Descriptor() ([]byte, []int)
func (*QueuedSignedMessage) GetId ¶
func (m *QueuedSignedMessage) GetId() uint64
func (*QueuedSignedMessage) GetMsg ¶
func (m *QueuedSignedMessage) GetMsg() *types.Any
func (*QueuedSignedMessage) GetSignData ¶
func (m *QueuedSignedMessage) GetSignData() []*SignData
func (*QueuedSignedMessage) Marshal ¶
func (m *QueuedSignedMessage) Marshal() (dAtA []byte, err error)
func (*QueuedSignedMessage) MarshalTo ¶
func (m *QueuedSignedMessage) MarshalTo(dAtA []byte) (int, error)
func (*QueuedSignedMessage) MarshalToSizedBuffer ¶
func (m *QueuedSignedMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueuedSignedMessage) Nonce ¶
func (q *QueuedSignedMessage) Nonce() []byte
func (*QueuedSignedMessage) ProtoMessage ¶
func (*QueuedSignedMessage) ProtoMessage()
func (*QueuedSignedMessage) Reset ¶
func (m *QueuedSignedMessage) Reset()
func (*QueuedSignedMessage) Size ¶
func (m *QueuedSignedMessage) Size() (n int)
func (*QueuedSignedMessage) String ¶
func (m *QueuedSignedMessage) String() string
func (*QueuedSignedMessage) Unmarshal ¶
func (m *QueuedSignedMessage) Unmarshal(dAtA []byte) error
func (*QueuedSignedMessage) XXX_DiscardUnknown ¶
func (m *QueuedSignedMessage) XXX_DiscardUnknown()
func (*QueuedSignedMessage) XXX_Marshal ¶
func (m *QueuedSignedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueuedSignedMessage) XXX_Merge ¶
func (m *QueuedSignedMessage) XXX_Merge(src proto.Message)
func (*QueuedSignedMessage) XXX_Size ¶
func (m *QueuedSignedMessage) XXX_Size() int
func (*QueuedSignedMessage) XXX_Unmarshal ¶
func (m *QueuedSignedMessage) XXX_Unmarshal(b []byte) error
type QueuedSignedMessageI ¶
type SignData ¶
type SignData struct { ValAddress github_com_cosmos_cosmos_sdk_types.ValAddress `` /* 128-byte string literal not displayed */ PubKey []byte `protobuf:"bytes,2,opt,name=pubKey,proto3" json:"pubKey,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` ExtraData []byte `protobuf:"bytes,4,opt,name=extraData,proto3" json:"extraData,omitempty"` }
func (*SignData) Descriptor ¶
func (*SignData) GetExtraData ¶
func (*SignData) GetSignature ¶
func (*SignData) GetValAddress ¶
func (m *SignData) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
func (*SignData) MarshalToSizedBuffer ¶
func (*SignData) ProtoMessage ¶
func (*SignData) ProtoMessage()
func (*SignData) XXX_DiscardUnknown ¶
func (m *SignData) XXX_DiscardUnknown()
func (*SignData) XXX_Marshal ¶
func (*SignData) XXX_Unmarshal ¶
type SignSmartContractExecute ¶
type SignSmartContractExecute struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
THIS IS ONLY TEPORARY HERE TO TEST THINGS OUT
func (*SignSmartContractExecute) Descriptor ¶
func (*SignSmartContractExecute) Descriptor() ([]byte, []int)
func (*SignSmartContractExecute) GetId ¶
func (m *SignSmartContractExecute) GetId() uint64
func (*SignSmartContractExecute) Marshal ¶
func (m *SignSmartContractExecute) Marshal() (dAtA []byte, err error)
func (*SignSmartContractExecute) MarshalTo ¶
func (m *SignSmartContractExecute) MarshalTo(dAtA []byte) (int, error)
func (*SignSmartContractExecute) MarshalToSizedBuffer ¶
func (m *SignSmartContractExecute) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignSmartContractExecute) ProtoMessage ¶
func (*SignSmartContractExecute) ProtoMessage()
func (*SignSmartContractExecute) Reset ¶
func (m *SignSmartContractExecute) Reset()
func (*SignSmartContractExecute) Size ¶
func (m *SignSmartContractExecute) Size() (n int)
func (*SignSmartContractExecute) String ¶
func (m *SignSmartContractExecute) String() string
func (*SignSmartContractExecute) Unmarshal ¶
func (m *SignSmartContractExecute) Unmarshal(dAtA []byte) error
func (*SignSmartContractExecute) XXX_DiscardUnknown ¶
func (m *SignSmartContractExecute) XXX_DiscardUnknown()
func (*SignSmartContractExecute) XXX_Marshal ¶
func (m *SignSmartContractExecute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignSmartContractExecute) XXX_Merge ¶
func (m *SignSmartContractExecute) XXX_Merge(src proto.Message)
func (*SignSmartContractExecute) XXX_Size ¶
func (m *SignSmartContractExecute) XXX_Size() int
func (*SignSmartContractExecute) XXX_Unmarshal ¶
func (m *SignSmartContractExecute) XXX_Unmarshal(b []byte) error
type TypeChecker ¶
func StaticTypeChecker ¶
func StaticTypeChecker(typ any) TypeChecker
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddMessagesSignatures ¶
func (*UnimplementedMsgServer) AddMessagesSignatures(ctx context.Context, req *MsgAddMessagesSignatures) (*MsgAddMessagesSignaturesResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) ConsensusReached ¶
func (*UnimplementedQueryServer) ConsensusReached(ctx context.Context, req *QueryConsensusReachedRequest) (*QueryConsensusReachedResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) QueuedMessagesForSigning ¶
func (*UnimplementedQueryServer) QueuedMessagesForSigning(ctx context.Context, req *QueryQueuedMessagesForSigningRequest) (*QueryQueuedMessagesForSigningResponse, error)