simulation

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

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

WeightedOperations returns all the operations from the module with their respective weights

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL