simulation

package
v3.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindAccount

func FindAccount(accs []simtypes.Account, address string) (simtypes.Account, bool)

FindAccount find a specific address from an account list

func GetBlockedSenders

func GetBlockedSenders(counter types.NotiCounter) (address []string)

func IsBlocked

func IsBlocked(address string, counter types.NotiCounter) bool

func SimulateMsgBlockSenders

func SimulateMsgBlockSenders(
	ak types.AccountKeeper,
	bk types.BankKeeper,
	k keeper.Keeper,
) simtypes.Operation

func SimulateMsgCreateNotifications

func SimulateMsgCreateNotifications(
	ak types.AccountKeeper,
	bk types.BankKeeper,
	k keeper.Keeper,
) simtypes.Operation

func SimulateMsgDeleteNotifications

func SimulateMsgDeleteNotifications(
	ak types.AccountKeeper,
	bk types.BankKeeper,
	k keeper.Keeper,
) simtypes.Operation

func SimulateMsgSetCounter

func SimulateMsgSetCounter(
	ak types.AccountKeeper,
	bk types.BankKeeper,
	k keeper.Keeper,
) 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