simulation

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxNameLength        = 56
	MaxIdentityLength    = 64
	MaxWebsiteLength     = 64
	MaxDescriptionLength = 256
)
View Source
const (
	MaxDepositAmount = 1 << 18
)

Variables

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

Functions

func NewStoreDecoder added in v0.8.0

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

func ParamChanges added in v0.8.0

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

func RandomProvider

func RandomProvider(r *rand.Rand, items types.Providers) types.Provider

func RandomProviders added in v0.8.0

func RandomProviders(r *rand.Rand, accounts []simulationtypes.Account) types.Providers

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 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