Documentation ¶
Index ¶
- Constants
- func DecodeStore(cdc *codec.Codec, kvA, kvB kv.Pair) string
- func Max(x, y int) int
- func ParamChanges(r *rand.Rand) []simulation.ParamChange
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgBlockAddress(ak types.AccountKeeper, k keeper.Keeper) simulation.Operation
- func SimulateMsgIssueTokens(ak types.AccountKeeper, k keeper.Keeper) simulation.Operation
- func SimulateMsgPause(ak types.AccountKeeper, k keeper.Keeper) simulation.Operation
- func SimulateMsgRedeemTokens(ak types.AccountKeeper, k keeper.Keeper) simulation.Operation
- func WeightedOperations(appParams simulation.AppParams, cdc *codec.Codec, ak types.AccountKeeper, ...) simulation.WeightedOperations
Constants ¶
View Source
const ( OpWeightMsgIssue = "op_weight_msg_issue" OpWeightMsgRedeem = "op_weight_msg_redeem" OpWeightMsgBlock = "op_weight_msg_block" OpWeightMsgPause = "op_weight_msg_pause" )
Simulation operation weights constants
Variables ¶
This section is empty.
Functions ¶
func DecodeStore ¶
DecodeStore the issuance module has no store keys -- all state is stored in params
func ParamChanges ¶
func ParamChanges(r *rand.Rand) []simulation.ParamChange
ParamChanges defines the parameters that can be modified by param change proposals
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for the module
func SimulateMsgBlockAddress ¶
func SimulateMsgBlockAddress(ak types.AccountKeeper, k keeper.Keeper) simulation.Operation
SimulateMsgBlockAddress generates a MsgBlockAddress with random values
func SimulateMsgIssueTokens ¶
func SimulateMsgIssueTokens(ak types.AccountKeeper, k keeper.Keeper) simulation.Operation
SimulateMsgIssueTokens generates a MsgIssueTokens with random values
func SimulateMsgPause ¶
func SimulateMsgPause(ak types.AccountKeeper, k keeper.Keeper) simulation.Operation
SimulateMsgPause generates a MsgChangePauseStatus with random values
func SimulateMsgRedeemTokens ¶
func SimulateMsgRedeemTokens(ak types.AccountKeeper, k keeper.Keeper) simulation.Operation
SimulateMsgRedeemTokens generates a MsgRedeemTokens with random values
func WeightedOperations ¶
func WeightedOperations( appParams simulation.AppParams, cdc *codec.Codec, ak types.AccountKeeper, 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.