simulation

package
v2.0.1-tainted Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenMiningIncrement

func GenMiningIncrement(r *rand.Rand) sdk.Dec

GenMiningIncrement randomized MiningIncrement

func GenRewardPolicy

func GenRewardPolicy(r *rand.Rand) types.PolicyConstraints

GenRewardPolicy randomized RewardPolicy

func GenSeigniorageBurdenTarget

func GenSeigniorageBurdenTarget(r *rand.Rand) sdk.Dec

GenSeigniorageBurdenTarget randomized SeigniorageBurdenTarget

func GenTaxPolicy

func GenTaxPolicy(r *rand.Rand) types.PolicyConstraints

GenTaxPolicy randomized TaxPolicy

func GenWindowLong

func GenWindowLong(r *rand.Rand) uint64

GenWindowLong randomized WindowLong

func GenWindowProbation

func GenWindowProbation(r *rand.Rand) uint64

GenWindowProbation randomized WindowProbation

func GenWindowShort

func GenWindowShort(r *rand.Rand) uint64

GenWindowShort randomized WindowShort

func NewDecodeStore

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

NewDecodeStore returns a decoder function closure that unmarshals the KVPair's Value to the corresponding treasury type.

func ParamChanges

func ParamChanges(r *rand.Rand) []simtypes.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 gov

Types

This section is empty.

Jump to

Keyboard shortcuts

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