Documentation
      ¶
    
    
  
    
  
    Index ¶
- func PoolAssetsCoins(assets []types.PoolAsset) sdk.Coins
 - func SimulateExitPool(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
 - func SimulateJoinPool(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
 - func SimulateMsgCreatePool(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
 - func SimulateMsgSwap(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 PoolAssetsCoins ¶ added in v0.1.0
PoolAssetsCoins returns all the coins corresponding to a slice of pool assets.
func SimulateExitPool ¶ added in v0.1.0
func SimulateExitPool(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateExitPool generates a MsgExitPool with random values This function has a 33% chance of swapping a random fraction of the balance of a random token
func SimulateJoinPool ¶ added in v0.1.0
func SimulateJoinPool(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateJoinPool generates a MsgJoinPool with random values This function has a 33% chance of swapping a random fraction of the balance of a random token
func SimulateMsgCreatePool ¶
func SimulateMsgCreatePool(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgCreatePool generates a MsgCreatePool with random values.
func SimulateMsgSwap ¶ added in v0.1.0
func SimulateMsgSwap(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgSwap generates a MsgSwap with random values
func WeightedOperations ¶ added in v0.15.0
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.