simulation

package
v3.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const OpWeightMsgAddAllowedDenom = "op_weight_msg_add_allowed_denom" //nolint:gosec
View Source
const OpWeightMsgBuy = "op_weight_msg_buy_direct" //nolint:gosec
View Source
const OpWeightMsgCancelSellOrder = "op_weight_msg_cancel_sell_order" //nolint:gosec
View Source
const OpWeightMsgRemoveAllowedDenom = "op_weight_msg_remove_allowed_denom" //nolint:gosec
View Source
const OpWeightMsgSell = "op_weight_msg_sell" //nolint:gosec
View Source
const OpWeightMsgUpdateSellOrder = "op_weight_msg_update_sell_order" //nolint:gosec
View Source
const WeightAddAllowedDenom = 100
View Source
const WeightBuyDirect = 100
View Source
const WeightCancelSellOrder = 100
View Source
const WeightRemoveAllowedDenom = 100
View Source
const WeightSell = 100
View Source
const WeightUpdateSellOrder = 100

Variables

View Source
var TypeMsgAddAllowedDenom = types.MsgAddAllowedDenom{}.Route()
View Source
var TypeMsgBuyDirect = types.MsgBuyDirect{}.Route()
View Source
var TypeMsgCancelSellOrder = types.MsgCancelSellOrder{}.Route()
View Source
var TypeMsgRemoveAllowedDenom = types.MsgRemoveAllowedDenom{}.Route()
View Source
var TypeMsgSell = types.MsgSell{}.Route()
View Source
var TypeMsgUpdateSellOrder = types.MsgUpdateSellOrders{}.Route()

Functions

func SimulateMsgAddAllowedDenom

func SimulateMsgAddAllowedDenom(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	qryClient types.QueryServer, govk ecocredit.GovKeeper, authority sdk.AccAddress) simtypes.Operation

func SimulateMsgBuyDirect

func SimulateMsgBuyDirect(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	_ basetypes.QueryServer, mktQryClient types.QueryServer) simtypes.Operation

SimulateMsgBuyDirect generates a Marketplace/MsgBuyDirect with random values.

func SimulateMsgCancelSellOrder

func SimulateMsgCancelSellOrder(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	_ basetypes.QueryServer, mktQryClient types.QueryServer) simtypes.Operation

SimulateMsgCancelSellOrder generates a Marketplace/MsgCancelSellOrder with random values.

func SimulateMsgRemoveAllowedDenom

func SimulateMsgRemoveAllowedDenom(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	mktClient types.QueryServer, govk ecocredit.GovKeeper, authority sdk.AccAddress) simtypes.Operation

func SimulateMsgSell

func SimulateMsgSell(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	qryClient basetypes.QueryServer) simtypes.Operation

SimulateMsgSell generates a Marketplace/MsgSell with random values.

func SimulateMsgUpdateSellOrder

func SimulateMsgUpdateSellOrder(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	_ basetypes.QueryServer, mktQryClient types.QueryServer) 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 basetypes.QueryServer, mktQryClient types.QueryServer,
	govk ecocredit.GovKeeper, authority sdk.AccAddress) simulation.WeightedOperations

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL