Documentation ¶
Index ¶
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgAddMargin(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgClosePosition(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgOpenPosition(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgRemoveMargin(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func WeightedOperations(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simulation.WeightedOperations
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for the perp module
func SimulateMsgAddMargin ¶
func SimulateMsgAddMargin(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgAddMargin generates a MsgAddMargin with random values.
func SimulateMsgClosePosition ¶
func SimulateMsgClosePosition(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgClosePosition generates a MsgClosePosition with random values.
func SimulateMsgOpenPosition ¶
func SimulateMsgOpenPosition(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgOpenPosition generates a MsgOpenPosition with random values.
func SimulateMsgRemoveMargin ¶
func SimulateMsgRemoveMargin(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgRemoveMargin generates a MsgRemoveMargin with random values.
func WeightedOperations ¶
func WeightedOperations(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simulation.WeightedOperations
WeightedOperations returns all the operations from the module with their respective weights
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.