Documentation ¶
Index ¶
- Constants
- Variables
- func GenRewardsAuctionDuration(r *rand.Rand) time.Duration
- func NewDecodeStore(cdc codec.Codec) func(kvA, kvB kv.Pair) string
- func ParamChanges(r *rand.Rand) []simtypes.ParamChange
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgBurnShare(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgMintShare(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgPlaceBid(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func WeightedOperations(appParams simtypes.AppParams, cdc codec.JSONCodec, ak types.AccountKeeper, ...) simulation.WeightedOperations
Constants ¶
const ( OpWeightMsgPlaceBid = "op_weight_msg_place_bid" DefaultWeightMsgPlaceBid int = 20 )
Simulation operation weights constants.
const (
RewardsAuctionDuration = "rewards_auction_duration"
)
Simulation parameter constants.
Variables ¶
Functions ¶
func GenRewardsAuctionDuration ¶
GenRewardsAuctionDuration returns randomized rewards auction duration.
func NewDecodeStore ¶
NewDecodeStore returns a decoder function closure that unmarshals the KVPair's Value to the corresponding liquidamm type.
func ParamChanges ¶
func ParamChanges(r *rand.Rand) []simtypes.ParamChange
ParamChanges defines the parameters that can be modified by param change proposals on the simulation.
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState.
func SimulateMsgBurnShare ¶
func SimulateMsgBurnShare(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgBurnShare generates a MsgBurnShare with random values nolint: interfacer
func SimulateMsgMintShare ¶
func SimulateMsgMintShare(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgMintShare generates a MsgMintShare with random values nolint: interfacer
func SimulateMsgPlaceBid ¶
func SimulateMsgPlaceBid(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgPlaceBid generates a MsgPlaceBid with random values nolint: interfacer
func WeightedOperations ¶
func WeightedOperations( appParams simtypes.AppParams, cdc codec.JSONCodec, 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.