github.com/Finschia/finschia-sdk@v0.49.1/proto/cosmos/mint/v1beta1/query.proto (about)

     1  syntax = "proto3";
     2  package cosmos.mint.v1beta1;
     3  
     4  import "gogoproto/gogo.proto";
     5  import "google/api/annotations.proto";
     6  import "cosmos/mint/v1beta1/mint.proto";
     7  
     8  option go_package = "github.com/Finschia/finschia-sdk/x/mint/types";
     9  
    10  // Query provides defines the gRPC querier service.
    11  service Query {
    12    // Params returns the total set of minting parameters.
    13    rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
    14      option (google.api.http).get = "/cosmos/mint/v1beta1/params";
    15    }
    16  
    17    // Inflation returns the current minting inflation value.
    18    rpc Inflation(QueryInflationRequest) returns (QueryInflationResponse) {
    19      option (google.api.http).get = "/cosmos/mint/v1beta1/inflation";
    20    }
    21  
    22    // AnnualProvisions current minting annual provisions value.
    23    rpc AnnualProvisions(QueryAnnualProvisionsRequest) returns (QueryAnnualProvisionsResponse) {
    24      option (google.api.http).get = "/cosmos/mint/v1beta1/annual_provisions";
    25    }
    26  }
    27  
    28  // QueryParamsRequest is the request type for the Query/Params RPC method.
    29  message QueryParamsRequest {}
    30  
    31  // QueryParamsResponse is the response type for the Query/Params RPC method.
    32  message QueryParamsResponse {
    33    // params defines the parameters of the module.
    34    Params params = 1 [(gogoproto.nullable) = false];
    35  }
    36  
    37  // QueryInflationRequest is the request type for the Query/Inflation RPC method.
    38  message QueryInflationRequest {}
    39  
    40  // QueryInflationResponse is the response type for the Query/Inflation RPC
    41  // method.
    42  message QueryInflationResponse {
    43    // inflation is the current minting inflation value.
    44    bytes inflation = 1 [(gogoproto.customtype) = "github.com/Finschia/finschia-sdk/types.Dec", (gogoproto.nullable) = false];
    45  }
    46  
    47  // QueryAnnualProvisionsRequest is the request type for the
    48  // Query/AnnualProvisions RPC method.
    49  message QueryAnnualProvisionsRequest {}
    50  
    51  // QueryAnnualProvisionsResponse is the response type for the
    52  // Query/AnnualProvisions RPC method.
    53  message QueryAnnualProvisionsResponse {
    54    // annual_provisions is the current minting annual provisions value.
    55    bytes annual_provisions = 1
    56        [(gogoproto.customtype) = "github.com/Finschia/finschia-sdk/types.Dec", (gogoproto.nullable) = false];
    57  }