simulation

package
v0.5.0-beta3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenMiningIncrement added in v0.4.0

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

GenMiningIncrement randomized MiningIncrement

func GenRewardPolicy added in v0.4.0

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

GenRewardPolicy randomized RewardPolicy

func GenSeigniorageBurdenTarget added in v0.4.0

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

GenSeigniorageBurdenTarget randomized SeigniorageBurdenTarget

func GenTaxPolicy added in v0.4.0

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

GenTaxPolicy randomized TaxPolicy

func GenWindowLong added in v0.4.0

func GenWindowLong(r *rand.Rand) uint64

GenWindowLong randomized WindowLong

func GenWindowProbation added in v0.4.0

func GenWindowProbation(r *rand.Rand) uint64

GenWindowProbation randomized WindowProbation

func GenWindowShort added in v0.4.0

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 added in v0.4.0

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

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

func RandomizedGenState added in v0.4.0

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