Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OpWeightSubmitParamChangeProposal app params key for param change proposal OpWeightSubmitParamChangeProposal = "op_weight_submit_param_change_proposal" DefaultWeightParamChangeProposal = 5 )
Variables ¶
This section is empty.
Functions ¶
func ProposalContents ¶
func ProposalContents(paramChanges []simtypes.LegacyParamChange) []simtypes.WeightedProposalContent
ProposalContents defines the module weighted proposals' contents
func SimulateParamChangeProposalContent ¶
func SimulateParamChangeProposalContent(paramChangePool []simulation.LegacyParamChange) simulation.ContentSimulatorFn
SimulateParamChangeProposalContent returns random parameter change content. It will generate a ParameterChangeProposal object with anywhere between 1 and the total amount of defined parameters changes, all of which have random valid values.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.