2022-07-20 22:57:56 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package kava.earn.v1beta1;
|
|
|
|
|
|
|
|
option go_package = "github.com/kava-labs/kava/x/earn/types";
|
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
import "google/api/annotations.proto";
|
|
|
|
import "cosmos_proto/cosmos.proto";
|
2022-07-20 23:14:43 +00:00
|
|
|
import "kava/earn/v1beta1/params.proto";
|
2022-07-20 22:57:56 +00:00
|
|
|
|
|
|
|
// Query defines the gRPC querier service for earn module
|
|
|
|
service Query {
|
|
|
|
// Params queries all parameters of the earn module.
|
|
|
|
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
|
|
|
|
option (google.api.http).get = "/kava/earn/v1beta1/params";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// QueryParamsRequest defines the request type for querying x/earn parameters.
|
|
|
|
message QueryParamsRequest {
|
|
|
|
option (gogoproto.goproto_getters) = false;
|
|
|
|
}
|
|
|
|
|
|
|
|
// QueryParamsResponse defines the response type for querying x/earn parameters.
|
|
|
|
message QueryParamsResponse {
|
|
|
|
option (gogoproto.goproto_getters) = false;
|
|
|
|
|
|
|
|
// params represents the earn module parameters
|
|
|
|
Params params = 1 [(gogoproto.nullable) = false];
|
|
|
|
}
|