11syntax = "proto3" ;
2- package juno.mint ;
32
4- option go_package = "github.com/CosmosContracts/ juno/x/ mint/types" ;
3+ package juno. mint ;
54
65import "gogoproto/gogo.proto" ;
76
7+ option go_package = "github.com/CosmosContracts/juno/x/mint/types" ;
8+
89// Minter represents the minting state.
910message Minter {
1011 // current annual inflation rate
11- string inflation = 1
12- [(gogoproto.customtype ) = "github.com/cosmos/cosmos-sdk/types.Dec" , (gogoproto.nullable ) = false ];
12+ string inflation = 1 [
13+ (gogoproto.customtype ) = "github.com/cosmos/cosmos-sdk/types.Dec" ,
14+ (gogoproto.nullable ) = false
15+ ];
1316 uint64 phase = 2 ;
14- uint64 start_phase_block = 3 [(gogoproto.moretags ) = "yaml:\"start_phase_block\"" ];
17+ uint64 start_phase_block = 3 [
18+ (gogoproto.moretags ) = "yaml:\"start_phase_block\""
19+ ];
1520 // current annual expected provisions
1621 string annual_provisions = 4 [
1722 (gogoproto.moretags ) = "yaml:\"annual_provisions\"" ,
1823 (gogoproto.customtype ) = "github.com/cosmos/cosmos-sdk/types.Dec" ,
1924 (gogoproto.nullable ) = false
2025 ];
26+ string target_supply = 5 [
27+ (gogoproto.moretags ) = "yaml:\"target_supply\"" ,
28+ (gogoproto.customtype ) = "github.com/cosmos/cosmos-sdk/types.Int" ,
29+ (gogoproto.nullable ) = false
30+ ];
2131}
2232
2333// Params holds parameters for the mint module.
@@ -27,5 +37,7 @@ message Params {
2737 // type of coin to mint
2838 string mint_denom = 1 ;
2939 // expected blocks per year
30- uint64 blocks_per_year = 2 [(gogoproto.moretags ) = "yaml:\"blocks_per_year\"" ];
40+ uint64 blocks_per_year = 2 [
41+ (gogoproto.moretags ) = "yaml:\"blocks_per_year\""
42+ ];
3143}
0 commit comments