Documentation ¶
Index ¶
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- type GenesisState
- type MsgClient
- type MsgServer
- type MsgVerifyInvariant
- func (*MsgVerifyInvariant) Descriptor() ([]byte, []int)deprecated
- func (x *MsgVerifyInvariant) GetInvariantModuleName() string
- func (x *MsgVerifyInvariant) GetInvariantRoute() string
- func (x *MsgVerifyInvariant) GetSender() string
- func (*MsgVerifyInvariant) ProtoMessage()
- func (x *MsgVerifyInvariant) ProtoReflect() protoreflect.Message
- func (x *MsgVerifyInvariant) Reset()
- func (x *MsgVerifyInvariant) String() string
- type MsgVerifyInvariantResponse
- type UnimplementedMsgServer
- type UnsafeMsgServer
Constants ¶
This section is empty.
Variables ¶
var File_cosmos_crisis_v1beta1_genesis_proto protoreflect.FileDescriptor
var File_cosmos_crisis_v1beta1_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cosmos.crisis.v1beta1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "VerifyInvariant", Handler: _Msg_VerifyInvariant_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cosmos/crisis/v1beta1/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
Types ¶
type GenesisState ¶
type GenesisState struct { // constant_fee is the fee used to verify the invariant in the crisis // module. ConstantFee *v1beta1.Coin `protobuf:"bytes,3,opt,name=constant_fee,json=constantFee,proto3" json:"constant_fee,omitempty"` // contains filtered or unexported fields }
GenesisState defines the crisis module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetConstantFee ¶
func (x *GenesisState) GetConstantFee() *v1beta1.Coin
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type MsgClient ¶
type MsgClient interface { // VerifyInvariant defines a method to verify a particular invariance. VerifyInvariant(ctx context.Context, in *MsgVerifyInvariant, opts ...grpc.CallOption) (*MsgVerifyInvariantResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgServer ¶
type MsgServer interface { // VerifyInvariant defines a method to verify a particular invariance. VerifyInvariant(context.Context, *MsgVerifyInvariant) (*MsgVerifyInvariantResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgVerifyInvariant ¶
type MsgVerifyInvariant struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` InvariantModuleName string `protobuf:"bytes,2,opt,name=invariant_module_name,json=invariantModuleName,proto3" json:"invariant_module_name,omitempty"` InvariantRoute string `protobuf:"bytes,3,opt,name=invariant_route,json=invariantRoute,proto3" json:"invariant_route,omitempty"` // contains filtered or unexported fields }
MsgVerifyInvariant represents a message to verify a particular invariance.
func (*MsgVerifyInvariant) Descriptor
deprecated
func (*MsgVerifyInvariant) Descriptor() ([]byte, []int)
Deprecated: Use MsgVerifyInvariant.ProtoReflect.Descriptor instead.
func (*MsgVerifyInvariant) GetInvariantModuleName ¶
func (x *MsgVerifyInvariant) GetInvariantModuleName() string
func (*MsgVerifyInvariant) GetInvariantRoute ¶
func (x *MsgVerifyInvariant) GetInvariantRoute() string
func (*MsgVerifyInvariant) GetSender ¶
func (x *MsgVerifyInvariant) GetSender() string
func (*MsgVerifyInvariant) ProtoMessage ¶
func (*MsgVerifyInvariant) ProtoMessage()
func (*MsgVerifyInvariant) ProtoReflect ¶
func (x *MsgVerifyInvariant) ProtoReflect() protoreflect.Message
func (*MsgVerifyInvariant) Reset ¶
func (x *MsgVerifyInvariant) Reset()
func (*MsgVerifyInvariant) String ¶
func (x *MsgVerifyInvariant) String() string
type MsgVerifyInvariantResponse ¶
type MsgVerifyInvariantResponse struct {
// contains filtered or unexported fields
}
MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type.
func (*MsgVerifyInvariantResponse) Descriptor
deprecated
func (*MsgVerifyInvariantResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgVerifyInvariantResponse.ProtoReflect.Descriptor instead.
func (*MsgVerifyInvariantResponse) ProtoMessage ¶
func (*MsgVerifyInvariantResponse) ProtoMessage()
func (*MsgVerifyInvariantResponse) ProtoReflect ¶
func (x *MsgVerifyInvariantResponse) ProtoReflect() protoreflect.Message
func (*MsgVerifyInvariantResponse) Reset ¶
func (x *MsgVerifyInvariantResponse) Reset()
func (*MsgVerifyInvariantResponse) String ¶
func (x *MsgVerifyInvariantResponse) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) VerifyInvariant ¶
func (UnimplementedMsgServer) VerifyInvariant(context.Context, *MsgVerifyInvariant) (*MsgVerifyInvariantResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.