Documentation ¶
Index ¶
- Constants
- func GenMaxContractDataSize(r *rand.Rand) uint64
- func GenMaxContractGas(r *rand.Rand) uint64
- func GenMaxContractMsgSize(r *rand.Rand) uint64
- func GenMaxContractSize(r *rand.Rand) uint64
- func NewDecodeStore(cdc codec.Codec) func(kvA, kvB kv.Pair) string
- func ParamChanges(r *rand.Rand) []simtypes.ParamChange
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgClearContractAdmin(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgExecuteContract(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ...) simtypes.Operation
- func SimulateMsgInstantiateContract(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ...) simtypes.Operation
- func SimulateMsgMigrateContract(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ...) simtypes.Operation
- func SimulateMsgStoreCode(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgUpdateContractAdmin(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 ( OpWeightMsgStoreCode = "op_weight_msg_store_code" //#nosec OpWeightMsgInstantiateContract = "op_weight_msg_instantiate_contract" //#nosec OpWeightMsgExecuteContract = "op_weight_msg_execute_contract" //#nosec OpWeightMsgMigrateContract = "op_weight_msg_migrate_contract" //#nosec OpWeightMsgUpdateContractAdmin = "op_weight_msg_update_contract_admin" //#nosec OpWeightMsgClearContractAdmin = "op_weight_msg_update_contract_admin" //#nosec )
const (
EventParamsKey = "event_params"
)
Simulation parameter constants
Variables ¶
This section is empty.
Functions ¶
func GenMaxContractDataSize ¶
GenMaxContractDataSize randomized MaxContractDataSize
func GenMaxContractGas ¶
GenMaxContractGas randomized MaxContractGas
func GenMaxContractMsgSize ¶
GenMaxContractMsgSize randomized MaxContractMsgSize
func GenMaxContractSize ¶
GenMaxContractSize randomized MaxContractSize
func NewDecodeStore ¶
NewDecodeStore returns a decoder function closure that unmarshals the KVPair's Value to the corresponding market 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 for wasm
func SimulateMsgClearContractAdmin ¶
func SimulateMsgClearContractAdmin( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
nolint: funlen
func SimulateMsgExecuteContract ¶
func SimulateMsgExecuteContract( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, protoCdc *codec.ProtoCodec) simtypes.Operation
nolint: funlen
func SimulateMsgInstantiateContract ¶
func SimulateMsgInstantiateContract( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, protoCdc *codec.ProtoCodec) simtypes.Operation
nolint: funlen
func SimulateMsgMigrateContract ¶
func SimulateMsgMigrateContract( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, protoCdc *codec.ProtoCodec) simtypes.Operation
nolint: funlen
func SimulateMsgStoreCode ¶
func SimulateMsgStoreCode( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
nolint: funlen
func SimulateMsgUpdateContractAdmin ¶
func SimulateMsgUpdateContractAdmin( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
nolint: funlen
func WeightedOperations ¶
func WeightedOperations( appParams simtypes.AppParams, cdc codec.JSONCodec, ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, protoCdc *codec.ProtoCodec, ) simulation.WeightedOperations
WeightedOperations returns all the operations from the module with their respective weights
Types ¶
This section is empty.