Documentation ¶
Index ¶
- Constants
- Variables
- func SimulateMsgBuyDirect(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, ...) simtypes.Operation
- func SimulateMsgCancelSellOrder(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, ...) simtypes.Operation
- func SimulateMsgSell(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, ...) simtypes.Operation
- func SimulateMsgUpdateSellOrder(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 ( OpWeightMsgBuy = "op_weight_msg_buy_direct" OpWeightMsgSell = "op_weight_msg_sell" OpWeightMsgUpdateSellOrder = "op_weight_msg_update_sell_order" OpWeightMsgCancelSellOrder = "op_weight_msg_cancel_sell_order" )
Simulation operation weights constants
View Source
const ( WeightBuyDirect = 100 WeightSell = 100 WeightUpdateSellOrder = 100 WeightCancelSellOrder = 100 )
basket operations weights
Variables ¶
View Source
var ( TypeMsgBuyDirect = marketplace.MsgBuyDirect{}.Route() TypeMsgSell = marketplace.MsgSell{}.Route() TypeMsgUpdateSellOrder = marketplace.MsgUpdateSellOrders{}.Route() TypeMsgCancelSellOrder = marketplace.MsgCancelSellOrder{}.Route() )
ecocredit message types
Functions ¶
func SimulateMsgBuyDirect ¶
func SimulateMsgBuyDirect(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, qryClient core.QueryClient, mktQryClient marketplace.QueryClient) simtypes.Operation
SimulateMsgBuyDirect generates a Marketplace/MsgBuyDirect with random values.
func SimulateMsgCancelSellOrder ¶
func SimulateMsgCancelSellOrder(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, qryClient core.QueryClient, mktQryClient marketplace.QueryClient) simtypes.Operation
SimulateMsgCancelSellOrder generates a Marketplace/MsgCancelSellOrder with random values.
func SimulateMsgSell ¶
func SimulateMsgSell(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, qryClient core.QueryClient) simtypes.Operation
SimulateMsgSell generates a Marketplace/MsgSell with random values.
func SimulateMsgUpdateSellOrder ¶
func SimulateMsgUpdateSellOrder(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, coreQryClient core.QueryClient, mktQryClient marketplace.QueryClient) simtypes.Operation
SimulateMsgUpdateSellOrder generates a Marketplace/MsgUpdateSellOrder with random values.
func WeightedOperations ¶
func WeightedOperations( appParams simtypes.AppParams, cdc codec.JSONCodec, ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper, qryClient core.QueryClient, mktQryClient marketplace.QueryClient) simulation.WeightedOperations
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.