chore: add markdownlint to lint commands (#9353)
* add markdownlint config * update make lint commands * update markdownlint config * run make lint-fix * fix empty link * resuse docker container * run lint-fix * do not echo commands Co-authored-by: ryanchrypto <12519942+ryanchrypto@users.noreply.github.com>
This commit is contained in:
co-authored by
ryanchrypto
parent
b56e1a164b
commit
cb66c99eab
@@ -7,8 +7,9 @@ order: 0
|
||||
## The Minting Mechanism
|
||||
|
||||
The minting mechanism was 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
|
||||
|
||||
- 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
|
||||
|
||||
In order to best determine the appropriate market rate for inflation rewards, a
|
||||
moving change rate is used. The moving change rate mechanism ensures that if
|
||||
@@ -17,10 +18,11 @@ adjust to further incentivize or disincentivize being bonded, respectively. Sett
|
||||
%-bonded at less than 100% encourages the network to maintain some non-staked tokens
|
||||
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
|
||||
It can be broken down in the following way:
|
||||
|
||||
- If the inflation rate 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 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
|
||||
decrease until a minimum value is reached
|
||||
|
||||
@@ -8,14 +8,14 @@ order: 2
|
||||
|
||||
The minter is a space for holding current inflation information.
|
||||
|
||||
- Minter: `0x00 -> ProtocolBuffer(minter)`
|
||||
- Minter: `0x00 -> ProtocolBuffer(minter)`
|
||||
|
||||
+++ https://github.com/cosmos/cosmos-sdk/blob/v0.40.0-rc7/proto/cosmos/mint/v1beta1/mint.proto#L8-L19
|
||||
|
||||
## Params
|
||||
|
||||
Minting params are held in the global params store.
|
||||
Minting params are held in the global params store.
|
||||
|
||||
- Params: `mint/params -> legacy_amino(params)`
|
||||
- Params: `mint/params -> legacy_amino(params)`
|
||||
|
||||
+++ https://github.com/cosmos/cosmos-sdk/blob/v0.40.0-rc7/proto/cosmos/mint/v1beta1/mint.proto#L21-L53
|
||||
+++ https://github.com/cosmos/cosmos-sdk/blob/v0.40.0-rc7/proto/cosmos/mint/v1beta1/mint.proto#L21-L53
|
||||
|
||||
@@ -36,7 +36,7 @@ NextInflationRate(params Params, bondedRatio sdk.Dec) (inflation sdk.Dec) {
|
||||
## NextAnnualProvisions
|
||||
|
||||
Calculate the annual provisions based on current total supply and inflation
|
||||
rate. This parameter is calculated once per block.
|
||||
rate. This parameter is calculated once per block.
|
||||
|
||||
```
|
||||
NextAnnualProvisions(params Params, totalSupply sdk.Dec) (provisions sdk.Dec) {
|
||||
|
||||
@@ -20,4 +20,3 @@ parent:
|
||||
4. **[Parameters](04_params.md)**
|
||||
5. **[Events](05_events.md)**
|
||||
- [BeginBlocker](05_events.md#beginblocker)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user