2020-02-11 06:58:37 -08:00
|
|
|
syntax = "proto3";
|
2020-08-11 04:49:45 -07:00
|
|
|
package cosmos.crisis.v1beta1;
|
2020-02-11 06:58:37 -08:00
|
|
|
|
2020-03-03 11:06:55 -08:00
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types";
|
2020-02-11 06:58:37 -08:00
|
|
|
|
2020-06-18 10:04:26 -07:00
|
|
|
import "gogoproto/gogo.proto";
|
2020-02-11 06:58:37 -08:00
|
|
|
|
2020-10-16 06:04:02 -07:00
|
|
|
// Msg defines the bank Msg service.
|
|
|
|
service Msg {
|
|
|
|
// VerifyInvariant defines a method to verify a particular invariance.
|
|
|
|
rpc VerifyInvariant(MsgVerifyInvariant) returns (MsgVerifyInvariantResponse);
|
|
|
|
}
|
|
|
|
|
2020-08-19 00:36:41 -07:00
|
|
|
// MsgVerifyInvariant represents a message to verify a particular invariance.
|
2020-02-11 06:58:37 -08:00
|
|
|
message MsgVerifyInvariant {
|
2020-09-25 03:25:37 -07:00
|
|
|
option (gogoproto.equal) = false;
|
|
|
|
option (gogoproto.goproto_getters) = false;
|
2020-02-21 02:31:16 -08:00
|
|
|
|
2020-09-25 03:25:37 -07:00
|
|
|
string sender = 1;
|
2020-02-11 06:58:37 -08:00
|
|
|
string invariant_module_name = 2 [(gogoproto.moretags) = "yaml:\"invariant_module_name\""];
|
|
|
|
string invariant_route = 3 [(gogoproto.moretags) = "yaml:\"invariant_route\""];
|
|
|
|
}
|
2020-10-16 06:04:02 -07:00
|
|
|
|
|
|
|
// MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type.
|
|
|
|
message MsgVerifyInvariantResponse { }
|