@@ -4,8 +4,6 @@ package pstake.liquidstake.v1beta1;
44
55import  "gogoproto/gogo.proto" ;
66import  "cosmos_proto/cosmos.proto" ;
7- import  "cosmos/base/v1beta1/coin.proto" ;
8- import  "google/protobuf/timestamp.proto" ;
97
108option  go_package  =  "github.com/persistenceOne/pstake-native/v2/x/liquidstake/types" ;
119
@@ -42,10 +40,35 @@ message Params {
4240    (gogoproto.nullable )  = false 
4341  ];
4442
45-   // cw_locked_pool_address  defines the bech32-encoded address of 
43+   // CwLockedPoolAddress  defines the bech32-encoded address of 
4644  // a CW smart-contract representing a time locked LP (e.g. Superfluid LP). 
4745  string  cw_locked_pool_address  =  6 
4846      [ (cosmos_proto.scalar )  = "cosmos.AddressString"  ];
47+ 
48+   // FeeAccountAddress defines the bech32-encoded address of 
49+   // a an account responsible for accumulating protocol fees. 
50+   string  fee_account_address  =  7 
51+       [ (cosmos_proto.scalar )  = "cosmos.AddressString"  ];
52+ 
53+   // AutocompoundFeeRate specifies the fee rate for auto redelegating the stake 
54+   // rewards. The fee is taken in favour of the fee account (see 
55+   // FeeAccountAddress). 
56+   string  autocompound_fee_rate  =  8  [
57+     (gogoproto.customtype )  = "github.com/cosmos/cosmos-sdk/types.Dec" ,
58+     (gogoproto.nullable )  = false 
59+   ];
60+ 
61+   // WhitelistAdminAddress the bech32-encoded address of an admin authority 
62+   // that is allowed to update whitelisted validators or pause liquidstaking 
63+   // module entirely. The key is controlled by an offchain process that is 
64+   // selecting validators based on a criteria. Pausing of the module can be 
65+   // required during important migrations or failures. 
66+   string  whitelist_admin_address  =  9 
67+       [ (cosmos_proto.scalar )  = "cosmos.AddressString"  ];
68+ 
69+   // ModulePaused is a safety toggle that allows to stop main module functions 
70+   // such as stake/unstake/stake-to-lp and the BeginBlocker logic. 
71+   bool  module_paused  =  10 ;
4972}
5073
5174// ValidatorStatus enumerates the status of a liquid validator. 
@@ -65,8 +88,7 @@ enum ValidatorStatus {
6588
6689// WhitelistedValidator consists of the validator operator address and the 
6790// target weight, which is a value for calculating the real weight to be derived 
68- // according to the active status. In the case of inactive, it is calculated as 
69- // zero. 
91+ // according to the active status. 
7092message  WhitelistedValidator  {
7193  option  (gogoproto.goproto_getters )  =  false ;
7294
@@ -96,7 +118,6 @@ message LiquidValidator {
96118  // encoded in JSON. 
97119  string  operator_address  =  1 
98120      [ (cosmos_proto.scalar )  = "cosmos.AddressString"  ];
99- 
100121}
101122
102123// LiquidValidatorState is type LiquidValidator with state added to return to 
@@ -110,7 +131,6 @@ message LiquidValidatorState {
110131  string  operator_address  =  1 
111132      [ (cosmos_proto.scalar )  = "cosmos.AddressString"  ];
112133
113- 
114134  // weight specifies the weight for liquid staking, unstaking amount 
115135  string  weight  =  2  [
116136    (gogoproto.customtype )  = "github.com/cosmos/cosmos-sdk/types.Int" ,
0 commit comments