Versions in this module Expand all Collapse all v0 v0.1.0 Sep 12, 2024 Changes in this version + const OpReflectContractPath + const OpWeightMsgClearAdmin + const OpWeightMsgExecuteContract + const OpWeightMsgInstantiateContract + const OpWeightMsgMigrateContract + const OpWeightMsgStoreCode + const OpWeightMsgUpdateAdmin + const WeightClearAdminProposal + const WeightExeContractProposal + const WeightInstantiateContractProposal + const WeightMigrateContractProposal + const WeightPinCodesProposal + const WeightStoreAndInstantiateContractProposal + const WeightStoreCodeProposal + const WeightSudoContractProposal + const WeightUnpinCodesProposal + const WeightUpdateAdminProposal + const WeightUpdateInstantiateConfigProposal + func BuildOperationInput(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, msg interface{ ... }, ...) simulation.OperationInput + func DefaultSimulateContractSelector(ctx sdk.Context, wasmKeeper WasmKeeper) sdk.AccAddress + func DefaultSimulateUpdateAdminProposalContractSelector(ctx sdk.Context, wasmKeeper WasmKeeper, adminAddress string) (sdk.AccAddress, types.ContractInfo) + func DefaultSimulationClearAdminContractSelector(ctx sdk.Context, wasmKeeper WasmKeeper, adminAddress string) sdk.AccAddress + func DefaultSimulationCodeIDSelector(ctx sdk.Context, wasmKeeper WasmKeeper) uint64 + func DefaultSimulationExecuteContractSelector(ctx sdk.Context, wasmKeeper WasmKeeper) sdk.AccAddress + func DefaultSimulationExecutePayloader(msg *types.MsgExecuteContract) error + func DefaultSimulationExecuteSenderSelector(wasmKeeper WasmKeeper, ctx sdk.Context, contractAddr sdk.AccAddress, ...) (simtypes.Account, error) + func DefaultSimulationMigrateCodeIDSelector(ctx sdk.Context, wasmKeeper WasmKeeper, currentCodeID uint64) uint64 + func DefaultSimulationMigrateContractSelector(ctx sdk.Context, wasmKeeper WasmKeeper, adminAddress string) (sdk.AccAddress, types.ContractInfo) + func DefaultSimulationUpdateAdminContractSelector(ctx sdk.Context, wasmKeeper WasmKeeper, adminAddress string) (sdk.AccAddress, types.ContractInfo) + func ProposalMsgs(bk BankKeeper, wasmKeeper WasmKeeper) []simtypes.WeightedProposalMsg + func RandomizedGenState(simstate *module.SimulationState) + func SimulateClearAdminProposal(wasmKeeper WasmKeeper, contractSelector ClearAdminContractSelector) simtypes.MsgSimulatorFn + func SimulateExecuteContractProposal(_ BankKeeper, wasmKeeper WasmKeeper, ...) simtypes.MsgSimulatorFn + func SimulateInstantiateContractProposal(bk BankKeeper, wasmKeeper WasmKeeper, codeSelector CodeIDSelector) simtypes.MsgSimulatorFn + func SimulateMigrateContractProposal(wasmKeeper WasmKeeper, ...) simtypes.MsgSimulatorFn + func SimulateMsgClearAdmin(ak types.AccountKeeper, bk BankKeeper, wasmKeeper WasmKeeper, ...) simtypes.Operation + func SimulateMsgExecuteContract(ak types.AccountKeeper, bk BankKeeper, wasmKeeper WasmKeeper, ...) simtypes.Operation + func SimulateMsgInstantiateContract(ak types.AccountKeeper, bk BankKeeper, wasmKeeper WasmKeeper, ...) simtypes.Operation + func SimulateMsgMigrateContract(ak types.AccountKeeper, bk BankKeeper, wasmKeeper WasmKeeper, ...) simtypes.Operation + func SimulateMsgStoreCode(ak types.AccountKeeper, bk BankKeeper, wasmKeeper WasmKeeper, wasmBz []byte) simtypes.Operation + func SimulateMsgUpdateAmin(ak types.AccountKeeper, bk BankKeeper, wasmKeeper WasmKeeper, ...) simtypes.Operation + func SimulatePinContractProposal(wasmKeeper WasmKeeper, codeSelector CodeIDSelector) simtypes.MsgSimulatorFn + func SimulateStoreAndInstantiateContractProposal(wasmKeeper WasmKeeper) simtypes.MsgSimulatorFn + func SimulateStoreCodeProposal(wasmKeeper WasmKeeper) simtypes.MsgSimulatorFn + func SimulateSudoContractProposal(wasmKeeper WasmKeeper, contractSelector SudoContractProposalContractSelector) simtypes.MsgSimulatorFn + func SimulateUnpinContractProposal(wasmKeeper WasmKeeper, codeSelector CodeIDSelector) simtypes.MsgSimulatorFn + func SimulateUpdateAdminProposal(wasmKeeper WasmKeeper, contractSelector UpdateAdminContractSelector) simtypes.MsgSimulatorFn + func SimulateUpdateInstantiateConfigProposal(wasmKeeper WasmKeeper, codeSelector CodeIDSelector) simtypes.MsgSimulatorFn + func WeightedOperations(appParams simtypes.AppParams, ak types.AccountKeeper, bk BankKeeper, ...) simulation.WeightedOperations + type BankKeeper interface + IsSendEnabledCoin func(ctx context.Context, coin sdk.Coin) bool + type ClearAdminContractSelector func(sdk.Context, WasmKeeper) sdk.AccAddress + type CodeIDSelector = func(ctx sdk.Context, wasmKeeper WasmKeeper) uint64 + type MigrateContractProposalContractSelector func(sdk.Context, WasmKeeper) sdk.AccAddress + type MsgClearAdminContractSelector func(sdk.Context, WasmKeeper, string) sdk.AccAddress + type MsgExecuteContractSelector = func(ctx sdk.Context, wasmKeeper WasmKeeper) sdk.AccAddress + type MsgExecutePayloader func(msg *types.MsgExecuteContract) error + type MsgExecuteSenderSelector func(wasmKeeper WasmKeeper, ctx sdk.Context, contractAddr sdk.AccAddress, ...) (simtypes.Account, error) + type MsgMigrateCodeIDSelector func(sdk.Context, WasmKeeper, uint64) uint64 + type MsgMigrateContractSelector func(sdk.Context, WasmKeeper, string) (sdk.AccAddress, types.ContractInfo) + type MsgUpdateAdminContractSelector func(sdk.Context, WasmKeeper, string) (sdk.AccAddress, types.ContractInfo) + type SudoContractProposalContractSelector func(sdk.Context, WasmKeeper) sdk.AccAddress + type UpdateAdminContractSelector func(sdk.Context, WasmKeeper, string) (sdk.AccAddress, types.ContractInfo) + type WasmKeeper interface + GetAuthority func() string + GetParams func(ctx context.Context) types.Params + IterateCodeInfos func(ctx context.Context, cb func(uint64, types.CodeInfo) bool) + IterateContractInfo func(ctx context.Context, cb func(sdk.AccAddress, types.ContractInfo) bool) + PeekAutoIncrementID func(ctx context.Context, lastIDKey []byte) (uint64, error) + QuerySmart func(ctx context.Context, contractAddr sdk.AccAddress, req []byte) ([]byte, error)