simulation

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateADepositParams

func GenerateADepositParams(r *rand.Rand) govtypesv1.DepositParams

GenerateADepositParams returns a DepositParams object with all of its fields randomized.

func GenerateAVotingParams

func GenerateAVotingParams(r *rand.Rand) govtypesv1.VotingParams

GenerateAVotingParams returns a VotingParams object with all of its fields randomized.

func GenerateTallyParams

func GenerateTallyParams(r *rand.Rand) govtypesv1.TallyParams

GenerateTallyParams returns a TallyParams object with all of its fields randomized.

func ParamChanges

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

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

func RandomizedGenState

func RandomizedGenState(simState *module.SimulationState)

RandomizedGenState creates a randomGenesis state for module simulation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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