2022-01-08 01:59:34 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package cosmos.mint.v1beta1;
|
|
|
|
|
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types";
|
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
2023-04-04 00:08:45 +00:00
|
|
|
import "cosmos_proto/cosmos.proto";
|
2024-02-06 22:54:10 +00:00
|
|
|
import "amino/amino.proto";
|
2022-01-08 01:59:34 +00:00
|
|
|
|
|
|
|
// Minter represents the minting state.
|
|
|
|
message Minter {
|
|
|
|
// current annual inflation rate
|
2023-04-04 00:08:45 +00:00
|
|
|
string inflation = 1 [
|
|
|
|
(cosmos_proto.scalar) = "cosmos.Dec",
|
|
|
|
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
2022-01-08 01:59:34 +00:00
|
|
|
// current annual expected provisions
|
|
|
|
string annual_provisions = 2 [
|
2023-04-04 00:08:45 +00:00
|
|
|
(cosmos_proto.scalar) = "cosmos.Dec",
|
2022-01-08 01:59:34 +00:00
|
|
|
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
|
|
|
}
|
|
|
|
|
2024-02-06 22:54:10 +00:00
|
|
|
// Params defines the parameters for the x/mint module.
|
2022-01-08 01:59:34 +00:00
|
|
|
message Params {
|
|
|
|
option (gogoproto.goproto_stringer) = false;
|
2024-02-06 22:54:10 +00:00
|
|
|
option (amino.name) = "cosmos-sdk/x/mint/Params";
|
2022-01-08 01:59:34 +00:00
|
|
|
|
|
|
|
// type of coin to mint
|
|
|
|
string mint_denom = 1;
|
|
|
|
// maximum annual change in inflation rate
|
|
|
|
string inflation_rate_change = 2 [
|
2023-04-04 00:08:45 +00:00
|
|
|
(cosmos_proto.scalar) = "cosmos.Dec",
|
2022-01-08 01:59:34 +00:00
|
|
|
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
|
|
|
// maximum inflation rate
|
|
|
|
string inflation_max = 3 [
|
2023-04-04 00:08:45 +00:00
|
|
|
(cosmos_proto.scalar) = "cosmos.Dec",
|
2022-01-08 01:59:34 +00:00
|
|
|
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
|
|
|
// minimum inflation rate
|
|
|
|
string inflation_min = 4 [
|
2023-04-04 00:08:45 +00:00
|
|
|
(cosmos_proto.scalar) = "cosmos.Dec",
|
2022-01-08 01:59:34 +00:00
|
|
|
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
|
|
|
// goal of percent bonded atoms
|
|
|
|
string goal_bonded = 5 [
|
2023-04-04 00:08:45 +00:00
|
|
|
(cosmos_proto.scalar) = "cosmos.Dec",
|
2022-01-08 01:59:34 +00:00
|
|
|
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
|
|
|
// expected blocks per year
|
2023-04-04 00:08:45 +00:00
|
|
|
uint64 blocks_per_year = 6;
|
2022-01-08 01:59:34 +00:00
|
|
|
}
|