Documentation ¶
Index ¶
- Constants
- func GenCronosAdmin(r *rand.Rand, simState *module.SimulationState) string
- func GenEnableAutoDeployment(r *rand.Rand) bool
- func GenIbcCroDenom(r *rand.Rand) string
- func GenIbcTimeout(r *rand.Rand) uint64
- func GenMaxCallbackGas(r *rand.Rand) uint64
- func NewDecodeStore() func(kvA, kvB kv.Pair) string
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateUpdateTokenMapping(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 ¶
View Source
const (
/* #nosec */
OpWeightMsgUpdateTokenMapping = "op_weight_msg_update_token_mapping"
)
View Source
const (
WeightMsgUpdateTokenMapping = 50
)
Variables ¶
This section is empty.
Functions ¶
func GenCronosAdmin ¶
func GenCronosAdmin(r *rand.Rand, simState *module.SimulationState) string
func GenEnableAutoDeployment ¶
func GenIbcCroDenom ¶
func GenIbcTimeout ¶
func GenMaxCallbackGas ¶
func NewDecodeStore ¶
NewDecodeStore returns a decoder function closure that unmarshals the KVPair's value to the corresponding cronos type.
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for the cronos module
func SimulateUpdateTokenMapping ¶
func SimulateUpdateTokenMapping(ak types.AccountKeeper, bk types.BankKeeper, k *keeper.Keeper) simtypes.Operation
SimulateUpdateTokenMapping generate mocked MsgUpdateTokenMapping message, apply the message and assert the results.
func WeightedOperations ¶
func WeightedOperations( appParams simtypes.AppParams, cdc codec.JSONCodec, ak types.AccountKeeper, bk types.BankKeeper, k *keeper.Keeper, ) simulation.WeightedOperations
WeightedOperations generate SimulateUpdateTokenMapping operation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.