simulation

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindAccount

func FindAccount(k *keeper.Keeper, accs []simtypes.Account, address string) (simtypes.Account, error)

FindAccount find a specific address from an account list

func FindCoordinatorAccount

func FindCoordinatorAccount(
	r *rand.Rand,
	ctx sdk.Context,
	k keeper.Keeper,
	accs []simtypes.Account,
	exist bool,
) (simtypes.Account, bool)

FindCoordinatorAccount find a sim account for a coordinator that exists or not

func SimulateMsgAddValidatorOperatorAddress

func SimulateMsgAddValidatorOperatorAddress(
	ak types.AccountKeeper,
	bk types.BankKeeper,
	txGen client.TxConfig,
) simtypes.Operation

func SimulateMsgCreateCoordinator

func SimulateMsgCreateCoordinator(
	ak types.AccountKeeper,
	bk types.BankKeeper,
	k keeper.Keeper,
	txGen client.TxConfig,
) simtypes.Operation

func SimulateMsgDisableCoordinator

func SimulateMsgDisableCoordinator(
	ak types.AccountKeeper,
	bk types.BankKeeper,
	k keeper.Keeper,
	txGen client.TxConfig,
) simtypes.Operation

func SimulateMsgUpdateCoordinatorAddress

func SimulateMsgUpdateCoordinatorAddress(
	ak types.AccountKeeper,
	bk types.BankKeeper,
	k keeper.Keeper,
	txGen client.TxConfig,
) simtypes.Operation

func SimulateMsgUpdateCoordinatorDescription

func SimulateMsgUpdateCoordinatorDescription(
	ak types.AccountKeeper,
	bk types.BankKeeper,
	k keeper.Keeper,
	txGen client.TxConfig,
) simtypes.Operation

func SimulateMsgUpdateValidatorDescription

func SimulateMsgUpdateValidatorDescription(
	ak types.AccountKeeper,
	bk types.BankKeeper,
	txGen client.TxConfig,
) simtypes.Operation

Types

This section is empty.

Jump to

Keyboard shortcuts

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