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) simtypes.Operation
- func SimulateMsgRegisterResolver(ak data.AccountKeeper, bk data.BankKeeper, qryClient data.QueryClient) simtypes.Operation
- func WeightedOperations(appParams simtypes.AppParams, cdc codec.JSONCodec, ak data.AccountKeeper, ...) simulation.WeightedOperations
Constants ¶
View Source
const ( OpWeightMsgAnchor = "op_weight_msg_anchor" OpWeightMsgAttest = "op_weight_msg_attest" OpWeightMsgDefineResolver = "op_weight_msg_define_resolver" OpWeightMsgRegisterResolver = "op_weight_msg_register_resolver" )
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 ¶
func SimulateMsgAnchor(ak data.AccountKeeper, bk data.BankKeeper) simtypes.Operation
SimulateMsgAnchor generates a MsgAnchor with random values.
func SimulateMsgAttest ¶
func SimulateMsgAttest(ak data.AccountKeeper, bk data.BankKeeper) simtypes.Operation
SimulateMsgAttest generates a MsgAttest with random values.
func SimulateMsgDefineResolver ¶
func SimulateMsgDefineResolver(ak data.AccountKeeper, bk data.BankKeeper) simtypes.Operation
SimulateMsgDefineResolver generates a MsgDefineResolver with random values.
func SimulateMsgRegisterResolver ¶
func SimulateMsgRegisterResolver(ak data.AccountKeeper, bk data.BankKeeper, qryClient data.QueryClient) 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.QueryClient) 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.