simulation

package
v0.8.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpWeightMsgCreateBid  = "op_weight_msg_create_bid"
	OpWeightMsgCloseBid   = "op_weight_msg_close_bid"
	OpWeightMsgCloseOrder = "op_weight_msg_close_order"
)

Simulation operation weights constants

Variables

This section is empty.

Functions

func RandomizedGenState

func RandomizedGenState(simState *module.SimulationState)

RandomizedGenState generates a random GenesisState for supply

func SimulateMsgCloseBid

func SimulateMsgCloseBid(ak govtypes.AccountKeeper, ks keepers.Keepers) simtypes.Operation

SimulateMsgCloseBid generates a MsgCloseBid with random values

func SimulateMsgCloseOrder

func SimulateMsgCloseOrder(ak govtypes.AccountKeeper, ks keepers.Keepers) simtypes.Operation

SimulateMsgCloseOrder generates a MsgCloseOrder with random values

func SimulateMsgCreateBid

func SimulateMsgCreateBid(ak govtypes.AccountKeeper, ks keepers.Keepers) simtypes.Operation

SimulateMsgCreateBid generates a MsgCreateBid 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