mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-14 20:15:18 +00:00
75dec0d79c
* sync all third party proto definitions * update cosmos swagger for new imported third party protos
54 lines
1.8 KiB
Protocol Buffer
54 lines
1.8 KiB
Protocol Buffer
syntax = "proto3";
|
|
package cosmos.mint.v1beta1;
|
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types";
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
// Minter represents the minting state.
|
|
message Minter {
|
|
// current annual inflation rate
|
|
string inflation = 1
|
|
[(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false];
|
|
// current annual expected provisions
|
|
string annual_provisions = 2 [
|
|
(gogoproto.moretags) = "yaml:\"annual_provisions\"",
|
|
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
(gogoproto.nullable) = false
|
|
];
|
|
}
|
|
|
|
// Params holds parameters for the mint module.
|
|
message Params {
|
|
option (gogoproto.goproto_stringer) = false;
|
|
|
|
// type of coin to mint
|
|
string mint_denom = 1;
|
|
// maximum annual change in inflation rate
|
|
string inflation_rate_change = 2 [
|
|
(gogoproto.moretags) = "yaml:\"inflation_rate_change\"",
|
|
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
(gogoproto.nullable) = false
|
|
];
|
|
// maximum inflation rate
|
|
string inflation_max = 3 [
|
|
(gogoproto.moretags) = "yaml:\"inflation_max\"",
|
|
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
(gogoproto.nullable) = false
|
|
];
|
|
// minimum inflation rate
|
|
string inflation_min = 4 [
|
|
(gogoproto.moretags) = "yaml:\"inflation_min\"",
|
|
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
(gogoproto.nullable) = false
|
|
];
|
|
// goal of percent bonded atoms
|
|
string goal_bonded = 5 [
|
|
(gogoproto.moretags) = "yaml:\"goal_bonded\"",
|
|
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
(gogoproto.nullable) = false
|
|
];
|
|
// expected blocks per year
|
|
uint64 blocks_per_year = 6 [(gogoproto.moretags) = "yaml:\"blocks_per_year\""];
|
|
}
|