Documentation ¶
Index ¶
- Constants
- func SimulateMsgClawback(txGen client.TxConfig, ak types.AccountKeeper, bk types.BankKeeper, ...) simtypes.Operation
- func SimulateMsgCreateVestingAccount(txGen client.TxConfig, ak types.AccountKeeper, bk types.BankKeeper, ...) simtypes.Operation
- func WeightedOperations(appParams simtypes.AppParams, _ codec.JSONCodec, txGen client.TxConfig, ...) simulation.WeightedOperations
Constants ¶
View Source
const ( OpWeightMsgCreateVestingAccount = "op_weight_msg_create_vesting_account" //nolint:gosec OpWeightMsgClawback = "op_weight_msg_clawback" //nolint:gosec DefaultWeightMsgCreateVestingAccount = 100 DefaultWeightMsgClawback = 75 )
Simulation operation weights constants
Variables ¶
This section is empty.
Functions ¶
func SimulateMsgClawback ¶
func SimulateMsgClawback( txGen client.TxConfig, ak types.AccountKeeper, bk types.BankKeeper, _ types.StakingKeeper, ) simtypes.Operation
SimulateMsgCreateVestingAccount generates a MsgCreateVestingAccount with random values.
func SimulateMsgCreateVestingAccount ¶
func SimulateMsgCreateVestingAccount( txGen client.TxConfig, ak types.AccountKeeper, bk types.BankKeeper, _ types.StakingKeeper, ) simtypes.Operation
SimulateMsgCreateVestingAccount generates a MsgCreateVestingAccount with random values.
func WeightedOperations ¶
func WeightedOperations( appParams simtypes.AppParams, _ codec.JSONCodec, txGen client.TxConfig, ak types.AccountKeeper, bk types.BankKeeper, sk types.StakingKeeper, ) simulation.WeightedOperations
WeightedOperations returns all the operations from the module with their respective weights
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.