Documentation ¶
Index ¶
- Constants
- func GenAuctionCreationFee(r *rand.Rand) sdk.Coins
- func GenExtendedPeriod(r *rand.Rand) uint32
- func NewDecodeStore(cdc codec.Codec) func(kvA, kvB kv.Pair) string
- func ParamChanges(r *rand.Rand) []simtypes.LegacyParamChange
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgCancelAuction(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgCreateBatchAuction(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgCreateFixedPriceAuction(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 ( AuctionCreationFee = "auction_creation_fee" ExtendedPeriod = "extended_period" )
Simulation parameter constants.
const ( OpWeightMsgCreateFixedPriceAuction = "op_weight_msg_create_fixed_price_auction" OpWeightMsgCreateBatchAuction = "op_weight_msg_create_batch_auction" OpWeightMsgCancelAuction = "op_weight_msg_cancel_auction" OpWeightMsgPlaceBid = "op_weight_msg_place_bid" )
Simulation operation weights constants.
Variables ¶
This section is empty.
Functions ¶
func GenAuctionCreationFee ¶
GenAuctionCreationFee return randomized auction creation fee.
func GenExtendedPeriod ¶
GenExtendedPeriod return default extended period.
func NewDecodeStore ¶
NewDecodeStore returns a decoder function closure that unmarshals the KVPair's Value to the corresponding fundraising type.
func ParamChanges ¶
func ParamChanges(r *rand.Rand) []simtypes.LegacyParamChange
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 SimulateMsgCancelAuction ¶
func SimulateMsgCancelAuction(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgCancelAuction generates a SimulateMsgCancelAuction with random values nolint: interfacer
func SimulateMsgCreateBatchAuction ¶
func SimulateMsgCreateBatchAuction(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgCreateBatchAuction generates a MsgCreateRatioPlan with random values nolint: interfacer
func SimulateMsgCreateFixedPriceAuction ¶
func SimulateMsgCreateFixedPriceAuction(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
SimulateMsgCreateFixedPriceAuction generates a MsgCreateFixedAmountPlan 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.