2022-01-08 00:39:27 +00:00
|
|
|
syntax = "proto3";
|
2024-05-01 03:56:00 +00:00
|
|
|
package zgc.issuance.v1beta1;
|
2022-01-08 00:39:27 +00:00
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
import "google/api/annotations.proto";
|
2024-05-01 03:56:00 +00:00
|
|
|
import "zgc/issuance/v1beta1/genesis.proto";
|
2022-01-08 00:39:27 +00:00
|
|
|
|
2024-05-01 03:17:24 +00:00
|
|
|
option go_package = "github.com/0glabs/0g-chain/x/issuance/types";
|
2022-01-08 00:39:27 +00:00
|
|
|
|
|
|
|
// Query defines the gRPC querier service for issuance module
|
|
|
|
service Query {
|
|
|
|
// Params queries all parameters of the issuance module.
|
|
|
|
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
|
2024-05-01 03:56:00 +00:00
|
|
|
option (google.api.http).get = "/0g-chain/issuance/v1beta1/params";
|
2022-01-08 00:39:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// 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];
|
|
|
|
}
|