Documentation ¶
Index ¶
- Constants
- func GenCommunityTax(r *rand.Rand) math.LegacyDec
- func GenWithdrawEnabled(r *rand.Rand) bool
- func MsgSetWithdrawAddressFactory(k keeper.Keeper) simsx.SimMsgFactoryFn[*types.MsgSetWithdrawAddress]
- func MsgUpdateParamsFactory() simsx.SimMsgFactoryFn[*types.MsgUpdateParams]
- func MsgWithdrawDelegatorRewardFactory(k keeper.Keeper, sk types.StakingKeeper) simsx.SimMsgFactoryFn[*types.MsgWithdrawDelegatorReward]
- func MsgWithdrawValidatorCommissionFactory(k keeper.Keeper, sk types.StakingKeeper) simsx.SimMsgFactoryFn[*types.MsgWithdrawValidatorCommission]
- func NewDecodeStore(cdc codec.Codec) func(kvA, kvB kv.Pair) string
- func RandomizedGenState(simState *module.SimulationState)
Constants ¶
View Source
const ( CommunityTax = "community_tax" WithdrawEnabled = "withdraw_enabled" )
Simulation parameter constants
Variables ¶
This section is empty.
Functions ¶
func GenCommunityTax ¶
GenCommunityTax randomized CommunityTax
func GenWithdrawEnabled ¶
GenWithdrawEnabled returns a randomized WithdrawEnabled parameter.
func MsgSetWithdrawAddressFactory ¶
func MsgSetWithdrawAddressFactory(k keeper.Keeper) simsx.SimMsgFactoryFn[*types.MsgSetWithdrawAddress]
func MsgUpdateParamsFactory ¶
func MsgUpdateParamsFactory() simsx.SimMsgFactoryFn[*types.MsgUpdateParams]
func MsgWithdrawDelegatorRewardFactory ¶
func MsgWithdrawDelegatorRewardFactory(k keeper.Keeper, sk types.StakingKeeper) simsx.SimMsgFactoryFn[*types.MsgWithdrawDelegatorReward]
func MsgWithdrawValidatorCommissionFactory ¶
func MsgWithdrawValidatorCommissionFactory(k keeper.Keeper, sk types.StakingKeeper) simsx.SimMsgFactoryFn[*types.MsgWithdrawValidatorCommission]
func NewDecodeStore ¶
NewDecodeStore returns a decoder function closure that unmarshals the KVPair's Value to the corresponding distribution type.
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for distribution
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.