basketsims

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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

SimulateMsgCreate generates a Basket/MsgCreate with random values.

func SimulateMsgPut

func SimulateMsgPut(ak ecocredit.AccountKeeper, bk ecocredit.BankKeeper,
	qryClient ecocredit.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 ecocredit.QueryClient, bsktQryClient basket.QueryClient) simtypes.Operation

SimulateMsgTake generates a Basket/MsgTake with random values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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