simulation

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxDepositAmount    = 1 << 18
	MaxInactiveDuration = 1 << 18
)
View Source
const (
	MaxPriceAmount     = 1 << 18
	MaxRemoteURLLength = 48
)

Variables

View Source
var (
	OperationWeightMsgRegisterRequest  = "op_weight_" + types.TypeMsgRegisterRequest
	OperationWeightMsgUpdateRequest    = "op_weight_" + types.TypeMsgUpdateRequest
	OperationWeightMsgSetStatusRequest = "op_weight_" + types.TypeMsgSetStatusRequest
)

Functions

func NewStoreDecoder added in v0.8.0

func NewStoreDecoder(cdc codec.Codec) func(kvA, kvB kv.Pair) string

func ParamChanges added in v0.8.0

func ParamChanges(_ *rand.Rand) []simulationtypes.ParamChange

func RandomNode

func RandomNode(r *rand.Rand, items types.Nodes) types.Node

func RandomNodes added in v0.8.0

func RandomNodes(r *rand.Rand, accounts []simulationtypes.Account) types.Nodes

func RandomizedGenesisState added in v0.4.0

func RandomizedGenesisState(state *module.SimulationState) *types.GenesisState

func SimulateMsgRegisterRequest added in v0.8.0

func SimulateMsgRegisterRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation

func SimulateMsgSetStatusRequest added in v0.8.0

func SimulateMsgSetStatusRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation

func SimulateMsgUpdateRequest added in v0.8.0

func SimulateMsgUpdateRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation

Types

This section is empty.

Jump to

Keyboard shortcuts

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