Documentation ¶
Index ¶
- Constants
- Variables
- func SimulateMsgCreate(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, ...) simtypes.Operation
- func SimulateMsgPut(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, ...) simtypes.Operation
- func SimulateMsgTake(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, ...) simtypes.Operation
- func WeightedOperations(appParams simtypes.AppParams, cdc codec.JSONCodec, ak ecocredit.AccountKeeper, ...) simulation.WeightedOperations
Constants ¶
View Source
const ( OpWeightMsgCreate = "op_weight_msg_create_basket" OpWeightMsgPut = "op_weight_msg_put_into_basket" OpWeightMsgTake = "op_weight_take_from_basket" )
Simulation operation weights constants
View Source
const ( WeightCreate = 100 WeightPut = 100 WeightTake = 100 )
basket operations weights
Variables ¶
View Source
var ( TypeMsgCreate = basket.MsgCreate{}.Route() TypeMsgPut = basket.MsgPut{}.Route() TypeMsgTake = basket.MsgTake{}.Route() )
ecocredit message types
Functions ¶
func SimulateMsgCreate ¶
func SimulateMsgCreate(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, qryClient core.QueryClient) simtypes.Operation
SimulateMsgCreate generates a Basket/MsgCreate with random values.
func SimulateMsgPut ¶
func SimulateMsgPut(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, qryClient core.QueryClient, bsktQryClient basket.QueryClient) simtypes.Operation
SimulateMsgPut generates a Basket/MsgPut with random values.
func SimulateMsgTake ¶
func SimulateMsgTake(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, qryClient core.QueryClient, bsktQryClient basket.QueryClient) simtypes.Operation
SimulateMsgTake generates a Basket/MsgTake with random values.
func WeightedOperations ¶
func WeightedOperations( appParams simtypes.AppParams, cdc codec.JSONCodec, ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, qryClient core.QueryClient, basketQryClient basket.QueryClient) simulation.WeightedOperations
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.