Documentation
¶
Index ¶
- Constants
- func FindAccount(accs []simtypes.Account, address string) (simtypes.Account, bool)
- func SendMsg(r *rand.Rand, app *baseapp.BaseApp, ak types.AccountKeeper, ...) error
- func SimulateMsgApproveContract(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgCancelOrder(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgCommitContract(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgCreateContract(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgCreateDeal(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgOrderDelivered(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgShipOrder(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
Constants ¶
View Source
const (
DefaultGasValue = 200000
)
Variables ¶
This section is empty.
Functions ¶
func FindAccount ¶
FindAccount find a specific address from an account list
func SendMsg ¶
func SendMsg( r *rand.Rand, app *baseapp.BaseApp, ak types.AccountKeeper, bk types.BankKeeper, msg sdk.Msg, ctx sdk.Context, chainID string, gasValue uint64, privkeys []cryptotypes.PrivKey, ) error
SendMsg sends a transaction with the specified message.
func SimulateMsgApproveContract ¶
func SimulateMsgApproveContract( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgCancelOrder ¶
func SimulateMsgCancelOrder( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgCommitContract ¶
func SimulateMsgCommitContract( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgCreateContract ¶
func SimulateMsgCreateContract( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgCreateDeal ¶
func SimulateMsgCreateDeal( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgOrderDelivered ¶
func SimulateMsgOrderDelivered( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgShipOrder ¶
func SimulateMsgShipOrder( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.