From 2e8f5e52bd06a665db6b5993bda7fb13fd8c2336 Mon Sep 17 00:00:00 2001 From: MD Aleem <72057206+aleem1314@users.noreply.github.com> Date: Fri, 8 Jan 2021 17:18:04 +0530 Subject: [PATCH] [docs] x/mint - general audit and cleanup (#8267) * update docs * update docs * review changes Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- x/mint/spec/02_state.md | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/x/mint/spec/02_state.md b/x/mint/spec/02_state.md index c4d7a3eff..1f9eae344 100644 --- a/x/mint/spec/02_state.md +++ b/x/mint/spec/02_state.md @@ -8,28 +8,14 @@ order: 2 The minter is a space for holding current inflation information. - - Minter: `0x00 -> amino(minter)` + - Minter: `0x00 -> ProtocolBuffer(minter)` -```go -type Minter struct { - Inflation sdk.Dec // current annual inflation rate - AnnualProvisions sdk.Dec // current annual exptected provisions -} -``` ++++ 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. - - Params: `mint/params -> amino(params)` + - Params: `mint/params -> legacy_amino(params)` -```go -type Params struct { - MintDenom string // type of coin to mint - InflationRateChange sdk.Dec // maximum annual change in inflation rate - InflationMax sdk.Dec // maximum inflation rate - InflationMin sdk.Dec // minimum inflation rate - GoalBonded sdk.Dec // goal of percent bonded atoms - BlocksPerYear uint64 // expected blocks per year -} -``` ++++ https://github.com/cosmos/cosmos-sdk/blob/v0.40.0-rc7/proto/cosmos/mint/v1beta1/mint.proto#L21-L53 \ No newline at end of file