2022-01-08 01:59:34 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package cosmos.crisis.v1beta1;
|
|
|
|
|
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types";
|
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
2023-04-04 00:08:45 +00:00
|
|
|
import "cosmos_proto/cosmos.proto";
|
|
|
|
import "cosmos/msg/v1/msg.proto";
|
2022-01-08 01:59:34 +00:00
|
|
|
|
|
|
|
// Msg defines the bank Msg service.
|
|
|
|
service Msg {
|
|
|
|
// VerifyInvariant defines a method to verify a particular invariance.
|
|
|
|
rpc VerifyInvariant(MsgVerifyInvariant) returns (MsgVerifyInvariantResponse);
|
|
|
|
}
|
|
|
|
|
|
|
|
// MsgVerifyInvariant represents a message to verify a particular invariance.
|
|
|
|
message MsgVerifyInvariant {
|
2023-04-04 00:08:45 +00:00
|
|
|
option (cosmos.msg.v1.signer) = "sender";
|
|
|
|
|
2022-01-08 01:59:34 +00:00
|
|
|
option (gogoproto.equal) = false;
|
|
|
|
option (gogoproto.goproto_getters) = false;
|
|
|
|
|
2023-04-04 00:08:45 +00:00
|
|
|
string sender = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
|
|
|
string invariant_module_name = 2;
|
|
|
|
string invariant_route = 3;
|
2022-01-08 01:59:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type.
|
|
|
|
message MsgVerifyInvariantResponse {}
|