Documentation ¶
Index ¶
- Constants
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgCreate(ak govtypes.AccountKeeper, k keeper.Keeper) simulation.Operation
- func SimulateMsgUpdate(ak govtypes.AccountKeeper, k keeper.Keeper) simulation.Operation
- func WeightedOperations(appParams simulation.AppParams, cdc *codec.Codec, ak govtypes.AccountKeeper, ...) simulation.WeightedOperations
- type GenesisState
Constants ¶
View Source
const ( OpWeightMsgCreate = "op_weight_msg_create" OpWeightMsgUpdate = "op_weight_msg_update" )
Simulation operation weights constants
Variables ¶
This section is empty.
Functions ¶
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for supply
func SimulateMsgCreate ¶
func SimulateMsgCreate(ak govtypes.AccountKeeper, k keeper.Keeper) simulation.Operation
SimulateMsgCreate generates a MsgCreateProvider with random values nolint:funlen
func SimulateMsgUpdate ¶
func SimulateMsgUpdate(ak govtypes.AccountKeeper, k keeper.Keeper) simulation.Operation
SimulateMsgUpdate generates a MsgUpdateProvider with random values nolint:funlen
func WeightedOperations ¶
func WeightedOperations( appParams simulation.AppParams, cdc *codec.Codec, ak govtypes.AccountKeeper, k keeper.Keeper) simulation.WeightedOperations
WeightedOperations returns all the operations from the module with their respective weights
Types ¶
type GenesisState ¶
GenesisState defines the basic genesis state used by provider module
Click to show internal directories.
Click to hide internal directories.