26 lines
894 B
Protocol Buffer
26 lines
894 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
package cosmos.crisis.v1beta1;
|
||
|
|
||
|
option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types";
|
||
|
|
||
|
import "gogoproto/gogo.proto";
|
||
|
|
||
|
// 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 {
|
||
|
option (gogoproto.equal) = false;
|
||
|
option (gogoproto.goproto_getters) = false;
|
||
|
|
||
|
string sender = 1;
|
||
|
string invariant_module_name = 2 [(gogoproto.moretags) = "yaml:\"invariant_module_name\""];
|
||
|
string invariant_route = 3 [(gogoproto.moretags) = "yaml:\"invariant_route\""];
|
||
|
}
|
||
|
|
||
|
// MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type.
|
||
|
message MsgVerifyInvariantResponse {}
|