cosmos/mint
Table of Contents
cosmos/mint/v1beta1/mint.proto
TopMinter
Minter represents the minting state.
| Field | Type | Label | Description |
| inflation | string | current annual inflation rate |
|
| annual_provisions | string | current annual expected provisions |
Params
Params holds parameters for the mint module.
| Field | Type | Label | Description |
| mint_denom | string | type of coin to mint |
|
| inflation_rate_change | string | maximum annual change in inflation rate |
|
| inflation_max | string | maximum inflation rate |
|
| inflation_min | string | minimum inflation rate |
|
| goal_bonded | string | goal of percent bonded atoms |
|
| blocks_per_year | uint64 | expected blocks per year |
cosmos/mint/v1beta1/query.proto
TopQueryAnnualProvisionsRequest
QueryAnnualProvisionsRequest is the request type for the
Query/AnnualProvisions RPC method.
QueryAnnualProvisionsResponse
QueryAnnualProvisionsResponse is the response type for the
Query/AnnualProvisions RPC method.
| Field | Type | Label | Description |
| annual_provisions | bytes | annual_provisions is the current minting annual provisions value. |
QueryInflationRequest
QueryInflationRequest is the request type for the Query/Inflation RPC method.
QueryInflationResponse
QueryInflationResponse is the response type for the Query/Inflation RPC
method.
| Field | Type | Label | Description |
| inflation | bytes | inflation is the current minting inflation value. |
QueryParamsRequest
QueryParamsRequest is the request type for the Query/Params RPC method.
QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params RPC method.
| Field | Type | Label | Description |
| params | Params | params defines the parameters of the module. |
Query
Query provides defines the gRPC querier service.
| Method Name | Request Type | Response Type | Description |
| Params | QueryParamsRequest | QueryParamsResponse | Params returns the total set of minting parameters. |
| Inflation | QueryInflationRequest | QueryInflationResponse | Inflation returns the current minting inflation value. |
| AnnualProvisions | QueryAnnualProvisionsRequest | QueryAnnualProvisionsResponse | AnnualProvisions current minting annual provisions value. |
Methods with HTTP bindings
| Method Name | Method | Pattern | Body |
| Params | GET | /cosmos/mint/v1beta1/params | |
| Inflation | GET | /cosmos/mint/v1beta1/inflation | |
| AnnualProvisions | GET | /cosmos/mint/v1beta1/annual_provisions |
cosmos/mint/v1beta1/genesis.proto
TopGenesisState
GenesisState defines the mint module's genesis state.
| Field | Type | Label | Description |
| minter | Minter | minter is a space for holding current inflation information. |
|
| params | Params | params defines all the paramaters of the module. |
Scalar Value Types
| .proto Type | Notes | Python Type |
| double | float | |
| float | float | |
| int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int |
| int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int/long |
| uint32 | Uses variable-length encoding. | int/long |
| uint64 | Uses variable-length encoding. | int/long |
| sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int |
| sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int/long |
| fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | int |
| fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | int/long |
| sfixed32 | Always four bytes. | int |
| sfixed64 | Always eight bytes. | int/long |
| bool | boolean | |
| string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | str/unicode |
| bytes | May contain any arbitrary sequence of bytes. | str |