Documentation ¶
Index ¶
Constants ¶
View Source
const ( OpWeightMsgCreatePool = "op_weight_create_pool" OpWeightMsgSwapExactAmountIn = "op_weight_swap_exact_amount_in" OpWeightMsgSwapExactAmountOut = "op_weight_swap_exact_amount_out" OpWeightMsgJoinPool = "op_weight_join_pool" OpWeightMsgExitPool = "op_weight_exit_pool" OpWeightMsgJoinSwapExternAmountIn = "op_weight_join_swap_extern_amount_in" OpWeightMsgExitSwapExternAmountOut = "op_weight_exit_swap_extern_amount_out" DefaultWeightMsgCreatePool int = 10 DefaultWeightMsgSwapExactAmountIn int = 25 DefaultWeightMsgSwapExactAmountOut int = 10 DefaultWeightMsgJoinPool int = 10 DefaultWeightMsgExitPool int = 10 DefaultWeightMsgJoinSwapExternAmountIn int = 10 DefaultWeightMsgExitSwapExternAmountOut int = 10 )
Simulation operation weights constants.
Variables ¶
This section is empty.
Functions ¶
func SimulateMsgCreateBalancerPool ¶
func SimulateMsgCreateBalancerPool(ak stakingTypes.AccountKeeper, bk stakingTypes.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgCreateBalancerPool generates a MsgCreatePool with random values.
func WeightedOperations ¶
func WeightedOperations( appParams simtypes.AppParams, cdc codec.JSONCodec, ak stakingTypes.AccountKeeper, bk stakingTypes.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.