Documentation ¶
Index ¶
- Constants
- Variables
- func MsgMultiSendFactory() simsx.SimMsgFactoryFn[*types.MsgMultiSend]
- func MsgSendFactory() simsx.SimMsgFactoryFn[*types.MsgSend]
- func MsgUpdateParamsFactory() simsx.SimMsgFactoryFn[*types.MsgUpdateParams]
- func ProposalMsgs() []simtypes.WeightedProposalMsg
- func RandomGenesisBalances(simState *module.SimulationState) ([]types.Balance, error)
- func RandomGenesisDefaultSendEnabledParam(r *rand.Rand) bool
- func RandomGenesisSendEnabled(r *rand.Rand, bondDenom string) []types.SendEnabled
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgUpdateParams(_ context.Context, r *rand.Rand, _ []simtypes.Account, ac coreaddress.Codec) (sdk.Msg, error)
Constants ¶
View Source
const ( DefaultWeightMsgUpdateParams int = 100 OpWeightMsgUpdateParams = "op_weight_msg_update_params" )
Simulation operation weights constants
Variables ¶
View Source
var KeyDefaultSendEnabled = []byte("DefaultSendEnabled")
KeyDefaultSendEnabled is store's key for the DefaultSendEnabled option
Functions ¶
func MsgMultiSendFactory ¶
func MsgMultiSendFactory() simsx.SimMsgFactoryFn[*types.MsgMultiSend]
func MsgSendFactory ¶
func MsgSendFactory() simsx.SimMsgFactoryFn[*types.MsgSend]
func MsgUpdateParamsFactory ¶
func MsgUpdateParamsFactory() simsx.SimMsgFactoryFn[*types.MsgUpdateParams]
MsgUpdateParamsFactory creates a gov proposal for param updates
func ProposalMsgs ¶
func ProposalMsgs() []simtypes.WeightedProposalMsg
ProposalMsgs defines the module weighted proposals' contents
func RandomGenesisBalances ¶
func RandomGenesisBalances(simState *module.SimulationState) ([]types.Balance, error)
RandomGenesisBalances returns a slice of account balances. Each account has a balance of simState.InitialStake for simState.BondDenom.
func RandomGenesisDefaultSendEnabledParam ¶
RandomGenesisDefaultSendEnabledParam computes randomized allow all send transfers param for the bank module
func RandomGenesisSendEnabled ¶
func RandomGenesisSendEnabled(r *rand.Rand, bondDenom string) []types.SendEnabled
RandomGenesisSendEnabled creates randomized values for the SendEnabled slice.
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for bank
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.