23 lines
503 B
Protocol Buffer
23 lines
503 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cosmos.app.v1alpha1;
|
|
|
|
import "cosmos/app/v1alpha1/config.proto";
|
|
|
|
// Query is the app module query service.
|
|
service Query {
|
|
|
|
// Config returns the current app config.
|
|
rpc Config(QueryConfigRequest) returns (QueryConfigResponse) {}
|
|
}
|
|
|
|
// QueryConfigRequest is the Query/Config request type.
|
|
message QueryConfigRequest {}
|
|
|
|
// QueryConfigRequest is the Query/Config response type.
|
|
message QueryConfigResponse {
|
|
|
|
// config is the current app config.
|
|
Config config = 1;
|
|
}
|