Documentation ¶
Index ¶
- Constants
- func DecodeStore(cdc *codec.Codec, kvA, kvB tmkv.Pair) string
- func GenMiningIncrement(r *rand.Rand) sdk.Dec
- func GenRewardPolicy(r *rand.Rand) types.PolicyConstraints
- func GenSeigniorageBurdenTarget(r *rand.Rand) sdk.Dec
- func GenTaxPolicy(r *rand.Rand) types.PolicyConstraints
- func GenWindowLong(r *rand.Rand) int64
- func GenWindowProbation(r *rand.Rand) int64
- func GenWindowShort(r *rand.Rand) int64
- func ParamChanges(r *rand.Rand) []simulation.ParamChange
- func ProposalContents(k keeper.Keeper) []simulation.WeightedProposalContent
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateRewardWeightUpdateProposalContent(k keeper.Keeper) simulation.ContentSimulatorFn
- func SimulateTaxRateUpdateProposalContent(k keeper.Keeper) simulation.ContentSimulatorFn
Constants ¶
const ( OpWeightSubmitTaxRateUpdateProposal = "op_weight_submit_tax_rate_update_proposal" OpWeightSubmitRewardWeightUpdateProposal = "op_weight_submit_reward_weight_update_proposal" )
Simulation operation weights constants
Variables ¶
This section is empty.
Functions ¶
func DecodeStore ¶ added in v0.4.0
DecodeStore unmarshals the KVPair's Value to the corresponding distribution type
func GenMiningIncrement ¶ added in v0.4.0
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
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
GenWindowLong randomized WindowLong
func GenWindowProbation ¶ added in v0.4.0
GenWindowProbation randomized WindowProbation
func GenWindowShort ¶ added in v0.4.0
GenWindowShort randomized WindowShort
func ParamChanges ¶ added in v0.4.0
func ParamChanges(r *rand.Rand) []simulation.ParamChange
ParamChanges defines the parameters that can be modified by param change proposals on the simulation
func ProposalContents ¶ added in v0.4.0
func ProposalContents(k keeper.Keeper) []simulation.WeightedProposalContent
ProposalContents defines the module weighted proposals' contents
func RandomizedGenState ¶ added in v0.4.0
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for gov
func SimulateRewardWeightUpdateProposalContent ¶
func SimulateRewardWeightUpdateProposalContent(k keeper.Keeper) simulation.ContentSimulatorFn
SimulateRewardWeightUpdateProposalContent generates random reward-weight-update proposal content nolint: funlen
func SimulateTaxRateUpdateProposalContent ¶
func SimulateTaxRateUpdateProposalContent(k keeper.Keeper) simulation.ContentSimulatorFn
SimulateTaxRateUpdateProposalContent generates random tax-rate-update proposal content nolint: funlen
Types ¶
This section is empty.