simulation

package
v0.0.0-...-317f62a Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultGasValue = 200000
)

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 SendMsg

func SendMsg(
	r *rand.Rand, app *baseapp.BaseApp, ak types.AccountKeeper, bk types.BankKeeper,
	msg sdk.Msg, ctx sdk.Context, chainID string, gasValue uint64, privkeys []cryptotypes.PrivKey,
) error

SendMsg sends a transaction with the specified message.

func SimulateMsgApproveContract

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

func SimulateMsgCancelOrder

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

func SimulateMsgCommitContract

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

func SimulateMsgCreateContract

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

func SimulateMsgCreateDeal

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

func SimulateMsgOrderDelivered

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

func SimulateMsgShipOrder

func SimulateMsgShipOrder(
	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