CosmosSDK Modules
Mint
The mint
module is responsible for the creation of new units of Furya. The minting mechanism is designed to:
- allow for a flexible inflation rate determined by market demand targeting a particular bonded-stake ratio.
- effect a balance between market liquidity and staked supply
For more information, visit https://docs.cosmos.network/main/modules/mint
Queries
Query
provides defines the gRPC querier service.
query.proto
service Query {
// Params returns the total set of minting parameters.
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
option (google.api.http).get = "/cosmos/mint/v1beta1/params";
}
// Inflation returns the current minting inflation value.
rpc Inflation(QueryInflationRequest) returns (QueryInflationResponse) {
option (google.api.http).get = "/cosmos/mint/v1beta1/inflation";
}
// AnnualProvisions current minting annual provisions value.
rpc AnnualProvisions(QueryAnnualProvisionsRequest) returns (QueryAnnualProvisionsResponse) {
option (google.api.http).get = "/cosmos/mint/v1beta1/annual_provisions";
}
}
QueryParamsRequest
QueryParamsRequest
is the request type for the Query/Params
RPC method.
query.proto
message QueryParamsRequest {}
QueryParamsResponse
QueryParamsResponse
is the response type for the Query/Params RPC method.
query.proto
message QueryParamsResponse {
// params defines the parameters of the module.
Params params = 1 [(gogoproto.nullable) = false];
}
QueryInflationRequest
QueryInflationRequest
is the request type for the Query/Inflation
RPC method.
query.proto
message QueryInflationRequest {}
QueryInflationResponse
QueryInflationResponse
is the response type for the Query/Inflation
RPC method.
query.proto
message QueryInflationResponse {
// inflation is the current minting inflation value.
bytes inflation = 1 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false];
}
QueryAnnualProvisionsRequest
QueryAnnualProvisionsRequest
is the request type for the Query/AnnualProvisions
RPC method.
query.proto
message QueryAnnualProvisionsRequest {}
QueryAnnualProvisionsResponse
QueryAnnualProvisionsResponse
is the response type for the Query/AnnualProvisions
RPC method.
query.proto
message QueryAnnualProvisionsResponse {
// annual_provisions is the current minting annual provisions value.
bytes annual_provisions = 1
[(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false];
}