cosmos/mint

Table of Contents

cosmos/mint/v1beta1/mint.proto

Top

Minter

Minter represents the minting state.

FieldTypeLabelDescription
inflation string

current annual inflation rate

annual_provisions string

current annual expected provisions

Params

Params holds parameters for the mint module.

FieldTypeLabelDescription
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

Top

QueryAnnualProvisionsRequest

QueryAnnualProvisionsRequest is the request type for the

Query/AnnualProvisions RPC method.

QueryAnnualProvisionsResponse

QueryAnnualProvisionsResponse is the response type for the

Query/AnnualProvisions RPC method.

FieldTypeLabelDescription
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.

FieldTypeLabelDescription
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.

FieldTypeLabelDescription
params Params

params defines the parameters of the module.

Query

Query provides defines the gRPC querier service.

Method NameRequest TypeResponse TypeDescription
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

Top

GenesisState

GenesisState defines the mint module's genesis state.

FieldTypeLabelDescription
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