simulation

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnterpriseSourceAddress = "ent_signers"
)

Simulation parameter constants

View Source
const (
	SuperSecretSimAppSeed = "SuperSecretSimAppEntKeySeed"
)

Variables

This section is empty.

Functions

func DecodeStore

func DecodeStore(cdc *codec.Codec, kvA, kvB tmkv.Pair) string

DecodeStore unmarshals the KVPair's Value to the corresponding enterprise type

func GenerateEntSourceSimAccount

func GenerateEntSourceSimAccount() simulation.Account

func GetEntSourceAddress

func GetEntSourceAddress() sdk.AccAddress

func ParamChanges

func ParamChanges(r *rand.Rand) []simulation.ParamChange

ParamChanges defines the parameters that can be modified by param change proposals on the simulation

func RandomizedGenState

func RandomizedGenState(simState *module.SimulationState)

RandomizedGenState generates a random GenesisState for enterprise

func SimulateMsgMsgWhitelistAddress added in v1.4.7

func SimulateMsgMsgWhitelistAddress(ak auth.AccountKeeper, k keeper.Keeper) simulation.Operation

func SimulateMsgProcessUndPurchaseOrder

func SimulateMsgProcessUndPurchaseOrder(ak auth.AccountKeeper, k keeper.Keeper) simulation.Operation

func SimulateMsgRaisePurchaseOrder

func SimulateMsgRaisePurchaseOrder(ak auth.AccountKeeper, k keeper.Keeper) simulation.Operation

SimulateMsgRaisePurchaseOrder generates a MsgUndPurchaseOrder with random values nolint: funlen

Types

This section is empty.

Jump to

Keyboard shortcuts

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