Documentation ¶
Index ¶
- Constants
- Variables
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgAnchor(ak data.AccountKeeper, bk data.BankKeeper) simtypes.Operation
- func SimulateMsgAttest(ak data.AccountKeeper, bk data.BankKeeper) simtypes.Operation
- func SimulateMsgDefineResolver(ak data.AccountKeeper, bk data.BankKeeper, qryClient data.QueryServer) simtypes.Operation
- func SimulateMsgRegisterResolver(ak data.AccountKeeper, bk data.BankKeeper, qryClient data.QueryServer) simtypes.Operation
- func WeightedOperations(appParams simtypes.AppParams, cdc codec.JSONCodec, ak data.AccountKeeper, ...) simulation.WeightedOperations
Constants ¶
View Source
const ( OpWeightMsgAnchor = "op_weight_msg_anchor" //nolint: gosec OpWeightMsgAttest = "op_weight_msg_attest" //nolint: gosec OpWeightMsgDefineResolver = "op_weight_msg_define_resolver" //nolint: gosec OpWeightMsgRegisterResolver = "op_weight_msg_register_resolver" //nolint: gosec )
Simulation operation weights constants
View Source
const ( WeightAnchor = 100 WeightAttest = 100 WeightRegisterResolver = 100 WeightDefineResolver = 100 )
Variables ¶
View Source
var ( TypeMsgAnchor = data.MsgAnchor{}.Type() TypeMsgAttest = data.MsgAttest{}.Type() TypeMsgDefineResolver = data.MsgDefineResolver{}.Type() TypeMsgRegisterResolver = data.MsgRegisterResolver{}.Type() )
Functions ¶
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for the data module.
func SimulateMsgAnchor ¶
SimulateMsgAnchor generates a MsgAnchor with random values.
func SimulateMsgAttest ¶
SimulateMsgAttest generates a MsgAttest with random values.
func SimulateMsgDefineResolver ¶
func SimulateMsgDefineResolver(ak data.AccountKeeper, bk data.BankKeeper, qryClient data.QueryServer) simtypes.Operation
SimulateMsgDefineResolver generates a MsgDefineResolver with random values.
func SimulateMsgRegisterResolver ¶
func SimulateMsgRegisterResolver(ak data.AccountKeeper, bk data.BankKeeper, qryClient data.QueryServer) simtypes.Operation
SimulateMsgRegisterResolver generates a MsgRegisterResolver with random values.
func WeightedOperations ¶
func WeightedOperations( appParams simtypes.AppParams, cdc codec.JSONCodec, ak data.AccountKeeper, bk data.BankKeeper, qryClient data.QueryServer) simulation.WeightedOperations
WeightedOperations returns all the operations from the data module with their respective weights
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.