Skip to content

Commit

Permalink
docs(x/mint): Fix inconsistency in mint docs (#19915)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1574814)
  • Loading branch information
likhita-809 authored and mergify[bot] committed Apr 3, 2024
1 parent 405471b commit 5c154e3
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions x/mint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ which should help provide some liquidity.

It can be broken down in the following way:

* If the inflation rate is below the goal %-bonded the inflation rate will
* If the actual percentage of bonded tokens is below the goal %-bonded the inflation rate will
increase until a maximum value is reached
* If the goal % bonded (67% in Cosmos-Hub) is maintained, then the inflation
rate will stay constant
* If the inflation rate is above the goal %-bonded the inflation rate will
* If the actual percentage of bonded tokens is above the goal %-bonded the inflation rate will
decrease until a minimum value is reached


Expand All @@ -61,7 +61,7 @@ https://github.com/cosmos/cosmos-sdk/blob/v0.47.0-rc1/proto/cosmos/mint/v1beta1/

### Params

The mint module stores it's params in state with the prefix of `0x01`,
The mint module stores its params in state with the prefix of `0x01`,
it can be updated with governance or the address with authority.

* Params: `mint/params -> legacy_amino(params)`
Expand Down Expand Up @@ -91,7 +91,7 @@ type InflationCalculationFn func(ctx sdk.Context, minter Minter, params Params,
The target annual inflation rate is recalculated each block.
The inflation is also subject to a rate change (positive or negative)
depending on the distance from the desired ratio (67%). The maximum rate change
possible is defined to be 13% per year, however the annual inflation is capped
possible is defined to be 13% per year, however, the annual inflation is capped
as between 7% and 20%.

```go
Expand Down Expand Up @@ -169,15 +169,15 @@ A user can query and interact with the `mint` module using the CLI.
#### Query
The `query` commands allow users to query `mint` state.
The `query` commands allows users to query `mint` state.
```shell
simd query mint --help
```
##### annual-provisions
The `annual-provisions` command allow users to query the current minting annual provisions value
The `annual-provisions` command allows users to query the current minting annual provisions value
```shell
simd query mint annual-provisions [flags]
Expand All @@ -197,7 +197,7 @@ Example Output:
##### inflation
The `inflation` command allow users to query the current minting inflation value
The `inflation` command allows users to query the current minting inflation value
```shell
simd query mint inflation [flags]
Expand All @@ -217,7 +217,7 @@ Example Output:
##### params
The `params` command allow users to query the current minting parameters
The `params` command allows users to query the current minting parameters
```shell
simd query mint params [flags]
Expand All @@ -240,7 +240,7 @@ A user can query the `mint` module using gRPC endpoints.
#### AnnualProvisions
The `AnnualProvisions` endpoint allow users to query the current minting annual provisions value
The `AnnualProvisions` endpoint allows users to query the current minting annual provisions value
```shell
/cosmos.mint.v1beta1.Query/AnnualProvisions
Expand All @@ -262,7 +262,7 @@ Example Output:
#### Inflation
The `Inflation` endpoint allow users to query the current minting inflation value
The `Inflation` endpoint allows users to query the current minting inflation value
```shell
/cosmos.mint.v1beta1.Query/Inflation
Expand All @@ -284,7 +284,7 @@ Example Output:
#### Params
The `Params` endpoint allow users to query the current minting parameters
The `Params` endpoint allows users to query the current minting parameters
```shell
/cosmos.mint.v1beta1.Query/Params
Expand Down

0 comments on commit 5c154e3

Please sign in to comment.