mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-14 12:05:18 +00:00
25 lines
796 B
Protocol Buffer
25 lines
796 B
Protocol Buffer
syntax = "proto3";
|
|
package kava.issuance.v1beta1;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
import "google/api/annotations.proto";
|
|
import "kava/issuance/v1beta1/genesis.proto";
|
|
|
|
option go_package = "github.com/0glabs/0g-chain/x/issuance/types";
|
|
|
|
// Query defines the gRPC querier service for issuance module
|
|
service Query {
|
|
// Params queries all parameters of the issuance module.
|
|
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
|
|
option (google.api.http).get = "/kava/issuance/v1beta1/params";
|
|
}
|
|
}
|
|
|
|
// QueryParamsRequest defines the request type for querying x/issuance parameters.
|
|
message QueryParamsRequest {}
|
|
|
|
// QueryParamsResponse defines the response type for querying x/issuance parameters.
|
|
message QueryParamsResponse {
|
|
Params params = 1 [(gogoproto.nullable) = false];
|
|
}
|